files

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for files API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new files API client.

func (*Client) FileDeleteFromComputeNode

func (a *Client) FileDeleteFromComputeNode(params *FileDeleteFromComputeNodeParams) (*FileDeleteFromComputeNodeOK, error)

FileDeleteFromComputeNode deletes the specified task file from the compute node

func (*Client) FileDeleteFromTask

func (a *Client) FileDeleteFromTask(params *FileDeleteFromTaskParams) (*FileDeleteFromTaskOK, error)

FileDeleteFromTask deletes the specified task file from the compute node where the task ran

func (*Client) FileGetFromComputeNode

func (a *Client) FileGetFromComputeNode(params *FileGetFromComputeNodeParams) (*FileGetFromComputeNodeOK, error)

FileGetFromComputeNode Returns the content of the specified task file.

func (*Client) FileGetFromTask

func (a *Client) FileGetFromTask(params *FileGetFromTaskParams) (*FileGetFromTaskOK, error)

FileGetFromTask Returns the content of the specified task file.

func (*Client) FileGetNodeFilePropertiesFromComputeNode

func (a *Client) FileGetNodeFilePropertiesFromComputeNode(params *FileGetNodeFilePropertiesFromComputeNodeParams) (*FileGetNodeFilePropertiesFromComputeNodeOK, error)

FileGetNodeFilePropertiesFromComputeNode Gets the properties of the specified compute node file.

func (*Client) FileGetNodeFilePropertiesFromTask

func (a *Client) FileGetNodeFilePropertiesFromTask(params *FileGetNodeFilePropertiesFromTaskParams) (*FileGetNodeFilePropertiesFromTaskOK, error)

FileGetNodeFilePropertiesFromTask Gets the properties of the specified task file.

func (*Client) FileListFromComputeNode

func (a *Client) FileListFromComputeNode(params *FileListFromComputeNodeParams) (*FileListFromComputeNodeOK, error)

FileListFromComputeNode lists all of the files in task directories on the specified compute node

func (*Client) FileListFromTask

func (a *Client) FileListFromTask(params *FileListFromTaskParams) (*FileListFromTaskOK, error)

FileListFromTask lists the files in a task s directory on its compute node

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type FileDeleteFromComputeNodeDefault

type FileDeleteFromComputeNodeDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileDeleteFromComputeNodeDefault handles this case with default header values.

The error from the Batch service.

func NewFileDeleteFromComputeNodeDefault

func NewFileDeleteFromComputeNodeDefault(code int) *FileDeleteFromComputeNodeDefault

NewFileDeleteFromComputeNodeDefault creates a FileDeleteFromComputeNodeDefault with default headers values

func (*FileDeleteFromComputeNodeDefault) Code

Code gets the status code for the file delete from compute node default response

func (*FileDeleteFromComputeNodeDefault) Error

type FileDeleteFromComputeNodeOK

