/// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userName'>
 /// </param>
 /// <param name='permissions'>
 /// </param>
 /// <param name='roles'>
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <AssignRolesResponse> PostAsync(this IAssignRolesOperations operations, string userName = default(string), IList <string> permissions = default(IList <string>), IList <string> roles = default(IList <string>), AssignRoles body = default(AssignRoles), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostWithHttpMessagesAsync(userName, permissions, roles, body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userName'>
 /// </param>
 /// <param name='permissions'>
 /// </param>
 /// <param name='roles'>
 /// </param>
 /// <param name='format'>
 /// Specifies response output format
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <AssignRolesResponse> CreateAsync(this IAssignRolesOperations operations, string userName = default(string), IList <string> permissions = default(IList <string>), IList <string> roles = default(IList <string>), string format = "json", CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateWithHttpMessagesAsync(userName, permissions, roles, format, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userName'>
 /// </param>
 /// <param name='permissions'>
 /// </param>
 /// <param name='roles'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <AssignRolesResponse> DeleteAsync(this IAssignRolesOperations operations, string userName = default(string), string permissions = default(string), string roles = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.DeleteWithHttpMessagesAsync(userName, permissions, roles, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userName'>
 /// </param>
 /// <param name='permissions'>
 /// </param>
 /// <param name='roles'>
 /// </param>
 /// <param name='format'>
 /// Specifies response output format
 /// </param>
 public static AssignRolesResponse Create(this IAssignRolesOperations operations, string userName = default(string), IList <string> permissions = default(IList <string>), IList <string> roles = default(IList <string>), string format = "json")
 {
     return(operations.CreateAsync(userName, permissions, roles, format).GetAwaiter().GetResult());
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userName'>
 /// </param>
 /// <param name='permissions'>
 /// </param>
 /// <param name='roles'>
 /// </param>
 /// <param name='body'>
 /// </param>
 public static AssignRolesResponse Get(this IAssignRolesOperations operations, string userName = default(string), IList <string> permissions = default(IList <string>), IList <string> roles = default(IList <string>), AssignRoles body = default(AssignRoles))
 {
     return(operations.GetAsync(userName, permissions, roles, body).GetAwaiter().GetResult());
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userName'>
 /// </param>
 /// <param name='permissions'>
 /// </param>
 /// <param name='roles'>
 /// </param>
 /// <param name='body'>
 /// </param>
 public static AssignRolesResponse Create(this IAssignRolesOperations operations, string userName = default(string), string permissions = default(string), string roles = default(string), AssignRoles body = default(AssignRoles))
 {
     return(operations.CreateAsync(userName, permissions, roles, body).GetAwaiter().GetResult());
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='userName'>
 /// </param>
 /// <param name='permissions'>
 /// </param>
 /// <param name='roles'>
 /// </param>
 public static AssignRolesResponse Get(this IAssignRolesOperations operations, string userName = default(string), string permissions = default(string), string roles = default(string))
 {
     return(operations.GetAsync(userName, permissions, roles).GetAwaiter().GetResult());
 }