Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPieceIDMetadata(params *GetPieceIDMetadataParams, opts ...ClientOption) (*GetPieceIDMetadataOK, error)
- func (a *Client) GetPreparationIDPiece(params *GetPreparationIDPieceParams, opts ...ClientOption) (*GetPreparationIDPieceOK, error)
- func (a *Client) PostPreparationIDPiece(params *PostPreparationIDPieceParams, opts ...ClientOption) (*PostPreparationIDPieceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetPieceIDMetadataBadRequest
- func (o *GetPieceIDMetadataBadRequest) Code() int
- func (o *GetPieceIDMetadataBadRequest) Error() string
- func (o *GetPieceIDMetadataBadRequest) GetPayload() string
- func (o *GetPieceIDMetadataBadRequest) IsClientError() bool
- func (o *GetPieceIDMetadataBadRequest) IsCode(code int) bool
- func (o *GetPieceIDMetadataBadRequest) IsRedirect() bool
- func (o *GetPieceIDMetadataBadRequest) IsServerError() bool
- func (o *GetPieceIDMetadataBadRequest) IsSuccess() bool
- func (o *GetPieceIDMetadataBadRequest) String() string
- type GetPieceIDMetadataInternalServerError
- func (o *GetPieceIDMetadataInternalServerError) Code() int
- func (o *GetPieceIDMetadataInternalServerError) Error() string
- func (o *GetPieceIDMetadataInternalServerError) GetPayload() string
- func (o *GetPieceIDMetadataInternalServerError) IsClientError() bool
- func (o *GetPieceIDMetadataInternalServerError) IsCode(code int) bool
- func (o *GetPieceIDMetadataInternalServerError) IsRedirect() bool
- func (o *GetPieceIDMetadataInternalServerError) IsServerError() bool
- func (o *GetPieceIDMetadataInternalServerError) IsSuccess() bool
- func (o *GetPieceIDMetadataInternalServerError) String() string
- type GetPieceIDMetadataNotFound
- func (o *GetPieceIDMetadataNotFound) Code() int
- func (o *GetPieceIDMetadataNotFound) Error() string
- func (o *GetPieceIDMetadataNotFound) GetPayload() string
- func (o *GetPieceIDMetadataNotFound) IsClientError() bool
- func (o *GetPieceIDMetadataNotFound) IsCode(code int) bool
- func (o *GetPieceIDMetadataNotFound) IsRedirect() bool
- func (o *GetPieceIDMetadataNotFound) IsServerError() bool
- func (o *GetPieceIDMetadataNotFound) IsSuccess() bool
- func (o *GetPieceIDMetadataNotFound) String() string
- type GetPieceIDMetadataOK
- func (o *GetPieceIDMetadataOK) Code() int
- func (o *GetPieceIDMetadataOK) Error() string
- func (o *GetPieceIDMetadataOK) GetPayload() models.StorePieceReader
- func (o *GetPieceIDMetadataOK) IsClientError() bool
- func (o *GetPieceIDMetadataOK) IsCode(code int) bool
- func (o *GetPieceIDMetadataOK) IsRedirect() bool
- func (o *GetPieceIDMetadataOK) IsServerError() bool
- func (o *GetPieceIDMetadataOK) IsSuccess() bool
- func (o *GetPieceIDMetadataOK) String() string
- type GetPieceIDMetadataParams
- func NewGetPieceIDMetadataParams() *GetPieceIDMetadataParams
- func NewGetPieceIDMetadataParamsWithContext(ctx context.Context) *GetPieceIDMetadataParams
- func NewGetPieceIDMetadataParamsWithHTTPClient(client *http.Client) *GetPieceIDMetadataParams
- func NewGetPieceIDMetadataParamsWithTimeout(timeout time.Duration) *GetPieceIDMetadataParams
- func (o *GetPieceIDMetadataParams) SetContext(ctx context.Context)
- func (o *GetPieceIDMetadataParams) SetDefaults()
- func (o *GetPieceIDMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetPieceIDMetadataParams) SetID(id string)
- func (o *GetPieceIDMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetPieceIDMetadataParams) WithContext(ctx context.Context) *GetPieceIDMetadataParams
- func (o *GetPieceIDMetadataParams) WithDefaults() *GetPieceIDMetadataParams
- func (o *GetPieceIDMetadataParams) WithHTTPClient(client *http.Client) *GetPieceIDMetadataParams
- func (o *GetPieceIDMetadataParams) WithID(id string) *GetPieceIDMetadataParams
- func (o *GetPieceIDMetadataParams) WithTimeout(timeout time.Duration) *GetPieceIDMetadataParams
- func (o *GetPieceIDMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPieceIDMetadataReader
- type GetPreparationIDPieceBadRequest
- func (o *GetPreparationIDPieceBadRequest) Code() int
- func (o *GetPreparationIDPieceBadRequest) Error() string
- func (o *GetPreparationIDPieceBadRequest) GetPayload() *models.APIHTTPError
- func (o *GetPreparationIDPieceBadRequest) IsClientError() bool
- func (o *GetPreparationIDPieceBadRequest) IsCode(code int) bool
- func (o *GetPreparationIDPieceBadRequest) IsRedirect() bool
- func (o *GetPreparationIDPieceBadRequest) IsServerError() bool
- func (o *GetPreparationIDPieceBadRequest) IsSuccess() bool
- func (o *GetPreparationIDPieceBadRequest) String() string
- type GetPreparationIDPieceInternalServerError
- func (o *GetPreparationIDPieceInternalServerError) Code() int
- func (o *GetPreparationIDPieceInternalServerError) Error() string
- func (o *GetPreparationIDPieceInternalServerError) GetPayload() *models.APIHTTPError
- func (o *GetPreparationIDPieceInternalServerError) IsClientError() bool
- func (o *GetPreparationIDPieceInternalServerError) IsCode(code int) bool
- func (o *GetPreparationIDPieceInternalServerError) IsRedirect() bool
- func (o *GetPreparationIDPieceInternalServerError) IsServerError() bool
- func (o *GetPreparationIDPieceInternalServerError) IsSuccess() bool
- func (o *GetPreparationIDPieceInternalServerError) String() string
- type GetPreparationIDPieceOK
- func (o *GetPreparationIDPieceOK) Code() int
- func (o *GetPreparationIDPieceOK) Error() string
- func (o *GetPreparationIDPieceOK) GetPayload() []*models.DataprepPieceList
- func (o *GetPreparationIDPieceOK) IsClientError() bool
- func (o *GetPreparationIDPieceOK) IsCode(code int) bool
- func (o *GetPreparationIDPieceOK) IsRedirect() bool
- func (o *GetPreparationIDPieceOK) IsServerError() bool
- func (o *GetPreparationIDPieceOK) IsSuccess() bool
- func (o *GetPreparationIDPieceOK) String() string
- type GetPreparationIDPieceParams
- func NewGetPreparationIDPieceParams() *GetPreparationIDPieceParams
- func NewGetPreparationIDPieceParamsWithContext(ctx context.Context) *GetPreparationIDPieceParams
- func NewGetPreparationIDPieceParamsWithHTTPClient(client *http.Client) *GetPreparationIDPieceParams
- func NewGetPreparationIDPieceParamsWithTimeout(timeout time.Duration) *GetPreparationIDPieceParams
- func (o *GetPreparationIDPieceParams) SetContext(ctx context.Context)
- func (o *GetPreparationIDPieceParams) SetDefaults()
- func (o *GetPreparationIDPieceParams) SetHTTPClient(client *http.Client)
- func (o *GetPreparationIDPieceParams) SetID(id string)
- func (o *GetPreparationIDPieceParams) SetTimeout(timeout time.Duration)
- func (o *GetPreparationIDPieceParams) WithContext(ctx context.Context) *GetPreparationIDPieceParams
- func (o *GetPreparationIDPieceParams) WithDefaults() *GetPreparationIDPieceParams
- func (o *GetPreparationIDPieceParams) WithHTTPClient(client *http.Client) *GetPreparationIDPieceParams
- func (o *GetPreparationIDPieceParams) WithID(id string) *GetPreparationIDPieceParams
- func (o *GetPreparationIDPieceParams) WithTimeout(timeout time.Duration) *GetPreparationIDPieceParams
- func (o *GetPreparationIDPieceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPreparationIDPieceReader
- type PostPreparationIDPieceBadRequest
- func (o *PostPreparationIDPieceBadRequest) Code() int
- func (o *PostPreparationIDPieceBadRequest) Error() string
- func (o *PostPreparationIDPieceBadRequest) GetPayload() *models.APIHTTPError
- func (o *PostPreparationIDPieceBadRequest) IsClientError() bool
- func (o *PostPreparationIDPieceBadRequest) IsCode(code int) bool
- func (o *PostPreparationIDPieceBadRequest) IsRedirect() bool
- func (o *PostPreparationIDPieceBadRequest) IsServerError() bool
- func (o *PostPreparationIDPieceBadRequest) IsSuccess() bool
- func (o *PostPreparationIDPieceBadRequest) String() string
- type PostPreparationIDPieceInternalServerError
- func (o *PostPreparationIDPieceInternalServerError) Code() int
- func (o *PostPreparationIDPieceInternalServerError) Error() string
- func (o *PostPreparationIDPieceInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PostPreparationIDPieceInternalServerError) IsClientError() bool
- func (o *PostPreparationIDPieceInternalServerError) IsCode(code int) bool
- func (o *PostPreparationIDPieceInternalServerError) IsRedirect() bool
- func (o *PostPreparationIDPieceInternalServerError) IsServerError() bool
- func (o *PostPreparationIDPieceInternalServerError) IsSuccess() bool
- func (o *PostPreparationIDPieceInternalServerError) String() string
- type PostPreparationIDPieceOK
- func (o *PostPreparationIDPieceOK) Code() int
- func (o *PostPreparationIDPieceOK) Error() string
- func (o *PostPreparationIDPieceOK) GetPayload() *models.ModelCar
- func (o *PostPreparationIDPieceOK) IsClientError() bool
- func (o *PostPreparationIDPieceOK) IsCode(code int) bool
- func (o *PostPreparationIDPieceOK) IsRedirect() bool
- func (o *PostPreparationIDPieceOK) IsServerError() bool
- func (o *PostPreparationIDPieceOK) IsSuccess() bool
- func (o *PostPreparationIDPieceOK) String() string
- type PostPreparationIDPieceParams
- func NewPostPreparationIDPieceParams() *PostPreparationIDPieceParams
- func NewPostPreparationIDPieceParamsWithContext(ctx context.Context) *PostPreparationIDPieceParams
- func NewPostPreparationIDPieceParamsWithHTTPClient(client *http.Client) *PostPreparationIDPieceParams
- func NewPostPreparationIDPieceParamsWithTimeout(timeout time.Duration) *PostPreparationIDPieceParams
- func (o *PostPreparationIDPieceParams) SetContext(ctx context.Context)
- func (o *PostPreparationIDPieceParams) SetDefaults()
- func (o *PostPreparationIDPieceParams) SetHTTPClient(client *http.Client)
- func (o *PostPreparationIDPieceParams) SetID(id string)
- func (o *PostPreparationIDPieceParams) SetRequest(request *models.DataprepAddPieceRequest)
- func (o *PostPreparationIDPieceParams) SetTimeout(timeout time.Duration)
- func (o *PostPreparationIDPieceParams) WithContext(ctx context.Context) *PostPreparationIDPieceParams
- func (o *PostPreparationIDPieceParams) WithDefaults() *PostPreparationIDPieceParams
- func (o *PostPreparationIDPieceParams) WithHTTPClient(client *http.Client) *PostPreparationIDPieceParams
- func (o *PostPreparationIDPieceParams) WithID(id string) *PostPreparationIDPieceParams
- func (o *PostPreparationIDPieceParams) WithRequest(request *models.DataprepAddPieceRequest) *PostPreparationIDPieceParams
- func (o *PostPreparationIDPieceParams) WithTimeout(timeout time.Duration) *PostPreparationIDPieceParams
- func (o *PostPreparationIDPieceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPreparationIDPieceReader
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 piece API
func (*Client) GetPieceIDMetadata ¶
func (a *Client) GetPieceIDMetadata(params *GetPieceIDMetadataParams, opts ...ClientOption) (*GetPieceIDMetadataOK, error)
GetPieceIDMetadata gets metadata for a piece
Get metadata for a piece for how it may be reassembled from the data source
func (*Client) GetPreparationIDPiece ¶
func (a *Client) GetPreparationIDPiece(params *GetPreparationIDPieceParams, opts ...ClientOption) (*GetPreparationIDPieceOK, error)
GetPreparationIDPiece lists all prepared pieces for a preparation
func (*Client) PostPreparationIDPiece ¶
func (a *Client) PostPreparationIDPiece(params *PostPreparationIDPieceParams, opts ...ClientOption) (*PostPreparationIDPieceOK, error)
PostPreparationIDPiece adds a piece to a 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 { GetPieceIDMetadata(params *GetPieceIDMetadataParams, opts ...ClientOption) (*GetPieceIDMetadataOK, error) GetPreparationIDPiece(params *GetPreparationIDPieceParams, opts ...ClientOption) (*GetPreparationIDPieceOK, error) PostPreparationIDPiece(params *PostPreparationIDPieceParams, opts ...ClientOption) (*PostPreparationIDPieceOK, 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 piece API client.
type GetPieceIDMetadataBadRequest ¶
type GetPieceIDMetadataBadRequest struct {
Payload string
}
GetPieceIDMetadataBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetPieceIDMetadataBadRequest ¶
func NewGetPieceIDMetadataBadRequest() *GetPieceIDMetadataBadRequest
NewGetPieceIDMetadataBadRequest creates a GetPieceIDMetadataBadRequest with default headers values
func (*GetPieceIDMetadataBadRequest) Code ¶
func (o *GetPieceIDMetadataBadRequest) Code() int
Code gets the status code for the get piece Id metadata bad request response
func (*GetPieceIDMetadataBadRequest) Error ¶
func (o *GetPieceIDMetadataBadRequest) Error() string
func (*GetPieceIDMetadataBadRequest) GetPayload ¶
func (o *GetPieceIDMetadataBadRequest) GetPayload() string
func (*GetPieceIDMetadataBadRequest) IsClientError ¶
func (o *GetPieceIDMetadataBadRequest) IsClientError() bool
IsClientError returns true when this get piece Id metadata bad request response has a 4xx status code
func (*GetPieceIDMetadataBadRequest) IsCode ¶
func (o *GetPieceIDMetadataBadRequest) IsCode(code int) bool
IsCode returns true when this get piece Id metadata bad request response a status code equal to that given
func (*GetPieceIDMetadataBadRequest) IsRedirect ¶
func (o *GetPieceIDMetadataBadRequest) IsRedirect() bool
IsRedirect returns true when this get piece Id metadata bad request response has a 3xx status code
func (*GetPieceIDMetadataBadRequest) IsServerError ¶
func (o *GetPieceIDMetadataBadRequest) IsServerError() bool
IsServerError returns true when this get piece Id metadata bad request response has a 5xx status code
func (*GetPieceIDMetadataBadRequest) IsSuccess ¶
func (o *GetPieceIDMetadataBadRequest) IsSuccess() bool
IsSuccess returns true when this get piece Id metadata bad request response has a 2xx status code
func (*GetPieceIDMetadataBadRequest) String ¶
func (o *GetPieceIDMetadataBadRequest) String() string
type GetPieceIDMetadataInternalServerError ¶
type GetPieceIDMetadataInternalServerError struct {
Payload string
}
GetPieceIDMetadataInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetPieceIDMetadataInternalServerError ¶
func NewGetPieceIDMetadataInternalServerError() *GetPieceIDMetadataInternalServerError
NewGetPieceIDMetadataInternalServerError creates a GetPieceIDMetadataInternalServerError with default headers values
func (*GetPieceIDMetadataInternalServerError) Code ¶
func (o *GetPieceIDMetadataInternalServerError) Code() int
Code gets the status code for the get piece Id metadata internal server error response
func (*GetPieceIDMetadataInternalServerError) Error ¶
func (o *GetPieceIDMetadataInternalServerError) Error() string
func (*GetPieceIDMetadataInternalServerError) GetPayload ¶
func (o *GetPieceIDMetadataInternalServerError) GetPayload() string
func (*GetPieceIDMetadataInternalServerError) IsClientError ¶
func (o *GetPieceIDMetadataInternalServerError) IsClientError() bool
IsClientError returns true when this get piece Id metadata internal server error response has a 4xx status code
func (*GetPieceIDMetadataInternalServerError) IsCode ¶
func (o *GetPieceIDMetadataInternalServerError) IsCode(code int) bool
IsCode returns true when this get piece Id metadata internal server error response a status code equal to that given
func (*GetPieceIDMetadataInternalServerError) IsRedirect ¶
func (o *GetPieceIDMetadataInternalServerError) IsRedirect() bool
IsRedirect returns true when this get piece Id metadata internal server error response has a 3xx status code
func (*GetPieceIDMetadataInternalServerError) IsServerError ¶
func (o *GetPieceIDMetadataInternalServerError) IsServerError() bool
IsServerError returns true when this get piece Id metadata internal server error response has a 5xx status code
func (*GetPieceIDMetadataInternalServerError) IsSuccess ¶
func (o *GetPieceIDMetadataInternalServerError) IsSuccess() bool
IsSuccess returns true when this get piece Id metadata internal server error response has a 2xx status code
func (*GetPieceIDMetadataInternalServerError) String ¶
func (o *GetPieceIDMetadataInternalServerError) String() string
type GetPieceIDMetadataNotFound ¶
type GetPieceIDMetadataNotFound struct {
Payload string
}
GetPieceIDMetadataNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetPieceIDMetadataNotFound ¶
func NewGetPieceIDMetadataNotFound() *GetPieceIDMetadataNotFound
NewGetPieceIDMetadataNotFound creates a GetPieceIDMetadataNotFound with default headers values
func (*GetPieceIDMetadataNotFound) Code ¶
func (o *GetPieceIDMetadataNotFound) Code() int
Code gets the status code for the get piece Id metadata not found response
func (*GetPieceIDMetadataNotFound) Error ¶
func (o *GetPieceIDMetadataNotFound) Error() string
func (*GetPieceIDMetadataNotFound) GetPayload ¶
func (o *GetPieceIDMetadataNotFound) GetPayload() string
func (*GetPieceIDMetadataNotFound) IsClientError ¶
func (o *GetPieceIDMetadataNotFound) IsClientError() bool
IsClientError returns true when this get piece Id metadata not found response has a 4xx status code
func (*GetPieceIDMetadataNotFound) IsCode ¶
func (o *GetPieceIDMetadataNotFound) IsCode(code int) bool
IsCode returns true when this get piece Id metadata not found response a status code equal to that given
func (*GetPieceIDMetadataNotFound) IsRedirect ¶
func (o *GetPieceIDMetadataNotFound) IsRedirect() bool
IsRedirect returns true when this get piece Id metadata not found response has a 3xx status code
func (*GetPieceIDMetadataNotFound) IsServerError ¶
func (o *GetPieceIDMetadataNotFound) IsServerError() bool
IsServerError returns true when this get piece Id metadata not found response has a 5xx status code
func (*GetPieceIDMetadataNotFound) IsSuccess ¶
func (o *GetPieceIDMetadataNotFound) IsSuccess() bool
IsSuccess returns true when this get piece Id metadata not found response has a 2xx status code
func (*GetPieceIDMetadataNotFound) String ¶
func (o *GetPieceIDMetadataNotFound) String() string
type GetPieceIDMetadataOK ¶
type GetPieceIDMetadataOK struct {
Payload models.StorePieceReader
}
GetPieceIDMetadataOK describes a response with status code 200, with default header values.
OK
func NewGetPieceIDMetadataOK ¶
func NewGetPieceIDMetadataOK() *GetPieceIDMetadataOK
NewGetPieceIDMetadataOK creates a GetPieceIDMetadataOK with default headers values
func (*GetPieceIDMetadataOK) Code ¶
func (o *GetPieceIDMetadataOK) Code() int
Code gets the status code for the get piece Id metadata o k response
func (*GetPieceIDMetadataOK) Error ¶
func (o *GetPieceIDMetadataOK) Error() string
func (*GetPieceIDMetadataOK) GetPayload ¶
func (o *GetPieceIDMetadataOK) GetPayload() models.StorePieceReader
func (*GetPieceIDMetadataOK) IsClientError ¶
func (o *GetPieceIDMetadataOK) IsClientError() bool
IsClientError returns true when this get piece Id metadata o k response has a 4xx status code
func (*GetPieceIDMetadataOK) IsCode ¶
func (o *GetPieceIDMetadataOK) IsCode(code int) bool
IsCode returns true when this get piece Id metadata o k response a status code equal to that given
func (*GetPieceIDMetadataOK) IsRedirect ¶
func (o *GetPieceIDMetadataOK) IsRedirect() bool
IsRedirect returns true when this get piece Id metadata o k response has a 3xx status code
func (*GetPieceIDMetadataOK) IsServerError ¶
func (o *GetPieceIDMetadataOK) IsServerError() bool
IsServerError returns true when this get piece Id metadata o k response has a 5xx status code
func (*GetPieceIDMetadataOK) IsSuccess ¶
func (o *GetPieceIDMetadataOK) IsSuccess() bool
IsSuccess returns true when this get piece Id metadata o k response has a 2xx status code
func (*GetPieceIDMetadataOK) String ¶
func (o *GetPieceIDMetadataOK) String() string
type GetPieceIDMetadataParams ¶
type GetPieceIDMetadataParams struct { /* ID. Piece CID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPieceIDMetadataParams contains all the parameters to send to the API endpoint
for the get piece ID metadata operation. Typically these are written to a http.Request.
func NewGetPieceIDMetadataParams ¶
func NewGetPieceIDMetadataParams() *GetPieceIDMetadataParams
NewGetPieceIDMetadataParams creates a new GetPieceIDMetadataParams 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 NewGetPieceIDMetadataParamsWithContext ¶
func NewGetPieceIDMetadataParamsWithContext(ctx context.Context) *GetPieceIDMetadataParams
NewGetPieceIDMetadataParamsWithContext creates a new GetPieceIDMetadataParams object with the ability to set a context for a request.
func NewGetPieceIDMetadataParamsWithHTTPClient ¶
func NewGetPieceIDMetadataParamsWithHTTPClient(client *http.Client) *GetPieceIDMetadataParams
NewGetPieceIDMetadataParamsWithHTTPClient creates a new GetPieceIDMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewGetPieceIDMetadataParamsWithTimeout ¶
func NewGetPieceIDMetadataParamsWithTimeout(timeout time.Duration) *GetPieceIDMetadataParams
NewGetPieceIDMetadataParamsWithTimeout creates a new GetPieceIDMetadataParams object with the ability to set a timeout on a request.
func (*GetPieceIDMetadataParams) SetContext ¶
func (o *GetPieceIDMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get piece ID metadata params
func (*GetPieceIDMetadataParams) SetDefaults ¶
func (o *GetPieceIDMetadataParams) SetDefaults()
SetDefaults hydrates default values in the get piece ID metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetPieceIDMetadataParams) SetHTTPClient ¶
func (o *GetPieceIDMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get piece ID metadata params
func (*GetPieceIDMetadataParams) SetID ¶
func (o *GetPieceIDMetadataParams) SetID(id string)
SetID adds the id to the get piece ID metadata params
func (*GetPieceIDMetadataParams) SetTimeout ¶
func (o *GetPieceIDMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get piece ID metadata params
func (*GetPieceIDMetadataParams) WithContext ¶
func (o *GetPieceIDMetadataParams) WithContext(ctx context.Context) *GetPieceIDMetadataParams
WithContext adds the context to the get piece ID metadata params
func (*GetPieceIDMetadataParams) WithDefaults ¶
func (o *GetPieceIDMetadataParams) WithDefaults() *GetPieceIDMetadataParams
WithDefaults hydrates default values in the get piece ID metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetPieceIDMetadataParams) WithHTTPClient ¶
func (o *GetPieceIDMetadataParams) WithHTTPClient(client *http.Client) *GetPieceIDMetadataParams
WithHTTPClient adds the HTTPClient to the get piece ID metadata params
func (*GetPieceIDMetadataParams) WithID ¶
func (o *GetPieceIDMetadataParams) WithID(id string) *GetPieceIDMetadataParams
WithID adds the id to the get piece ID metadata params
func (*GetPieceIDMetadataParams) WithTimeout ¶
func (o *GetPieceIDMetadataParams) WithTimeout(timeout time.Duration) *GetPieceIDMetadataParams
WithTimeout adds the timeout to the get piece ID metadata params
func (*GetPieceIDMetadataParams) WriteToRequest ¶
func (o *GetPieceIDMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPieceIDMetadataReader ¶
type GetPieceIDMetadataReader struct {
// contains filtered or unexported fields
}
GetPieceIDMetadataReader is a Reader for the GetPieceIDMetadata structure.
func (*GetPieceIDMetadataReader) ReadResponse ¶
func (o *GetPieceIDMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPreparationIDPieceBadRequest ¶
type GetPreparationIDPieceBadRequest struct {
Payload *models.APIHTTPError
}
GetPreparationIDPieceBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetPreparationIDPieceBadRequest ¶
func NewGetPreparationIDPieceBadRequest() *GetPreparationIDPieceBadRequest
NewGetPreparationIDPieceBadRequest creates a GetPreparationIDPieceBadRequest with default headers values
func (*GetPreparationIDPieceBadRequest) Code ¶
func (o *GetPreparationIDPieceBadRequest) Code() int
Code gets the status code for the get preparation Id piece bad request response
func (*GetPreparationIDPieceBadRequest) Error ¶
func (o *GetPreparationIDPieceBadRequest) Error() string
func (*GetPreparationIDPieceBadRequest) GetPayload ¶
func (o *GetPreparationIDPieceBadRequest) GetPayload() *models.APIHTTPError
func (*GetPreparationIDPieceBadRequest) IsClientError ¶
func (o *GetPreparationIDPieceBadRequest) IsClientError() bool
IsClientError returns true when this get preparation Id piece bad request response has a 4xx status code
func (*GetPreparationIDPieceBadRequest) IsCode ¶
func (o *GetPreparationIDPieceBadRequest) IsCode(code int) bool
IsCode returns true when this get preparation Id piece bad request response a status code equal to that given
func (*GetPreparationIDPieceBadRequest) IsRedirect ¶
func (o *GetPreparationIDPieceBadRequest) IsRedirect() bool
IsRedirect returns true when this get preparation Id piece bad request response has a 3xx status code
func (*GetPreparationIDPieceBadRequest) IsServerError ¶
func (o *GetPreparationIDPieceBadRequest) IsServerError() bool
IsServerError returns true when this get preparation Id piece bad request response has a 5xx status code
func (*GetPreparationIDPieceBadRequest) IsSuccess ¶
func (o *GetPreparationIDPieceBadRequest) IsSuccess() bool
IsSuccess returns true when this get preparation Id piece bad request response has a 2xx status code
func (*GetPreparationIDPieceBadRequest) String ¶
func (o *GetPreparationIDPieceBadRequest) String() string
type GetPreparationIDPieceInternalServerError ¶
type GetPreparationIDPieceInternalServerError struct {
Payload *models.APIHTTPError
}
GetPreparationIDPieceInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetPreparationIDPieceInternalServerError ¶
func NewGetPreparationIDPieceInternalServerError() *GetPreparationIDPieceInternalServerError
NewGetPreparationIDPieceInternalServerError creates a GetPreparationIDPieceInternalServerError with default headers values
func (*GetPreparationIDPieceInternalServerError) Code ¶
func (o *GetPreparationIDPieceInternalServerError) Code() int
Code gets the status code for the get preparation Id piece internal server error response
func (*GetPreparationIDPieceInternalServerError) Error ¶
func (o *GetPreparationIDPieceInternalServerError) Error() string
func (*GetPreparationIDPieceInternalServerError) GetPayload ¶
func (o *GetPreparationIDPieceInternalServerError) GetPayload() *models.APIHTTPError
func (*GetPreparationIDPieceInternalServerError) IsClientError ¶
func (o *GetPreparationIDPieceInternalServerError) IsClientError() bool
IsClientError returns true when this get preparation Id piece internal server error response has a 4xx status code
func (*GetPreparationIDPieceInternalServerError) IsCode ¶
func (o *GetPreparationIDPieceInternalServerError) IsCode(code int) bool
IsCode returns true when this get preparation Id piece internal server error response a status code equal to that given
func (*GetPreparationIDPieceInternalServerError) IsRedirect ¶
func (o *GetPreparationIDPieceInternalServerError) IsRedirect() bool
IsRedirect returns true when this get preparation Id piece internal server error response has a 3xx status code
func (*GetPreparationIDPieceInternalServerError) IsServerError ¶
func (o *GetPreparationIDPieceInternalServerError) IsServerError() bool
IsServerError returns true when this get preparation Id piece internal server error response has a 5xx status code
func (*GetPreparationIDPieceInternalServerError) IsSuccess ¶
func (o *GetPreparationIDPieceInternalServerError) IsSuccess() bool
IsSuccess returns true when this get preparation Id piece internal server error response has a 2xx status code
func (*GetPreparationIDPieceInternalServerError) String ¶
func (o *GetPreparationIDPieceInternalServerError) String() string
type GetPreparationIDPieceOK ¶
type GetPreparationIDPieceOK struct {
Payload []*models.DataprepPieceList
}
GetPreparationIDPieceOK describes a response with status code 200, with default header values.
OK
func NewGetPreparationIDPieceOK ¶
func NewGetPreparationIDPieceOK() *GetPreparationIDPieceOK
NewGetPreparationIDPieceOK creates a GetPreparationIDPieceOK with default headers values
func (*GetPreparationIDPieceOK) Code ¶
func (o *GetPreparationIDPieceOK) Code() int
Code gets the status code for the get preparation Id piece o k response
func (*GetPreparationIDPieceOK) Error ¶
func (o *GetPreparationIDPieceOK) Error() string
func (*GetPreparationIDPieceOK) GetPayload ¶
func (o *GetPreparationIDPieceOK) GetPayload() []*models.DataprepPieceList
func (*GetPreparationIDPieceOK) IsClientError ¶
func (o *GetPreparationIDPieceOK) IsClientError() bool
IsClientError returns true when this get preparation Id piece o k response has a 4xx status code
func (*GetPreparationIDPieceOK) IsCode ¶
func (o *GetPreparationIDPieceOK) IsCode(code int) bool
IsCode returns true when this get preparation Id piece o k response a status code equal to that given
func (*GetPreparationIDPieceOK) IsRedirect ¶
func (o *GetPreparationIDPieceOK) IsRedirect() bool
IsRedirect returns true when this get preparation Id piece o k response has a 3xx status code
func (*GetPreparationIDPieceOK) IsServerError ¶
func (o *GetPreparationIDPieceOK) IsServerError() bool
IsServerError returns true when this get preparation Id piece o k response has a 5xx status code
func (*GetPreparationIDPieceOK) IsSuccess ¶
func (o *GetPreparationIDPieceOK) IsSuccess() bool
IsSuccess returns true when this get preparation Id piece o k response has a 2xx status code
func (*GetPreparationIDPieceOK) String ¶
func (o *GetPreparationIDPieceOK) String() string
type GetPreparationIDPieceParams ¶
type GetPreparationIDPieceParams struct { /* ID. Preparation ID or name */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPreparationIDPieceParams contains all the parameters to send to the API endpoint
for the get preparation ID piece operation. Typically these are written to a http.Request.
func NewGetPreparationIDPieceParams ¶
func NewGetPreparationIDPieceParams() *GetPreparationIDPieceParams
NewGetPreparationIDPieceParams creates a new GetPreparationIDPieceParams 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 NewGetPreparationIDPieceParamsWithContext ¶
func NewGetPreparationIDPieceParamsWithContext(ctx context.Context) *GetPreparationIDPieceParams
NewGetPreparationIDPieceParamsWithContext creates a new GetPreparationIDPieceParams object with the ability to set a context for a request.
func NewGetPreparationIDPieceParamsWithHTTPClient ¶
func NewGetPreparationIDPieceParamsWithHTTPClient(client *http.Client) *GetPreparationIDPieceParams
NewGetPreparationIDPieceParamsWithHTTPClient creates a new GetPreparationIDPieceParams object with the ability to set a custom HTTPClient for a request.
func NewGetPreparationIDPieceParamsWithTimeout ¶
func NewGetPreparationIDPieceParamsWithTimeout(timeout time.Duration) *GetPreparationIDPieceParams
NewGetPreparationIDPieceParamsWithTimeout creates a new GetPreparationIDPieceParams object with the ability to set a timeout on a request.
func (*GetPreparationIDPieceParams) SetContext ¶
func (o *GetPreparationIDPieceParams) SetContext(ctx context.Context)
SetContext adds the context to the get preparation ID piece params
func (*GetPreparationIDPieceParams) SetDefaults ¶
func (o *GetPreparationIDPieceParams) SetDefaults()
SetDefaults hydrates default values in the get preparation ID piece params (not the query body).
All values with no default are reset to their zero value.
func (*GetPreparationIDPieceParams) SetHTTPClient ¶
func (o *GetPreparationIDPieceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get preparation ID piece params
func (*GetPreparationIDPieceParams) SetID ¶
func (o *GetPreparationIDPieceParams) SetID(id string)
SetID adds the id to the get preparation ID piece params
func (*GetPreparationIDPieceParams) SetTimeout ¶
func (o *GetPreparationIDPieceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get preparation ID piece params
func (*GetPreparationIDPieceParams) WithContext ¶
func (o *GetPreparationIDPieceParams) WithContext(ctx context.Context) *GetPreparationIDPieceParams
WithContext adds the context to the get preparation ID piece params
func (*GetPreparationIDPieceParams) WithDefaults ¶
func (o *GetPreparationIDPieceParams) WithDefaults() *GetPreparationIDPieceParams
WithDefaults hydrates default values in the get preparation ID piece params (not the query body).
All values with no default are reset to their zero value.
func (*GetPreparationIDPieceParams) WithHTTPClient ¶
func (o *GetPreparationIDPieceParams) WithHTTPClient(client *http.Client) *GetPreparationIDPieceParams
WithHTTPClient adds the HTTPClient to the get preparation ID piece params
func (*GetPreparationIDPieceParams) WithID ¶
func (o *GetPreparationIDPieceParams) WithID(id string) *GetPreparationIDPieceParams
WithID adds the id to the get preparation ID piece params
func (*GetPreparationIDPieceParams) WithTimeout ¶
func (o *GetPreparationIDPieceParams) WithTimeout(timeout time.Duration) *GetPreparationIDPieceParams
WithTimeout adds the timeout to the get preparation ID piece params
func (*GetPreparationIDPieceParams) WriteToRequest ¶
func (o *GetPreparationIDPieceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPreparationIDPieceReader ¶
type GetPreparationIDPieceReader struct {
// contains filtered or unexported fields
}
GetPreparationIDPieceReader is a Reader for the GetPreparationIDPiece structure.
func (*GetPreparationIDPieceReader) ReadResponse ¶
func (o *GetPreparationIDPieceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPreparationIDPieceBadRequest ¶
type PostPreparationIDPieceBadRequest struct {
Payload *models.APIHTTPError
}
PostPreparationIDPieceBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostPreparationIDPieceBadRequest ¶
func NewPostPreparationIDPieceBadRequest() *PostPreparationIDPieceBadRequest
NewPostPreparationIDPieceBadRequest creates a PostPreparationIDPieceBadRequest with default headers values
func (*PostPreparationIDPieceBadRequest) Code ¶
func (o *PostPreparationIDPieceBadRequest) Code() int
Code gets the status code for the post preparation Id piece bad request response
func (*PostPreparationIDPieceBadRequest) Error ¶
func (o *PostPreparationIDPieceBadRequest) Error() string
func (*PostPreparationIDPieceBadRequest) GetPayload ¶
func (o *PostPreparationIDPieceBadRequest) GetPayload() *models.APIHTTPError
func (*PostPreparationIDPieceBadRequest) IsClientError ¶
func (o *PostPreparationIDPieceBadRequest) IsClientError() bool
IsClientError returns true when this post preparation Id piece bad request response has a 4xx status code
func (*PostPreparationIDPieceBadRequest) IsCode ¶
func (o *PostPreparationIDPieceBadRequest) IsCode(code int) bool
IsCode returns true when this post preparation Id piece bad request response a status code equal to that given
func (*PostPreparationIDPieceBadRequest) IsRedirect ¶
func (o *PostPreparationIDPieceBadRequest) IsRedirect() bool
IsRedirect returns true when this post preparation Id piece bad request response has a 3xx status code
func (*PostPreparationIDPieceBadRequest) IsServerError ¶
func (o *PostPreparationIDPieceBadRequest) IsServerError() bool
IsServerError returns true when this post preparation Id piece bad request response has a 5xx status code
func (*PostPreparationIDPieceBadRequest) IsSuccess ¶
func (o *PostPreparationIDPieceBadRequest) IsSuccess() bool
IsSuccess returns true when this post preparation Id piece bad request response has a 2xx status code
func (*PostPreparationIDPieceBadRequest) String ¶
func (o *PostPreparationIDPieceBadRequest) String() string
type PostPreparationIDPieceInternalServerError ¶
type PostPreparationIDPieceInternalServerError struct {
Payload *models.APIHTTPError
}
PostPreparationIDPieceInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostPreparationIDPieceInternalServerError ¶
func NewPostPreparationIDPieceInternalServerError() *PostPreparationIDPieceInternalServerError
NewPostPreparationIDPieceInternalServerError creates a PostPreparationIDPieceInternalServerError with default headers values
func (*PostPreparationIDPieceInternalServerError) Code ¶
func (o *PostPreparationIDPieceInternalServerError) Code() int
Code gets the status code for the post preparation Id piece internal server error response
func (*PostPreparationIDPieceInternalServerError) Error ¶
func (o *PostPreparationIDPieceInternalServerError) Error() string
func (*PostPreparationIDPieceInternalServerError) GetPayload ¶
func (o *PostPreparationIDPieceInternalServerError) GetPayload() *models.APIHTTPError
func (*PostPreparationIDPieceInternalServerError) IsClientError ¶
func (o *PostPreparationIDPieceInternalServerError) IsClientError() bool
IsClientError returns true when this post preparation Id piece internal server error response has a 4xx status code
func (*PostPreparationIDPieceInternalServerError) IsCode ¶
func (o *PostPreparationIDPieceInternalServerError) IsCode(code int) bool
IsCode returns true when this post preparation Id piece internal server error response a status code equal to that given
func (*PostPreparationIDPieceInternalServerError) IsRedirect ¶
func (o *PostPreparationIDPieceInternalServerError) IsRedirect() bool
IsRedirect returns true when this post preparation Id piece internal server error response has a 3xx status code
func (*PostPreparationIDPieceInternalServerError) IsServerError ¶
func (o *PostPreparationIDPieceInternalServerError) IsServerError() bool
IsServerError returns true when this post preparation Id piece internal server error response has a 5xx status code
func (*PostPreparationIDPieceInternalServerError) IsSuccess ¶
func (o *PostPreparationIDPieceInternalServerError) IsSuccess() bool
IsSuccess returns true when this post preparation Id piece internal server error response has a 2xx status code
func (*PostPreparationIDPieceInternalServerError) String ¶
func (o *PostPreparationIDPieceInternalServerError) String() string
type PostPreparationIDPieceOK ¶
PostPreparationIDPieceOK describes a response with status code 200, with default header values.
OK
func NewPostPreparationIDPieceOK ¶
func NewPostPreparationIDPieceOK() *PostPreparationIDPieceOK
NewPostPreparationIDPieceOK creates a PostPreparationIDPieceOK with default headers values
func (*PostPreparationIDPieceOK) Code ¶
func (o *PostPreparationIDPieceOK) Code() int
Code gets the status code for the post preparation Id piece o k response
func (*PostPreparationIDPieceOK) Error ¶
func (o *PostPreparationIDPieceOK) Error() string
func (*PostPreparationIDPieceOK) GetPayload ¶
func (o *PostPreparationIDPieceOK) GetPayload() *models.ModelCar
func (*PostPreparationIDPieceOK) IsClientError ¶
func (o *PostPreparationIDPieceOK) IsClientError() bool
IsClientError returns true when this post preparation Id piece o k response has a 4xx status code
func (*PostPreparationIDPieceOK) IsCode ¶
func (o *PostPreparationIDPieceOK) IsCode(code int) bool
IsCode returns true when this post preparation Id piece o k response a status code equal to that given
func (*PostPreparationIDPieceOK) IsRedirect ¶
func (o *PostPreparationIDPieceOK) IsRedirect() bool
IsRedirect returns true when this post preparation Id piece o k response has a 3xx status code
func (*PostPreparationIDPieceOK) IsServerError ¶
func (o *PostPreparationIDPieceOK) IsServerError() bool
IsServerError returns true when this post preparation Id piece o k response has a 5xx status code
func (*PostPreparationIDPieceOK) IsSuccess ¶
func (o *PostPreparationIDPieceOK) IsSuccess() bool
IsSuccess returns true when this post preparation Id piece o k response has a 2xx status code
func (*PostPreparationIDPieceOK) String ¶
func (o *PostPreparationIDPieceOK) String() string
type PostPreparationIDPieceParams ¶
type PostPreparationIDPieceParams struct { /* ID. Preparation ID or name */ ID string /* Request. Piece information */ Request *models.DataprepAddPieceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPreparationIDPieceParams contains all the parameters to send to the API endpoint
for the post preparation ID piece operation. Typically these are written to a http.Request.
func NewPostPreparationIDPieceParams ¶
func NewPostPreparationIDPieceParams() *PostPreparationIDPieceParams
NewPostPreparationIDPieceParams creates a new PostPreparationIDPieceParams 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 NewPostPreparationIDPieceParamsWithContext ¶
func NewPostPreparationIDPieceParamsWithContext(ctx context.Context) *PostPreparationIDPieceParams
NewPostPreparationIDPieceParamsWithContext creates a new PostPreparationIDPieceParams object with the ability to set a context for a request.
func NewPostPreparationIDPieceParamsWithHTTPClient ¶
func NewPostPreparationIDPieceParamsWithHTTPClient(client *http.Client) *PostPreparationIDPieceParams
NewPostPreparationIDPieceParamsWithHTTPClient creates a new PostPreparationIDPieceParams object with the ability to set a custom HTTPClient for a request.
func NewPostPreparationIDPieceParamsWithTimeout ¶
func NewPostPreparationIDPieceParamsWithTimeout(timeout time.Duration) *PostPreparationIDPieceParams
NewPostPreparationIDPieceParamsWithTimeout creates a new PostPreparationIDPieceParams object with the ability to set a timeout on a request.
func (*PostPreparationIDPieceParams) SetContext ¶
func (o *PostPreparationIDPieceParams) SetContext(ctx context.Context)
SetContext adds the context to the post preparation ID piece params
func (*PostPreparationIDPieceParams) SetDefaults ¶
func (o *PostPreparationIDPieceParams) SetDefaults()
SetDefaults hydrates default values in the post preparation ID piece params (not the query body).
All values with no default are reset to their zero value.
func (*PostPreparationIDPieceParams) SetHTTPClient ¶
func (o *PostPreparationIDPieceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post preparation ID piece params
func (*PostPreparationIDPieceParams) SetID ¶
func (o *PostPreparationIDPieceParams) SetID(id string)
SetID adds the id to the post preparation ID piece params
func (*PostPreparationIDPieceParams) SetRequest ¶
func (o *PostPreparationIDPieceParams) SetRequest(request *models.DataprepAddPieceRequest)
SetRequest adds the request to the post preparation ID piece params
func (*PostPreparationIDPieceParams) SetTimeout ¶
func (o *PostPreparationIDPieceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post preparation ID piece params
func (*PostPreparationIDPieceParams) WithContext ¶
func (o *PostPreparationIDPieceParams) WithContext(ctx context.Context) *PostPreparationIDPieceParams
WithContext adds the context to the post preparation ID piece params
func (*PostPreparationIDPieceParams) WithDefaults ¶
func (o *PostPreparationIDPieceParams) WithDefaults() *PostPreparationIDPieceParams
WithDefaults hydrates default values in the post preparation ID piece params (not the query body).
All values with no default are reset to their zero value.
func (*PostPreparationIDPieceParams) WithHTTPClient ¶
func (o *PostPreparationIDPieceParams) WithHTTPClient(client *http.Client) *PostPreparationIDPieceParams
WithHTTPClient adds the HTTPClient to the post preparation ID piece params
func (*PostPreparationIDPieceParams) WithID ¶
func (o *PostPreparationIDPieceParams) WithID(id string) *PostPreparationIDPieceParams
WithID adds the id to the post preparation ID piece params
func (*PostPreparationIDPieceParams) WithRequest ¶
func (o *PostPreparationIDPieceParams) WithRequest(request *models.DataprepAddPieceRequest) *PostPreparationIDPieceParams
WithRequest adds the request to the post preparation ID piece params
func (*PostPreparationIDPieceParams) WithTimeout ¶
func (o *PostPreparationIDPieceParams) WithTimeout(timeout time.Duration) *PostPreparationIDPieceParams
WithTimeout adds the timeout to the post preparation ID piece params
func (*PostPreparationIDPieceParams) WriteToRequest ¶
func (o *PostPreparationIDPieceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPreparationIDPieceReader ¶
type PostPreparationIDPieceReader struct {
// contains filtered or unexported fields
}
PostPreparationIDPieceReader is a Reader for the PostPreparationIDPiece structure.
func (*PostPreparationIDPieceReader) ReadResponse ¶
func (o *PostPreparationIDPieceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.