/// <param name='operations'>
 /// Reference to the TickTack.IIotRegister.
 /// </param>
 /// <param name='register'>
 /// Required.
 /// </param>
 public static RegisterIotDeviceResponse Post(this IIotRegister operations, RegisterIotDeviceRequest register)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IIotRegister)s).PostAsync(register);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <param name='operations'>
 /// Reference to the TickTack.IIotRegister.
 /// </param>
 /// <param name='register'>
 /// Required.
 /// </param>
 /// <param name='cancellationToken'>
 /// Cancellation token.
 /// </param>
 public static async Task<RegisterIotDeviceResponse> PostAsync(this IIotRegister operations, RegisterIotDeviceRequest register, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     Microsoft.Rest.HttpOperationResponse<TickTack.Models.RegisterIotDeviceResponse> result = await operations.PostWithOperationResponseAsync(register, cancellationToken).ConfigureAwait(false);
     return result.Body;
 }