/// <summary>
 ///
 /// Creates New file
 ///
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='createFileArgs'>
 /// (See model for parameter info)
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <CreateFileOKResponse> CreateFileAsync(this IFileService operations, CreateFileArgs createFileArgs = default(CreateFileArgs), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateFileWithHttpMessagesAsync(createFileArgs, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 ///
 /// Creates New file
 ///
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='createFileArgs'>
 /// (See model for parameter info)
 /// </param>
 public static CreateFileOKResponse CreateFile(this IFileService operations, CreateFileArgs createFileArgs = default(CreateFileArgs))
 {
     return(Task.Factory.StartNew(s => ((IFileService)s).CreateFileAsync(createFileArgs), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult());
 }