type FileDeleteFromComputeNodeOK struct {
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

FileDeleteFromComputeNodeOK handles this case with default header values.

The request to the Batch service was successful.

func NewFileDeleteFromComputeNodeOK

func NewFileDeleteFromComputeNodeOK() *FileDeleteFromComputeNodeOK

NewFileDeleteFromComputeNodeOK creates a FileDeleteFromComputeNodeOK with default headers values

func (*FileDeleteFromComputeNodeOK) Error

type FileDeleteFromComputeNodeParams

type FileDeleteFromComputeNodeParams struct {

	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*FileName
	  The path to the file that you want to delete.

	*/
	FileName string
	/*NodeID
	  The ID of the compute node from which you want to delete the file.

	*/
	NodeID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID string
	/*Recursive
	  Whether to delete children of a directory. If the fileName parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.

	*/
	Recursive *bool
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileDeleteFromComputeNodeParams contains all the parameters to send to the API endpoint for the file delete from compute node operation typically these are written to a http.Request

func NewFileDeleteFromComputeNodeParams

func NewFileDeleteFromComputeNodeParams() *FileDeleteFromComputeNodeParams

NewFileDeleteFromComputeNodeParams creates a new FileDeleteFromComputeNodeParams object with the default values initialized.

func NewFileDeleteFromComputeNodeParamsWithContext

func NewFileDeleteFromComputeNodeParamsWithContext(ctx context.Context) *FileDeleteFromComputeNodeParams

NewFileDeleteFromComputeNodeParamsWithContext creates a new FileDeleteFromComputeNodeParams object with the default values initialized, and the ability to set a context for a request

func NewFileDeleteFromComputeNodeParamsWithTimeout

func NewFileDeleteFromComputeNodeParamsWithTimeout(timeout time.Duration) *FileDeleteFromComputeNodeParams

NewFileDeleteFromComputeNodeParamsWithTimeout creates a new FileDeleteFromComputeNodeParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileDeleteFromComputeNodeParams) SetAPIVersion

func (o *FileDeleteFromComputeNodeParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetClientRequestID

func (o *FileDeleteFromComputeNodeParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetContext

func (o *FileDeleteFromComputeNodeParams) SetContext(ctx context.Context)

SetContext adds the context to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetFileName

func (o *FileDeleteFromComputeNodeParams) SetFileName(fileName string)

SetFileName adds the fileName to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetNodeID

func (o *FileDeleteFromComputeNodeParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetOcpDate

func (o *FileDeleteFromComputeNodeParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetPoolID

func (o *FileDeleteFromComputeNodeParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetRecursive

func (o *FileDeleteFromComputeNodeParams) SetRecursive(recursive *bool)

SetRecursive adds the recursive to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetRequestTimeout

func (o *FileDeleteFromComputeNodeParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetReturnClientRequestID

func (o *FileDeleteFromComputeNodeParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) SetTimeout

func (o *FileDeleteFromComputeNodeParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithClientRequestID

func (o *FileDeleteFromComputeNodeParams) WithClientRequestID(clientRequestID *string) *FileDeleteFromComputeNodeParams

WithClientRequestID adds the clientRequestID to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithContext

WithContext adds the context to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithFileName

WithFileName adds the fileName to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithNodeID

WithNodeID adds the nodeID to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithOcpDate

WithOcpDate adds the ocpDate to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithPoolID

WithPoolID adds the poolID to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithRecursive

WithRecursive adds the recursive to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithReturnClientRequestID

func (o *FileDeleteFromComputeNodeParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileDeleteFromComputeNodeParams

WithReturnClientRequestID adds the returnClientRequestID to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WithTimeout

WithTimeout adds the timeout to the file delete from compute node params

func (*FileDeleteFromComputeNodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FileDeleteFromComputeNodeReader

type FileDeleteFromComputeNodeReader struct {
	// contains filtered or unexported fields
}

FileDeleteFromComputeNodeReader is a Reader for the FileDeleteFromComputeNode structure.

func (*FileDeleteFromComputeNodeReader) ReadResponse

func (o *FileDeleteFromComputeNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FileDeleteFromTaskDefault

type FileDeleteFromTaskDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileDeleteFromTaskDefault handles this case with default header values.

The error from the Batch service.

func NewFileDeleteFromTaskDefault

func NewFileDeleteFromTaskDefault(code int) *FileDeleteFromTaskDefault

NewFileDeleteFromTaskDefault creates a FileDeleteFromTaskDefault with default headers values

func (*FileDeleteFromTaskDefault) Code

func (o *FileDeleteFromTaskDefault) Code() int

Code gets the status code for the file delete from task default response

func (*FileDeleteFromTaskDefault) Error

func (o *FileDeleteFromTaskDefault) Error() string

type FileDeleteFromTaskOK

type FileDeleteFromTaskOK struct {
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

FileDeleteFromTaskOK handles this case with default header values.

The request to the Batch service was successful.

func NewFileDeleteFromTaskOK

func NewFileDeleteFromTaskOK() *FileDeleteFromTaskOK

NewFileDeleteFromTaskOK creates a FileDeleteFromTaskOK with default headers values

func (*FileDeleteFromTaskOK) Error

func (o *FileDeleteFromTaskOK) Error() string

type FileDeleteFromTaskParams

type FileDeleteFromTaskParams struct {

	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*FileName
	  The path to the task file that you want to delete.

	*/
	FileName string
	/*JobID
	  The ID of the job that contains the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*Recursive
	  Whether to delete children of a directory. If the fileName parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.

	*/
	Recursive *bool
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task whose file you want to delete.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileDeleteFromTaskParams contains all the parameters to send to the API endpoint for the file delete from task operation typically these are written to a http.Request

func NewFileDeleteFromTaskParams

func NewFileDeleteFromTaskParams() *FileDeleteFromTaskParams

NewFileDeleteFromTaskParams creates a new FileDeleteFromTaskParams object with the default values initialized.

func NewFileDeleteFromTaskParamsWithContext

func NewFileDeleteFromTaskParamsWithContext(ctx context.Context) *FileDeleteFromTaskParams

NewFileDeleteFromTaskParamsWithContext creates a new FileDeleteFromTaskParams object with the default values initialized, and the ability to set a context for a request

func NewFileDeleteFromTaskParamsWithTimeout

func NewFileDeleteFromTaskParamsWithTimeout(timeout time.Duration) *FileDeleteFromTaskParams

NewFileDeleteFromTaskParamsWithTimeout creates a new FileDeleteFromTaskParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileDeleteFromTaskParams) SetAPIVersion

func (o *FileDeleteFromTaskParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file delete from task params

func (*FileDeleteFromTaskParams) SetClientRequestID

func (o *FileDeleteFromTaskParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file delete from task params

func (*FileDeleteFromTaskParams) SetContext

func (o *FileDeleteFromTaskParams) SetContext(ctx context.Context)

SetContext adds the context to the file delete from task params

func (*FileDeleteFromTaskParams) SetFileName

func (o *FileDeleteFromTaskParams) SetFileName(fileName string)

SetFileName adds the fileName to the file delete from task params

func (*FileDeleteFromTaskParams) SetJobID

func (o *FileDeleteFromTaskParams) SetJobID(jobID string)

SetJobID adds the jobId to the file delete from task params

func (*FileDeleteFromTaskParams) SetOcpDate

func (o *FileDeleteFromTaskParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the file delete from task params

func (*FileDeleteFromTaskParams) SetRecursive

func (o *FileDeleteFromTaskParams) SetRecursive(recursive *bool)

SetRecursive adds the recursive to the file delete from task params

func (*FileDeleteFromTaskParams) SetRequestTimeout

func (o *FileDeleteFromTaskParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file delete from task params

func (*FileDeleteFromTaskParams) SetReturnClientRequestID

func (o *FileDeleteFromTaskParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file delete from task params

func (*FileDeleteFromTaskParams) SetTaskID

func (o *FileDeleteFromTaskParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the file delete from task params

func (*FileDeleteFromTaskParams) SetTimeout

func (o *FileDeleteFromTaskParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file delete from task params

func (*FileDeleteFromTaskParams) WithAPIVersion

func (o *FileDeleteFromTaskParams) WithAPIVersion(aPIVersion string) *FileDeleteFromTaskParams

WithAPIVersion adds the aPIVersion to the file delete from task params

func (*FileDeleteFromTaskParams) WithClientRequestID

func (o *FileDeleteFromTaskParams) WithClientRequestID(clientRequestID *string) *FileDeleteFromTaskParams

WithClientRequestID adds the clientRequestID to the file delete from task params

func (*FileDeleteFromTaskParams) WithContext

WithContext adds the context to the file delete from task params

func (*FileDeleteFromTaskParams) WithFileName

func (o *FileDeleteFromTaskParams) WithFileName(fileName string) *FileDeleteFromTaskParams

WithFileName adds the fileName to the file delete from task params

func (*FileDeleteFromTaskParams) WithJobID

WithJobID adds the jobID to the file delete from task params

func (*FileDeleteFromTaskParams) WithOcpDate

func (o *FileDeleteFromTaskParams) WithOcpDate(ocpDate *string) *FileDeleteFromTaskParams

WithOcpDate adds the ocpDate to the file delete from task params

func (*FileDeleteFromTaskParams) WithRecursive

func (o *FileDeleteFromTaskParams) WithRecursive(recursive *bool) *FileDeleteFromTaskParams

WithRecursive adds the recursive to the file delete from task params

func (*FileDeleteFromTaskParams) WithRequestTimeout

func (o *FileDeleteFromTaskParams) WithRequestTimeout(timeout time.Duration) *FileDeleteFromTaskParams

WithRequestTimeout adds the timeout to the file delete from task params

func (*FileDeleteFromTaskParams) WithReturnClientRequestID

func (o *FileDeleteFromTaskParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileDeleteFromTaskParams

WithReturnClientRequestID adds the returnClientRequestID to the file delete from task params

func (*FileDeleteFromTaskParams) WithTaskID

WithTaskID adds the taskID to the file delete from task params

func (*FileDeleteFromTaskParams) WithTimeout

func (o *FileDeleteFromTaskParams) WithTimeout(timeout *int32) *FileDeleteFromTaskParams

WithTimeout adds the timeout to the file delete from task params

func (*FileDeleteFromTaskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FileDeleteFromTaskReader

type FileDeleteFromTaskReader struct {
	// contains filtered or unexported fields
}

FileDeleteFromTaskReader is a Reader for the FileDeleteFromTask structure.

func (*FileDeleteFromTaskReader) ReadResponse

func (o *FileDeleteFromTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FileGetFromComputeNodeDefault

type FileGetFromComputeNodeDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileGetFromComputeNodeDefault handles this case with default header values.

The error from the Batch service.

func NewFileGetFromComputeNodeDefault

func NewFileGetFromComputeNodeDefault(code int) *FileGetFromComputeNodeDefault

NewFileGetFromComputeNodeDefault creates a FileGetFromComputeNodeDefault with default headers values

func (*FileGetFromComputeNodeDefault) Code

Code gets the status code for the file get from compute node default response

func (*FileGetFromComputeNodeDefault) Error

type FileGetFromComputeNodeOK

type FileGetFromComputeNodeOK struct {
	/*The length of the file.
	 */
	ContentLength int64
	/*The content type of the file.
	 */
	ContentType string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*Whether the object represents a directory.
	 */
	OcpBatchFileIsdirectory bool
	/*The file mode attribute in octal format.
	 */
	OcpBatchFileMode string
	/*The URL of the file.
	 */
	OcpBatchFileURL string
	/*The file creation time.
	 */
	OcpCreationTime string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload runtime.File
}

FileGetFromComputeNodeOK handles this case with default header values.

The file content.

func NewFileGetFromComputeNodeOK

func NewFileGetFromComputeNodeOK() *FileGetFromComputeNodeOK

NewFileGetFromComputeNodeOK creates a FileGetFromComputeNodeOK with default headers values

func (*FileGetFromComputeNodeOK) Error

func (o *FileGetFromComputeNodeOK) Error() string

type FileGetFromComputeNodeParams

type FileGetFromComputeNodeParams struct {

	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*FileName
	  The path to the task file that you want to get the content of.

	*/
	FileName string
	/*NodeID
	  The ID of the compute node that contains the file.

	*/
	NodeID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*OcpRange
	  The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.

	*/
	OcpRange *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileGetFromComputeNodeParams contains all the parameters to send to the API endpoint for the file get from compute node operation typically these are written to a http.Request

func NewFileGetFromComputeNodeParams

func NewFileGetFromComputeNodeParams() *FileGetFromComputeNodeParams

NewFileGetFromComputeNodeParams creates a new FileGetFromComputeNodeParams object with the default values initialized.

func NewFileGetFromComputeNodeParamsWithContext

func NewFileGetFromComputeNodeParamsWithContext(ctx context.Context) *FileGetFromComputeNodeParams

NewFileGetFromComputeNodeParamsWithContext creates a new FileGetFromComputeNodeParams object with the default values initialized, and the ability to set a context for a request

func NewFileGetFromComputeNodeParamsWithTimeout

func NewFileGetFromComputeNodeParamsWithTimeout(timeout time.Duration) *FileGetFromComputeNodeParams

NewFileGetFromComputeNodeParamsWithTimeout creates a new FileGetFromComputeNodeParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileGetFromComputeNodeParams) SetAPIVersion

func (o *FileGetFromComputeNodeParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetClientRequestID

func (o *FileGetFromComputeNodeParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetContext

func (o *FileGetFromComputeNodeParams) SetContext(ctx context.Context)

SetContext adds the context to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetFileName

func (o *FileGetFromComputeNodeParams) SetFileName(fileName string)

SetFileName adds the fileName to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetIfModifiedSince

func (o *FileGetFromComputeNodeParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetIfUnmodifiedSince

func (o *FileGetFromComputeNodeParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetNodeID

func (o *FileGetFromComputeNodeParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetOcpDate

func (o *FileGetFromComputeNodeParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetOcpRange

func (o *FileGetFromComputeNodeParams) SetOcpRange(ocpRange *string)

SetOcpRange adds the ocpRange to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetPoolID

func (o *FileGetFromComputeNodeParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetRequestTimeout

func (o *FileGetFromComputeNodeParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetReturnClientRequestID

func (o *FileGetFromComputeNodeParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file get from compute node params

func (*FileGetFromComputeNodeParams) SetTimeout

func (o *FileGetFromComputeNodeParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithAPIVersion

func (o *FileGetFromComputeNodeParams) WithAPIVersion(aPIVersion string) *FileGetFromComputeNodeParams

WithAPIVersion adds the aPIVersion to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithClientRequestID

func (o *FileGetFromComputeNodeParams) WithClientRequestID(clientRequestID *string) *FileGetFromComputeNodeParams

WithClientRequestID adds the clientRequestID to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithContext

WithContext adds the context to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithFileName

WithFileName adds the fileName to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithIfModifiedSince

func (o *FileGetFromComputeNodeParams) WithIfModifiedSince(ifModifiedSince *string) *FileGetFromComputeNodeParams

WithIfModifiedSince adds the ifModifiedSince to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithIfUnmodifiedSince

func (o *FileGetFromComputeNodeParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *FileGetFromComputeNodeParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithNodeID

WithNodeID adds the nodeID to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithOcpDate

WithOcpDate adds the ocpDate to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithOcpRange

WithOcpRange adds the ocpRange to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithPoolID

WithPoolID adds the poolID to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithReturnClientRequestID

func (o *FileGetFromComputeNodeParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileGetFromComputeNodeParams

WithReturnClientRequestID adds the returnClientRequestID to the file get from compute node params

func (*FileGetFromComputeNodeParams) WithTimeout

WithTimeout adds the timeout to the file get from compute node params

func (*FileGetFromComputeNodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FileGetFromComputeNodeReader

type FileGetFromComputeNodeReader struct {
	// contains filtered or unexported fields
}

FileGetFromComputeNodeReader is a Reader for the FileGetFromComputeNode structure.

func (*FileGetFromComputeNodeReader) ReadResponse

func (o *FileGetFromComputeNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FileGetFromTaskDefault

type FileGetFromTaskDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileGetFromTaskDefault handles this case with default header values.

The error from the Batch service.

func NewFileGetFromTaskDefault

func NewFileGetFromTaskDefault(code int) *FileGetFromTaskDefault

NewFileGetFromTaskDefault creates a FileGetFromTaskDefault with default headers values

func (*FileGetFromTaskDefault) Code

func (o *FileGetFromTaskDefault) Code() int

Code gets the status code for the file get from task default response

func (*FileGetFromTaskDefault) Error

func (o *FileGetFromTaskDefault) Error() string

type FileGetFromTaskOK

type FileGetFromTaskOK struct {
	/*The length of the file.
	 */
	ContentLength int64
	/*The content type of the file.
	 */
	ContentType string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*Whether the object represents a directory.
	 */
	OcpBatchFileIsdirectory bool
	/*The file mode attribute in octal format.
	 */
	OcpBatchFileMode string
	/*The URL of the file.
	 */
	OcpBatchFileURL string
	/*The file creation time.
	 */
	OcpCreationTime string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload runtime.File
}

FileGetFromTaskOK handles this case with default header values.

A response containing the file content.

func NewFileGetFromTaskOK

func NewFileGetFromTaskOK() *FileGetFromTaskOK

NewFileGetFromTaskOK creates a FileGetFromTaskOK with default headers values

func (*FileGetFromTaskOK) Error

func (o *FileGetFromTaskOK) Error() string

type FileGetFromTaskParams

type FileGetFromTaskParams struct {

	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*FileName
	  The path to the task file that you want to get the content of.

	*/
	FileName string
	/*JobID
	  The ID of the job that contains the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*OcpRange
	  The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.

	*/
	OcpRange *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task whose file you want to retrieve.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileGetFromTaskParams contains all the parameters to send to the API endpoint for the file get from task operation typically these are written to a http.Request

func NewFileGetFromTaskParams

func NewFileGetFromTaskParams() *FileGetFromTaskParams

NewFileGetFromTaskParams creates a new FileGetFromTaskParams object with the default values initialized.

func NewFileGetFromTaskParamsWithContext

func NewFileGetFromTaskParamsWithContext(ctx context.Context) *FileGetFromTaskParams

NewFileGetFromTaskParamsWithContext creates a new FileGetFromTaskParams object with the default values initialized, and the ability to set a context for a request

func NewFileGetFromTaskParamsWithTimeout

func NewFileGetFromTaskParamsWithTimeout(timeout time.Duration) *FileGetFromTaskParams

NewFileGetFromTaskParamsWithTimeout creates a new FileGetFromTaskParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileGetFromTaskParams) SetAPIVersion

func (o *FileGetFromTaskParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file get from task params

func (*FileGetFromTaskParams) SetClientRequestID

func (o *FileGetFromTaskParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file get from task params

func (*FileGetFromTaskParams) SetContext

func (o *FileGetFromTaskParams) SetContext(ctx context.Context)

SetContext adds the context to the file get from task params

func (*FileGetFromTaskParams) SetFileName

func (o *FileGetFromTaskParams) SetFileName(fileName string)

SetFileName adds the fileName to the file get from task params

func (*FileGetFromTaskParams) SetIfModifiedSince

func (o *FileGetFromTaskParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the file get from task params

func (*FileGetFromTaskParams) SetIfUnmodifiedSince

func (o *FileGetFromTaskParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the file get from task params

func (*FileGetFromTaskParams) SetJobID

func (o *FileGetFromTaskParams) SetJobID(jobID string)

SetJobID adds the jobId to the file get from task params

func (*FileGetFromTaskParams) SetOcpDate

func (o *FileGetFromTaskParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the file get from task params

func (*FileGetFromTaskParams) SetOcpRange

func (o *FileGetFromTaskParams) SetOcpRange(ocpRange *string)

SetOcpRange adds the ocpRange to the file get from task params

func (*FileGetFromTaskParams) SetRequestTimeout

func (o *FileGetFromTaskParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file get from task params

func (*FileGetFromTaskParams) SetReturnClientRequestID

func (o *FileGetFromTaskParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file get from task params

func (*FileGetFromTaskParams) SetTaskID

func (o *FileGetFromTaskParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the file get from task params

func (*FileGetFromTaskParams) SetTimeout

func (o *FileGetFromTaskParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file get from task params

func (*FileGetFromTaskParams) WithAPIVersion

func (o *FileGetFromTaskParams) WithAPIVersion(aPIVersion string) *FileGetFromTaskParams

WithAPIVersion adds the aPIVersion to the file get from task params

func (*FileGetFromTaskParams) WithClientRequestID

func (o *FileGetFromTaskParams) WithClientRequestID(clientRequestID *string) *FileGetFromTaskParams

WithClientRequestID adds the clientRequestID to the file get from task params

func (*FileGetFromTaskParams) WithContext

WithContext adds the context to the file get from task params

func (*FileGetFromTaskParams) WithFileName

func (o *FileGetFromTaskParams) WithFileName(fileName string) *FileGetFromTaskParams

WithFileName adds the fileName to the file get from task params

func (*FileGetFromTaskParams) WithIfModifiedSince

func (o *FileGetFromTaskParams) WithIfModifiedSince(ifModifiedSince *string) *FileGetFromTaskParams

WithIfModifiedSince adds the ifModifiedSince to the file get from task params

func (*FileGetFromTaskParams) WithIfUnmodifiedSince

func (o *FileGetFromTaskParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *FileGetFromTaskParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the file get from task params

func (*FileGetFromTaskParams) WithJobID

func (o *FileGetFromTaskParams) WithJobID(jobID string) *FileGetFromTaskParams

WithJobID adds the jobID to the file get from task params

func (*FileGetFromTaskParams) WithOcpDate

func (o *FileGetFromTaskParams) WithOcpDate(ocpDate *string) *FileGetFromTaskParams

WithOcpDate adds the ocpDate to the file get from task params

func (*FileGetFromTaskParams) WithOcpRange

func (o *FileGetFromTaskParams) WithOcpRange(ocpRange *string) *FileGetFromTaskParams

WithOcpRange adds the ocpRange to the file get from task params

func (*FileGetFromTaskParams) WithRequestTimeout

func (o *FileGetFromTaskParams) WithRequestTimeout(timeout time.Duration) *FileGetFromTaskParams

WithRequestTimeout adds the timeout to the file get from task params

func (*FileGetFromTaskParams) WithReturnClientRequestID

func (o *FileGetFromTaskParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileGetFromTaskParams

WithReturnClientRequestID adds the returnClientRequestID to the file get from task params

func (*FileGetFromTaskParams) WithTaskID

func (o *FileGetFromTaskParams) WithTaskID(taskID string) *FileGetFromTaskParams

WithTaskID adds the taskID to the file get from task params

func (*FileGetFromTaskParams) WithTimeout

func (o *FileGetFromTaskParams) WithTimeout(timeout *int32) *FileGetFromTaskParams

WithTimeout adds the timeout to the file get from task params

func (*FileGetFromTaskParams) WriteToRequest

func (o *FileGetFromTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FileGetFromTaskReader

type FileGetFromTaskReader struct {
	// contains filtered or unexported fields
}

FileGetFromTaskReader is a Reader for the FileGetFromTask structure.

func (*FileGetFromTaskReader) ReadResponse

func (o *FileGetFromTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FileGetNodeFilePropertiesFromComputeNodeDefault

type FileGetNodeFilePropertiesFromComputeNodeDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileGetNodeFilePropertiesFromComputeNodeDefault handles this case with default header values.

The error from the Batch service.

func NewFileGetNodeFilePropertiesFromComputeNodeDefault

func NewFileGetNodeFilePropertiesFromComputeNodeDefault(code int) *FileGetNodeFilePropertiesFromComputeNodeDefault

NewFileGetNodeFilePropertiesFromComputeNodeDefault creates a FileGetNodeFilePropertiesFromComputeNodeDefault with default headers values

func (*FileGetNodeFilePropertiesFromComputeNodeDefault) Code

Code gets the status code for the file get node file properties from compute node default response

func (*FileGetNodeFilePropertiesFromComputeNodeDefault) Error

type FileGetNodeFilePropertiesFromComputeNodeOK

type FileGetNodeFilePropertiesFromComputeNodeOK struct {
	/*The length of the file.
	 */
	ContentLength int64
	/*The content type of the file.
	 */
	ContentType string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*Whether the object represents a directory.
	 */
	OcpBatchFileIsdirectory bool
	/*The file mode attribute in octal format.
	 */
	OcpBatchFileMode string
	/*The URL of the file.
	 */
	OcpBatchFileURL string
	/*The file creation time.
	 */
	OcpCreationTime string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

FileGetNodeFilePropertiesFromComputeNodeOK handles this case with default header values.

A response containing the file properties.

func NewFileGetNodeFilePropertiesFromComputeNodeOK

func NewFileGetNodeFilePropertiesFromComputeNodeOK() *FileGetNodeFilePropertiesFromComputeNodeOK

NewFileGetNodeFilePropertiesFromComputeNodeOK creates a FileGetNodeFilePropertiesFromComputeNodeOK with default headers values

func (*FileGetNodeFilePropertiesFromComputeNodeOK) Error

type FileGetNodeFilePropertiesFromComputeNodeParams

type FileGetNodeFilePropertiesFromComputeNodeParams struct {

	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*FileName
	  The path to the compute node file that you want to get the properties of.

	*/
	FileName string
	/*NodeID
	  The ID of the compute node that contains the file.

	*/
	NodeID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileGetNodeFilePropertiesFromComputeNodeParams contains all the parameters to send to the API endpoint for the file get node file properties from compute node operation typically these are written to a http.Request

func NewFileGetNodeFilePropertiesFromComputeNodeParams

func NewFileGetNodeFilePropertiesFromComputeNodeParams() *FileGetNodeFilePropertiesFromComputeNodeParams

NewFileGetNodeFilePropertiesFromComputeNodeParams creates a new FileGetNodeFilePropertiesFromComputeNodeParams object with the default values initialized.

func NewFileGetNodeFilePropertiesFromComputeNodeParamsWithContext

func NewFileGetNodeFilePropertiesFromComputeNodeParamsWithContext(ctx context.Context) *FileGetNodeFilePropertiesFromComputeNodeParams

NewFileGetNodeFilePropertiesFromComputeNodeParamsWithContext creates a new FileGetNodeFilePropertiesFromComputeNodeParams object with the default values initialized, and the ability to set a context for a request

func NewFileGetNodeFilePropertiesFromComputeNodeParamsWithTimeout

func NewFileGetNodeFilePropertiesFromComputeNodeParamsWithTimeout(timeout time.Duration) *FileGetNodeFilePropertiesFromComputeNodeParams

NewFileGetNodeFilePropertiesFromComputeNodeParamsWithTimeout creates a new FileGetNodeFilePropertiesFromComputeNodeParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetAPIVersion

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetClientRequestID

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetContext

SetContext adds the context to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetFileName

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetFileName(fileName string)

SetFileName adds the fileName to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetIfModifiedSince

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetIfUnmodifiedSince

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetNodeID

SetNodeID adds the nodeId to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetOcpDate

SetOcpDate adds the ocpDate to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetPoolID

SetPoolID adds the poolId to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetRequestTimeout

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetReturnClientRequestID

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) SetTimeout

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithClientRequestID

WithClientRequestID adds the clientRequestID to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithContext

WithContext adds the context to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithFileName

WithFileName adds the fileName to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithIfModifiedSince

WithIfModifiedSince adds the ifModifiedSince to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithIfUnmodifiedSince

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithNodeID

WithNodeID adds the nodeID to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithOcpDate

WithOcpDate adds the ocpDate to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithPoolID

WithPoolID adds the poolID to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithReturnClientRequestID

func (o *FileGetNodeFilePropertiesFromComputeNodeParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileGetNodeFilePropertiesFromComputeNodeParams

WithReturnClientRequestID adds the returnClientRequestID to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WithTimeout

WithTimeout adds the timeout to the file get node file properties from compute node params

func (*FileGetNodeFilePropertiesFromComputeNodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FileGetNodeFilePropertiesFromComputeNodeReader

type FileGetNodeFilePropertiesFromComputeNodeReader struct {
	// contains filtered or unexported fields
}

FileGetNodeFilePropertiesFromComputeNodeReader is a Reader for the FileGetNodeFilePropertiesFromComputeNode structure.

func (*FileGetNodeFilePropertiesFromComputeNodeReader) ReadResponse

func (o *FileGetNodeFilePropertiesFromComputeNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FileGetNodeFilePropertiesFromTaskDefault

type FileGetNodeFilePropertiesFromTaskDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileGetNodeFilePropertiesFromTaskDefault handles this case with default header values.

The error from the Batch service.

func NewFileGetNodeFilePropertiesFromTaskDefault

func NewFileGetNodeFilePropertiesFromTaskDefault(code int) *FileGetNodeFilePropertiesFromTaskDefault

NewFileGetNodeFilePropertiesFromTaskDefault creates a FileGetNodeFilePropertiesFromTaskDefault with default headers values

func (*FileGetNodeFilePropertiesFromTaskDefault) Code

Code gets the status code for the file get node file properties from task default response

func (*FileGetNodeFilePropertiesFromTaskDefault) Error

type FileGetNodeFilePropertiesFromTaskOK

type FileGetNodeFilePropertiesFromTaskOK struct {
	/*The length of the file.
	 */
	ContentLength int64
	/*The content type of the file.
	 */
	ContentType string
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*Whether the object represents a directory.
	 */
	OcpBatchFileIsdirectory bool
	/*The file mode attribute in octal format.
	 */
	OcpBatchFileMode string
	/*The URL of the file.
	 */
	OcpBatchFileURL string
	/*The file creation time.
	 */
	OcpCreationTime string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string
}

FileGetNodeFilePropertiesFromTaskOK handles this case with default header values.

A response containing the file properties.

func NewFileGetNodeFilePropertiesFromTaskOK

func NewFileGetNodeFilePropertiesFromTaskOK() *FileGetNodeFilePropertiesFromTaskOK

NewFileGetNodeFilePropertiesFromTaskOK creates a FileGetNodeFilePropertiesFromTaskOK with default headers values

func (*FileGetNodeFilePropertiesFromTaskOK) Error

type FileGetNodeFilePropertiesFromTaskParams

type FileGetNodeFilePropertiesFromTaskParams struct {

	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*FileName
	  The path to the task file that you want to get the properties of.

	*/
	FileName string
	/*JobID
	  The ID of the job that contains the task.

	*/
	JobID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task whose file you want to get the properties of.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileGetNodeFilePropertiesFromTaskParams contains all the parameters to send to the API endpoint for the file get node file properties from task operation typically these are written to a http.Request

func NewFileGetNodeFilePropertiesFromTaskParams

func NewFileGetNodeFilePropertiesFromTaskParams() *FileGetNodeFilePropertiesFromTaskParams

NewFileGetNodeFilePropertiesFromTaskParams creates a new FileGetNodeFilePropertiesFromTaskParams object with the default values initialized.

func NewFileGetNodeFilePropertiesFromTaskParamsWithContext

func NewFileGetNodeFilePropertiesFromTaskParamsWithContext(ctx context.Context) *FileGetNodeFilePropertiesFromTaskParams

NewFileGetNodeFilePropertiesFromTaskParamsWithContext creates a new FileGetNodeFilePropertiesFromTaskParams object with the default values initialized, and the ability to set a context for a request

func NewFileGetNodeFilePropertiesFromTaskParamsWithTimeout

func NewFileGetNodeFilePropertiesFromTaskParamsWithTimeout(timeout time.Duration) *FileGetNodeFilePropertiesFromTaskParams

NewFileGetNodeFilePropertiesFromTaskParamsWithTimeout creates a new FileGetNodeFilePropertiesFromTaskParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileGetNodeFilePropertiesFromTaskParams) SetAPIVersion

func (o *FileGetNodeFilePropertiesFromTaskParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetClientRequestID

func (o *FileGetNodeFilePropertiesFromTaskParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetContext

SetContext adds the context to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetFileName

func (o *FileGetNodeFilePropertiesFromTaskParams) SetFileName(fileName string)

SetFileName adds the fileName to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetIfModifiedSince

func (o *FileGetNodeFilePropertiesFromTaskParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetIfUnmodifiedSince

func (o *FileGetNodeFilePropertiesFromTaskParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetJobID

SetJobID adds the jobId to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetOcpDate

func (o *FileGetNodeFilePropertiesFromTaskParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetRequestTimeout

func (o *FileGetNodeFilePropertiesFromTaskParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetReturnClientRequestID

func (o *FileGetNodeFilePropertiesFromTaskParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetTaskID

func (o *FileGetNodeFilePropertiesFromTaskParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) SetTimeout

func (o *FileGetNodeFilePropertiesFromTaskParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithClientRequestID

WithClientRequestID adds the clientRequestID to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithContext

WithContext adds the context to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithFileName

WithFileName adds the fileName to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithIfModifiedSince

WithIfModifiedSince adds the ifModifiedSince to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithIfUnmodifiedSince

func (o *FileGetNodeFilePropertiesFromTaskParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *FileGetNodeFilePropertiesFromTaskParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithJobID

WithJobID adds the jobID to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithOcpDate

WithOcpDate adds the ocpDate to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithReturnClientRequestID

func (o *FileGetNodeFilePropertiesFromTaskParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileGetNodeFilePropertiesFromTaskParams

WithReturnClientRequestID adds the returnClientRequestID to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithTaskID

WithTaskID adds the taskID to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WithTimeout

WithTimeout adds the timeout to the file get node file properties from task params

func (*FileGetNodeFilePropertiesFromTaskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FileGetNodeFilePropertiesFromTaskReader

type FileGetNodeFilePropertiesFromTaskReader struct {
	// contains filtered or unexported fields
}

FileGetNodeFilePropertiesFromTaskReader is a Reader for the FileGetNodeFilePropertiesFromTask structure.

func (*FileGetNodeFilePropertiesFromTaskReader) ReadResponse

func (o *FileGetNodeFilePropertiesFromTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FileListFromComputeNodeDefault

type FileListFromComputeNodeDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileListFromComputeNodeDefault handles this case with default header values.

The error from the Batch service.

func NewFileListFromComputeNodeDefault

func NewFileListFromComputeNodeDefault(code int) *FileListFromComputeNodeDefault

NewFileListFromComputeNodeDefault creates a FileListFromComputeNodeDefault with default headers values

func (*FileListFromComputeNodeDefault) Code

Code gets the status code for the file list from compute node default response

func (*FileListFromComputeNodeDefault) Error

type FileListFromComputeNodeOK

type FileListFromComputeNodeOK struct {
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload *models.NodeFileListResult
}

FileListFromComputeNodeOK handles this case with default header values.

A response containing the list of files.

func NewFileListFromComputeNodeOK

func NewFileListFromComputeNodeOK() *FileListFromComputeNodeOK

NewFileListFromComputeNodeOK creates a FileListFromComputeNodeOK with default headers values

func (*FileListFromComputeNodeOK) Error

func (o *FileListFromComputeNodeOK) Error() string

type FileListFromComputeNodeParams

type FileListFromComputeNodeParams struct {

	/*NrDollarFilter
	  An OData $filter clause.

	*/
	DollarFilter *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*Maxresults
	  The maximum number of items to return in the response. A maximum of 1000 files can be returned.

	*/
	Maxresults *int32
	/*NodeID
	  The ID of the compute node whose files you want to list.

	*/
	NodeID string
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID string
	/*Recursive
	  Whether to list children of a directory.

	*/
	Recursive *bool
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileListFromComputeNodeParams contains all the parameters to send to the API endpoint for the file list from compute node operation typically these are written to a http.Request

func NewFileListFromComputeNodeParams

func NewFileListFromComputeNodeParams() *FileListFromComputeNodeParams

NewFileListFromComputeNodeParams creates a new FileListFromComputeNodeParams object with the default values initialized.

func NewFileListFromComputeNodeParamsWithContext

func NewFileListFromComputeNodeParamsWithContext(ctx context.Context) *FileListFromComputeNodeParams

NewFileListFromComputeNodeParamsWithContext creates a new FileListFromComputeNodeParams object with the default values initialized, and the ability to set a context for a request

func NewFileListFromComputeNodeParamsWithTimeout

func NewFileListFromComputeNodeParamsWithTimeout(timeout time.Duration) *FileListFromComputeNodeParams

NewFileListFromComputeNodeParamsWithTimeout creates a new FileListFromComputeNodeParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileListFromComputeNodeParams) SetAPIVersion

func (o *FileListFromComputeNodeParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file list from compute node params

func (*FileListFromComputeNodeParams) SetClientRequestID

func (o *FileListFromComputeNodeParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file list from compute node params

func (*FileListFromComputeNodeParams) SetContext

func (o *FileListFromComputeNodeParams) SetContext(ctx context.Context)

SetContext adds the context to the file list from compute node params

func (*FileListFromComputeNodeParams) SetDollarFilter

func (o *FileListFromComputeNodeParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the file list from compute node params

func (*FileListFromComputeNodeParams) SetMaxresults

func (o *FileListFromComputeNodeParams) SetMaxresults(maxresults *int32)

SetMaxresults adds the maxresults to the file list from compute node params

func (*FileListFromComputeNodeParams) SetNodeID

func (o *FileListFromComputeNodeParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the file list from compute node params

func (*FileListFromComputeNodeParams) SetOcpDate

func (o *FileListFromComputeNodeParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the file list from compute node params

func (*FileListFromComputeNodeParams) SetPoolID

func (o *FileListFromComputeNodeParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the file list from compute node params

func (*FileListFromComputeNodeParams) SetRecursive

func (o *FileListFromComputeNodeParams) SetRecursive(recursive *bool)

SetRecursive adds the recursive to the file list from compute node params

func (*FileListFromComputeNodeParams) SetRequestTimeout

func (o *FileListFromComputeNodeParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file list from compute node params

func (*FileListFromComputeNodeParams) SetReturnClientRequestID

func (o *FileListFromComputeNodeParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file list from compute node params

func (*FileListFromComputeNodeParams) SetTimeout

func (o *FileListFromComputeNodeParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file list from compute node params

func (*FileListFromComputeNodeParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the file list from compute node params

func (*FileListFromComputeNodeParams) WithClientRequestID

func (o *FileListFromComputeNodeParams) WithClientRequestID(clientRequestID *string) *FileListFromComputeNodeParams

WithClientRequestID adds the clientRequestID to the file list from compute node params

func (*FileListFromComputeNodeParams) WithContext

WithContext adds the context to the file list from compute node params

func (*FileListFromComputeNodeParams) WithDollarFilter

func (o *FileListFromComputeNodeParams) WithDollarFilter(dollarFilter *string) *FileListFromComputeNodeParams

WithDollarFilter adds the dollarFilter to the file list from compute node params

func (*FileListFromComputeNodeParams) WithMaxresults

func (o *FileListFromComputeNodeParams) WithMaxresults(maxresults *int32) *FileListFromComputeNodeParams

WithMaxresults adds the maxresults to the file list from compute node params

func (*FileListFromComputeNodeParams) WithNodeID

WithNodeID adds the nodeID to the file list from compute node params

func (*FileListFromComputeNodeParams) WithOcpDate

WithOcpDate adds the ocpDate to the file list from compute node params

func (*FileListFromComputeNodeParams) WithPoolID

WithPoolID adds the poolID to the file list from compute node params

func (*FileListFromComputeNodeParams) WithRecursive

WithRecursive adds the recursive to the file list from compute node params

func (*FileListFromComputeNodeParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the file list from compute node params

func (*FileListFromComputeNodeParams) WithReturnClientRequestID

func (o *FileListFromComputeNodeParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileListFromComputeNodeParams

WithReturnClientRequestID adds the returnClientRequestID to the file list from compute node params

func (*FileListFromComputeNodeParams) WithTimeout

WithTimeout adds the timeout to the file list from compute node params

func (*FileListFromComputeNodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FileListFromComputeNodeReader

type FileListFromComputeNodeReader struct {
	// contains filtered or unexported fields
}

FileListFromComputeNodeReader is a Reader for the FileListFromComputeNode structure.

func (*FileListFromComputeNodeReader) ReadResponse

func (o *FileListFromComputeNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FileListFromTaskDefault

type FileListFromTaskDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

FileListFromTaskDefault handles this case with default header values.

The error from the Batch service.

func NewFileListFromTaskDefault

func NewFileListFromTaskDefault(code int) *FileListFromTaskDefault

NewFileListFromTaskDefault creates a FileListFromTaskDefault with default headers values

func (*FileListFromTaskDefault) Code

func (o *FileListFromTaskDefault) Code() int

Code gets the status code for the file list from task default response

func (*FileListFromTaskDefault) Error

func (o *FileListFromTaskDefault) Error() string

type FileListFromTaskOK

type FileListFromTaskOK struct {
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload *models.NodeFileListResult
}

FileListFromTaskOK handles this case with default header values.

A response containing the list of files.

func NewFileListFromTaskOK

func NewFileListFromTaskOK() *FileListFromTaskOK

NewFileListFromTaskOK creates a FileListFromTaskOK with default headers values

func (*FileListFromTaskOK) Error

func (o *FileListFromTaskOK) Error() string

type FileListFromTaskParams

type FileListFromTaskParams struct {

	/*NrDollarFilter
	  An OData $filter clause.

	*/
	DollarFilter *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*JobID
	  The ID of the job that contains the task.

	*/
	JobID string
	/*Maxresults
	  The maximum number of items to return in the response. A maximum of 1000 files can be returned.

	*/
	Maxresults *int32
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*Recursive
	  Whether to list children of a directory. This parameter can be used in combination with the filter parameter to list specific type of files.

	*/
	Recursive *bool
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*TaskID
	  The ID of the task whose files you want to list.

	*/
	TaskID string
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FileListFromTaskParams contains all the parameters to send to the API endpoint for the file list from task operation typically these are written to a http.Request

func NewFileListFromTaskParams

func NewFileListFromTaskParams() *FileListFromTaskParams

NewFileListFromTaskParams creates a new FileListFromTaskParams object with the default values initialized.

func NewFileListFromTaskParamsWithContext

func NewFileListFromTaskParamsWithContext(ctx context.Context) *FileListFromTaskParams

NewFileListFromTaskParamsWithContext creates a new FileListFromTaskParams object with the default values initialized, and the ability to set a context for a request

func NewFileListFromTaskParamsWithTimeout

func NewFileListFromTaskParamsWithTimeout(timeout time.Duration) *FileListFromTaskParams

NewFileListFromTaskParamsWithTimeout creates a new FileListFromTaskParams object with the default values initialized, and the ability to set a timeout on a request

func (*FileListFromTaskParams) SetAPIVersion

func (o *FileListFromTaskParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the file list from task params

func (*FileListFromTaskParams) SetClientRequestID

func (o *FileListFromTaskParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the file list from task params

func (*FileListFromTaskParams) SetContext

func (o *FileListFromTaskParams) SetContext(ctx context.Context)

SetContext adds the context to the file list from task params

func (*FileListFromTaskParams) SetDollarFilter

func (o *FileListFromTaskParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the file list from task params

func (*FileListFromTaskParams) SetJobID

func (o *FileListFromTaskParams) SetJobID(jobID string)

SetJobID adds the jobId to the file list from task params

func (*FileListFromTaskParams) SetMaxresults

func (o *FileListFromTaskParams) SetMaxresults(maxresults *int32)

SetMaxresults adds the maxresults to the file list from task params

func (*FileListFromTaskParams) SetOcpDate

func (o *FileListFromTaskParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the file list from task params

func (*FileListFromTaskParams) SetRecursive

func (o *FileListFromTaskParams) SetRecursive(recursive *bool)

SetRecursive adds the recursive to the file list from task params

func (*FileListFromTaskParams) SetRequestTimeout

func (o *FileListFromTaskParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the file list from task params

func (*FileListFromTaskParams) SetReturnClientRequestID

func (o *FileListFromTaskParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the file list from task params

func (*FileListFromTaskParams) SetTaskID

func (o *FileListFromTaskParams) SetTaskID(taskID string)

SetTaskID adds the taskId to the file list from task params

func (*FileListFromTaskParams) SetTimeout

func (o *FileListFromTaskParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the file list from task params

func (*FileListFromTaskParams) WithAPIVersion

func (o *FileListFromTaskParams) WithAPIVersion(aPIVersion string) *FileListFromTaskParams

WithAPIVersion adds the aPIVersion to the file list from task params

func (*FileListFromTaskParams) WithClientRequestID

func (o *FileListFromTaskParams) WithClientRequestID(clientRequestID *string) *FileListFromTaskParams

WithClientRequestID adds the clientRequestID to the file list from task params

func (*FileListFromTaskParams) WithContext

WithContext adds the context to the file list from task params

func (*FileListFromTaskParams) WithDollarFilter

func (o *FileListFromTaskParams) WithDollarFilter(dollarFilter *string) *FileListFromTaskParams

WithDollarFilter adds the dollarFilter to the file list from task params

func (*FileListFromTaskParams) WithJobID

WithJobID adds the jobID to the file list from task params

func (*FileListFromTaskParams) WithMaxresults

func (o *FileListFromTaskParams) WithMaxresults(maxresults *int32) *FileListFromTaskParams

WithMaxresults adds the maxresults to the file list from task params

func (*FileListFromTaskParams) WithOcpDate

func (o *FileListFromTaskParams) WithOcpDate(ocpDate *string) *FileListFromTaskParams

WithOcpDate adds the ocpDate to the file list from task params

func (*FileListFromTaskParams) WithRecursive

func (o *FileListFromTaskParams) WithRecursive(recursive *bool) *FileListFromTaskParams

WithRecursive adds the recursive to the file list from task params

func (*FileListFromTaskParams) WithRequestTimeout

func (o *FileListFromTaskParams) WithRequestTimeout(timeout time.Duration) *FileListFromTaskParams

WithRequestTimeout adds the timeout to the file list from task params

func (*FileListFromTaskParams) WithReturnClientRequestID

func (o *FileListFromTaskParams) WithReturnClientRequestID(returnClientRequestID *bool) *FileListFromTaskParams

WithReturnClientRequestID adds the returnClientRequestID to the file list from task params

func (*FileListFromTaskParams) WithTaskID

func (o *FileListFromTaskParams) WithTaskID(taskID string) *FileListFromTaskParams

WithTaskID adds the taskID to the file list from task params

func (*FileListFromTaskParams) WithTimeout

func (o *FileListFromTaskParams) WithTimeout(timeout *int32) *FileListFromTaskParams

WithTimeout adds the timeout to the file list from task params

func (*FileListFromTaskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FileListFromTaskReader

type FileListFromTaskReader struct {
	// contains filtered or unexported fields
}

FileListFromTaskReader is a Reader for the FileListFromTask structure.

func (*FileListFromTaskReader) ReadResponse

func (o *FileListFromTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL