code: public PagedList<NodeFile> listFromComputeNode(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions) {
          ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders> response = listFromComputeNodeSinglePageAsync(poolId, nodeId, recursive, fileListFromComputeNodeOptions).toBlocking().single();
          return new PagedList<NodeFile>(response.body()) {
              @Override
              public Page<NodeFile> nextPage(String nextPageLink) {
                  FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions = null;
                  if (fileListFromComputeNodeOptions != null) {
                      fileListFromComputeNodeNextOptions = new FileListFromComputeNodeNextOptions();
                      fileListFromComputeNodeNextOptions.withClientRequestId(fileListFromComputeNodeOptions.clientRequestId());
                      fileListFromComputeNodeNextOptions.withReturnClientRequestId(fileListFromComputeNodeOptions.returnClientRequestId());
                      fileListFromComputeNodeNextOptions.withOcpDate(fileListFromComputeNodeOptions.ocpDate());
                  }
                  return listFromComputeNodeNextSinglePageAsync(nextPageLink, fileListFromComputeNodeNextOptions).toBlocking().single().body();
              }
          };
      }
docs: Lists all of the files in task directories on the specified compute node.
  
  @param poolId The ID of the pool that contains the compute node.
  @param nodeId The ID of the compute node whose files you want to list.
  @param recursive Whether to list children of a directory.
  @param fileListFromComputeNodeOptions Additional parameters for the operation
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws BatchErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;NodeFile&gt; object if successful.