Documentation ¶
Index ¶
- type AddPieceBadRequest
- func (o *AddPieceBadRequest) Code() int
- func (o *AddPieceBadRequest) Error() string
- func (o *AddPieceBadRequest) GetPayload() *models.APIHTTPError
- func (o *AddPieceBadRequest) IsClientError() bool
- func (o *AddPieceBadRequest) IsCode(code int) bool
- func (o *AddPieceBadRequest) IsRedirect() bool
- func (o *AddPieceBadRequest) IsServerError() bool
- func (o *AddPieceBadRequest) IsSuccess() bool
- func (o *AddPieceBadRequest) String() string
- type AddPieceInternalServerError
- func (o *AddPieceInternalServerError) Code() int
- func (o *AddPieceInternalServerError) Error() string
- func (o *AddPieceInternalServerError) GetPayload() *models.APIHTTPError
- func (o *AddPieceInternalServerError) IsClientError() bool
- func (o *AddPieceInternalServerError) IsCode(code int) bool
- func (o *AddPieceInternalServerError) IsRedirect() bool
- func (o *AddPieceInternalServerError) IsServerError() bool
- func (o *AddPieceInternalServerError) IsSuccess() bool
- func (o *AddPieceInternalServerError) String() string
- type AddPieceOK
- func (o *AddPieceOK) Code() int
- func (o *AddPieceOK) Error() string
- func (o *AddPieceOK) GetPayload() *models.ModelCar
- func (o *AddPieceOK) IsClientError() bool
- func (o *AddPieceOK) IsCode(code int) bool
- func (o *AddPieceOK) IsRedirect() bool
- func (o *AddPieceOK) IsServerError() bool
- func (o *AddPieceOK) IsSuccess() bool
- func (o *AddPieceOK) String() string
- type AddPieceParams
- func (o *AddPieceParams) SetContext(ctx context.Context)
- func (o *AddPieceParams) SetDefaults()
- func (o *AddPieceParams) SetHTTPClient(client *http.Client)
- func (o *AddPieceParams) SetID(id string)
- func (o *AddPieceParams) SetRequest(request *models.DataprepAddPieceRequest)
- func (o *AddPieceParams) SetTimeout(timeout time.Duration)
- func (o *AddPieceParams) WithContext(ctx context.Context) *AddPieceParams
- func (o *AddPieceParams) WithDefaults() *AddPieceParams
- func (o *AddPieceParams) WithHTTPClient(client *http.Client) *AddPieceParams
- func (o *AddPieceParams) WithID(id string) *AddPieceParams
- func (o *AddPieceParams) WithRequest(request *models.DataprepAddPieceRequest) *AddPieceParams
- func (o *AddPieceParams) WithTimeout(timeout time.Duration) *AddPieceParams
- func (o *AddPieceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPieceReader
- type Client
- func (a *Client) AddPiece(params *AddPieceParams, opts ...ClientOption) (*AddPieceOK, error)
- func (a *Client) GetPieceIDMetadata(params *GetPieceIDMetadataParams, opts ...ClientOption) (*GetPieceIDMetadataOK, error)
- func (a *Client) ListPieces(params *ListPiecesParams, opts ...ClientOption) (*ListPiecesOK, 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 ListPiecesBadRequest
- func (o *ListPiecesBadRequest) Code() int
- func (o *ListPiecesBadRequest) Error() string
- func (o *ListPiecesBadRequest) GetPayload() *models.APIHTTPError
- func (o *ListPiecesBadRequest) IsClientError() bool
- func (o *ListPiecesBadRequest) IsCode(code int) bool
- func (o *ListPiecesBadRequest) IsRedirect() bool
- func (o *ListPiecesBadRequest) IsServerError() bool
- func (o *ListPiecesBadRequest) IsSuccess() bool
- func (o *ListPiecesBadRequest) String() string
- type ListPiecesInternalServerError
- func (o *ListPiecesInternalServerError) Code() int
- func (o *ListPiecesInternalServerError) Error() string
- func (o *ListPiecesInternalServerError) GetPayload() *models.APIHTTPError
- func (o *ListPiecesInternalServerError) IsClientError() bool
- func (o *ListPiecesInternalServerError) IsCode(code int) bool
- func (o *ListPiecesInternalServerError) IsRedirect() bool
- func (o *ListPiecesInternalServerError) IsServerError() bool
- func (o *ListPiecesInternalServerError) IsSuccess() bool
- func (o *ListPiecesInternalServerError) String() string
- type ListPiecesOK
- func (o *ListPiecesOK) Code() int
- func (o *ListPiecesOK) Error() string
- func (o *ListPiecesOK) GetPayload() []*models.DataprepPieceList
- func (o *ListPiecesOK) IsClientError() bool
- func (o *ListPiecesOK) IsCode(code int) bool
- func (o *ListPiecesOK) IsRedirect() bool
- func (o *ListPiecesOK) IsServerError() bool
- func (o *ListPiecesOK) IsSuccess() bool
- func (o *ListPiecesOK) String() string
- type ListPiecesParams
- func (o *ListPiecesParams) SetContext(ctx context.Context)
- func (o *ListPiecesParams) SetDefaults()
- func (o *ListPiecesParams) SetHTTPClient(client *http.Client)
- func (o *ListPiecesParams) SetID(id string)
- func (o *ListPiecesParams) SetTimeout(timeout time.Duration)
- func (o *ListPiecesParams) WithContext(ctx context.Context) *ListPiecesParams
- func (o *ListPiecesParams) WithDefaults() *ListPiecesParams
- func (o *ListPiecesParams) WithHTTPClient(client *http.Client) *ListPiecesParams
- func (o *ListPiecesParams) WithID(id string) *ListPiecesParams
- func (o *ListPiecesParams) WithTimeout(timeout time.Duration) *ListPiecesParams
- func (o *ListPiecesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPiecesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPieceBadRequest ¶ added in v0.4.1
type AddPieceBadRequest struct {
Payload *models.APIHTTPError
}
AddPieceBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAddPieceBadRequest ¶ added in v0.4.1
func NewAddPieceBadRequest() *AddPieceBadRequest
NewAddPieceBadRequest creates a AddPieceBadRequest with default headers values
func (*AddPieceBadRequest) Code ¶ added in v0.4.1
func (o *AddPieceBadRequest) Code() int
Code gets the status code for the add piece bad request response
func (*AddPieceBadRequest) Error ¶ added in v0.4.1
func (o *AddPieceBadRequest) Error() string
func (*AddPieceBadRequest) GetPayload ¶ added in v0.4.1
func (o *AddPieceBadRequest) GetPayload() *models.APIHTTPError
func (*AddPieceBadRequest) IsClientError ¶ added in v0.4.1
func (o *AddPieceBadRequest) IsClientError() bool
IsClientError returns true when this add piece bad request response has a 4xx status code
func (*AddPieceBadRequest) IsCode ¶ added in v0.4.1
func (o *AddPieceBadRequest) IsCode(code int) bool
IsCode returns true when this add piece bad request response a status code equal to that given
func (*AddPieceBadRequest) IsRedirect ¶ added in v0.4.1
func (o *AddPieceBadRequest) IsRedirect() bool
IsRedirect returns true when this add piece bad request response has a 3xx status code
func (*AddPieceBadRequest) IsServerError ¶ added in v0.4.1
func (o *AddPieceBadRequest) IsServerError() bool
IsServerError returns true when this add piece bad request response has a 5xx status code
func (*AddPieceBadRequest) IsSuccess ¶ added in v0.4.1
func (o *AddPieceBadRequest) IsSuccess() bool
IsSuccess returns true when this add piece bad request response has a 2xx status code
func (*AddPieceBadRequest) String ¶ added in v0.4.1
func (o *AddPieceBadRequest) String() string
type AddPieceInternalServerError ¶ added in v0.4.1
type AddPieceInternalServerError struct {
Payload *models.APIHTTPError
}
AddPieceInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewAddPieceInternalServerError ¶ added in v0.4.1
func NewAddPieceInternalServerError() *AddPieceInternalServerError
NewAddPieceInternalServerError creates a AddPieceInternalServerError with default headers values
func (*AddPieceInternalServerError) Code ¶ added in v0.4.1
func (o *AddPieceInternalServerError) Code() int
Code gets the status code for the add piece internal server error response
func (*AddPieceInternalServerError) Error ¶ added in v0.4.1
func (o *AddPieceInternalServerError) Error() string
func (*AddPieceInternalServerError) GetPayload ¶ added in v0.4.1
func (o *AddPieceInternalServerError) GetPayload() *models.APIHTTPError
func (*AddPieceInternalServerError) IsClientError ¶ added in v0.4.1
func (o *AddPieceInternalServerError) IsClientError() bool
IsClientError returns true when this add piece internal server error response has a 4xx status code
func (*AddPieceInternalServerError) IsCode ¶ added in v0.4.1
func (o *AddPieceInternalServerError) IsCode(code int) bool
IsCode returns true when this add piece internal server error response a status code equal to that given
func (*AddPieceInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *AddPieceInternalServerError) IsRedirect() bool
IsRedirect returns true when this add piece internal server error response has a 3xx status code
func (*AddPieceInternalServerError) IsServerError ¶ added in v0.4.1
func (o *AddPieceInternalServerError) IsServerError() bool
IsServerError returns true when this add piece internal server error response has a 5xx status code
func (*AddPieceInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *AddPieceInternalServerError) IsSuccess() bool
IsSuccess returns true when this add piece internal server error response has a 2xx status code
func (*AddPieceInternalServerError) String ¶ added in v0.4.1
func (o *AddPieceInternalServerError) String() string
type AddPieceOK ¶ added in v0.4.1
AddPieceOK describes a response with status code 200, with default header values.
OK
func NewAddPieceOK ¶ added in v0.4.1
func NewAddPieceOK() *AddPieceOK
NewAddPieceOK creates a AddPieceOK with default headers values
func (*AddPieceOK) Code ¶ added in v0.4.1
func (o *AddPieceOK) Code() int
Code gets the status code for the add piece o k response
func (*AddPieceOK) Error ¶ added in v0.4.1
func (o *AddPieceOK) Error() string
func (*AddPieceOK) GetPayload ¶ added in v0.4.1
func (o *AddPieceOK) GetPayload() *models.ModelCar
func (*AddPieceOK) IsClientError ¶ added in v0.4.1
func (o *AddPieceOK) IsClientError() bool
IsClientError returns true when this add piece o k response has a 4xx status code
func (*AddPieceOK) IsCode ¶ added in v0.4.1
func (o *AddPieceOK) IsCode(code int) bool
IsCode returns true when this add piece o k response a status code equal to that given
func (*AddPieceOK) IsRedirect ¶ added in v0.4.1
func (o *AddPieceOK) IsRedirect() bool
IsRedirect returns true when this add piece o k response has a 3xx status code
func (*AddPieceOK) IsServerError ¶ added in v0.4.1
func (o *AddPieceOK) IsServerError() bool
IsServerError returns true when this add piece o k response has a 5xx status code
func (*AddPieceOK) IsSuccess ¶ added in v0.4.1
func (o *AddPieceOK) IsSuccess() bool
IsSuccess returns true when this add piece o k response has a 2xx status code
func (*AddPieceOK) String ¶ added in v0.4.1
func (o *AddPieceOK) String() string
type AddPieceParams ¶ added in v0.4.1
type AddPieceParams 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 }
AddPieceParams contains all the parameters to send to the API endpoint
for the add piece operation. Typically these are written to a http.Request.
func NewAddPieceParams ¶ added in v0.4.1
func NewAddPieceParams() *AddPieceParams
NewAddPieceParams creates a new AddPieceParams 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 NewAddPieceParamsWithContext ¶ added in v0.4.1
func NewAddPieceParamsWithContext(ctx context.Context) *AddPieceParams
NewAddPieceParamsWithContext creates a new AddPieceParams object with the ability to set a context for a request.
func NewAddPieceParamsWithHTTPClient ¶ added in v0.4.1
func NewAddPieceParamsWithHTTPClient(client *http.Client) *AddPieceParams
NewAddPieceParamsWithHTTPClient creates a new AddPieceParams object with the ability to set a custom HTTPClient for a request.
func NewAddPieceParamsWithTimeout ¶ added in v0.4.1
func NewAddPieceParamsWithTimeout(timeout time.Duration) *AddPieceParams
NewAddPieceParamsWithTimeout creates a new AddPieceParams object with the ability to set a timeout on a request.
func (*AddPieceParams) SetContext ¶ added in v0.4.1
func (o *AddPieceParams) SetContext(ctx context.Context)
SetContext adds the context to the add piece params
func (*AddPieceParams) SetDefaults ¶ added in v0.4.1
func (o *AddPieceParams) SetDefaults()
SetDefaults hydrates default values in the add piece params (not the query body).
All values with no default are reset to their zero value.
func (*AddPieceParams) SetHTTPClient ¶ added in v0.4.1
func (o *AddPieceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add piece params
func (*AddPieceParams) SetID ¶ added in v0.4.1
func (o *AddPieceParams) SetID(id string)
SetID adds the id to the add piece params
func (*AddPieceParams) SetRequest ¶ added in v0.4.1
func (o *AddPieceParams) SetRequest(request *models.DataprepAddPieceRequest)
SetRequest adds the request to the add piece params
func (*AddPieceParams) SetTimeout ¶ added in v0.4.1
func (o *AddPieceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add piece params
func (*AddPieceParams) WithContext ¶ added in v0.4.1
func (o *AddPieceParams) WithContext(ctx context.Context) *AddPieceParams
WithContext adds the context to the add piece params
func (*AddPieceParams) WithDefaults ¶ added in v0.4.1
func (o *AddPieceParams) WithDefaults() *AddPieceParams
WithDefaults hydrates default values in the add piece params (not the query body).
All values with no default are reset to their zero value.
func (*AddPieceParams) WithHTTPClient ¶ added in v0.4.1
func (o *AddPieceParams) WithHTTPClient(client *http.Client) *AddPieceParams
WithHTTPClient adds the HTTPClient to the add piece params
func (*AddPieceParams) WithID ¶ added in v0.4.1
func (o *AddPieceParams) WithID(id string) *AddPieceParams
WithID adds the id to the add piece params
func (*AddPieceParams) WithRequest ¶ added in v0.4.1
func (o *AddPieceParams) WithRequest(request *models.DataprepAddPieceRequest) *AddPieceParams
WithRequest adds the request to the add piece params
func (*AddPieceParams) WithTimeout ¶ added in v0.4.1
func (o *AddPieceParams) WithTimeout(timeout time.Duration) *AddPieceParams
WithTimeout adds the timeout to the add piece params
func (*AddPieceParams) WriteToRequest ¶ added in v0.4.1
func (o *AddPieceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddPieceReader ¶ added in v0.4.1
type AddPieceReader struct {
// contains filtered or unexported fields
}
AddPieceReader is a Reader for the AddPiece structure.
func (*AddPieceReader) ReadResponse ¶ added in v0.4.1
func (o *AddPieceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for piece API
func (*Client) AddPiece ¶ added in v0.4.1
func (a *Client) AddPiece(params *AddPieceParams, opts ...ClientOption) (*AddPieceOK, error)
AddPiece adds a piece to a preparation
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) ListPieces ¶ added in v0.4.1
func (a *Client) ListPieces(params *ListPiecesParams, opts ...ClientOption) (*ListPiecesOK, error)
ListPieces lists all prepared pieces for 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 { AddPiece(params *AddPieceParams, opts ...ClientOption) (*AddPieceOK, error) GetPieceIDMetadata(params *GetPieceIDMetadataParams, opts ...ClientOption) (*GetPieceIDMetadataOK, error) ListPieces(params *ListPiecesParams, opts ...ClientOption) (*ListPiecesOK, 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 ListPiecesBadRequest ¶ added in v0.4.1
type ListPiecesBadRequest struct {
Payload *models.APIHTTPError
}
ListPiecesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListPiecesBadRequest ¶ added in v0.4.1
func NewListPiecesBadRequest() *ListPiecesBadRequest
NewListPiecesBadRequest creates a ListPiecesBadRequest with default headers values
func (*ListPiecesBadRequest) Code ¶ added in v0.4.1
func (o *ListPiecesBadRequest) Code() int
Code gets the status code for the list pieces bad request response
func (*ListPiecesBadRequest) Error ¶ added in v0.4.1
func (o *ListPiecesBadRequest) Error() string
func (*ListPiecesBadRequest) GetPayload ¶ added in v0.4.1
func (o *ListPiecesBadRequest) GetPayload() *models.APIHTTPError
func (*ListPiecesBadRequest) IsClientError ¶ added in v0.4.1
func (o *ListPiecesBadRequest) IsClientError() bool
IsClientError returns true when this list pieces bad request response has a 4xx status code
func (*ListPiecesBadRequest) IsCode ¶ added in v0.4.1
func (o *ListPiecesBadRequest) IsCode(code int) bool
IsCode returns true when this list pieces bad request response a status code equal to that given
func (*ListPiecesBadRequest) IsRedirect ¶ added in v0.4.1
func (o *ListPiecesBadRequest) IsRedirect() bool
IsRedirect returns true when this list pieces bad request response has a 3xx status code
func (*ListPiecesBadRequest) IsServerError ¶ added in v0.4.1
func (o *ListPiecesBadRequest) IsServerError() bool
IsServerError returns true when this list pieces bad request response has a 5xx status code
func (*ListPiecesBadRequest) IsSuccess ¶ added in v0.4.1
func (o *ListPiecesBadRequest) IsSuccess() bool
IsSuccess returns true when this list pieces bad request response has a 2xx status code
func (*ListPiecesBadRequest) String ¶ added in v0.4.1
func (o *ListPiecesBadRequest) String() string
type ListPiecesInternalServerError ¶ added in v0.4.1
type ListPiecesInternalServerError struct {
Payload *models.APIHTTPError
}
ListPiecesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewListPiecesInternalServerError ¶ added in v0.4.1
func NewListPiecesInternalServerError() *ListPiecesInternalServerError
NewListPiecesInternalServerError creates a ListPiecesInternalServerError with default headers values
func (*ListPiecesInternalServerError) Code ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) Code() int
Code gets the status code for the list pieces internal server error response
func (*ListPiecesInternalServerError) Error ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) Error() string
func (*ListPiecesInternalServerError) GetPayload ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) GetPayload() *models.APIHTTPError
func (*ListPiecesInternalServerError) IsClientError ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) IsClientError() bool
IsClientError returns true when this list pieces internal server error response has a 4xx status code
func (*ListPiecesInternalServerError) IsCode ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) IsCode(code int) bool
IsCode returns true when this list pieces internal server error response a status code equal to that given
func (*ListPiecesInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list pieces internal server error response has a 3xx status code
func (*ListPiecesInternalServerError) IsServerError ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) IsServerError() bool
IsServerError returns true when this list pieces internal server error response has a 5xx status code
func (*ListPiecesInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list pieces internal server error response has a 2xx status code
func (*ListPiecesInternalServerError) String ¶ added in v0.4.1
func (o *ListPiecesInternalServerError) String() string
type ListPiecesOK ¶ added in v0.4.1
type ListPiecesOK struct {
Payload []*models.DataprepPieceList
}
ListPiecesOK describes a response with status code 200, with default header values.
OK
func NewListPiecesOK ¶ added in v0.4.1
func NewListPiecesOK() *ListPiecesOK
NewListPiecesOK creates a ListPiecesOK with default headers values
func (*ListPiecesOK) Code ¶ added in v0.4.1
func (o *ListPiecesOK) Code() int
Code gets the status code for the list pieces o k response
func (*ListPiecesOK) Error ¶ added in v0.4.1
func (o *ListPiecesOK) Error() string
func (*ListPiecesOK) GetPayload ¶ added in v0.4.1
func (o *ListPiecesOK) GetPayload() []*models.DataprepPieceList
func (*ListPiecesOK) IsClientError ¶ added in v0.4.1
func (o *ListPiecesOK) IsClientError() bool
IsClientError returns true when this list pieces o k response has a 4xx status code
func (*ListPiecesOK) IsCode ¶ added in v0.4.1
func (o *ListPiecesOK) IsCode(code int) bool
IsCode returns true when this list pieces o k response a status code equal to that given
func (*ListPiecesOK) IsRedirect ¶ added in v0.4.1
func (o *ListPiecesOK) IsRedirect() bool
IsRedirect returns true when this list pieces o k response has a 3xx status code
func (*ListPiecesOK) IsServerError ¶ added in v0.4.1
func (o *ListPiecesOK) IsServerError() bool
IsServerError returns true when this list pieces o k response has a 5xx status code
func (*ListPiecesOK) IsSuccess ¶ added in v0.4.1
func (o *ListPiecesOK) IsSuccess() bool
IsSuccess returns true when this list pieces o k response has a 2xx status code
func (*ListPiecesOK) String ¶ added in v0.4.1
func (o *ListPiecesOK) String() string
type ListPiecesParams ¶ added in v0.4.1
type ListPiecesParams struct { /* ID. Preparation ID or name */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPiecesParams contains all the parameters to send to the API endpoint
for the list pieces operation. Typically these are written to a http.Request.
func NewListPiecesParams ¶ added in v0.4.1
func NewListPiecesParams() *ListPiecesParams
NewListPiecesParams creates a new ListPiecesParams 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 NewListPiecesParamsWithContext ¶ added in v0.4.1
func NewListPiecesParamsWithContext(ctx context.Context) *ListPiecesParams
NewListPiecesParamsWithContext creates a new ListPiecesParams object with the ability to set a context for a request.
func NewListPiecesParamsWithHTTPClient ¶ added in v0.4.1
func NewListPiecesParamsWithHTTPClient(client *http.Client) *ListPiecesParams
NewListPiecesParamsWithHTTPClient creates a new ListPiecesParams object with the ability to set a custom HTTPClient for a request.
func NewListPiecesParamsWithTimeout ¶ added in v0.4.1
func NewListPiecesParamsWithTimeout(timeout time.Duration) *ListPiecesParams
NewListPiecesParamsWithTimeout creates a new ListPiecesParams object with the ability to set a timeout on a request.
func (*ListPiecesParams) SetContext ¶ added in v0.4.1
func (o *ListPiecesParams) SetContext(ctx context.Context)
SetContext adds the context to the list pieces params
func (*ListPiecesParams) SetDefaults ¶ added in v0.4.1
func (o *ListPiecesParams) SetDefaults()
SetDefaults hydrates default values in the list pieces params (not the query body).
All values with no default are reset to their zero value.
func (*ListPiecesParams) SetHTTPClient ¶ added in v0.4.1
func (o *ListPiecesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list pieces params
func (*ListPiecesParams) SetID ¶ added in v0.4.1
func (o *ListPiecesParams) SetID(id string)
SetID adds the id to the list pieces params
func (*ListPiecesParams) SetTimeout ¶ added in v0.4.1
func (o *ListPiecesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list pieces params
func (*ListPiecesParams) WithContext ¶ added in v0.4.1
func (o *ListPiecesParams) WithContext(ctx context.Context) *ListPiecesParams
WithContext adds the context to the list pieces params
func (*ListPiecesParams) WithDefaults ¶ added in v0.4.1
func (o *ListPiecesParams) WithDefaults() *ListPiecesParams
WithDefaults hydrates default values in the list pieces params (not the query body).
All values with no default are reset to their zero value.
func (*ListPiecesParams) WithHTTPClient ¶ added in v0.4.1
func (o *ListPiecesParams) WithHTTPClient(client *http.Client) *ListPiecesParams
WithHTTPClient adds the HTTPClient to the list pieces params
func (*ListPiecesParams) WithID ¶ added in v0.4.1
func (o *ListPiecesParams) WithID(id string) *ListPiecesParams
WithID adds the id to the list pieces params
func (*ListPiecesParams) WithTimeout ¶ added in v0.4.1
func (o *ListPiecesParams) WithTimeout(timeout time.Duration) *ListPiecesParams
WithTimeout adds the timeout to the list pieces params
func (*ListPiecesParams) WriteToRequest ¶ added in v0.4.1
func (o *ListPiecesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPiecesReader ¶ added in v0.4.1
type ListPiecesReader struct {
// contains filtered or unexported fields
}
ListPiecesReader is a Reader for the ListPieces structure.
func (*ListPiecesReader) ReadResponse ¶ added in v0.4.1
func (o *ListPiecesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.