/// <summary>
 /// Deletes the regulation associated with client by specified id.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='clientId'>
 /// The client id.
 /// </param>
 /// <param name='regulationId'>
 /// The id of regulation to delete.
 /// </param>
 public static ErrorResponse DeleteClientRegulation(this IRegulationAPI operations, string clientId, string regulationId)
 {
     return(operations.DeleteClientRegulationAsync(clientId, regulationId).GetAwaiter().GetResult());
 }