/// <summary>
 /// Check Name Availability for global uniqueness
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The location in which uniqueness will be verified.
 /// </param>
 /// <param name='checkNameAvailability'>
 /// Check Name Availability Request.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <CheckNameAvailabilityResponse> CheckNameAvailabilityLocalAsync(this IMixedRealityClient operations, string location, CheckNameAvailabilityRequest checkNameAvailability, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CheckNameAvailabilityLocalWithHttpMessagesAsync(location, checkNameAvailability, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Check Name Availability for global uniqueness
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The location in which uniqueness will be verified.
 /// </param>
 /// <param name='checkNameAvailability'>
 /// Check Name Availability Request.
 /// </param>
 public static CheckNameAvailabilityResponse CheckNameAvailabilityLocal(this IMixedRealityClient operations, string location, CheckNameAvailabilityRequest checkNameAvailability)
 {
     return(operations.CheckNameAvailabilityLocalAsync(location, checkNameAvailability).GetAwaiter().GetResult());
 }