/// <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>
 public static IPage <NodeFile> ListFromTask(this IFileOperations operations, string jobId, string taskId, bool?recursive = default(bool?), FileListFromTaskOptions fileListFromTaskOptions = default(FileListFromTaskOptions))
 {
     return(operations.ListFromTaskAsync(jobId, taskId, recursive, fileListFromTaskOptions).GetAwaiter().GetResult());
 }