Documentation
¶
Index ¶
- type Client
- func (a *Client) GetFileID(params *GetFileIDParams, opts ...ClientOption) (*GetFileIDOK, error)
- func (a *Client) GetFileIDDeals(params *GetFileIDDealsParams, opts ...ClientOption) (*GetFileIDDealsOK, error)
- func (a *Client) PostFileIDPrepareToPack(params *PostFileIDPrepareToPackParams, opts ...ClientOption) (*PostFileIDPrepareToPackOK, error)
- func (a *Client) PostPreparationIDSourceNameFile(params *PostPreparationIDSourceNameFileParams, opts ...ClientOption) (*PostPreparationIDSourceNameFileOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetFileIDDealsInternalServerError
- func (o *GetFileIDDealsInternalServerError) Code() int
- func (o *GetFileIDDealsInternalServerError) Error() string
- func (o *GetFileIDDealsInternalServerError) GetPayload() *models.APIHTTPError
- func (o *GetFileIDDealsInternalServerError) IsClientError() bool
- func (o *GetFileIDDealsInternalServerError) IsCode(code int) bool
- func (o *GetFileIDDealsInternalServerError) IsRedirect() bool
- func (o *GetFileIDDealsInternalServerError) IsServerError() bool
- func (o *GetFileIDDealsInternalServerError) IsSuccess() bool
- func (o *GetFileIDDealsInternalServerError) String() string
- type GetFileIDDealsOK
- func (o *GetFileIDDealsOK) Code() int
- func (o *GetFileIDDealsOK) Error() string
- func (o *GetFileIDDealsOK) GetPayload() []*models.ModelDeal
- func (o *GetFileIDDealsOK) IsClientError() bool
- func (o *GetFileIDDealsOK) IsCode(code int) bool
- func (o *GetFileIDDealsOK) IsRedirect() bool
- func (o *GetFileIDDealsOK) IsServerError() bool
- func (o *GetFileIDDealsOK) IsSuccess() bool
- func (o *GetFileIDDealsOK) String() string
- type GetFileIDDealsParams
- func NewGetFileIDDealsParams() *GetFileIDDealsParams
- func NewGetFileIDDealsParamsWithContext(ctx context.Context) *GetFileIDDealsParams
- func NewGetFileIDDealsParamsWithHTTPClient(client *http.Client) *GetFileIDDealsParams
- func NewGetFileIDDealsParamsWithTimeout(timeout time.Duration) *GetFileIDDealsParams
- func (o *GetFileIDDealsParams) SetContext(ctx context.Context)
- func (o *GetFileIDDealsParams) SetDefaults()
- func (o *GetFileIDDealsParams) SetHTTPClient(client *http.Client)
- func (o *GetFileIDDealsParams) SetID(id int64)
- func (o *GetFileIDDealsParams) SetTimeout(timeout time.Duration)
- func (o *GetFileIDDealsParams) WithContext(ctx context.Context) *GetFileIDDealsParams
- func (o *GetFileIDDealsParams) WithDefaults() *GetFileIDDealsParams
- func (o *GetFileIDDealsParams) WithHTTPClient(client *http.Client) *GetFileIDDealsParams
- func (o *GetFileIDDealsParams) WithID(id int64) *GetFileIDDealsParams
- func (o *GetFileIDDealsParams) WithTimeout(timeout time.Duration) *GetFileIDDealsParams
- func (o *GetFileIDDealsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFileIDDealsReader
- type GetFileIDInternalServerError
- func (o *GetFileIDInternalServerError) Code() int
- func (o *GetFileIDInternalServerError) Error() string
- func (o *GetFileIDInternalServerError) GetPayload() *models.APIHTTPError
- func (o *GetFileIDInternalServerError) IsClientError() bool
- func (o *GetFileIDInternalServerError) IsCode(code int) bool
- func (o *GetFileIDInternalServerError) IsRedirect() bool
- func (o *GetFileIDInternalServerError) IsServerError() bool
- func (o *GetFileIDInternalServerError) IsSuccess() bool
- func (o *GetFileIDInternalServerError) String() string
- type GetFileIDOK
- func (o *GetFileIDOK) Code() int
- func (o *GetFileIDOK) Error() string
- func (o *GetFileIDOK) GetPayload() *models.ModelFile
- func (o *GetFileIDOK) IsClientError() bool
- func (o *GetFileIDOK) IsCode(code int) bool
- func (o *GetFileIDOK) IsRedirect() bool
- func (o *GetFileIDOK) IsServerError() bool
- func (o *GetFileIDOK) IsSuccess() bool
- func (o *GetFileIDOK) String() string
- type GetFileIDParams
- func (o *GetFileIDParams) SetContext(ctx context.Context)
- func (o *GetFileIDParams) SetDefaults()
- func (o *GetFileIDParams) SetHTTPClient(client *http.Client)
- func (o *GetFileIDParams) SetID(id int64)
- func (o *GetFileIDParams) SetTimeout(timeout time.Duration)
- func (o *GetFileIDParams) WithContext(ctx context.Context) *GetFileIDParams
- func (o *GetFileIDParams) WithDefaults() *GetFileIDParams
- func (o *GetFileIDParams) WithHTTPClient(client *http.Client) *GetFileIDParams
- func (o *GetFileIDParams) WithID(id int64) *GetFileIDParams
- func (o *GetFileIDParams) WithTimeout(timeout time.Duration) *GetFileIDParams
- func (o *GetFileIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFileIDReader
- type PostFileIDPrepareToPackBadRequest
- func (o *PostFileIDPrepareToPackBadRequest) Code() int
- func (o *PostFileIDPrepareToPackBadRequest) Error() string
- func (o *PostFileIDPrepareToPackBadRequest) GetPayload() string
- func (o *PostFileIDPrepareToPackBadRequest) IsClientError() bool
- func (o *PostFileIDPrepareToPackBadRequest) IsCode(code int) bool
- func (o *PostFileIDPrepareToPackBadRequest) IsRedirect() bool
- func (o *PostFileIDPrepareToPackBadRequest) IsServerError() bool
- func (o *PostFileIDPrepareToPackBadRequest) IsSuccess() bool
- func (o *PostFileIDPrepareToPackBadRequest) String() string
- type PostFileIDPrepareToPackInternalServerError
- func (o *PostFileIDPrepareToPackInternalServerError) Code() int
- func (o *PostFileIDPrepareToPackInternalServerError) Error() string
- func (o *PostFileIDPrepareToPackInternalServerError) GetPayload() string
- func (o *PostFileIDPrepareToPackInternalServerError) IsClientError() bool
- func (o *PostFileIDPrepareToPackInternalServerError) IsCode(code int) bool
- func (o *PostFileIDPrepareToPackInternalServerError) IsRedirect() bool
- func (o *PostFileIDPrepareToPackInternalServerError) IsServerError() bool
- func (o *PostFileIDPrepareToPackInternalServerError) IsSuccess() bool
- func (o *PostFileIDPrepareToPackInternalServerError) String() string
- type PostFileIDPrepareToPackOK
- func (o *PostFileIDPrepareToPackOK) Code() int
- func (o *PostFileIDPrepareToPackOK) Error() string
- func (o *PostFileIDPrepareToPackOK) GetPayload() int64
- func (o *PostFileIDPrepareToPackOK) IsClientError() bool
- func (o *PostFileIDPrepareToPackOK) IsCode(code int) bool
- func (o *PostFileIDPrepareToPackOK) IsRedirect() bool
- func (o *PostFileIDPrepareToPackOK) IsServerError() bool
- func (o *PostFileIDPrepareToPackOK) IsSuccess() bool
- func (o *PostFileIDPrepareToPackOK) String() string
- type PostFileIDPrepareToPackParams
- func NewPostFileIDPrepareToPackParams() *PostFileIDPrepareToPackParams
- func NewPostFileIDPrepareToPackParamsWithContext(ctx context.Context) *PostFileIDPrepareToPackParams
- func NewPostFileIDPrepareToPackParamsWithHTTPClient(client *http.Client) *PostFileIDPrepareToPackParams
- func NewPostFileIDPrepareToPackParamsWithTimeout(timeout time.Duration) *PostFileIDPrepareToPackParams
- func (o *PostFileIDPrepareToPackParams) SetContext(ctx context.Context)
- func (o *PostFileIDPrepareToPackParams) SetDefaults()
- func (o *PostFileIDPrepareToPackParams) SetHTTPClient(client *http.Client)
- func (o *PostFileIDPrepareToPackParams) SetID(id int64)
- func (o *PostFileIDPrepareToPackParams) SetTimeout(timeout time.Duration)
- func (o *PostFileIDPrepareToPackParams) WithContext(ctx context.Context) *PostFileIDPrepareToPackParams
- func (o *PostFileIDPrepareToPackParams) WithDefaults() *PostFileIDPrepareToPackParams
- func (o *PostFileIDPrepareToPackParams) WithHTTPClient(client *http.Client) *PostFileIDPrepareToPackParams
- func (o *PostFileIDPrepareToPackParams) WithID(id int64) *PostFileIDPrepareToPackParams
- func (o *PostFileIDPrepareToPackParams) WithTimeout(timeout time.Duration) *PostFileIDPrepareToPackParams
- func (o *PostFileIDPrepareToPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostFileIDPrepareToPackReader
- type PostPreparationIDSourceNameFileBadRequest
- func (o *PostPreparationIDSourceNameFileBadRequest) Code() int
- func (o *PostPreparationIDSourceNameFileBadRequest) Error() string
- func (o *PostPreparationIDSourceNameFileBadRequest) GetPayload() *models.APIHTTPError
- func (o *PostPreparationIDSourceNameFileBadRequest) IsClientError() bool
- func (o *PostPreparationIDSourceNameFileBadRequest) IsCode(code int) bool
- func (o *PostPreparationIDSourceNameFileBadRequest) IsRedirect() bool
- func (o *PostPreparationIDSourceNameFileBadRequest) IsServerError() bool
- func (o *PostPreparationIDSourceNameFileBadRequest) IsSuccess() bool
- func (o *PostPreparationIDSourceNameFileBadRequest) String() string
- type PostPreparationIDSourceNameFileInternalServerError
- func (o *PostPreparationIDSourceNameFileInternalServerError) Code() int
- func (o *PostPreparationIDSourceNameFileInternalServerError) Error() string
- func (o *PostPreparationIDSourceNameFileInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PostPreparationIDSourceNameFileInternalServerError) IsClientError() bool
- func (o *PostPreparationIDSourceNameFileInternalServerError) IsCode(code int) bool
- func (o *PostPreparationIDSourceNameFileInternalServerError) IsRedirect() bool
- func (o *PostPreparationIDSourceNameFileInternalServerError) IsServerError() bool
- func (o *PostPreparationIDSourceNameFileInternalServerError) IsSuccess() bool
- func (o *PostPreparationIDSourceNameFileInternalServerError) String() string
- type PostPreparationIDSourceNameFileOK
- func (o *PostPreparationIDSourceNameFileOK) Code() int
- func (o *PostPreparationIDSourceNameFileOK) Error() string
- func (o *PostPreparationIDSourceNameFileOK) GetPayload() *models.ModelFile
- func (o *PostPreparationIDSourceNameFileOK) IsClientError() bool
- func (o *PostPreparationIDSourceNameFileOK) IsCode(code int) bool
- func (o *PostPreparationIDSourceNameFileOK) IsRedirect() bool
- func (o *PostPreparationIDSourceNameFileOK) IsServerError() bool
- func (o *PostPreparationIDSourceNameFileOK) IsSuccess() bool
- func (o *PostPreparationIDSourceNameFileOK) String() string
- type PostPreparationIDSourceNameFileParams
- func NewPostPreparationIDSourceNameFileParams() *PostPreparationIDSourceNameFileParams
- func NewPostPreparationIDSourceNameFileParamsWithContext(ctx context.Context) *PostPreparationIDSourceNameFileParams
- func NewPostPreparationIDSourceNameFileParamsWithHTTPClient(client *http.Client) *PostPreparationIDSourceNameFileParams
- func NewPostPreparationIDSourceNameFileParamsWithTimeout(timeout time.Duration) *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) SetContext(ctx context.Context)
- func (o *PostPreparationIDSourceNameFileParams) SetDefaults()
- func (o *PostPreparationIDSourceNameFileParams) SetFile(file *models.FileInfo)
- func (o *PostPreparationIDSourceNameFileParams) SetHTTPClient(client *http.Client)
- func (o *PostPreparationIDSourceNameFileParams) SetID(id string)
- func (o *PostPreparationIDSourceNameFileParams) SetName(name string)
- func (o *PostPreparationIDSourceNameFileParams) SetTimeout(timeout time.Duration)
- func (o *PostPreparationIDSourceNameFileParams) WithContext(ctx context.Context) *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) WithDefaults() *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) WithFile(file *models.FileInfo) *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) WithHTTPClient(client *http.Client) *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) WithID(id string) *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) WithName(name string) *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) WithTimeout(timeout time.Duration) *PostPreparationIDSourceNameFileParams
- func (o *PostPreparationIDSourceNameFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPreparationIDSourceNameFileReader
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) GetFileID ¶
func (a *Client) GetFileID(params *GetFileIDParams, opts ...ClientOption) (*GetFileIDOK, error)
GetFileID gets details about a file
func (*Client) GetFileIDDeals ¶
func (a *Client) GetFileIDDeals(params *GetFileIDDealsParams, opts ...ClientOption) (*GetFileIDDealsOK, error)
GetFileIDDeals gets all deals that have been made for a file
func (*Client) PostFileIDPrepareToPack ¶
func (a *Client) PostFileIDPrepareToPack(params *PostFileIDPrepareToPackParams, opts ...ClientOption) (*PostFileIDPrepareToPackOK, error)
PostFileIDPrepareToPack prepares job for a given item
func (*Client) PostPreparationIDSourceNameFile ¶
func (a *Client) PostPreparationIDSourceNameFile(params *PostPreparationIDSourceNameFileParams, opts ...ClientOption) (*PostPreparationIDSourceNameFileOK, error)
PostPreparationIDSourceNameFile pushes a file to be queued
Tells Singularity that something is ready to be grabbed for data preparation
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 {
GetFileID(params *GetFileIDParams, opts ...ClientOption) (*GetFileIDOK, error)
GetFileIDDeals(params *GetFileIDDealsParams, opts ...ClientOption) (*GetFileIDDealsOK, error)
PostFileIDPrepareToPack(params *PostFileIDPrepareToPackParams, opts ...ClientOption) (*PostFileIDPrepareToPackOK, error)
PostPreparationIDSourceNameFile(params *PostPreparationIDSourceNameFileParams, opts ...ClientOption) (*PostPreparationIDSourceNameFileOK, 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 GetFileIDDealsInternalServerError ¶
type GetFileIDDealsInternalServerError struct {
Payload *models.APIHTTPError
}
GetFileIDDealsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetFileIDDealsInternalServerError ¶
func NewGetFileIDDealsInternalServerError() *GetFileIDDealsInternalServerError
NewGetFileIDDealsInternalServerError creates a GetFileIDDealsInternalServerError with default headers values
func (*GetFileIDDealsInternalServerError) Code ¶
func (o *GetFileIDDealsInternalServerError) Code() int
Code gets the status code for the get file Id deals internal server error response
func (*GetFileIDDealsInternalServerError) Error ¶
func (o *GetFileIDDealsInternalServerError) Error() string
func (*GetFileIDDealsInternalServerError) GetPayload ¶
func (o *GetFileIDDealsInternalServerError) GetPayload() *models.APIHTTPError
func (*GetFileIDDealsInternalServerError) IsClientError ¶
func (o *GetFileIDDealsInternalServerError) IsClientError() bool
IsClientError returns true when this get file Id deals internal server error response has a 4xx status code
func (*GetFileIDDealsInternalServerError) IsCode ¶
func (o *GetFileIDDealsInternalServerError) IsCode(code int) bool
IsCode returns true when this get file Id deals internal server error response a status code equal to that given
func (*GetFileIDDealsInternalServerError) IsRedirect ¶
func (o *GetFileIDDealsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get file Id deals internal server error response has a 3xx status code
func (*GetFileIDDealsInternalServerError) IsServerError ¶
func (o *GetFileIDDealsInternalServerError) IsServerError() bool
IsServerError returns true when this get file Id deals internal server error response has a 5xx status code
func (*GetFileIDDealsInternalServerError) IsSuccess ¶
func (o *GetFileIDDealsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get file Id deals internal server error response has a 2xx status code
func (*GetFileIDDealsInternalServerError) String ¶
func (o *GetFileIDDealsInternalServerError) String() string
type GetFileIDDealsOK ¶
GetFileIDDealsOK describes a response with status code 200, with default header values.
OK
func NewGetFileIDDealsOK ¶
func NewGetFileIDDealsOK() *GetFileIDDealsOK
NewGetFileIDDealsOK creates a GetFileIDDealsOK with default headers values
func (*GetFileIDDealsOK) Code ¶
func (o *GetFileIDDealsOK) Code() int
Code gets the status code for the get file Id deals o k response
func (*GetFileIDDealsOK) Error ¶
func (o *GetFileIDDealsOK) Error() string
func (*GetFileIDDealsOK) GetPayload ¶
func (o *GetFileIDDealsOK) GetPayload() []*models.ModelDeal
func (*GetFileIDDealsOK) IsClientError ¶
func (o *GetFileIDDealsOK) IsClientError() bool
IsClientError returns true when this get file Id deals o k response has a 4xx status code
func (*GetFileIDDealsOK) IsCode ¶
func (o *GetFileIDDealsOK) IsCode(code int) bool
IsCode returns true when this get file Id deals o k response a status code equal to that given
func (*GetFileIDDealsOK) IsRedirect ¶
func (o *GetFileIDDealsOK) IsRedirect() bool
IsRedirect returns true when this get file Id deals o k response has a 3xx status code
func (*GetFileIDDealsOK) IsServerError ¶
func (o *GetFileIDDealsOK) IsServerError() bool
IsServerError returns true when this get file Id deals o k response has a 5xx status code
func (*GetFileIDDealsOK) IsSuccess ¶
func (o *GetFileIDDealsOK) IsSuccess() bool
IsSuccess returns true when this get file Id deals o k response has a 2xx status code
func (*GetFileIDDealsOK) String ¶
func (o *GetFileIDDealsOK) String() string
type GetFileIDDealsParams ¶
type GetFileIDDealsParams struct {
/* ID.
File ID
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetFileIDDealsParams contains all the parameters to send to the API endpoint
for the get file ID deals operation. Typically these are written to a http.Request.
func NewGetFileIDDealsParams ¶
func NewGetFileIDDealsParams() *GetFileIDDealsParams
NewGetFileIDDealsParams creates a new GetFileIDDealsParams 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 NewGetFileIDDealsParamsWithContext ¶
func NewGetFileIDDealsParamsWithContext(ctx context.Context) *GetFileIDDealsParams
NewGetFileIDDealsParamsWithContext creates a new GetFileIDDealsParams object with the ability to set a context for a request.
func NewGetFileIDDealsParamsWithHTTPClient ¶
func NewGetFileIDDealsParamsWithHTTPClient(client *http.Client) *GetFileIDDealsParams
NewGetFileIDDealsParamsWithHTTPClient creates a new GetFileIDDealsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFileIDDealsParamsWithTimeout ¶
func NewGetFileIDDealsParamsWithTimeout(timeout time.Duration) *GetFileIDDealsParams
NewGetFileIDDealsParamsWithTimeout creates a new GetFileIDDealsParams object with the ability to set a timeout on a request.
func (*GetFileIDDealsParams) SetContext ¶
func (o *GetFileIDDealsParams) SetContext(ctx context.Context)
SetContext adds the context to the get file ID deals params
func (*GetFileIDDealsParams) SetDefaults ¶
func (o *GetFileIDDealsParams) SetDefaults()
SetDefaults hydrates default values in the get file ID deals params (not the query body).
All values with no default are reset to their zero value.
func (*GetFileIDDealsParams) SetHTTPClient ¶
func (o *GetFileIDDealsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get file ID deals params
func (*GetFileIDDealsParams) SetID ¶
func (o *GetFileIDDealsParams) SetID(id int64)
SetID adds the id to the get file ID deals params
func (*GetFileIDDealsParams) SetTimeout ¶
func (o *GetFileIDDealsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get file ID deals params
func (*GetFileIDDealsParams) WithContext ¶
func (o *GetFileIDDealsParams) WithContext(ctx context.Context) *GetFileIDDealsParams
WithContext adds the context to the get file ID deals params
func (*GetFileIDDealsParams) WithDefaults ¶
func (o *GetFileIDDealsParams) WithDefaults() *GetFileIDDealsParams
WithDefaults hydrates default values in the get file ID deals params (not the query body).
All values with no default are reset to their zero value.
func (*GetFileIDDealsParams) WithHTTPClient ¶
func (o *GetFileIDDealsParams) WithHTTPClient(client *http.Client) *GetFileIDDealsParams
WithHTTPClient adds the HTTPClient to the get file ID deals params
func (*GetFileIDDealsParams) WithID ¶
func (o *GetFileIDDealsParams) WithID(id int64) *GetFileIDDealsParams
WithID adds the id to the get file ID deals params
func (*GetFileIDDealsParams) WithTimeout ¶
func (o *GetFileIDDealsParams) WithTimeout(timeout time.Duration) *GetFileIDDealsParams
WithTimeout adds the timeout to the get file ID deals params
func (*GetFileIDDealsParams) WriteToRequest ¶
func (o *GetFileIDDealsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFileIDDealsReader ¶
type GetFileIDDealsReader struct {
// contains filtered or unexported fields
}
GetFileIDDealsReader is a Reader for the GetFileIDDeals structure.
func (*GetFileIDDealsReader) ReadResponse ¶
func (o *GetFileIDDealsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFileIDInternalServerError ¶
type GetFileIDInternalServerError struct {
Payload *models.APIHTTPError
}
GetFileIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetFileIDInternalServerError ¶
func NewGetFileIDInternalServerError() *GetFileIDInternalServerError
NewGetFileIDInternalServerError creates a GetFileIDInternalServerError with default headers values
func (*GetFileIDInternalServerError) Code ¶
func (o *GetFileIDInternalServerError) Code() int
Code gets the status code for the get file Id internal server error response
func (*GetFileIDInternalServerError) Error ¶
func (o *GetFileIDInternalServerError) Error() string
func (*GetFileIDInternalServerError) GetPayload ¶
func (o *GetFileIDInternalServerError) GetPayload() *models.APIHTTPError
func (*GetFileIDInternalServerError) IsClientError ¶
func (o *GetFileIDInternalServerError) IsClientError() bool
IsClientError returns true when this get file Id internal server error response has a 4xx status code
func (*GetFileIDInternalServerError) IsCode ¶
func (o *GetFileIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get file Id internal server error response a status code equal to that given
func (*GetFileIDInternalServerError) IsRedirect ¶
func (o *GetFileIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get file Id internal server error response has a 3xx status code
func (*GetFileIDInternalServerError) IsServerError ¶
func (o *GetFileIDInternalServerError) IsServerError() bool
IsServerError returns true when this get file Id internal server error response has a 5xx status code
func (*GetFileIDInternalServerError) IsSuccess ¶
func (o *GetFileIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get file Id internal server error response has a 2xx status code
func (*GetFileIDInternalServerError) String ¶
func (o *GetFileIDInternalServerError) String() string
type GetFileIDOK ¶
GetFileIDOK describes a response with status code 200, with default header values.
OK
func NewGetFileIDOK ¶
func NewGetFileIDOK() *GetFileIDOK
NewGetFileIDOK creates a GetFileIDOK with default headers values
func (*GetFileIDOK) Code ¶
func (o *GetFileIDOK) Code() int
Code gets the status code for the get file Id o k response
func (*GetFileIDOK) Error ¶
func (o *GetFileIDOK) Error() string
func (*GetFileIDOK) GetPayload ¶
func (o *GetFileIDOK) GetPayload() *models.ModelFile
func (*GetFileIDOK) IsClientError ¶
func (o *GetFileIDOK) IsClientError() bool
IsClientError returns true when this get file Id o k response has a 4xx status code
func (*GetFileIDOK) IsCode ¶
func (o *GetFileIDOK) IsCode(code int) bool
IsCode returns true when this get file Id o k response a status code equal to that given
func (*GetFileIDOK) IsRedirect ¶
func (o *GetFileIDOK) IsRedirect() bool
IsRedirect returns true when this get file Id o k response has a 3xx status code
func (*GetFileIDOK) IsServerError ¶
func (o *GetFileIDOK) IsServerError() bool
IsServerError returns true when this get file Id o k response has a 5xx status code
func (*GetFileIDOK) IsSuccess ¶
func (o *GetFileIDOK) IsSuccess() bool
IsSuccess returns true when this get file Id o k response has a 2xx status code
func (*GetFileIDOK) String ¶
func (o *GetFileIDOK) String() string
type GetFileIDParams ¶
type GetFileIDParams struct {
/* ID.
File ID
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetFileIDParams contains all the parameters to send to the API endpoint
for the get file ID operation. Typically these are written to a http.Request.
func NewGetFileIDParams ¶
func NewGetFileIDParams() *GetFileIDParams
NewGetFileIDParams creates a new GetFileIDParams 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 NewGetFileIDParamsWithContext ¶
func NewGetFileIDParamsWithContext(ctx context.Context) *GetFileIDParams
NewGetFileIDParamsWithContext creates a new GetFileIDParams object with the ability to set a context for a request.
func NewGetFileIDParamsWithHTTPClient ¶
func NewGetFileIDParamsWithHTTPClient(client *http.Client) *GetFileIDParams
NewGetFileIDParamsWithHTTPClient creates a new GetFileIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetFileIDParamsWithTimeout ¶
func NewGetFileIDParamsWithTimeout(timeout time.Duration) *GetFileIDParams
NewGetFileIDParamsWithTimeout creates a new GetFileIDParams object with the ability to set a timeout on a request.
func (*GetFileIDParams) SetContext ¶
func (o *GetFileIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get file ID params
func (*GetFileIDParams) SetDefaults ¶
func (o *GetFileIDParams) SetDefaults()
SetDefaults hydrates default values in the get file ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetFileIDParams) SetHTTPClient ¶
func (o *GetFileIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get file ID params
func (*GetFileIDParams) SetID ¶
func (o *GetFileIDParams) SetID(id int64)
SetID adds the id to the get file ID params
func (*GetFileIDParams) SetTimeout ¶
func (o *GetFileIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get file ID params
func (*GetFileIDParams) WithContext ¶
func (o *GetFileIDParams) WithContext(ctx context.Context) *GetFileIDParams
WithContext adds the context to the get file ID params
func (*GetFileIDParams) WithDefaults ¶
func (o *GetFileIDParams) WithDefaults() *GetFileIDParams
WithDefaults hydrates default values in the get file ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetFileIDParams) WithHTTPClient ¶
func (o *GetFileIDParams) WithHTTPClient(client *http.Client) *GetFileIDParams
WithHTTPClient adds the HTTPClient to the get file ID params
func (*GetFileIDParams) WithID ¶
func (o *GetFileIDParams) WithID(id int64) *GetFileIDParams
WithID adds the id to the get file ID params
func (*GetFileIDParams) WithTimeout ¶
func (o *GetFileIDParams) WithTimeout(timeout time.Duration) *GetFileIDParams
WithTimeout adds the timeout to the get file ID params
func (*GetFileIDParams) WriteToRequest ¶
func (o *GetFileIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFileIDReader ¶
type GetFileIDReader struct {
// contains filtered or unexported fields
}
GetFileIDReader is a Reader for the GetFileID structure.
func (*GetFileIDReader) ReadResponse ¶
func (o *GetFileIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostFileIDPrepareToPackBadRequest ¶
type PostFileIDPrepareToPackBadRequest struct {
Payload string
}
PostFileIDPrepareToPackBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostFileIDPrepareToPackBadRequest ¶
func NewPostFileIDPrepareToPackBadRequest() *PostFileIDPrepareToPackBadRequest
NewPostFileIDPrepareToPackBadRequest creates a PostFileIDPrepareToPackBadRequest with default headers values
func (*PostFileIDPrepareToPackBadRequest) Code ¶
func (o *PostFileIDPrepareToPackBadRequest) Code() int
Code gets the status code for the post file Id prepare to pack bad request response
func (*PostFileIDPrepareToPackBadRequest) Error ¶
func (o *PostFileIDPrepareToPackBadRequest) Error() string
func (*PostFileIDPrepareToPackBadRequest) GetPayload ¶
func (o *PostFileIDPrepareToPackBadRequest) GetPayload() string
func (*PostFileIDPrepareToPackBadRequest) IsClientError ¶
func (o *PostFileIDPrepareToPackBadRequest) IsClientError() bool
IsClientError returns true when this post file Id prepare to pack bad request response has a 4xx status code
func (*PostFileIDPrepareToPackBadRequest) IsCode ¶
func (o *PostFileIDPrepareToPackBadRequest) IsCode(code int) bool
IsCode returns true when this post file Id prepare to pack bad request response a status code equal to that given
func (*PostFileIDPrepareToPackBadRequest) IsRedirect ¶
func (o *PostFileIDPrepareToPackBadRequest) IsRedirect() bool
IsRedirect returns true when this post file Id prepare to pack bad request response has a 3xx status code
func (*PostFileIDPrepareToPackBadRequest) IsServerError ¶
func (o *PostFileIDPrepareToPackBadRequest) IsServerError() bool
IsServerError returns true when this post file Id prepare to pack bad request response has a 5xx status code
func (*PostFileIDPrepareToPackBadRequest) IsSuccess ¶
func (o *PostFileIDPrepareToPackBadRequest) IsSuccess() bool
IsSuccess returns true when this post file Id prepare to pack bad request response has a 2xx status code
func (*PostFileIDPrepareToPackBadRequest) String ¶
func (o *PostFileIDPrepareToPackBadRequest) String() string
type PostFileIDPrepareToPackInternalServerError ¶
type PostFileIDPrepareToPackInternalServerError struct {
Payload string
}
PostFileIDPrepareToPackInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostFileIDPrepareToPackInternalServerError ¶
func NewPostFileIDPrepareToPackInternalServerError() *PostFileIDPrepareToPackInternalServerError
NewPostFileIDPrepareToPackInternalServerError creates a PostFileIDPrepareToPackInternalServerError with default headers values
func (*PostFileIDPrepareToPackInternalServerError) Code ¶
func (o *PostFileIDPrepareToPackInternalServerError) Code() int
Code gets the status code for the post file Id prepare to pack internal server error response
func (*PostFileIDPrepareToPackInternalServerError) Error ¶
func (o *PostFileIDPrepareToPackInternalServerError) Error() string
func (*PostFileIDPrepareToPackInternalServerError) GetPayload ¶
func (o *PostFileIDPrepareToPackInternalServerError) GetPayload() string
func (*PostFileIDPrepareToPackInternalServerError) IsClientError ¶
func (o *PostFileIDPrepareToPackInternalServerError) IsClientError() bool
IsClientError returns true when this post file Id prepare to pack internal server error response has a 4xx status code
func (*PostFileIDPrepareToPackInternalServerError) IsCode ¶
func (o *PostFileIDPrepareToPackInternalServerError) IsCode(code int) bool
IsCode returns true when this post file Id prepare to pack internal server error response a status code equal to that given
func (*PostFileIDPrepareToPackInternalServerError) IsRedirect ¶
func (o *PostFileIDPrepareToPackInternalServerError) IsRedirect() bool
IsRedirect returns true when this post file Id prepare to pack internal server error response has a 3xx status code
func (*PostFileIDPrepareToPackInternalServerError) IsServerError ¶
func (o *PostFileIDPrepareToPackInternalServerError) IsServerError() bool
IsServerError returns true when this post file Id prepare to pack internal server error response has a 5xx status code
func (*PostFileIDPrepareToPackInternalServerError) IsSuccess ¶
func (o *PostFileIDPrepareToPackInternalServerError) IsSuccess() bool
IsSuccess returns true when this post file Id prepare to pack internal server error response has a 2xx status code
func (*PostFileIDPrepareToPackInternalServerError) String ¶
func (o *PostFileIDPrepareToPackInternalServerError) String() string
type PostFileIDPrepareToPackOK ¶
type PostFileIDPrepareToPackOK struct {
Payload int64
}
PostFileIDPrepareToPackOK describes a response with status code 200, with default header values.
OK
func NewPostFileIDPrepareToPackOK ¶
func NewPostFileIDPrepareToPackOK() *PostFileIDPrepareToPackOK
NewPostFileIDPrepareToPackOK creates a PostFileIDPrepareToPackOK with default headers values
func (*PostFileIDPrepareToPackOK) Code ¶
func (o *PostFileIDPrepareToPackOK) Code() int
Code gets the status code for the post file Id prepare to pack o k response
func (*PostFileIDPrepareToPackOK) Error ¶
func (o *PostFileIDPrepareToPackOK) Error() string
func (*PostFileIDPrepareToPackOK) GetPayload ¶
func (o *PostFileIDPrepareToPackOK) GetPayload() int64
func (*PostFileIDPrepareToPackOK) IsClientError ¶
func (o *PostFileIDPrepareToPackOK) IsClientError() bool
IsClientError returns true when this post file Id prepare to pack o k response has a 4xx status code
func (*PostFileIDPrepareToPackOK) IsCode ¶
func (o *PostFileIDPrepareToPackOK) IsCode(code int) bool
IsCode returns true when this post file Id prepare to pack o k response a status code equal to that given
func (*PostFileIDPrepareToPackOK) IsRedirect ¶
func (o *PostFileIDPrepareToPackOK) IsRedirect() bool
IsRedirect returns true when this post file Id prepare to pack o k response has a 3xx status code
func (*PostFileIDPrepareToPackOK) IsServerError ¶
func (o *PostFileIDPrepareToPackOK) IsServerError() bool
IsServerError returns true when this post file Id prepare to pack o k response has a 5xx status code
func (*PostFileIDPrepareToPackOK) IsSuccess ¶
func (o *PostFileIDPrepareToPackOK) IsSuccess() bool
IsSuccess returns true when this post file Id prepare to pack o k response has a 2xx status code
func (*PostFileIDPrepareToPackOK) String ¶
func (o *PostFileIDPrepareToPackOK) String() string
type PostFileIDPrepareToPackParams ¶
type PostFileIDPrepareToPackParams struct {
/* ID.
File ID
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostFileIDPrepareToPackParams contains all the parameters to send to the API endpoint
for the post file ID prepare to pack operation. Typically these are written to a http.Request.
func NewPostFileIDPrepareToPackParams ¶
func NewPostFileIDPrepareToPackParams() *PostFileIDPrepareToPackParams
NewPostFileIDPrepareToPackParams creates a new PostFileIDPrepareToPackParams 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 NewPostFileIDPrepareToPackParamsWithContext ¶
func NewPostFileIDPrepareToPackParamsWithContext(ctx context.Context) *PostFileIDPrepareToPackParams
NewPostFileIDPrepareToPackParamsWithContext creates a new PostFileIDPrepareToPackParams object with the ability to set a context for a request.
func NewPostFileIDPrepareToPackParamsWithHTTPClient ¶
func NewPostFileIDPrepareToPackParamsWithHTTPClient(client *http.Client) *PostFileIDPrepareToPackParams
NewPostFileIDPrepareToPackParamsWithHTTPClient creates a new PostFileIDPrepareToPackParams object with the ability to set a custom HTTPClient for a request.
func NewPostFileIDPrepareToPackParamsWithTimeout ¶
func NewPostFileIDPrepareToPackParamsWithTimeout(timeout time.Duration) *PostFileIDPrepareToPackParams
NewPostFileIDPrepareToPackParamsWithTimeout creates a new PostFileIDPrepareToPackParams object with the ability to set a timeout on a request.
func (*PostFileIDPrepareToPackParams) SetContext ¶
func (o *PostFileIDPrepareToPackParams) SetContext(ctx context.Context)
SetContext adds the context to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) SetDefaults ¶
func (o *PostFileIDPrepareToPackParams) SetDefaults()
SetDefaults hydrates default values in the post file ID prepare to pack params (not the query body).
All values with no default are reset to their zero value.
func (*PostFileIDPrepareToPackParams) SetHTTPClient ¶
func (o *PostFileIDPrepareToPackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) SetID ¶
func (o *PostFileIDPrepareToPackParams) SetID(id int64)
SetID adds the id to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) SetTimeout ¶
func (o *PostFileIDPrepareToPackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) WithContext ¶
func (o *PostFileIDPrepareToPackParams) WithContext(ctx context.Context) *PostFileIDPrepareToPackParams
WithContext adds the context to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) WithDefaults ¶
func (o *PostFileIDPrepareToPackParams) WithDefaults() *PostFileIDPrepareToPackParams
WithDefaults hydrates default values in the post file ID prepare to pack params (not the query body).
All values with no default are reset to their zero value.
func (*PostFileIDPrepareToPackParams) WithHTTPClient ¶
func (o *PostFileIDPrepareToPackParams) WithHTTPClient(client *http.Client) *PostFileIDPrepareToPackParams
WithHTTPClient adds the HTTPClient to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) WithID ¶
func (o *PostFileIDPrepareToPackParams) WithID(id int64) *PostFileIDPrepareToPackParams
WithID adds the id to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) WithTimeout ¶
func (o *PostFileIDPrepareToPackParams) WithTimeout(timeout time.Duration) *PostFileIDPrepareToPackParams
WithTimeout adds the timeout to the post file ID prepare to pack params
func (*PostFileIDPrepareToPackParams) WriteToRequest ¶
func (o *PostFileIDPrepareToPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostFileIDPrepareToPackReader ¶
type PostFileIDPrepareToPackReader struct {
// contains filtered or unexported fields
}
PostFileIDPrepareToPackReader is a Reader for the PostFileIDPrepareToPack structure.
func (*PostFileIDPrepareToPackReader) ReadResponse ¶
func (o *PostFileIDPrepareToPackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPreparationIDSourceNameFileBadRequest ¶
type PostPreparationIDSourceNameFileBadRequest struct {
Payload *models.APIHTTPError
}
PostPreparationIDSourceNameFileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostPreparationIDSourceNameFileBadRequest ¶
func NewPostPreparationIDSourceNameFileBadRequest() *PostPreparationIDSourceNameFileBadRequest
NewPostPreparationIDSourceNameFileBadRequest creates a PostPreparationIDSourceNameFileBadRequest with default headers values
func (*PostPreparationIDSourceNameFileBadRequest) Code ¶
func (o *PostPreparationIDSourceNameFileBadRequest) Code() int
Code gets the status code for the post preparation Id source name file bad request response
func (*PostPreparationIDSourceNameFileBadRequest) Error ¶
func (o *PostPreparationIDSourceNameFileBadRequest) Error() string
func (*PostPreparationIDSourceNameFileBadRequest) GetPayload ¶
func (o *PostPreparationIDSourceNameFileBadRequest) GetPayload() *models.APIHTTPError
func (*PostPreparationIDSourceNameFileBadRequest) IsClientError ¶
func (o *PostPreparationIDSourceNameFileBadRequest) IsClientError() bool
IsClientError returns true when this post preparation Id source name file bad request response has a 4xx status code
func (*PostPreparationIDSourceNameFileBadRequest) IsCode ¶
func (o *PostPreparationIDSourceNameFileBadRequest) IsCode(code int) bool
IsCode returns true when this post preparation Id source name file bad request response a status code equal to that given
func (*PostPreparationIDSourceNameFileBadRequest) IsRedirect ¶
func (o *PostPreparationIDSourceNameFileBadRequest) IsRedirect() bool
IsRedirect returns true when this post preparation Id source name file bad request response has a 3xx status code
func (*PostPreparationIDSourceNameFileBadRequest) IsServerError ¶
func (o *PostPreparationIDSourceNameFileBadRequest) IsServerError() bool
IsServerError returns true when this post preparation Id source name file bad request response has a 5xx status code
func (*PostPreparationIDSourceNameFileBadRequest) IsSuccess ¶
func (o *PostPreparationIDSourceNameFileBadRequest) IsSuccess() bool
IsSuccess returns true when this post preparation Id source name file bad request response has a 2xx status code
func (*PostPreparationIDSourceNameFileBadRequest) String ¶
func (o *PostPreparationIDSourceNameFileBadRequest) String() string
type PostPreparationIDSourceNameFileInternalServerError ¶
type PostPreparationIDSourceNameFileInternalServerError struct {
Payload *models.APIHTTPError
}
PostPreparationIDSourceNameFileInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostPreparationIDSourceNameFileInternalServerError ¶
func NewPostPreparationIDSourceNameFileInternalServerError() *PostPreparationIDSourceNameFileInternalServerError
NewPostPreparationIDSourceNameFileInternalServerError creates a PostPreparationIDSourceNameFileInternalServerError with default headers values
func (*PostPreparationIDSourceNameFileInternalServerError) Code ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) Code() int
Code gets the status code for the post preparation Id source name file internal server error response
func (*PostPreparationIDSourceNameFileInternalServerError) Error ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) Error() string
func (*PostPreparationIDSourceNameFileInternalServerError) GetPayload ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) GetPayload() *models.APIHTTPError
func (*PostPreparationIDSourceNameFileInternalServerError) IsClientError ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) IsClientError() bool
IsClientError returns true when this post preparation Id source name file internal server error response has a 4xx status code
func (*PostPreparationIDSourceNameFileInternalServerError) IsCode ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) IsCode(code int) bool
IsCode returns true when this post preparation Id source name file internal server error response a status code equal to that given
func (*PostPreparationIDSourceNameFileInternalServerError) IsRedirect ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) IsRedirect() bool
IsRedirect returns true when this post preparation Id source name file internal server error response has a 3xx status code
func (*PostPreparationIDSourceNameFileInternalServerError) IsServerError ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) IsServerError() bool
IsServerError returns true when this post preparation Id source name file internal server error response has a 5xx status code
func (*PostPreparationIDSourceNameFileInternalServerError) IsSuccess ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) IsSuccess() bool
IsSuccess returns true when this post preparation Id source name file internal server error response has a 2xx status code
func (*PostPreparationIDSourceNameFileInternalServerError) String ¶
func (o *PostPreparationIDSourceNameFileInternalServerError) String() string
type PostPreparationIDSourceNameFileOK ¶
PostPreparationIDSourceNameFileOK describes a response with status code 200, with default header values.
OK
func NewPostPreparationIDSourceNameFileOK ¶
func NewPostPreparationIDSourceNameFileOK() *PostPreparationIDSourceNameFileOK
NewPostPreparationIDSourceNameFileOK creates a PostPreparationIDSourceNameFileOK with default headers values
func (*PostPreparationIDSourceNameFileOK) Code ¶
func (o *PostPreparationIDSourceNameFileOK) Code() int
Code gets the status code for the post preparation Id source name file o k response
func (*PostPreparationIDSourceNameFileOK) Error ¶
func (o *PostPreparationIDSourceNameFileOK) Error() string
func (*PostPreparationIDSourceNameFileOK) GetPayload ¶
func (o *PostPreparationIDSourceNameFileOK) GetPayload() *models.ModelFile
func (*PostPreparationIDSourceNameFileOK) IsClientError ¶
func (o *PostPreparationIDSourceNameFileOK) IsClientError() bool
IsClientError returns true when this post preparation Id source name file o k response has a 4xx status code
func (*PostPreparationIDSourceNameFileOK) IsCode ¶
func (o *PostPreparationIDSourceNameFileOK) IsCode(code int) bool
IsCode returns true when this post preparation Id source name file o k response a status code equal to that given
func (*PostPreparationIDSourceNameFileOK) IsRedirect ¶
func (o *PostPreparationIDSourceNameFileOK) IsRedirect() bool
IsRedirect returns true when this post preparation Id source name file o k response has a 3xx status code
func (*PostPreparationIDSourceNameFileOK) IsServerError ¶
func (o *PostPreparationIDSourceNameFileOK) IsServerError() bool
IsServerError returns true when this post preparation Id source name file o k response has a 5xx status code
func (*PostPreparationIDSourceNameFileOK) IsSuccess ¶
func (o *PostPreparationIDSourceNameFileOK) IsSuccess() bool
IsSuccess returns true when this post preparation Id source name file o k response has a 2xx status code
func (*PostPreparationIDSourceNameFileOK) String ¶
func (o *PostPreparationIDSourceNameFileOK) String() string
type PostPreparationIDSourceNameFileParams ¶
type PostPreparationIDSourceNameFileParams 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
}
PostPreparationIDSourceNameFileParams contains all the parameters to send to the API endpoint
for the post preparation ID source name file operation. Typically these are written to a http.Request.
func NewPostPreparationIDSourceNameFileParams ¶
func NewPostPreparationIDSourceNameFileParams() *PostPreparationIDSourceNameFileParams
NewPostPreparationIDSourceNameFileParams creates a new PostPreparationIDSourceNameFileParams 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 NewPostPreparationIDSourceNameFileParamsWithContext ¶
func NewPostPreparationIDSourceNameFileParamsWithContext(ctx context.Context) *PostPreparationIDSourceNameFileParams
NewPostPreparationIDSourceNameFileParamsWithContext creates a new PostPreparationIDSourceNameFileParams object with the ability to set a context for a request.
func NewPostPreparationIDSourceNameFileParamsWithHTTPClient ¶
func NewPostPreparationIDSourceNameFileParamsWithHTTPClient(client *http.Client) *PostPreparationIDSourceNameFileParams
NewPostPreparationIDSourceNameFileParamsWithHTTPClient creates a new PostPreparationIDSourceNameFileParams object with the ability to set a custom HTTPClient for a request.
func NewPostPreparationIDSourceNameFileParamsWithTimeout ¶
func NewPostPreparationIDSourceNameFileParamsWithTimeout(timeout time.Duration) *PostPreparationIDSourceNameFileParams
NewPostPreparationIDSourceNameFileParamsWithTimeout creates a new PostPreparationIDSourceNameFileParams object with the ability to set a timeout on a request.
func (*PostPreparationIDSourceNameFileParams) SetContext ¶
func (o *PostPreparationIDSourceNameFileParams) SetContext(ctx context.Context)
SetContext adds the context to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) SetDefaults ¶
func (o *PostPreparationIDSourceNameFileParams) SetDefaults()
SetDefaults hydrates default values in the post preparation ID source name file params (not the query body).
All values with no default are reset to their zero value.
func (*PostPreparationIDSourceNameFileParams) SetFile ¶
func (o *PostPreparationIDSourceNameFileParams) SetFile(file *models.FileInfo)
SetFile adds the file to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) SetHTTPClient ¶
func (o *PostPreparationIDSourceNameFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) SetID ¶
func (o *PostPreparationIDSourceNameFileParams) SetID(id string)
SetID adds the id to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) SetName ¶
func (o *PostPreparationIDSourceNameFileParams) SetName(name string)
SetName adds the name to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) SetTimeout ¶
func (o *PostPreparationIDSourceNameFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) WithContext ¶
func (o *PostPreparationIDSourceNameFileParams) WithContext(ctx context.Context) *PostPreparationIDSourceNameFileParams
WithContext adds the context to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) WithDefaults ¶
func (o *PostPreparationIDSourceNameFileParams) WithDefaults() *PostPreparationIDSourceNameFileParams
WithDefaults hydrates default values in the post preparation ID source name file params (not the query body).
All values with no default are reset to their zero value.
func (*PostPreparationIDSourceNameFileParams) WithFile ¶
func (o *PostPreparationIDSourceNameFileParams) WithFile(file *models.FileInfo) *PostPreparationIDSourceNameFileParams
WithFile adds the file to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) WithHTTPClient ¶
func (o *PostPreparationIDSourceNameFileParams) WithHTTPClient(client *http.Client) *PostPreparationIDSourceNameFileParams
WithHTTPClient adds the HTTPClient to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) WithID ¶
func (o *PostPreparationIDSourceNameFileParams) WithID(id string) *PostPreparationIDSourceNameFileParams
WithID adds the id to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) WithName ¶
func (o *PostPreparationIDSourceNameFileParams) WithName(name string) *PostPreparationIDSourceNameFileParams
WithName adds the name to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) WithTimeout ¶
func (o *PostPreparationIDSourceNameFileParams) WithTimeout(timeout time.Duration) *PostPreparationIDSourceNameFileParams
WithTimeout adds the timeout to the post preparation ID source name file params
func (*PostPreparationIDSourceNameFileParams) WriteToRequest ¶
func (o *PostPreparationIDSourceNameFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPreparationIDSourceNameFileReader ¶
type PostPreparationIDSourceNameFileReader struct {
// contains filtered or unexported fields
}
PostPreparationIDSourceNameFileReader is a Reader for the PostPreparationIDSourceNameFile structure.
func (*PostPreparationIDSourceNameFileReader) ReadResponse ¶
func (o *PostPreparationIDSourceNameFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- file_client.go
- get_file_id_deals_parameters.go
- get_file_id_deals_responses.go
- get_file_id_parameters.go
- get_file_id_responses.go
- post_file_id_prepare_to_pack_parameters.go
- post_file_id_prepare_to_pack_responses.go
- post_preparation_id_source_name_file_parameters.go
- post_preparation_id_source_name_file_responses.go