/// <summary>
 /// Lists the files in a Task's directory on its Compute Node.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobId'>
 /// The ID of the Job that contains the Task.
 /// </param>
 /// <param name='taskId'>
 /// The ID of the Task whose files you want to list.
 /// </param>
 /// <param name='recursive'>
 /// Whether to list children of the Task directory. This parameter can be used
 /// in combination with the filter parameter to list specific type of files.
 /// </param>
 /// <param name='fileListFromTaskOptions'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <NodeFile> > ListFromTaskAsync(this IFileOperations operations, string jobId, string taskId, bool?recursive = default(bool?), FileListFromTaskOptions fileListFromTaskOptions = default(FileListFromTaskOptions), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListFromTaskWithHttpMessagesAsync(jobId, taskId, recursive, fileListFromTaskOptions, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }