Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudVolumeOnboardingGet(params *PcloudVolumeOnboardingGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudVolumeOnboardingGetOK, error)
- func (a *Client) PcloudVolumeOnboardingGetall(params *PcloudVolumeOnboardingGetallParams, ...) (*PcloudVolumeOnboardingGetallOK, error)
- func (a *Client) PcloudVolumeOnboardingPost(params *PcloudVolumeOnboardingPostParams, ...) (*PcloudVolumeOnboardingPostAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudVolumeOnboardingGetBadRequest
- func (o *PcloudVolumeOnboardingGetBadRequest) Code() int
- func (o *PcloudVolumeOnboardingGetBadRequest) Error() string
- func (o *PcloudVolumeOnboardingGetBadRequest) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetBadRequest) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetBadRequest) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetBadRequest) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetBadRequest) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetBadRequest) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetBadRequest) String() string
- type PcloudVolumeOnboardingGetForbidden
- func (o *PcloudVolumeOnboardingGetForbidden) Code() int
- func (o *PcloudVolumeOnboardingGetForbidden) Error() string
- func (o *PcloudVolumeOnboardingGetForbidden) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetForbidden) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetForbidden) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetForbidden) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetForbidden) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetForbidden) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetForbidden) String() string
- type PcloudVolumeOnboardingGetInternalServerError
- func (o *PcloudVolumeOnboardingGetInternalServerError) Code() int
- func (o *PcloudVolumeOnboardingGetInternalServerError) Error() string
- func (o *PcloudVolumeOnboardingGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetInternalServerError) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetInternalServerError) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetInternalServerError) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetInternalServerError) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetInternalServerError) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetInternalServerError) String() string
- type PcloudVolumeOnboardingGetNotFound
- func (o *PcloudVolumeOnboardingGetNotFound) Code() int
- func (o *PcloudVolumeOnboardingGetNotFound) Error() string
- func (o *PcloudVolumeOnboardingGetNotFound) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetNotFound) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetNotFound) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetNotFound) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetNotFound) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetNotFound) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetNotFound) String() string
- type PcloudVolumeOnboardingGetOK
- func (o *PcloudVolumeOnboardingGetOK) Code() int
- func (o *PcloudVolumeOnboardingGetOK) Error() string
- func (o *PcloudVolumeOnboardingGetOK) GetPayload() *models.VolumeOnboarding
- func (o *PcloudVolumeOnboardingGetOK) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetOK) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetOK) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetOK) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetOK) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetOK) String() string
- type PcloudVolumeOnboardingGetParams
- func NewPcloudVolumeOnboardingGetParams() *PcloudVolumeOnboardingGetParams
- func NewPcloudVolumeOnboardingGetParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetParams
- func NewPcloudVolumeOnboardingGetParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetParams
- func NewPcloudVolumeOnboardingGetParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetParams
- func (o *PcloudVolumeOnboardingGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumeOnboardingGetParams) SetContext(ctx context.Context)
- func (o *PcloudVolumeOnboardingGetParams) SetDefaults()
- func (o *PcloudVolumeOnboardingGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumeOnboardingGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumeOnboardingGetParams) SetVolumeOnboardingID(volumeOnboardingID string)
- func (o *PcloudVolumeOnboardingGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingGetParams
- func (o *PcloudVolumeOnboardingGetParams) WithContext(ctx context.Context) *PcloudVolumeOnboardingGetParams
- func (o *PcloudVolumeOnboardingGetParams) WithDefaults() *PcloudVolumeOnboardingGetParams
- func (o *PcloudVolumeOnboardingGetParams) WithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetParams
- func (o *PcloudVolumeOnboardingGetParams) WithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetParams
- func (o *PcloudVolumeOnboardingGetParams) WithVolumeOnboardingID(volumeOnboardingID string) *PcloudVolumeOnboardingGetParams
- func (o *PcloudVolumeOnboardingGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumeOnboardingGetReader
- type PcloudVolumeOnboardingGetUnauthorized
- func (o *PcloudVolumeOnboardingGetUnauthorized) Code() int
- func (o *PcloudVolumeOnboardingGetUnauthorized) Error() string
- func (o *PcloudVolumeOnboardingGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetUnauthorized) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetUnauthorized) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetUnauthorized) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetUnauthorized) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetUnauthorized) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetUnauthorized) String() string
- type PcloudVolumeOnboardingGetallBadRequest
- func (o *PcloudVolumeOnboardingGetallBadRequest) Code() int
- func (o *PcloudVolumeOnboardingGetallBadRequest) Error() string
- func (o *PcloudVolumeOnboardingGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetallBadRequest) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetallBadRequest) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetallBadRequest) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetallBadRequest) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetallBadRequest) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetallBadRequest) String() string
- type PcloudVolumeOnboardingGetallForbidden
- func (o *PcloudVolumeOnboardingGetallForbidden) Code() int
- func (o *PcloudVolumeOnboardingGetallForbidden) Error() string
- func (o *PcloudVolumeOnboardingGetallForbidden) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetallForbidden) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetallForbidden) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetallForbidden) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetallForbidden) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetallForbidden) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetallForbidden) String() string
- type PcloudVolumeOnboardingGetallInternalServerError
- func (o *PcloudVolumeOnboardingGetallInternalServerError) Code() int
- func (o *PcloudVolumeOnboardingGetallInternalServerError) Error() string
- func (o *PcloudVolumeOnboardingGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetallInternalServerError) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetallInternalServerError) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetallInternalServerError) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetallInternalServerError) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetallInternalServerError) String() string
- type PcloudVolumeOnboardingGetallOK
- func (o *PcloudVolumeOnboardingGetallOK) Code() int
- func (o *PcloudVolumeOnboardingGetallOK) Error() string
- func (o *PcloudVolumeOnboardingGetallOK) GetPayload() *models.VolumeOnboardings
- func (o *PcloudVolumeOnboardingGetallOK) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetallOK) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetallOK) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetallOK) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetallOK) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetallOK) String() string
- type PcloudVolumeOnboardingGetallParams
- func NewPcloudVolumeOnboardingGetallParams() *PcloudVolumeOnboardingGetallParams
- func NewPcloudVolumeOnboardingGetallParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetallParams
- func NewPcloudVolumeOnboardingGetallParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetallParams
- func NewPcloudVolumeOnboardingGetallParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetallParams
- func (o *PcloudVolumeOnboardingGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumeOnboardingGetallParams) SetContext(ctx context.Context)
- func (o *PcloudVolumeOnboardingGetallParams) SetDefaults()
- func (o *PcloudVolumeOnboardingGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumeOnboardingGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumeOnboardingGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingGetallParams
- func (o *PcloudVolumeOnboardingGetallParams) WithContext(ctx context.Context) *PcloudVolumeOnboardingGetallParams
- func (o *PcloudVolumeOnboardingGetallParams) WithDefaults() *PcloudVolumeOnboardingGetallParams
- func (o *PcloudVolumeOnboardingGetallParams) WithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetallParams
- func (o *PcloudVolumeOnboardingGetallParams) WithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetallParams
- func (o *PcloudVolumeOnboardingGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumeOnboardingGetallReader
- type PcloudVolumeOnboardingGetallUnauthorized
- func (o *PcloudVolumeOnboardingGetallUnauthorized) Code() int
- func (o *PcloudVolumeOnboardingGetallUnauthorized) Error() string
- func (o *PcloudVolumeOnboardingGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingGetallUnauthorized) IsClientError() bool
- func (o *PcloudVolumeOnboardingGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingGetallUnauthorized) IsRedirect() bool
- func (o *PcloudVolumeOnboardingGetallUnauthorized) IsServerError() bool
- func (o *PcloudVolumeOnboardingGetallUnauthorized) IsSuccess() bool
- func (o *PcloudVolumeOnboardingGetallUnauthorized) String() string
- type PcloudVolumeOnboardingPostAccepted
- func (o *PcloudVolumeOnboardingPostAccepted) Code() int
- func (o *PcloudVolumeOnboardingPostAccepted) Error() string
- func (o *PcloudVolumeOnboardingPostAccepted) GetPayload() *models.VolumeOnboardingCreateResponse
- func (o *PcloudVolumeOnboardingPostAccepted) IsClientError() bool
- func (o *PcloudVolumeOnboardingPostAccepted) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingPostAccepted) IsRedirect() bool
- func (o *PcloudVolumeOnboardingPostAccepted) IsServerError() bool
- func (o *PcloudVolumeOnboardingPostAccepted) IsSuccess() bool
- func (o *PcloudVolumeOnboardingPostAccepted) String() string
- type PcloudVolumeOnboardingPostBadRequest
- func (o *PcloudVolumeOnboardingPostBadRequest) Code() int
- func (o *PcloudVolumeOnboardingPostBadRequest) Error() string
- func (o *PcloudVolumeOnboardingPostBadRequest) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingPostBadRequest) IsClientError() bool
- func (o *PcloudVolumeOnboardingPostBadRequest) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingPostBadRequest) IsRedirect() bool
- func (o *PcloudVolumeOnboardingPostBadRequest) IsServerError() bool
- func (o *PcloudVolumeOnboardingPostBadRequest) IsSuccess() bool
- func (o *PcloudVolumeOnboardingPostBadRequest) String() string
- type PcloudVolumeOnboardingPostConflict
- func (o *PcloudVolumeOnboardingPostConflict) Code() int
- func (o *PcloudVolumeOnboardingPostConflict) Error() string
- func (o *PcloudVolumeOnboardingPostConflict) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingPostConflict) IsClientError() bool
- func (o *PcloudVolumeOnboardingPostConflict) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingPostConflict) IsRedirect() bool
- func (o *PcloudVolumeOnboardingPostConflict) IsServerError() bool
- func (o *PcloudVolumeOnboardingPostConflict) IsSuccess() bool
- func (o *PcloudVolumeOnboardingPostConflict) String() string
- type PcloudVolumeOnboardingPostForbidden
- func (o *PcloudVolumeOnboardingPostForbidden) Code() int
- func (o *PcloudVolumeOnboardingPostForbidden) Error() string
- func (o *PcloudVolumeOnboardingPostForbidden) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingPostForbidden) IsClientError() bool
- func (o *PcloudVolumeOnboardingPostForbidden) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingPostForbidden) IsRedirect() bool
- func (o *PcloudVolumeOnboardingPostForbidden) IsServerError() bool
- func (o *PcloudVolumeOnboardingPostForbidden) IsSuccess() bool
- func (o *PcloudVolumeOnboardingPostForbidden) String() string
- type PcloudVolumeOnboardingPostInternalServerError
- func (o *PcloudVolumeOnboardingPostInternalServerError) Code() int
- func (o *PcloudVolumeOnboardingPostInternalServerError) Error() string
- func (o *PcloudVolumeOnboardingPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingPostInternalServerError) IsClientError() bool
- func (o *PcloudVolumeOnboardingPostInternalServerError) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingPostInternalServerError) IsRedirect() bool
- func (o *PcloudVolumeOnboardingPostInternalServerError) IsServerError() bool
- func (o *PcloudVolumeOnboardingPostInternalServerError) IsSuccess() bool
- func (o *PcloudVolumeOnboardingPostInternalServerError) String() string
- type PcloudVolumeOnboardingPostParams
- func NewPcloudVolumeOnboardingPostParams() *PcloudVolumeOnboardingPostParams
- func NewPcloudVolumeOnboardingPostParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingPostParams
- func NewPcloudVolumeOnboardingPostParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingPostParams
- func NewPcloudVolumeOnboardingPostParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingPostParams
- func (o *PcloudVolumeOnboardingPostParams) SetBody(body *models.VolumeOnboardingCreate)
- func (o *PcloudVolumeOnboardingPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudVolumeOnboardingPostParams) SetContext(ctx context.Context)
- func (o *PcloudVolumeOnboardingPostParams) SetDefaults()
- func (o *PcloudVolumeOnboardingPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudVolumeOnboardingPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudVolumeOnboardingPostParams) WithBody(body *models.VolumeOnboardingCreate) *PcloudVolumeOnboardingPostParams
- func (o *PcloudVolumeOnboardingPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingPostParams
- func (o *PcloudVolumeOnboardingPostParams) WithContext(ctx context.Context) *PcloudVolumeOnboardingPostParams
- func (o *PcloudVolumeOnboardingPostParams) WithDefaults() *PcloudVolumeOnboardingPostParams
- func (o *PcloudVolumeOnboardingPostParams) WithHTTPClient(client *http.Client) *PcloudVolumeOnboardingPostParams
- func (o *PcloudVolumeOnboardingPostParams) WithTimeout(timeout time.Duration) *PcloudVolumeOnboardingPostParams
- func (o *PcloudVolumeOnboardingPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudVolumeOnboardingPostReader
- type PcloudVolumeOnboardingPostUnauthorized
- func (o *PcloudVolumeOnboardingPostUnauthorized) Code() int
- func (o *PcloudVolumeOnboardingPostUnauthorized) Error() string
- func (o *PcloudVolumeOnboardingPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudVolumeOnboardingPostUnauthorized) IsClientError() bool
- func (o *PcloudVolumeOnboardingPostUnauthorized) IsCode(code int) bool
- func (o *PcloudVolumeOnboardingPostUnauthorized) IsRedirect() bool
- func (o *PcloudVolumeOnboardingPostUnauthorized) IsServerError() bool
- func (o *PcloudVolumeOnboardingPostUnauthorized) IsSuccess() bool
- func (o *PcloudVolumeOnboardingPostUnauthorized) String() string
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 p cloud volume onboarding API
func (*Client) PcloudVolumeOnboardingGet ¶
func (a *Client) PcloudVolumeOnboardingGet(params *PcloudVolumeOnboardingGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetOK, error)
PcloudVolumeOnboardingGet gets the information of volume onboarding operation
func (*Client) PcloudVolumeOnboardingGetall ¶
func (a *Client) PcloudVolumeOnboardingGetall(params *PcloudVolumeOnboardingGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetallOK, error)
PcloudVolumeOnboardingGetall lists all volume onboardings for this cloud instance
func (*Client) PcloudVolumeOnboardingPost ¶ added in v1.1.10
func (a *Client) PcloudVolumeOnboardingPost(params *PcloudVolumeOnboardingPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingPostAccepted, error)
PcloudVolumeOnboardingPost onboards auxiliary volumes to target site
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 { PcloudVolumeOnboardingGet(params *PcloudVolumeOnboardingGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetOK, error) PcloudVolumeOnboardingGetall(params *PcloudVolumeOnboardingGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetallOK, error) PcloudVolumeOnboardingPost(params *PcloudVolumeOnboardingPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingPostAccepted, 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 p cloud volume onboarding API client.
type PcloudVolumeOnboardingGetBadRequest ¶
PcloudVolumeOnboardingGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumeOnboardingGetBadRequest ¶
func NewPcloudVolumeOnboardingGetBadRequest() *PcloudVolumeOnboardingGetBadRequest
NewPcloudVolumeOnboardingGetBadRequest creates a PcloudVolumeOnboardingGetBadRequest with default headers values
func (*PcloudVolumeOnboardingGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetBadRequest) Code() int
Code gets the status code for the pcloud volume onboarding get bad request response
func (*PcloudVolumeOnboardingGetBadRequest) Error ¶
func (o *PcloudVolumeOnboardingGetBadRequest) Error() string
func (*PcloudVolumeOnboardingGetBadRequest) GetPayload ¶
func (o *PcloudVolumeOnboardingGetBadRequest) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding get bad request response has a 4xx status code
func (*PcloudVolumeOnboardingGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding get bad request response a status code equal to that given
func (*PcloudVolumeOnboardingGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding get bad request response has a 3xx status code
func (*PcloudVolumeOnboardingGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding get bad request response has a 5xx status code
func (*PcloudVolumeOnboardingGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding get bad request response has a 2xx status code
func (*PcloudVolumeOnboardingGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetBadRequest) String() string
type PcloudVolumeOnboardingGetForbidden ¶ added in v1.2.2
PcloudVolumeOnboardingGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudVolumeOnboardingGetForbidden ¶ added in v1.2.2
func NewPcloudVolumeOnboardingGetForbidden() *PcloudVolumeOnboardingGetForbidden
NewPcloudVolumeOnboardingGetForbidden creates a PcloudVolumeOnboardingGetForbidden with default headers values
func (*PcloudVolumeOnboardingGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetForbidden) Code() int
Code gets the status code for the pcloud volume onboarding get forbidden response
func (*PcloudVolumeOnboardingGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) Error() string
func (*PcloudVolumeOnboardingGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding get forbidden response has a 4xx status code
func (*PcloudVolumeOnboardingGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding get forbidden response a status code equal to that given
func (*PcloudVolumeOnboardingGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding get forbidden response has a 3xx status code
func (*PcloudVolumeOnboardingGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding get forbidden response has a 5xx status code
func (*PcloudVolumeOnboardingGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding get forbidden response has a 2xx status code
func (*PcloudVolumeOnboardingGetForbidden) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetForbidden) String() string
type PcloudVolumeOnboardingGetInternalServerError ¶
PcloudVolumeOnboardingGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumeOnboardingGetInternalServerError ¶
func NewPcloudVolumeOnboardingGetInternalServerError() *PcloudVolumeOnboardingGetInternalServerError
NewPcloudVolumeOnboardingGetInternalServerError creates a PcloudVolumeOnboardingGetInternalServerError with default headers values
func (*PcloudVolumeOnboardingGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetInternalServerError) Code() int
Code gets the status code for the pcloud volume onboarding get internal server error response
func (*PcloudVolumeOnboardingGetInternalServerError) Error ¶
func (o *PcloudVolumeOnboardingGetInternalServerError) Error() string
func (*PcloudVolumeOnboardingGetInternalServerError) GetPayload ¶
func (o *PcloudVolumeOnboardingGetInternalServerError) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding get internal server error response has a 4xx status code
func (*PcloudVolumeOnboardingGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding get internal server error response a status code equal to that given
func (*PcloudVolumeOnboardingGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding get internal server error response has a 3xx status code
func (*PcloudVolumeOnboardingGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding get internal server error response has a 5xx status code
func (*PcloudVolumeOnboardingGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding get internal server error response has a 2xx status code
func (*PcloudVolumeOnboardingGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetInternalServerError) String() string
type PcloudVolumeOnboardingGetNotFound ¶
PcloudVolumeOnboardingGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudVolumeOnboardingGetNotFound ¶
func NewPcloudVolumeOnboardingGetNotFound() *PcloudVolumeOnboardingGetNotFound
NewPcloudVolumeOnboardingGetNotFound creates a PcloudVolumeOnboardingGetNotFound with default headers values
func (*PcloudVolumeOnboardingGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetNotFound) Code() int
Code gets the status code for the pcloud volume onboarding get not found response
func (*PcloudVolumeOnboardingGetNotFound) Error ¶
func (o *PcloudVolumeOnboardingGetNotFound) Error() string
func (*PcloudVolumeOnboardingGetNotFound) GetPayload ¶
func (o *PcloudVolumeOnboardingGetNotFound) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding get not found response has a 4xx status code
func (*PcloudVolumeOnboardingGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding get not found response a status code equal to that given
func (*PcloudVolumeOnboardingGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding get not found response has a 3xx status code
func (*PcloudVolumeOnboardingGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding get not found response has a 5xx status code
func (*PcloudVolumeOnboardingGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding get not found response has a 2xx status code
func (*PcloudVolumeOnboardingGetNotFound) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetNotFound) String() string
type PcloudVolumeOnboardingGetOK ¶
type PcloudVolumeOnboardingGetOK struct {
Payload *models.VolumeOnboarding
}
PcloudVolumeOnboardingGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudVolumeOnboardingGetOK ¶
func NewPcloudVolumeOnboardingGetOK() *PcloudVolumeOnboardingGetOK
NewPcloudVolumeOnboardingGetOK creates a PcloudVolumeOnboardingGetOK with default headers values
func (*PcloudVolumeOnboardingGetOK) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetOK) Code() int
Code gets the status code for the pcloud volume onboarding get o k response
func (*PcloudVolumeOnboardingGetOK) Error ¶
func (o *PcloudVolumeOnboardingGetOK) Error() string
func (*PcloudVolumeOnboardingGetOK) GetPayload ¶
func (o *PcloudVolumeOnboardingGetOK) GetPayload() *models.VolumeOnboarding
func (*PcloudVolumeOnboardingGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetOK) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding get o k response has a 4xx status code
func (*PcloudVolumeOnboardingGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetOK) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding get o k response a status code equal to that given
func (*PcloudVolumeOnboardingGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding get o k response has a 3xx status code
func (*PcloudVolumeOnboardingGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetOK) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding get o k response has a 5xx status code
func (*PcloudVolumeOnboardingGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding get o k response has a 2xx status code
func (*PcloudVolumeOnboardingGetOK) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetOK) String() string
type PcloudVolumeOnboardingGetParams ¶
type PcloudVolumeOnboardingGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* VolumeOnboardingID. Indicates volume onboarding operation id */ VolumeOnboardingID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumeOnboardingGetParams contains all the parameters to send to the API endpoint
for the pcloud volume onboarding get operation. Typically these are written to a http.Request.
func NewPcloudVolumeOnboardingGetParams ¶
func NewPcloudVolumeOnboardingGetParams() *PcloudVolumeOnboardingGetParams
NewPcloudVolumeOnboardingGetParams creates a new PcloudVolumeOnboardingGetParams 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 NewPcloudVolumeOnboardingGetParamsWithContext ¶
func NewPcloudVolumeOnboardingGetParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetParams
NewPcloudVolumeOnboardingGetParamsWithContext creates a new PcloudVolumeOnboardingGetParams object with the ability to set a context for a request.
func NewPcloudVolumeOnboardingGetParamsWithHTTPClient ¶
func NewPcloudVolumeOnboardingGetParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetParams
NewPcloudVolumeOnboardingGetParamsWithHTTPClient creates a new PcloudVolumeOnboardingGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumeOnboardingGetParamsWithTimeout ¶
func NewPcloudVolumeOnboardingGetParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetParams
NewPcloudVolumeOnboardingGetParamsWithTimeout creates a new PcloudVolumeOnboardingGetParams object with the ability to set a timeout on a request.
func (*PcloudVolumeOnboardingGetParams) SetCloudInstanceID ¶
func (o *PcloudVolumeOnboardingGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) SetContext ¶
func (o *PcloudVolumeOnboardingGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) SetDefaults ¶
func (o *PcloudVolumeOnboardingGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volume onboarding get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumeOnboardingGetParams) SetHTTPClient ¶
func (o *PcloudVolumeOnboardingGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) SetTimeout ¶
func (o *PcloudVolumeOnboardingGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) SetVolumeOnboardingID ¶
func (o *PcloudVolumeOnboardingGetParams) SetVolumeOnboardingID(volumeOnboardingID string)
SetVolumeOnboardingID adds the volumeOnboardingId to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) WithCloudInstanceID ¶
func (o *PcloudVolumeOnboardingGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) WithContext ¶
func (o *PcloudVolumeOnboardingGetParams) WithContext(ctx context.Context) *PcloudVolumeOnboardingGetParams
WithContext adds the context to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) WithDefaults ¶
func (o *PcloudVolumeOnboardingGetParams) WithDefaults() *PcloudVolumeOnboardingGetParams
WithDefaults hydrates default values in the pcloud volume onboarding get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumeOnboardingGetParams) WithHTTPClient ¶
func (o *PcloudVolumeOnboardingGetParams) WithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetParams
WithHTTPClient adds the HTTPClient to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) WithTimeout ¶
func (o *PcloudVolumeOnboardingGetParams) WithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetParams
WithTimeout adds the timeout to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) WithVolumeOnboardingID ¶
func (o *PcloudVolumeOnboardingGetParams) WithVolumeOnboardingID(volumeOnboardingID string) *PcloudVolumeOnboardingGetParams
WithVolumeOnboardingID adds the volumeOnboardingID to the pcloud volume onboarding get params
func (*PcloudVolumeOnboardingGetParams) WriteToRequest ¶
func (o *PcloudVolumeOnboardingGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumeOnboardingGetReader ¶
type PcloudVolumeOnboardingGetReader struct {
// contains filtered or unexported fields
}
PcloudVolumeOnboardingGetReader is a Reader for the PcloudVolumeOnboardingGet structure.
func (*PcloudVolumeOnboardingGetReader) ReadResponse ¶
func (o *PcloudVolumeOnboardingGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumeOnboardingGetUnauthorized ¶
type PcloudVolumeOnboardingGetUnauthorized struct {
}PcloudVolumeOnboardingGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumeOnboardingGetUnauthorized ¶
func NewPcloudVolumeOnboardingGetUnauthorized() *PcloudVolumeOnboardingGetUnauthorized
NewPcloudVolumeOnboardingGetUnauthorized creates a PcloudVolumeOnboardingGetUnauthorized with default headers values
func (*PcloudVolumeOnboardingGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetUnauthorized) Code() int
Code gets the status code for the pcloud volume onboarding get unauthorized response
func (*PcloudVolumeOnboardingGetUnauthorized) Error ¶
func (o *PcloudVolumeOnboardingGetUnauthorized) Error() string
func (*PcloudVolumeOnboardingGetUnauthorized) GetPayload ¶
func (o *PcloudVolumeOnboardingGetUnauthorized) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding get unauthorized response has a 4xx status code
func (*PcloudVolumeOnboardingGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding get unauthorized response a status code equal to that given
func (*PcloudVolumeOnboardingGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding get unauthorized response has a 3xx status code
func (*PcloudVolumeOnboardingGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding get unauthorized response has a 5xx status code
func (*PcloudVolumeOnboardingGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding get unauthorized response has a 2xx status code
func (*PcloudVolumeOnboardingGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetUnauthorized) String() string
type PcloudVolumeOnboardingGetallBadRequest ¶
PcloudVolumeOnboardingGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumeOnboardingGetallBadRequest ¶
func NewPcloudVolumeOnboardingGetallBadRequest() *PcloudVolumeOnboardingGetallBadRequest
NewPcloudVolumeOnboardingGetallBadRequest creates a PcloudVolumeOnboardingGetallBadRequest with default headers values
func (*PcloudVolumeOnboardingGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetallBadRequest) Code() int
Code gets the status code for the pcloud volume onboarding getall bad request response
func (*PcloudVolumeOnboardingGetallBadRequest) Error ¶
func (o *PcloudVolumeOnboardingGetallBadRequest) Error() string
func (*PcloudVolumeOnboardingGetallBadRequest) GetPayload ¶
func (o *PcloudVolumeOnboardingGetallBadRequest) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding getall bad request response has a 4xx status code
func (*PcloudVolumeOnboardingGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding getall bad request response a status code equal to that given
func (*PcloudVolumeOnboardingGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding getall bad request response has a 3xx status code
func (*PcloudVolumeOnboardingGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding getall bad request response has a 5xx status code
func (*PcloudVolumeOnboardingGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding getall bad request response has a 2xx status code
func (*PcloudVolumeOnboardingGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallBadRequest) String() string
type PcloudVolumeOnboardingGetallForbidden ¶ added in v1.2.2
PcloudVolumeOnboardingGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudVolumeOnboardingGetallForbidden ¶ added in v1.2.2
func NewPcloudVolumeOnboardingGetallForbidden() *PcloudVolumeOnboardingGetallForbidden
NewPcloudVolumeOnboardingGetallForbidden creates a PcloudVolumeOnboardingGetallForbidden with default headers values
func (*PcloudVolumeOnboardingGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetallForbidden) Code() int
Code gets the status code for the pcloud volume onboarding getall forbidden response
func (*PcloudVolumeOnboardingGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) Error() string
func (*PcloudVolumeOnboardingGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding getall forbidden response has a 4xx status code
func (*PcloudVolumeOnboardingGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding getall forbidden response a status code equal to that given
func (*PcloudVolumeOnboardingGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding getall forbidden response has a 3xx status code
func (*PcloudVolumeOnboardingGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding getall forbidden response has a 5xx status code
func (*PcloudVolumeOnboardingGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding getall forbidden response has a 2xx status code
func (*PcloudVolumeOnboardingGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallForbidden) String() string
type PcloudVolumeOnboardingGetallInternalServerError ¶
PcloudVolumeOnboardingGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumeOnboardingGetallInternalServerError ¶
func NewPcloudVolumeOnboardingGetallInternalServerError() *PcloudVolumeOnboardingGetallInternalServerError
NewPcloudVolumeOnboardingGetallInternalServerError creates a PcloudVolumeOnboardingGetallInternalServerError with default headers values
func (*PcloudVolumeOnboardingGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetallInternalServerError) Code() int
Code gets the status code for the pcloud volume onboarding getall internal server error response
func (*PcloudVolumeOnboardingGetallInternalServerError) Error ¶
func (o *PcloudVolumeOnboardingGetallInternalServerError) Error() string
func (*PcloudVolumeOnboardingGetallInternalServerError) GetPayload ¶
func (o *PcloudVolumeOnboardingGetallInternalServerError) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding getall internal server error response has a 4xx status code
func (*PcloudVolumeOnboardingGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding getall internal server error response a status code equal to that given
func (*PcloudVolumeOnboardingGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding getall internal server error response has a 3xx status code
func (*PcloudVolumeOnboardingGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding getall internal server error response has a 5xx status code
func (*PcloudVolumeOnboardingGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding getall internal server error response has a 2xx status code
func (*PcloudVolumeOnboardingGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallInternalServerError) String() string
type PcloudVolumeOnboardingGetallOK ¶
type PcloudVolumeOnboardingGetallOK struct {
Payload *models.VolumeOnboardings
}
PcloudVolumeOnboardingGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudVolumeOnboardingGetallOK ¶
func NewPcloudVolumeOnboardingGetallOK() *PcloudVolumeOnboardingGetallOK
NewPcloudVolumeOnboardingGetallOK creates a PcloudVolumeOnboardingGetallOK with default headers values
func (*PcloudVolumeOnboardingGetallOK) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetallOK) Code() int
Code gets the status code for the pcloud volume onboarding getall o k response
func (*PcloudVolumeOnboardingGetallOK) Error ¶
func (o *PcloudVolumeOnboardingGetallOK) Error() string
func (*PcloudVolumeOnboardingGetallOK) GetPayload ¶
func (o *PcloudVolumeOnboardingGetallOK) GetPayload() *models.VolumeOnboardings
func (*PcloudVolumeOnboardingGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallOK) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding getall o k response has a 4xx status code
func (*PcloudVolumeOnboardingGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding getall o k response a status code equal to that given
func (*PcloudVolumeOnboardingGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding getall o k response has a 3xx status code
func (*PcloudVolumeOnboardingGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallOK) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding getall o k response has a 5xx status code
func (*PcloudVolumeOnboardingGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding getall o k response has a 2xx status code
func (*PcloudVolumeOnboardingGetallOK) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallOK) String() string
type PcloudVolumeOnboardingGetallParams ¶
type PcloudVolumeOnboardingGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumeOnboardingGetallParams contains all the parameters to send to the API endpoint
for the pcloud volume onboarding getall operation. Typically these are written to a http.Request.
func NewPcloudVolumeOnboardingGetallParams ¶
func NewPcloudVolumeOnboardingGetallParams() *PcloudVolumeOnboardingGetallParams
NewPcloudVolumeOnboardingGetallParams creates a new PcloudVolumeOnboardingGetallParams 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 NewPcloudVolumeOnboardingGetallParamsWithContext ¶
func NewPcloudVolumeOnboardingGetallParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetallParams
NewPcloudVolumeOnboardingGetallParamsWithContext creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a context for a request.
func NewPcloudVolumeOnboardingGetallParamsWithHTTPClient ¶
func NewPcloudVolumeOnboardingGetallParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetallParams
NewPcloudVolumeOnboardingGetallParamsWithHTTPClient creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumeOnboardingGetallParamsWithTimeout ¶
func NewPcloudVolumeOnboardingGetallParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetallParams
NewPcloudVolumeOnboardingGetallParamsWithTimeout creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a timeout on a request.
func (*PcloudVolumeOnboardingGetallParams) SetCloudInstanceID ¶
func (o *PcloudVolumeOnboardingGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) SetContext ¶
func (o *PcloudVolumeOnboardingGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) SetDefaults ¶
func (o *PcloudVolumeOnboardingGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volume onboarding getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumeOnboardingGetallParams) SetHTTPClient ¶
func (o *PcloudVolumeOnboardingGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) SetTimeout ¶
func (o *PcloudVolumeOnboardingGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) WithCloudInstanceID ¶
func (o *PcloudVolumeOnboardingGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) WithContext ¶
func (o *PcloudVolumeOnboardingGetallParams) WithContext(ctx context.Context) *PcloudVolumeOnboardingGetallParams
WithContext adds the context to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) WithDefaults ¶
func (o *PcloudVolumeOnboardingGetallParams) WithDefaults() *PcloudVolumeOnboardingGetallParams
WithDefaults hydrates default values in the pcloud volume onboarding getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumeOnboardingGetallParams) WithHTTPClient ¶
func (o *PcloudVolumeOnboardingGetallParams) WithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetallParams
WithHTTPClient adds the HTTPClient to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) WithTimeout ¶
func (o *PcloudVolumeOnboardingGetallParams) WithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetallParams
WithTimeout adds the timeout to the pcloud volume onboarding getall params
func (*PcloudVolumeOnboardingGetallParams) WriteToRequest ¶
func (o *PcloudVolumeOnboardingGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumeOnboardingGetallReader ¶
type PcloudVolumeOnboardingGetallReader struct {
// contains filtered or unexported fields
}
PcloudVolumeOnboardingGetallReader is a Reader for the PcloudVolumeOnboardingGetall structure.
func (*PcloudVolumeOnboardingGetallReader) ReadResponse ¶
func (o *PcloudVolumeOnboardingGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumeOnboardingGetallUnauthorized ¶
type PcloudVolumeOnboardingGetallUnauthorized struct {
}PcloudVolumeOnboardingGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumeOnboardingGetallUnauthorized ¶
func NewPcloudVolumeOnboardingGetallUnauthorized() *PcloudVolumeOnboardingGetallUnauthorized
NewPcloudVolumeOnboardingGetallUnauthorized creates a PcloudVolumeOnboardingGetallUnauthorized with default headers values
func (*PcloudVolumeOnboardingGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingGetallUnauthorized) Code() int
Code gets the status code for the pcloud volume onboarding getall unauthorized response
func (*PcloudVolumeOnboardingGetallUnauthorized) Error ¶
func (o *PcloudVolumeOnboardingGetallUnauthorized) Error() string
func (*PcloudVolumeOnboardingGetallUnauthorized) GetPayload ¶
func (o *PcloudVolumeOnboardingGetallUnauthorized) GetPayload() *models.Error
func (*PcloudVolumeOnboardingGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding getall unauthorized response has a 4xx status code
func (*PcloudVolumeOnboardingGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding getall unauthorized response a status code equal to that given
func (*PcloudVolumeOnboardingGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding getall unauthorized response has a 3xx status code
func (*PcloudVolumeOnboardingGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding getall unauthorized response has a 5xx status code
func (*PcloudVolumeOnboardingGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding getall unauthorized response has a 2xx status code
func (*PcloudVolumeOnboardingGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingGetallUnauthorized) String() string
type PcloudVolumeOnboardingPostAccepted ¶ added in v1.1.10
type PcloudVolumeOnboardingPostAccepted struct {
Payload *models.VolumeOnboardingCreateResponse
}
PcloudVolumeOnboardingPostAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudVolumeOnboardingPostAccepted ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostAccepted() *PcloudVolumeOnboardingPostAccepted
NewPcloudVolumeOnboardingPostAccepted creates a PcloudVolumeOnboardingPostAccepted with default headers values
func (*PcloudVolumeOnboardingPostAccepted) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingPostAccepted) Code() int
Code gets the status code for the pcloud volume onboarding post accepted response
func (*PcloudVolumeOnboardingPostAccepted) Error ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostAccepted) Error() string
func (*PcloudVolumeOnboardingPostAccepted) GetPayload ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostAccepted) GetPayload() *models.VolumeOnboardingCreateResponse
func (*PcloudVolumeOnboardingPostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostAccepted) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding post accepted response has a 4xx status code
func (*PcloudVolumeOnboardingPostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding post accepted response a status code equal to that given
func (*PcloudVolumeOnboardingPostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding post accepted response has a 3xx status code
func (*PcloudVolumeOnboardingPostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostAccepted) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding post accepted response has a 5xx status code
func (*PcloudVolumeOnboardingPostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding post accepted response has a 2xx status code
func (*PcloudVolumeOnboardingPostAccepted) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostAccepted) String() string
type PcloudVolumeOnboardingPostBadRequest ¶ added in v1.1.10
PcloudVolumeOnboardingPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudVolumeOnboardingPostBadRequest ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostBadRequest() *PcloudVolumeOnboardingPostBadRequest
NewPcloudVolumeOnboardingPostBadRequest creates a PcloudVolumeOnboardingPostBadRequest with default headers values
func (*PcloudVolumeOnboardingPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingPostBadRequest) Code() int
Code gets the status code for the pcloud volume onboarding post bad request response
func (*PcloudVolumeOnboardingPostBadRequest) Error ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostBadRequest) Error() string
func (*PcloudVolumeOnboardingPostBadRequest) GetPayload ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostBadRequest) GetPayload() *models.Error
func (*PcloudVolumeOnboardingPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding post bad request response has a 4xx status code
func (*PcloudVolumeOnboardingPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding post bad request response a status code equal to that given
func (*PcloudVolumeOnboardingPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding post bad request response has a 3xx status code
func (*PcloudVolumeOnboardingPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding post bad request response has a 5xx status code
func (*PcloudVolumeOnboardingPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding post bad request response has a 2xx status code
func (*PcloudVolumeOnboardingPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostBadRequest) String() string
type PcloudVolumeOnboardingPostConflict ¶ added in v1.1.10
PcloudVolumeOnboardingPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudVolumeOnboardingPostConflict ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostConflict() *PcloudVolumeOnboardingPostConflict
NewPcloudVolumeOnboardingPostConflict creates a PcloudVolumeOnboardingPostConflict with default headers values
func (*PcloudVolumeOnboardingPostConflict) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingPostConflict) Code() int
Code gets the status code for the pcloud volume onboarding post conflict response
func (*PcloudVolumeOnboardingPostConflict) Error ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostConflict) Error() string
func (*PcloudVolumeOnboardingPostConflict) GetPayload ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostConflict) GetPayload() *models.Error
func (*PcloudVolumeOnboardingPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostConflict) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding post conflict response has a 4xx status code
func (*PcloudVolumeOnboardingPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding post conflict response a status code equal to that given
func (*PcloudVolumeOnboardingPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding post conflict response has a 3xx status code
func (*PcloudVolumeOnboardingPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostConflict) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding post conflict response has a 5xx status code
func (*PcloudVolumeOnboardingPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding post conflict response has a 2xx status code
func (*PcloudVolumeOnboardingPostConflict) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostConflict) String() string
type PcloudVolumeOnboardingPostForbidden ¶ added in v1.1.10
PcloudVolumeOnboardingPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudVolumeOnboardingPostForbidden ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostForbidden() *PcloudVolumeOnboardingPostForbidden
NewPcloudVolumeOnboardingPostForbidden creates a PcloudVolumeOnboardingPostForbidden with default headers values
func (*PcloudVolumeOnboardingPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingPostForbidden) Code() int
Code gets the status code for the pcloud volume onboarding post forbidden response
func (*PcloudVolumeOnboardingPostForbidden) Error ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostForbidden) Error() string
func (*PcloudVolumeOnboardingPostForbidden) GetPayload ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostForbidden) GetPayload() *models.Error
func (*PcloudVolumeOnboardingPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding post forbidden response has a 4xx status code
func (*PcloudVolumeOnboardingPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding post forbidden response a status code equal to that given
func (*PcloudVolumeOnboardingPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding post forbidden response has a 3xx status code
func (*PcloudVolumeOnboardingPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding post forbidden response has a 5xx status code
func (*PcloudVolumeOnboardingPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding post forbidden response has a 2xx status code
func (*PcloudVolumeOnboardingPostForbidden) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostForbidden) String() string
type PcloudVolumeOnboardingPostInternalServerError ¶ added in v1.1.10
PcloudVolumeOnboardingPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudVolumeOnboardingPostInternalServerError ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostInternalServerError() *PcloudVolumeOnboardingPostInternalServerError
NewPcloudVolumeOnboardingPostInternalServerError creates a PcloudVolumeOnboardingPostInternalServerError with default headers values
func (*PcloudVolumeOnboardingPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingPostInternalServerError) Code() int
Code gets the status code for the pcloud volume onboarding post internal server error response
func (*PcloudVolumeOnboardingPostInternalServerError) Error ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostInternalServerError) Error() string
func (*PcloudVolumeOnboardingPostInternalServerError) GetPayload ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostInternalServerError) GetPayload() *models.Error
func (*PcloudVolumeOnboardingPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding post internal server error response has a 4xx status code
func (*PcloudVolumeOnboardingPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding post internal server error response a status code equal to that given
func (*PcloudVolumeOnboardingPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding post internal server error response has a 3xx status code
func (*PcloudVolumeOnboardingPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding post internal server error response has a 5xx status code
func (*PcloudVolumeOnboardingPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding post internal server error response has a 2xx status code
func (*PcloudVolumeOnboardingPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostInternalServerError) String() string
type PcloudVolumeOnboardingPostParams ¶ added in v1.1.10
type PcloudVolumeOnboardingPostParams struct { /* Body. Parameters for the creation of volume onboarding */ Body *models.VolumeOnboardingCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudVolumeOnboardingPostParams contains all the parameters to send to the API endpoint
for the pcloud volume onboarding post operation. Typically these are written to a http.Request.
func NewPcloudVolumeOnboardingPostParams ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostParams() *PcloudVolumeOnboardingPostParams
NewPcloudVolumeOnboardingPostParams creates a new PcloudVolumeOnboardingPostParams 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 NewPcloudVolumeOnboardingPostParamsWithContext ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingPostParams
NewPcloudVolumeOnboardingPostParamsWithContext creates a new PcloudVolumeOnboardingPostParams object with the ability to set a context for a request.
func NewPcloudVolumeOnboardingPostParamsWithHTTPClient ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingPostParams
NewPcloudVolumeOnboardingPostParamsWithHTTPClient creates a new PcloudVolumeOnboardingPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudVolumeOnboardingPostParamsWithTimeout ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingPostParams
NewPcloudVolumeOnboardingPostParamsWithTimeout creates a new PcloudVolumeOnboardingPostParams object with the ability to set a timeout on a request.
func (*PcloudVolumeOnboardingPostParams) SetBody ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) SetBody(body *models.VolumeOnboardingCreate)
SetBody adds the body to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) SetCloudInstanceID ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) SetContext ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) SetDefaults ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud volume onboarding post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumeOnboardingPostParams) SetHTTPClient ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) SetTimeout ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) WithBody ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) WithBody(body *models.VolumeOnboardingCreate) *PcloudVolumeOnboardingPostParams
WithBody adds the body to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) WithCloudInstanceID ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumeOnboardingPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) WithContext ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) WithContext(ctx context.Context) *PcloudVolumeOnboardingPostParams
WithContext adds the context to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) WithDefaults ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) WithDefaults() *PcloudVolumeOnboardingPostParams
WithDefaults hydrates default values in the pcloud volume onboarding post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudVolumeOnboardingPostParams) WithHTTPClient ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) WithHTTPClient(client *http.Client) *PcloudVolumeOnboardingPostParams
WithHTTPClient adds the HTTPClient to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) WithTimeout ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) WithTimeout(timeout time.Duration) *PcloudVolumeOnboardingPostParams
WithTimeout adds the timeout to the pcloud volume onboarding post params
func (*PcloudVolumeOnboardingPostParams) WriteToRequest ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudVolumeOnboardingPostReader ¶ added in v1.1.10
type PcloudVolumeOnboardingPostReader struct {
// contains filtered or unexported fields
}
PcloudVolumeOnboardingPostReader is a Reader for the PcloudVolumeOnboardingPost structure.
func (*PcloudVolumeOnboardingPostReader) ReadResponse ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudVolumeOnboardingPostUnauthorized ¶ added in v1.1.10
type PcloudVolumeOnboardingPostUnauthorized struct {
}PcloudVolumeOnboardingPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudVolumeOnboardingPostUnauthorized ¶ added in v1.1.10
func NewPcloudVolumeOnboardingPostUnauthorized() *PcloudVolumeOnboardingPostUnauthorized
NewPcloudVolumeOnboardingPostUnauthorized creates a PcloudVolumeOnboardingPostUnauthorized with default headers values
func (*PcloudVolumeOnboardingPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudVolumeOnboardingPostUnauthorized) Code() int
Code gets the status code for the pcloud volume onboarding post unauthorized response
func (*PcloudVolumeOnboardingPostUnauthorized) Error ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostUnauthorized) Error() string
func (*PcloudVolumeOnboardingPostUnauthorized) GetPayload ¶ added in v1.1.10
func (o *PcloudVolumeOnboardingPostUnauthorized) GetPayload() *models.Error
func (*PcloudVolumeOnboardingPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud volume onboarding post unauthorized response has a 4xx status code
func (*PcloudVolumeOnboardingPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud volume onboarding post unauthorized response a status code equal to that given
func (*PcloudVolumeOnboardingPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud volume onboarding post unauthorized response has a 3xx status code
func (*PcloudVolumeOnboardingPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud volume onboarding post unauthorized response has a 5xx status code
func (*PcloudVolumeOnboardingPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud volume onboarding post unauthorized response has a 2xx status code
func (*PcloudVolumeOnboardingPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudVolumeOnboardingPostUnauthorized) String() string