file

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0, MIT Imports: 11 Imported by: 1

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 file API

func (*Client) GetFile added in v0.4.1

func (a *Client) GetFile(params *GetFileParams, opts ...ClientOption) (*GetFileOK, error)

GetFile gets details about a file

func (*Client) GetFileDeals added in v0.4.1

func (a *Client) GetFileDeals(params *GetFileDealsParams, opts ...ClientOption) (*GetFileDealsOK, error)

GetFileDeals gets all deals that have been made for a file

func (*Client) PrepareToPackFile added in v0.4.1

func (a *Client) PrepareToPackFile(params *PrepareToPackFileParams, opts ...ClientOption) (*PrepareToPackFileOK, error)

PrepareToPackFile prepares job for a given item

func (*Client) PushFile added in v0.4.1

func (a *Client) PushFile(params *PushFileParams, opts ...ClientOption) (*PushFileOK, error)

PushFile pushes a file to be queued

Tells Singularity that something is ready to be grabbed for data preparation

func (*Client) RetrieveFile added in v0.5.0

func (a *Client) RetrieveFile(params *RetrieveFileParams, writer io.Writer, opts ...ClientOption) (*RetrieveFileOK, *RetrieveFilePartialContent, error)

RetrieveFile gets content of a file

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetFile(params *GetFileParams, opts ...ClientOption) (*GetFileOK, error)

	GetFileDeals(params *GetFileDealsParams, opts ...ClientOption) (*GetFileDealsOK, error)

	PrepareToPackFile(params *PrepareToPackFileParams, opts ...ClientOption) (*PrepareToPackFileOK, error)

	PushFile(params *PushFileParams, opts ...ClientOption) (*PushFileOK, error)

	RetrieveFile(params *RetrieveFileParams, writer io.Writer, opts ...ClientOption) (*RetrieveFileOK, *RetrieveFilePartialContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new file API client.

type GetFileDealsInternalServerError added in v0.4.1

type GetFileDealsInternalServerError struct {
	Payload *models.APIHTTPError
}

GetFileDealsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetFileDealsInternalServerError added in v0.4.1

func NewGetFileDealsInternalServerError() *GetFileDealsInternalServerError

NewGetFileDealsInternalServerError creates a GetFileDealsInternalServerError with default headers values

func (*GetFileDealsInternalServerError) Code added in v0.4.1

Code gets the status code for the get file deals internal server error response

func (*GetFileDealsInternalServerError) Error added in v0.4.1

func (*GetFileDealsInternalServerError) GetPayload added in v0.4.1

func (*GetFileDealsInternalServerError) IsClientError added in v0.4.1

func (o *GetFileDealsInternalServerError) IsClientError() bool

IsClientError returns true when this get file deals internal server error response has a 4xx status code

func (*GetFileDealsInternalServerError) IsCode added in v0.4.1

func (o *GetFileDealsInternalServerError) IsCode(code int) bool

IsCode returns true when this get file deals internal server error response a status code equal to that given

func (*GetFileDealsInternalServerError) IsRedirect added in v0.4.1

func (o *GetFileDealsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get file deals internal server error response has a 3xx status code

func (*GetFileDealsInternalServerError) IsServerError added in v0.4.1

func (o *GetFileDealsInternalServerError) IsServerError() bool

IsServerError returns true when this get file deals internal server error response has a 5xx status code

func (*GetFileDealsInternalServerError) IsSuccess added in v0.4.1

func (o *GetFileDealsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get file deals internal server error response has a 2xx status code

func (*GetFileDealsInternalServerError) String added in v0.4.1

type GetFileDealsOK added in v0.4.1

type GetFileDealsOK struct {
	Payload []*models.FileDealsForFileRange
}

GetFileDealsOK describes a response with status code 200, with default header values.

OK

func NewGetFileDealsOK added in v0.4.1

func NewGetFileDealsOK() *GetFileDealsOK

NewGetFileDealsOK creates a GetFileDealsOK with default headers values

func (*GetFileDealsOK) Code added in v0.4.1

func (o *GetFileDealsOK) Code() int

Code gets the status code for the get file deals o k response

func (*GetFileDealsOK) Error added in v0.4.1

func (o *GetFileDealsOK) Error() string

func (*GetFileDealsOK) GetPayload added in v0.4.1

func (o *GetFileDealsOK) GetPayload() []*models.FileDealsForFileRange

func (*GetFileDealsOK) IsClientError added in v0.4.1

func (o *GetFileDealsOK) IsClientError() bool

IsClientError returns true when this get file deals o k response has a 4xx status code

func (*GetFileDealsOK) IsCode added in v0.4.1

func (o *GetFileDealsOK) IsCode(code int) bool

IsCode returns true when this get file deals o k response a status code equal to that given

func (*GetFileDealsOK) IsRedirect added in v0.4.1

func (o *GetFileDealsOK) IsRedirect() bool

IsRedirect returns true when this get file deals o k response has a 3xx status code

func (*GetFileDealsOK) IsServerError added in v0.4.1

func (o *GetFileDealsOK) IsServerError() bool

IsServerError returns true when this get file deals o k response has a 5xx status code

func (*GetFileDealsOK) IsSuccess added in v0.4.1

func (o *GetFileDealsOK) IsSuccess() bool

IsSuccess returns true when this get file deals o k response has a 2xx status code

func (*GetFileDealsOK) String added in v0.4.1

func (o *GetFileDealsOK) String() string

type GetFileDealsParams added in v0.4.1

type GetFileDealsParams struct {

	/* ID.

	   File ID
	*/
	ID int64

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

GetFileDealsParams contains all the parameters to send to the API endpoint

for the get file deals operation.

Typically these are written to a http.Request.

func NewGetFileDealsParams added in v0.4.1

func NewGetFileDealsParams() *GetFileDealsParams

NewGetFileDealsParams creates a new GetFileDealsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFileDealsParamsWithContext added in v0.4.1

func NewGetFileDealsParamsWithContext(ctx context.Context) *GetFileDealsParams

NewGetFileDealsParamsWithContext creates a new GetFileDealsParams object with the ability to set a context for a request.

func NewGetFileDealsParamsWithHTTPClient added in v0.4.1

func NewGetFileDealsParamsWithHTTPClient(client *http.Client) *GetFileDealsParams

NewGetFileDealsParamsWithHTTPClient creates a new GetFileDealsParams object with the ability to set a custom HTTPClient for a request.

func NewGetFileDealsParamsWithTimeout added in v0.4.1

func NewGetFileDealsParamsWithTimeout(timeout time.Duration) *GetFileDealsParams

NewGetFileDealsParamsWithTimeout creates a new GetFileDealsParams object with the ability to set a timeout on a request.

func (*GetFileDealsParams) SetContext added in v0.4.1

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

SetContext adds the context to the get file deals params

func (*GetFileDealsParams) SetDefaults added in v0.4.1

func (o *GetFileDealsParams) SetDefaults()

SetDefaults hydrates default values in the get file deals params (not the query body).

All values with no default are reset to their zero value.

func (*GetFileDealsParams) SetHTTPClient added in v0.4.1

func (o *GetFileDealsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get file deals params

func (*GetFileDealsParams) SetID added in v0.4.1

func (o *GetFileDealsParams) SetID(id int64)

SetID adds the id to the get file deals params

func (*GetFileDealsParams) SetTimeout added in v0.4.1

func (o *GetFileDealsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get file deals params

func (*GetFileDealsParams) WithContext added in v0.4.1

WithContext adds the context to the get file deals params

func (*GetFileDealsParams) WithDefaults added in v0.4.1

func (o *GetFileDealsParams) WithDefaults() *GetFileDealsParams

WithDefaults hydrates default values in the get file deals params (not the query body).

All values with no default are reset to their zero value.

func (*GetFileDealsParams) WithHTTPClient added in v0.4.1

func (o *GetFileDealsParams) WithHTTPClient(client *http.Client) *GetFileDealsParams

WithHTTPClient adds the HTTPClient to the get file deals params

func (*GetFileDealsParams) WithID added in v0.4.1

WithID adds the id to the get file deals params

func (*GetFileDealsParams) WithTimeout added in v0.4.1

func (o *GetFileDealsParams) WithTimeout(timeout time.Duration) *GetFileDealsParams

WithTimeout adds the timeout to the get file deals params

func (*GetFileDealsParams) WriteToRequest added in v0.4.1

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

WriteToRequest writes these params to a swagger request

type GetFileDealsReader added in v0.4.1

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

GetFileDealsReader is a Reader for the GetFileDeals structure.

func (*GetFileDealsReader) ReadResponse added in v0.4.1

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

ReadResponse reads a server response into the received o.

type GetFileInternalServerError added in v0.4.1

type GetFileInternalServerError struct {
	Payload *models.APIHTTPError
}

GetFileInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetFileInternalServerError added in v0.4.1

func NewGetFileInternalServerError() *GetFileInternalServerError

NewGetFileInternalServerError creates a GetFileInternalServerError with default headers values

func (*GetFileInternalServerError) Code added in v0.4.1

func (o *GetFileInternalServerError) Code() int

Code gets the status code for the get file internal server error response

func (*GetFileInternalServerError) Error added in v0.4.1

func (*GetFileInternalServerError) GetPayload added in v0.4.1

func (*GetFileInternalServerError) IsClientError added in v0.4.1

func (o *GetFileInternalServerError) IsClientError() bool

IsClientError returns true when this get file internal server error response has a 4xx status code

func (*GetFileInternalServerError) IsCode added in v0.4.1

func (o *GetFileInternalServerError) IsCode(code int) bool

IsCode returns true when this get file internal server error response a status code equal to that given

func (*GetFileInternalServerError) IsRedirect added in v0.4.1

func (o *GetFileInternalServerError) IsRedirect() bool

IsRedirect returns true when this get file internal server error response has a 3xx status code

func (*GetFileInternalServerError) IsServerError added in v0.4.1

func (o *GetFileInternalServerError) IsServerError() bool

IsServerError returns true when this get file internal server error response has a 5xx status code

func (*GetFileInternalServerError) IsSuccess added in v0.4.1

func (o *GetFileInternalServerError) IsSuccess() bool

IsSuccess returns true when this get file internal server error response has a 2xx status code

func (*GetFileInternalServerError) String added in v0.4.1

func (o *GetFileInternalServerError) String() string

type GetFileOK added in v0.4.1

type GetFileOK struct {
	Payload *models.ModelFile
}

GetFileOK describes a response with status code 200, with default header values.

OK

func NewGetFileOK added in v0.4.1

func NewGetFileOK() *GetFileOK

NewGetFileOK creates a GetFileOK with default headers values

func (*GetFileOK) Code added in v0.4.1

func (o *GetFileOK) Code() int

Code gets the status code for the get file o k response

func (*GetFileOK) Error added in v0.4.1

func (o *GetFileOK) Error() string

func (*GetFileOK) GetPayload added in v0.4.1

func (o *GetFileOK) GetPayload() *models.ModelFile

func (*GetFileOK) IsClientError added in v0.4.1

func (o *GetFileOK) IsClientError() bool

IsClientError returns true when this get file o k response has a 4xx status code

func (*GetFileOK) IsCode added in v0.4.1

func (o *GetFileOK) IsCode(code int) bool

IsCode returns true when this get file o k response a status code equal to that given

func (*GetFileOK) IsRedirect added in v0.4.1

func (o *GetFileOK) IsRedirect() bool

IsRedirect returns true when this get file o k response has a 3xx status code

func (*GetFileOK) IsServerError added in v0.4.1

func (o *GetFileOK) IsServerError() bool

IsServerError returns true when this get file o k response has a 5xx status code

func (*GetFileOK) IsSuccess added in v0.4.1

func (o *GetFileOK) IsSuccess() bool

IsSuccess returns true when this get file o k response has a 2xx status code

func (*GetFileOK) String added in v0.4.1

func (o *GetFileOK) String() string

type GetFileParams added in v0.4.1

type GetFileParams struct {

	/* ID.

	   File ID
	*/
	ID int64

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

GetFileParams contains all the parameters to send to the API endpoint

for the get file operation.

Typically these are written to a http.Request.

func NewGetFileParams added in v0.4.1

func NewGetFileParams() *GetFileParams

NewGetFileParams creates a new GetFileParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFileParamsWithContext added in v0.4.1

func NewGetFileParamsWithContext(ctx context.Context) *GetFileParams

NewGetFileParamsWithContext creates a new GetFileParams object with the ability to set a context for a request.

func NewGetFileParamsWithHTTPClient added in v0.4.1

func NewGetFileParamsWithHTTPClient(client *http.Client) *GetFileParams

NewGetFileParamsWithHTTPClient creates a new GetFileParams object with the ability to set a custom HTTPClient for a request.

func NewGetFileParamsWithTimeout added in v0.4.1

func NewGetFileParamsWithTimeout(timeout time.Duration) *GetFileParams

NewGetFileParamsWithTimeout creates a new GetFileParams object with the ability to set a timeout on a request.

func (*GetFileParams) SetContext added in v0.4.1

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

SetContext adds the context to the get file params

func (*GetFileParams) SetDefaults added in v0.4.1

func (o *GetFileParams) SetDefaults()

SetDefaults hydrates default values in the get file params (not the query body).

All values with no default are reset to their zero value.

func (*GetFileParams) SetHTTPClient added in v0.4.1

func (o *GetFileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get file params

func (*GetFileParams) SetID added in v0.4.1

func (o *GetFileParams) SetID(id int64)

SetID adds the id to the get file params

func (*GetFileParams) SetTimeout added in v0.4.1

func (o *GetFileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get file params

func (*GetFileParams) WithContext added in v0.4.1

func (o *GetFileParams) WithContext(ctx context.Context) *GetFileParams

WithContext adds the context to the get file params

func (*GetFileParams) WithDefaults added in v0.4.1

func (o *GetFileParams) WithDefaults() *GetFileParams

WithDefaults hydrates default values in the get file params (not the query body).

All values with no default are reset to their zero value.

func (*GetFileParams) WithHTTPClient added in v0.4.1

func (o *GetFileParams) WithHTTPClient(client *http.Client) *GetFileParams

WithHTTPClient adds the HTTPClient to the get file params

func (*GetFileParams) WithID added in v0.4.1

func (o *GetFileParams) WithID(id int64) *GetFileParams

WithID adds the id to the get file params

func (*GetFileParams) WithTimeout added in v0.4.1

func (o *GetFileParams) WithTimeout(timeout time.Duration) *GetFileParams

WithTimeout adds the timeout to the get file params

func (*GetFileParams) WriteToRequest added in v0.4.1

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

WriteToRequest writes these params to a swagger request

type GetFileReader added in v0.4.1

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

GetFileReader is a Reader for the GetFile structure.

func (*GetFileReader) ReadResponse added in v0.4.1

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

ReadResponse reads a server response into the received o.

type PrepareToPackFileBadRequest added in v0.4.1

type PrepareToPackFileBadRequest struct {
	Payload string
}

PrepareToPackFileBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPrepareToPackFileBadRequest added in v0.4.1

func NewPrepareToPackFileBadRequest() *PrepareToPackFileBadRequest

NewPrepareToPackFileBadRequest creates a PrepareToPackFileBadRequest with default headers values

func (*PrepareToPackFileBadRequest) Code added in v0.4.1

func (o *PrepareToPackFileBadRequest) Code() int

Code gets the status code for the prepare to pack file bad request response

func (*PrepareToPackFileBadRequest) Error added in v0.4.1

func (*PrepareToPackFileBadRequest) GetPayload added in v0.4.1

func (o *PrepareToPackFileBadRequest) GetPayload() string

func (*PrepareToPackFileBadRequest) IsClientError added in v0.4.1

func (o *PrepareToPackFileBadRequest) IsClientError() bool

IsClientError returns true when this prepare to pack file bad request response has a 4xx status code

func (*PrepareToPackFileBadRequest) IsCode added in v0.4.1

func (o *PrepareToPackFileBadRequest) IsCode(code int) bool

IsCode returns true when this prepare to pack file bad request response a status code equal to that given

func (*PrepareToPackFileBadRequest) IsRedirect added in v0.4.1

func (o *PrepareToPackFileBadRequest) IsRedirect() bool

IsRedirect returns true when this prepare to pack file bad request response has a 3xx status code

func (*PrepareToPackFileBadRequest) IsServerError added in v0.4.1

func (o *PrepareToPackFileBadRequest) IsServerError() bool

IsServerError returns true when this prepare to pack file bad request response has a 5xx status code

func (*PrepareToPackFileBadRequest) IsSuccess added in v0.4.1

func (o *PrepareToPackFileBadRequest) IsSuccess() bool

IsSuccess returns true when this prepare to pack file bad request response has a 2xx status code

func (*PrepareToPackFileBadRequest) String added in v0.4.1

func (o *PrepareToPackFileBadRequest) String() string

type PrepareToPackFileInternalServerError added in v0.4.1

type PrepareToPackFileInternalServerError struct {
	Payload string
}

PrepareToPackFileInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPrepareToPackFileInternalServerError added in v0.4.1

func NewPrepareToPackFileInternalServerError() *PrepareToPackFileInternalServerError

NewPrepareToPackFileInternalServerError creates a PrepareToPackFileInternalServerError with default headers values

func (*PrepareToPackFileInternalServerError) Code added in v0.4.1

Code gets the status code for the prepare to pack file internal server error response

func (*PrepareToPackFileInternalServerError) Error added in v0.4.1

func (*PrepareToPackFileInternalServerError) GetPayload added in v0.4.1

func (*PrepareToPackFileInternalServerError) IsClientError added in v0.4.1

func (o *PrepareToPackFileInternalServerError) IsClientError() bool

IsClientError returns true when this prepare to pack file internal server error response has a 4xx status code

func (*PrepareToPackFileInternalServerError) IsCode added in v0.4.1

IsCode returns true when this prepare to pack file internal server error response a status code equal to that given

func (*PrepareToPackFileInternalServerError) IsRedirect added in v0.4.1

IsRedirect returns true when this prepare to pack file internal server error response has a 3xx status code

func (*PrepareToPackFileInternalServerError) IsServerError added in v0.4.1

func (o *PrepareToPackFileInternalServerError) IsServerError() bool

IsServerError returns true when this prepare to pack file internal server error response has a 5xx status code

func (*PrepareToPackFileInternalServerError) IsSuccess added in v0.4.1

IsSuccess returns true when this prepare to pack file internal server error response has a 2xx status code

func (*PrepareToPackFileInternalServerError) String added in v0.4.1

type PrepareToPackFileOK added in v0.4.1

type PrepareToPackFileOK struct {
	Payload int64
}

PrepareToPackFileOK describes a response with status code 200, with default header values.

OK

func NewPrepareToPackFileOK added in v0.4.1

func NewPrepareToPackFileOK() *PrepareToPackFileOK

NewPrepareToPackFileOK creates a PrepareToPackFileOK with default headers values

func (*PrepareToPackFileOK) Code added in v0.4.1

func (o *PrepareToPackFileOK) Code() int

Code gets the status code for the prepare to pack file o k response

func (*PrepareToPackFileOK) Error added in v0.4.1

func (o *PrepareToPackFileOK) Error() string

func (*PrepareToPackFileOK) GetPayload added in v0.4.1

func (o *PrepareToPackFileOK) GetPayload() int64

func (*PrepareToPackFileOK) IsClientError added in v0.4.1

func (o *PrepareToPackFileOK) IsClientError() bool

IsClientError returns true when this prepare to pack file o k response has a 4xx status code

func (*PrepareToPackFileOK) IsCode added in v0.4.1

func (o *PrepareToPackFileOK) IsCode(code int) bool

IsCode returns true when this prepare to pack file o k response a status code equal to that given

func (*PrepareToPackFileOK) IsRedirect added in v0.4.1

func (o *PrepareToPackFileOK) IsRedirect() bool

IsRedirect returns true when this prepare to pack file o k response has a 3xx status code

func (*PrepareToPackFileOK) IsServerError added in v0.4.1

func (o *PrepareToPackFileOK) IsServerError() bool

IsServerError returns true when this prepare to pack file o k response has a 5xx status code

func (*PrepareToPackFileOK) IsSuccess added in v0.4.1

func (o *PrepareToPackFileOK) IsSuccess() bool

IsSuccess returns true when this prepare to pack file o k response has a 2xx status code

func (*PrepareToPackFileOK) String added in v0.4.1

func (o *PrepareToPackFileOK) String() string

type PrepareToPackFileParams added in v0.4.1

type PrepareToPackFileParams struct {

	/* ID.

	   File ID
	*/
	ID int64

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

PrepareToPackFileParams contains all the parameters to send to the API endpoint

for the prepare to pack file operation.

Typically these are written to a http.Request.

func NewPrepareToPackFileParams added in v0.4.1

func NewPrepareToPackFileParams() *PrepareToPackFileParams

NewPrepareToPackFileParams creates a new PrepareToPackFileParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPrepareToPackFileParamsWithContext added in v0.4.1

func NewPrepareToPackFileParamsWithContext(ctx context.Context) *PrepareToPackFileParams

NewPrepareToPackFileParamsWithContext creates a new PrepareToPackFileParams object with the ability to set a context for a request.

func NewPrepareToPackFileParamsWithHTTPClient added in v0.4.1

func NewPrepareToPackFileParamsWithHTTPClient(client *http.Client) *PrepareToPackFileParams

NewPrepareToPackFileParamsWithHTTPClient creates a new PrepareToPackFileParams object with the ability to set a custom HTTPClient for a request.

func NewPrepareToPackFileParamsWithTimeout added in v0.4.1

func NewPrepareToPackFileParamsWithTimeout(timeout time.Duration) *PrepareToPackFileParams

NewPrepareToPackFileParamsWithTimeout creates a new PrepareToPackFileParams object with the ability to set a timeout on a request.

func (*PrepareToPackFileParams) SetContext added in v0.4.1

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

SetContext adds the context to the prepare to pack file params

func (*PrepareToPackFileParams) SetDefaults added in v0.4.1

func (o *PrepareToPackFileParams) SetDefaults()

SetDefaults hydrates default values in the prepare to pack file params (not the query body).

All values with no default are reset to their zero value.

func (*PrepareToPackFileParams) SetHTTPClient added in v0.4.1

func (o *PrepareToPackFileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the prepare to pack file params

func (*PrepareToPackFileParams) SetID added in v0.4.1

func (o *PrepareToPackFileParams) SetID(id int64)

SetID adds the id to the prepare to pack file params

func (*PrepareToPackFileParams) SetTimeout added in v0.4.1

func (o *PrepareToPackFileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the prepare to pack file params

func (*PrepareToPackFileParams) WithContext added in v0.4.1

WithContext adds the context to the prepare to pack file params

func (*PrepareToPackFileParams) WithDefaults added in v0.4.1

WithDefaults hydrates default values in the prepare to pack file params (not the query body).

All values with no default are reset to their zero value.

func (*PrepareToPackFileParams) WithHTTPClient added in v0.4.1

func (o *PrepareToPackFileParams) WithHTTPClient(client *http.Client) *PrepareToPackFileParams

WithHTTPClient adds the HTTPClient to the prepare to pack file params

func (*PrepareToPackFileParams) WithID added in v0.4.1

WithID adds the id to the prepare to pack file params

func (*PrepareToPackFileParams) WithTimeout added in v0.4.1

WithTimeout adds the timeout to the prepare to pack file params

func (*PrepareToPackFileParams) WriteToRequest added in v0.4.1

WriteToRequest writes these params to a swagger request

type PrepareToPackFileReader added in v0.4.1

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

PrepareToPackFileReader is a Reader for the PrepareToPackFile structure.

func (*PrepareToPackFileReader) ReadResponse added in v0.4.1

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

ReadResponse reads a server response into the received o.

type PushFileBadRequest added in v0.4.1

type PushFileBadRequest struct {
	Payload *models.APIHTTPError
}

PushFileBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPushFileBadRequest added in v0.4.1

func NewPushFileBadRequest() *PushFileBadRequest

NewPushFileBadRequest creates a PushFileBadRequest with default headers values

func (*PushFileBadRequest) Code added in v0.4.1

func (o *PushFileBadRequest) Code() int

Code gets the status code for the push file bad request response

func (*PushFileBadRequest) Error added in v0.4.1

func (o *PushFileBadRequest) Error() string

func (*PushFileBadRequest) GetPayload added in v0.4.1

func (o *PushFileBadRequest) GetPayload() *models.APIHTTPError

func (*PushFileBadRequest) IsClientError added in v0.4.1

func (o *PushFileBadRequest) IsClientError() bool

IsClientError returns true when this push file bad request response has a 4xx status code

func (*PushFileBadRequest) IsCode added in v0.4.1

func (o *PushFileBadRequest) IsCode(code int) bool

IsCode returns true when this push file bad request response a status code equal to that given

func (*PushFileBadRequest) IsRedirect added in v0.4.1

func (o *PushFileBadRequest) IsRedirect() bool

IsRedirect returns true when this push file bad request response has a 3xx status code

func (*PushFileBadRequest) IsServerError added in v0.4.1

func (o *PushFileBadRequest) IsServerError() bool

IsServerError returns true when this push file bad request response has a 5xx status code

func (*PushFileBadRequest) IsSuccess added in v0.4.1

func (o *PushFileBadRequest) IsSuccess() bool

IsSuccess returns true when this push file bad request response has a 2xx status code

func (*PushFileBadRequest) String added in v0.4.1

func (o *PushFileBadRequest) String() string

type PushFileInternalServerError added in v0.4.1

type PushFileInternalServerError struct {
	Payload *models.APIHTTPError
}

PushFileInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPushFileInternalServerError added in v0.4.1

func NewPushFileInternalServerError() *PushFileInternalServerError

NewPushFileInternalServerError creates a PushFileInternalServerError with default headers values

func (*PushFileInternalServerError) Code added in v0.4.1

func (o *PushFileInternalServerError) Code() int

Code gets the status code for the push file internal server error response

func (*PushFileInternalServerError) Error added in v0.4.1

func (*PushFileInternalServerError) GetPayload added in v0.4.1

func (*PushFileInternalServerError) IsClientError added in v0.4.1

func (o *PushFileInternalServerError) IsClientError() bool

IsClientError returns true when this push file internal server error response has a 4xx status code

func (*PushFileInternalServerError) IsCode added in v0.4.1

func (o *PushFileInternalServerError) IsCode(code int) bool

IsCode returns true when this push file internal server error response a status code equal to that given

func (*PushFileInternalServerError) IsRedirect added in v0.4.1

func (o *PushFileInternalServerError) IsRedirect() bool

IsRedirect returns true when this push file internal server error response has a 3xx status code

func (*PushFileInternalServerError) IsServerError added in v0.4.1

func (o *PushFileInternalServerError) IsServerError() bool

IsServerError returns true when this push file internal server error response has a 5xx status code

func (*PushFileInternalServerError) IsSuccess added in v0.4.1

func (o *PushFileInternalServerError) IsSuccess() bool

IsSuccess returns true when this push file internal server error response has a 2xx status code

func (*PushFileInternalServerError) String added in v0.4.1

func (o *PushFileInternalServerError) String() string

type PushFileOK added in v0.4.1

type PushFileOK struct {
	Payload *models.ModelFile
}

PushFileOK describes a response with status code 200, with default header values.

OK

func NewPushFileOK added in v0.4.1

func NewPushFileOK() *PushFileOK

NewPushFileOK creates a PushFileOK with default headers values

func (*PushFileOK) Code added in v0.4.1

func (o *PushFileOK) Code() int

Code gets the status code for the push file o k response

func (*PushFileOK) Error added in v0.4.1

func (o *PushFileOK) Error() string

func (*PushFileOK) GetPayload added in v0.4.1

func (o *PushFileOK) GetPayload() *models.ModelFile

func (*PushFileOK) IsClientError added in v0.4.1

func (o *PushFileOK) IsClientError() bool

IsClientError returns true when this push file o k response has a 4xx status code

func (*PushFileOK) IsCode added in v0.4.1

func (o *PushFileOK) IsCode(code int) bool

IsCode returns true when this push file o k response a status code equal to that given

func (*PushFileOK) IsRedirect added in v0.4.1

func (o *PushFileOK) IsRedirect() bool

IsRedirect returns true when this push file o k response has a 3xx status code

func (*PushFileOK) IsServerError added in v0.4.1

func (o *PushFileOK) IsServerError() bool

IsServerError returns true when this push file o k response has a 5xx status code

func (*PushFileOK) IsSuccess added in v0.4.1

func (o *PushFileOK) IsSuccess() bool

IsSuccess returns true when this push file o k response has a 2xx status code

func (*PushFileOK) String added in v0.4.1

func (o *PushFileOK) String() string

type PushFileParams added in v0.4.1

type PushFileParams struct {

	/* File.

	   File Info
	*/
	File *models.FileInfo

	/* ID.

	   Preparation ID or name
	*/
	ID string

	/* Name.

	   Source storage ID or name
	*/
	Name string

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

PushFileParams contains all the parameters to send to the API endpoint

for the push file operation.

Typically these are written to a http.Request.

func NewPushFileParams added in v0.4.1

func NewPushFileParams() *PushFileParams

NewPushFileParams creates a new PushFileParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPushFileParamsWithContext added in v0.4.1

func NewPushFileParamsWithContext(ctx context.Context) *PushFileParams

NewPushFileParamsWithContext creates a new PushFileParams object with the ability to set a context for a request.

func NewPushFileParamsWithHTTPClient added in v0.4.1

func NewPushFileParamsWithHTTPClient(client *http.Client) *PushFileParams

NewPushFileParamsWithHTTPClient creates a new PushFileParams object with the ability to set a custom HTTPClient for a request.

func NewPushFileParamsWithTimeout added in v0.4.1

func NewPushFileParamsWithTimeout(timeout time.Duration) *PushFileParams

NewPushFileParamsWithTimeout creates a new PushFileParams object with the ability to set a timeout on a request.

func (*PushFileParams) SetContext added in v0.4.1

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

SetContext adds the context to the push file params

func (*PushFileParams) SetDefaults added in v0.4.1

func (o *PushFileParams) SetDefaults()

SetDefaults hydrates default values in the push file params (not the query body).

All values with no default are reset to their zero value.

func (*PushFileParams) SetFile added in v0.4.1

func (o *PushFileParams) SetFile(file *models.FileInfo)

SetFile adds the file to the push file params

func (*PushFileParams) SetHTTPClient added in v0.4.1

func (o *PushFileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the push file params

func (*PushFileParams) SetID added in v0.4.1

func (o *PushFileParams) SetID(id string)

SetID adds the id to the push file params

func (*PushFileParams) SetName added in v0.4.1

func (o *PushFileParams) SetName(name string)

SetName adds the name to the push file params

func (*PushFileParams) SetTimeout added in v0.4.1

func (o *PushFileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the push file params

func (*PushFileParams) WithContext added in v0.4.1

func (o *PushFileParams) WithContext(ctx context.Context) *PushFileParams

WithContext adds the context to the push file params

func (*PushFileParams) WithDefaults added in v0.4.1

func (o *PushFileParams) WithDefaults() *PushFileParams

WithDefaults hydrates default values in the push file params (not the query body).

All values with no default are reset to their zero value.

func (*PushFileParams) WithFile added in v0.4.1

func (o *PushFileParams) WithFile(file *models.FileInfo) *PushFileParams

WithFile adds the file to the push file params

func (*PushFileParams) WithHTTPClient added in v0.4.1

func (o *PushFileParams) WithHTTPClient(client *http.Client) *PushFileParams

WithHTTPClient adds the HTTPClient to the push file params

func (*PushFileParams) WithID added in v0.4.1

func (o *PushFileParams) WithID(id string) *PushFileParams

WithID adds the id to the push file params

func (*PushFileParams) WithName added in v0.4.1

func (o *PushFileParams) WithName(name string) *PushFileParams

WithName adds the name to the push file params

func (*PushFileParams) WithTimeout added in v0.4.1

func (o *PushFileParams) WithTimeout(timeout time.Duration) *PushFileParams

WithTimeout adds the timeout to the push file params

func (*PushFileParams) WriteToRequest added in v0.4.1

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

WriteToRequest writes these params to a swagger request

type PushFileReader added in v0.4.1

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

PushFileReader is a Reader for the PushFile structure.

func (*PushFileReader) ReadResponse added in v0.4.1

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

ReadResponse reads a server response into the received o.

type RetrieveFileBadRequest added in v0.5.0

type RetrieveFileBadRequest struct {
	Payload *models.APIHTTPError
}

RetrieveFileBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewRetrieveFileBadRequest added in v0.5.0

func NewRetrieveFileBadRequest() *RetrieveFileBadRequest

NewRetrieveFileBadRequest creates a RetrieveFileBadRequest with default headers values

func (*RetrieveFileBadRequest) Code added in v0.5.0

func (o *RetrieveFileBadRequest) Code() int

Code gets the status code for the retrieve file bad request response

func (*RetrieveFileBadRequest) Error added in v0.5.0

func (o *RetrieveFileBadRequest) Error() string

func (*RetrieveFileBadRequest) GetPayload added in v0.5.0

func (o *RetrieveFileBadRequest) GetPayload() *models.APIHTTPError

func (*RetrieveFileBadRequest) IsClientError added in v0.5.0

func (o *RetrieveFileBadRequest) IsClientError() bool

IsClientError returns true when this retrieve file bad request response has a 4xx status code

func (*RetrieveFileBadRequest) IsCode added in v0.5.0

func (o *RetrieveFileBadRequest) IsCode(code int) bool

IsCode returns true when this retrieve file bad request response a status code equal to that given

func (*RetrieveFileBadRequest) IsRedirect added in v0.5.0

func (o *RetrieveFileBadRequest) IsRedirect() bool

IsRedirect returns true when this retrieve file bad request response has a 3xx status code

func (*RetrieveFileBadRequest) IsServerError added in v0.5.0

func (o *RetrieveFileBadRequest) IsServerError() bool

IsServerError returns true when this retrieve file bad request response has a 5xx status code

func (*RetrieveFileBadRequest) IsSuccess added in v0.5.0

func (o *RetrieveFileBadRequest) IsSuccess() bool

IsSuccess returns true when this retrieve file bad request response has a 2xx status code

func (*RetrieveFileBadRequest) String added in v0.5.0

func (o *RetrieveFileBadRequest) String() string

type RetrieveFileInternalServerError added in v0.5.0

type RetrieveFileInternalServerError struct {
	Payload *models.APIHTTPError
}

RetrieveFileInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewRetrieveFileInternalServerError added in v0.5.0

func NewRetrieveFileInternalServerError() *RetrieveFileInternalServerError

NewRetrieveFileInternalServerError creates a RetrieveFileInternalServerError with default headers values

func (*RetrieveFileInternalServerError) Code added in v0.5.0

Code gets the status code for the retrieve file internal server error response

func (*RetrieveFileInternalServerError) Error added in v0.5.0

func (*RetrieveFileInternalServerError) GetPayload added in v0.5.0

func (*RetrieveFileInternalServerError) IsClientError added in v0.5.0

func (o *RetrieveFileInternalServerError) IsClientError() bool

IsClientError returns true when this retrieve file internal server error response has a 4xx status code

func (*RetrieveFileInternalServerError) IsCode added in v0.5.0

func (o *RetrieveFileInternalServerError) IsCode(code int) bool

IsCode returns true when this retrieve file internal server error response a status code equal to that given

func (*RetrieveFileInternalServerError) IsRedirect added in v0.5.0

func (o *RetrieveFileInternalServerError) IsRedirect() bool

IsRedirect returns true when this retrieve file internal server error response has a 3xx status code

func (*RetrieveFileInternalServerError) IsServerError added in v0.5.0

func (o *RetrieveFileInternalServerError) IsServerError() bool

IsServerError returns true when this retrieve file internal server error response has a 5xx status code

func (*RetrieveFileInternalServerError) IsSuccess added in v0.5.0

func (o *RetrieveFileInternalServerError) IsSuccess() bool

IsSuccess returns true when this retrieve file internal server error response has a 2xx status code

func (*RetrieveFileInternalServerError) String added in v0.5.0

type RetrieveFileNotFound added in v0.5.0

type RetrieveFileNotFound struct {
	Payload *models.APIHTTPError
}

RetrieveFileNotFound describes a response with status code 404, with default header values.

Not Found

func NewRetrieveFileNotFound added in v0.5.0

func NewRetrieveFileNotFound() *RetrieveFileNotFound

NewRetrieveFileNotFound creates a RetrieveFileNotFound with default headers values

func (*RetrieveFileNotFound) Code added in v0.5.0

func (o *RetrieveFileNotFound) Code() int

Code gets the status code for the retrieve file not found response

func (*RetrieveFileNotFound) Error added in v0.5.0

func (o *RetrieveFileNotFound) Error() string

func (*RetrieveFileNotFound) GetPayload added in v0.5.0

func (o *RetrieveFileNotFound) GetPayload() *models.APIHTTPError

func (*RetrieveFileNotFound) IsClientError added in v0.5.0

func (o *RetrieveFileNotFound) IsClientError() bool

IsClientError returns true when this retrieve file not found response has a 4xx status code

func (*RetrieveFileNotFound) IsCode added in v0.5.0

func (o *RetrieveFileNotFound) IsCode(code int) bool

IsCode returns true when this retrieve file not found response a status code equal to that given

func (*RetrieveFileNotFound) IsRedirect added in v0.5.0

func (o *RetrieveFileNotFound) IsRedirect() bool

IsRedirect returns true when this retrieve file not found response has a 3xx status code

func (*RetrieveFileNotFound) IsServerError added in v0.5.0

func (o *RetrieveFileNotFound) IsServerError() bool

IsServerError returns true when this retrieve file not found response has a 5xx status code

func (*RetrieveFileNotFound) IsSuccess added in v0.5.0

func (o *RetrieveFileNotFound) IsSuccess() bool

IsSuccess returns true when this retrieve file not found response has a 2xx status code

func (*RetrieveFileNotFound) String added in v0.5.0

func (o *RetrieveFileNotFound) String() string

type RetrieveFileOK added in v0.5.0

type RetrieveFileOK struct {
	Payload io.Writer
}

RetrieveFileOK describes a response with status code 200, with default header values.

OK

func NewRetrieveFileOK added in v0.5.0

func NewRetrieveFileOK(writer io.Writer) *RetrieveFileOK

NewRetrieveFileOK creates a RetrieveFileOK with default headers values

func (*RetrieveFileOK) Code added in v0.5.0

func (o *RetrieveFileOK) Code() int

Code gets the status code for the retrieve file o k response

func (*RetrieveFileOK) Error added in v0.5.0

func (o *RetrieveFileOK) Error() string

func (*RetrieveFileOK) GetPayload added in v0.5.0

func (o *RetrieveFileOK) GetPayload() io.Writer

func (*RetrieveFileOK) IsClientError added in v0.5.0

func (o *RetrieveFileOK) IsClientError() bool

IsClientError returns true when this retrieve file o k response has a 4xx status code

func (*RetrieveFileOK) IsCode added in v0.5.0

func (o *RetrieveFileOK) IsCode(code int) bool

IsCode returns true when this retrieve file o k response a status code equal to that given

func (*RetrieveFileOK) IsRedirect added in v0.5.0

func (o *RetrieveFileOK) IsRedirect() bool

IsRedirect returns true when this retrieve file o k response has a 3xx status code

func (*RetrieveFileOK) IsServerError added in v0.5.0

func (o *RetrieveFileOK) IsServerError() bool

IsServerError returns true when this retrieve file o k response has a 5xx status code

func (*RetrieveFileOK) IsSuccess added in v0.5.0

func (o *RetrieveFileOK) IsSuccess() bool

IsSuccess returns true when this retrieve file o k response has a 2xx status code

func (*RetrieveFileOK) String added in v0.5.0

func (o *RetrieveFileOK) String() string

type RetrieveFileParams added in v0.5.0

type RetrieveFileParams struct {

	/* Range.

	   HTTP Range Header
	*/
	Range *string

	/* ID.

	   File ID
	*/
	ID int64

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

RetrieveFileParams contains all the parameters to send to the API endpoint

for the retrieve file operation.

Typically these are written to a http.Request.

func NewRetrieveFileParams added in v0.5.0

func NewRetrieveFileParams() *RetrieveFileParams

NewRetrieveFileParams creates a new RetrieveFileParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRetrieveFileParamsWithContext added in v0.5.0

func NewRetrieveFileParamsWithContext(ctx context.Context) *RetrieveFileParams

NewRetrieveFileParamsWithContext creates a new RetrieveFileParams object with the ability to set a context for a request.

func NewRetrieveFileParamsWithHTTPClient added in v0.5.0

func NewRetrieveFileParamsWithHTTPClient(client *http.Client) *RetrieveFileParams

NewRetrieveFileParamsWithHTTPClient creates a new RetrieveFileParams object with the ability to set a custom HTTPClient for a request.

func NewRetrieveFileParamsWithTimeout added in v0.5.0

func NewRetrieveFileParamsWithTimeout(timeout time.Duration) *RetrieveFileParams

NewRetrieveFileParamsWithTimeout creates a new RetrieveFileParams object with the ability to set a timeout on a request.

func (*RetrieveFileParams) SetContext added in v0.5.0

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

SetContext adds the context to the retrieve file params

func (*RetrieveFileParams) SetDefaults added in v0.5.0

func (o *RetrieveFileParams) SetDefaults()

SetDefaults hydrates default values in the retrieve file params (not the query body).

All values with no default are reset to their zero value.

func (*RetrieveFileParams) SetHTTPClient added in v0.5.0

func (o *RetrieveFileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the retrieve file params

func (*RetrieveFileParams) SetID added in v0.5.0

func (o *RetrieveFileParams) SetID(id int64)

SetID adds the id to the retrieve file params

func (*RetrieveFileParams) SetRange added in v0.5.0

func (o *RetrieveFileParams) SetRange(rangeVar *string)

SetRange adds the range to the retrieve file params

func (*RetrieveFileParams) SetTimeout added in v0.5.0

func (o *RetrieveFileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retrieve file params

func (*RetrieveFileParams) WithContext added in v0.5.0

WithContext adds the context to the retrieve file params

func (*RetrieveFileParams) WithDefaults added in v0.5.0

func (o *RetrieveFileParams) WithDefaults() *RetrieveFileParams

WithDefaults hydrates default values in the retrieve file params (not the query body).

All values with no default are reset to their zero value.

func (*RetrieveFileParams) WithHTTPClient added in v0.5.0

func (o *RetrieveFileParams) WithHTTPClient(client *http.Client) *RetrieveFileParams

WithHTTPClient adds the HTTPClient to the retrieve file params

func (*RetrieveFileParams) WithID added in v0.5.0

WithID adds the id to the retrieve file params

func (*RetrieveFileParams) WithRange added in v0.5.0

func (o *RetrieveFileParams) WithRange(rangeVar *string) *RetrieveFileParams

WithRange adds the rangeVar to the retrieve file params

func (*RetrieveFileParams) WithTimeout added in v0.5.0

func (o *RetrieveFileParams) WithTimeout(timeout time.Duration) *RetrieveFileParams

WithTimeout adds the timeout to the retrieve file params

func (*RetrieveFileParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type RetrieveFilePartialContent added in v0.5.0

type RetrieveFilePartialContent struct {
	Payload io.Writer
}

RetrieveFilePartialContent describes a response with status code 206, with default header values.

Partial Content

func NewRetrieveFilePartialContent added in v0.5.0

func NewRetrieveFilePartialContent(writer io.Writer) *RetrieveFilePartialContent

NewRetrieveFilePartialContent creates a RetrieveFilePartialContent with default headers values

func (*RetrieveFilePartialContent) Code added in v0.5.0

func (o *RetrieveFilePartialContent) Code() int

Code gets the status code for the retrieve file partial content response

func (*RetrieveFilePartialContent) Error added in v0.5.0

func (*RetrieveFilePartialContent) GetPayload added in v0.5.0

func (o *RetrieveFilePartialContent) GetPayload() io.Writer

func (*RetrieveFilePartialContent) IsClientError added in v0.5.0

func (o *RetrieveFilePartialContent) IsClientError() bool

IsClientError returns true when this retrieve file partial content response has a 4xx status code

func (*RetrieveFilePartialContent) IsCode added in v0.5.0

func (o *RetrieveFilePartialContent) IsCode(code int) bool

IsCode returns true when this retrieve file partial content response a status code equal to that given

func (*RetrieveFilePartialContent) IsRedirect added in v0.5.0

func (o *RetrieveFilePartialContent) IsRedirect() bool

IsRedirect returns true when this retrieve file partial content response has a 3xx status code

func (*RetrieveFilePartialContent) IsServerError added in v0.5.0

func (o *RetrieveFilePartialContent) IsServerError() bool

IsServerError returns true when this retrieve file partial content response has a 5xx status code

func (*RetrieveFilePartialContent) IsSuccess added in v0.5.0

func (o *RetrieveFilePartialContent) IsSuccess() bool

IsSuccess returns true when this retrieve file partial content response has a 2xx status code

func (*RetrieveFilePartialContent) String added in v0.5.0

func (o *RetrieveFilePartialContent) String() string

type RetrieveFileReader added in v0.5.0

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

RetrieveFileReader is a Reader for the RetrieveFile structure.

func (*RetrieveFileReader) ReadResponse added in v0.5.0

func (o *RetrieveFileReader) 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