/// <summary> /// Sets the client regulation active status to {true}. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='clientId'> /// The client id. /// </param> /// <param name='regulationId'> /// The regulation id. /// </param> public static ErrorResponse ActivateClientRegulation(this IRegulationAPI operations, string clientId, string regulationId) { return(operations.ActivateClientRegulationAsync(clientId, regulationId).GetAwaiter().GetResult()); }