Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudLocationsDisasterrecoveryGet(params *PcloudLocationsDisasterrecoveryGetParams, ...) (*PcloudLocationsDisasterrecoveryGetOK, error)
- func (a *Client) PcloudLocationsDisasterrecoveryGetall(params *PcloudLocationsDisasterrecoveryGetallParams, ...) (*PcloudLocationsDisasterrecoveryGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudLocationsDisasterrecoveryGetBadRequest
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetBadRequest) String() string
- type PcloudLocationsDisasterrecoveryGetForbidden
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetForbidden) String() string
- type PcloudLocationsDisasterrecoveryGetInternalServerError
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) String() string
- type PcloudLocationsDisasterrecoveryGetNotFound
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetNotFound) String() string
- type PcloudLocationsDisasterrecoveryGetOK
- func (o *PcloudLocationsDisasterrecoveryGetOK) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetOK) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetOK) GetPayload() *models.DisasterRecoveryLocation
- func (o *PcloudLocationsDisasterrecoveryGetOK) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetOK) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetOK) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetOK) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetOK) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetOK) String() string
- type PcloudLocationsDisasterrecoveryGetParams
- func NewPcloudLocationsDisasterrecoveryGetParams() *PcloudLocationsDisasterrecoveryGetParams
- func NewPcloudLocationsDisasterrecoveryGetParamsWithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetParams
- func NewPcloudLocationsDisasterrecoveryGetParamsWithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetParams
- func NewPcloudLocationsDisasterrecoveryGetParamsWithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetParams
- func (o *PcloudLocationsDisasterrecoveryGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudLocationsDisasterrecoveryGetParams) SetContext(ctx context.Context)
- func (o *PcloudLocationsDisasterrecoveryGetParams) SetDefaults()
- func (o *PcloudLocationsDisasterrecoveryGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudLocationsDisasterrecoveryGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudLocationsDisasterrecoveryGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudLocationsDisasterrecoveryGetParams
- func (o *PcloudLocationsDisasterrecoveryGetParams) WithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetParams
- func (o *PcloudLocationsDisasterrecoveryGetParams) WithDefaults() *PcloudLocationsDisasterrecoveryGetParams
- func (o *PcloudLocationsDisasterrecoveryGetParams) WithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetParams
- func (o *PcloudLocationsDisasterrecoveryGetParams) WithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetParams
- func (o *PcloudLocationsDisasterrecoveryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudLocationsDisasterrecoveryGetReader
- type PcloudLocationsDisasterrecoveryGetUnauthorized
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) String() string
- type PcloudLocationsDisasterrecoveryGetallBadRequest
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) String() string
- type PcloudLocationsDisasterrecoveryGetallForbidden
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetallForbidden) String() string
- type PcloudLocationsDisasterrecoveryGetallInternalServerError
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) String() string
- type PcloudLocationsDisasterrecoveryGetallNotFound
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetallNotFound) String() string
- type PcloudLocationsDisasterrecoveryGetallOK
- func (o *PcloudLocationsDisasterrecoveryGetallOK) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetallOK) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetallOK) GetPayload() *models.DisasterRecoveryLocations
- func (o *PcloudLocationsDisasterrecoveryGetallOK) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallOK) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetallOK) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetallOK) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallOK) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetallOK) String() string
- type PcloudLocationsDisasterrecoveryGetallParams
- func NewPcloudLocationsDisasterrecoveryGetallParams() *PcloudLocationsDisasterrecoveryGetallParams
- func NewPcloudLocationsDisasterrecoveryGetallParamsWithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetallParams
- func NewPcloudLocationsDisasterrecoveryGetallParamsWithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetallParams
- func NewPcloudLocationsDisasterrecoveryGetallParamsWithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetallParams
- func (o *PcloudLocationsDisasterrecoveryGetallParams) SetContext(ctx context.Context)
- func (o *PcloudLocationsDisasterrecoveryGetallParams) SetDefaults()
- func (o *PcloudLocationsDisasterrecoveryGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudLocationsDisasterrecoveryGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudLocationsDisasterrecoveryGetallParams) WithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetallParams
- func (o *PcloudLocationsDisasterrecoveryGetallParams) WithDefaults() *PcloudLocationsDisasterrecoveryGetallParams
- func (o *PcloudLocationsDisasterrecoveryGetallParams) WithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetallParams
- func (o *PcloudLocationsDisasterrecoveryGetallParams) WithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetallParams
- func (o *PcloudLocationsDisasterrecoveryGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudLocationsDisasterrecoveryGetallReader
- type PcloudLocationsDisasterrecoveryGetallUnauthorized
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) Code() int
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) Error() string
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsClientError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsRedirect() bool
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsServerError() bool
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsSuccess() bool
- func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) 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 disaster recovery API
func (*Client) PcloudLocationsDisasterrecoveryGet ¶
func (a *Client) PcloudLocationsDisasterrecoveryGet(params *PcloudLocationsDisasterrecoveryGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudLocationsDisasterrecoveryGetOK, error)
PcloudLocationsDisasterrecoveryGet gets the disaster recovery site details for the current location
func (*Client) PcloudLocationsDisasterrecoveryGetall ¶
func (a *Client) PcloudLocationsDisasterrecoveryGetall(params *PcloudLocationsDisasterrecoveryGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudLocationsDisasterrecoveryGetallOK, error)
PcloudLocationsDisasterrecoveryGetall gets all disaster recovery locations supported by power virtual server
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 { PcloudLocationsDisasterrecoveryGet(params *PcloudLocationsDisasterrecoveryGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudLocationsDisasterrecoveryGetOK, error) PcloudLocationsDisasterrecoveryGetall(params *PcloudLocationsDisasterrecoveryGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudLocationsDisasterrecoveryGetallOK, 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 disaster recovery API client.
type PcloudLocationsDisasterrecoveryGetBadRequest ¶ added in v1.2.2
PcloudLocationsDisasterrecoveryGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudLocationsDisasterrecoveryGetBadRequest ¶ added in v1.2.2
func NewPcloudLocationsDisasterrecoveryGetBadRequest() *PcloudLocationsDisasterrecoveryGetBadRequest
NewPcloudLocationsDisasterrecoveryGetBadRequest creates a PcloudLocationsDisasterrecoveryGetBadRequest with default headers values
func (*PcloudLocationsDisasterrecoveryGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) Code() int
Code gets the status code for the pcloud locations disasterrecovery get bad request response
func (*PcloudLocationsDisasterrecoveryGetBadRequest) Error ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) Error() string
func (*PcloudLocationsDisasterrecoveryGetBadRequest) GetPayload ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery get bad request response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery get bad request response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery get bad request response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery get bad request response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery get bad request response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetBadRequest) String() string
type PcloudLocationsDisasterrecoveryGetForbidden ¶ added in v1.3.0
PcloudLocationsDisasterrecoveryGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudLocationsDisasterrecoveryGetForbidden ¶ added in v1.3.0
func NewPcloudLocationsDisasterrecoveryGetForbidden() *PcloudLocationsDisasterrecoveryGetForbidden
NewPcloudLocationsDisasterrecoveryGetForbidden creates a PcloudLocationsDisasterrecoveryGetForbidden with default headers values
func (*PcloudLocationsDisasterrecoveryGetForbidden) Code ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) Code() int
Code gets the status code for the pcloud locations disasterrecovery get forbidden response
func (*PcloudLocationsDisasterrecoveryGetForbidden) Error ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) Error() string
func (*PcloudLocationsDisasterrecoveryGetForbidden) GetPayload ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetForbidden) IsClientError ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery get forbidden response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetForbidden) IsCode ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery get forbidden response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetForbidden) IsRedirect ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery get forbidden response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetForbidden) IsServerError ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery get forbidden response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetForbidden) IsSuccess ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery get forbidden response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetForbidden) String ¶ added in v1.3.0
func (o *PcloudLocationsDisasterrecoveryGetForbidden) String() string
type PcloudLocationsDisasterrecoveryGetInternalServerError ¶
PcloudLocationsDisasterrecoveryGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudLocationsDisasterrecoveryGetInternalServerError ¶
func NewPcloudLocationsDisasterrecoveryGetInternalServerError() *PcloudLocationsDisasterrecoveryGetInternalServerError
NewPcloudLocationsDisasterrecoveryGetInternalServerError creates a PcloudLocationsDisasterrecoveryGetInternalServerError with default headers values
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) Code() int
Code gets the status code for the pcloud locations disasterrecovery get internal server error response
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) Error() string
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery get internal server error response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery get internal server error response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery get internal server error response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery get internal server error response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery get internal server error response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) String() string
type PcloudLocationsDisasterrecoveryGetNotFound ¶
PcloudLocationsDisasterrecoveryGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudLocationsDisasterrecoveryGetNotFound ¶
func NewPcloudLocationsDisasterrecoveryGetNotFound() *PcloudLocationsDisasterrecoveryGetNotFound
NewPcloudLocationsDisasterrecoveryGetNotFound creates a PcloudLocationsDisasterrecoveryGetNotFound with default headers values
func (*PcloudLocationsDisasterrecoveryGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetNotFound) Code() int
Code gets the status code for the pcloud locations disasterrecovery get not found response
func (*PcloudLocationsDisasterrecoveryGetNotFound) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetNotFound) Error() string
func (*PcloudLocationsDisasterrecoveryGetNotFound) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetNotFound) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery get not found response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery get not found response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery get not found response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery get not found response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery get not found response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetNotFound) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetNotFound) String() string
type PcloudLocationsDisasterrecoveryGetOK ¶
type PcloudLocationsDisasterrecoveryGetOK struct {
Payload *models.DisasterRecoveryLocation
}
PcloudLocationsDisasterrecoveryGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudLocationsDisasterrecoveryGetOK ¶
func NewPcloudLocationsDisasterrecoveryGetOK() *PcloudLocationsDisasterrecoveryGetOK
NewPcloudLocationsDisasterrecoveryGetOK creates a PcloudLocationsDisasterrecoveryGetOK with default headers values
func (*PcloudLocationsDisasterrecoveryGetOK) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetOK) Code() int
Code gets the status code for the pcloud locations disasterrecovery get o k response
func (*PcloudLocationsDisasterrecoveryGetOK) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetOK) Error() string
func (*PcloudLocationsDisasterrecoveryGetOK) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetOK) GetPayload() *models.DisasterRecoveryLocation
func (*PcloudLocationsDisasterrecoveryGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetOK) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery get o k response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetOK) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery get o k response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery get o k response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetOK) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery get o k response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery get o k response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetOK) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetOK) String() string
type PcloudLocationsDisasterrecoveryGetParams ¶
type PcloudLocationsDisasterrecoveryGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudLocationsDisasterrecoveryGetParams contains all the parameters to send to the API endpoint
for the pcloud locations disasterrecovery get operation. Typically these are written to a http.Request.
func NewPcloudLocationsDisasterrecoveryGetParams ¶
func NewPcloudLocationsDisasterrecoveryGetParams() *PcloudLocationsDisasterrecoveryGetParams
NewPcloudLocationsDisasterrecoveryGetParams creates a new PcloudLocationsDisasterrecoveryGetParams 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 NewPcloudLocationsDisasterrecoveryGetParamsWithContext ¶
func NewPcloudLocationsDisasterrecoveryGetParamsWithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetParams
NewPcloudLocationsDisasterrecoveryGetParamsWithContext creates a new PcloudLocationsDisasterrecoveryGetParams object with the ability to set a context for a request.
func NewPcloudLocationsDisasterrecoveryGetParamsWithHTTPClient ¶
func NewPcloudLocationsDisasterrecoveryGetParamsWithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetParams
NewPcloudLocationsDisasterrecoveryGetParamsWithHTTPClient creates a new PcloudLocationsDisasterrecoveryGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudLocationsDisasterrecoveryGetParamsWithTimeout ¶
func NewPcloudLocationsDisasterrecoveryGetParamsWithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetParams
NewPcloudLocationsDisasterrecoveryGetParamsWithTimeout creates a new PcloudLocationsDisasterrecoveryGetParams object with the ability to set a timeout on a request.
func (*PcloudLocationsDisasterrecoveryGetParams) SetCloudInstanceID ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) SetContext ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) SetDefaults ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud locations disasterrecovery get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudLocationsDisasterrecoveryGetParams) SetHTTPClient ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) SetTimeout ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) WithCloudInstanceID ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudLocationsDisasterrecoveryGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) WithContext ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) WithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetParams
WithContext adds the context to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) WithDefaults ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) WithDefaults() *PcloudLocationsDisasterrecoveryGetParams
WithDefaults hydrates default values in the pcloud locations disasterrecovery get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudLocationsDisasterrecoveryGetParams) WithHTTPClient ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) WithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetParams
WithHTTPClient adds the HTTPClient to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) WithTimeout ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) WithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetParams
WithTimeout adds the timeout to the pcloud locations disasterrecovery get params
func (*PcloudLocationsDisasterrecoveryGetParams) WriteToRequest ¶
func (o *PcloudLocationsDisasterrecoveryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudLocationsDisasterrecoveryGetReader ¶
type PcloudLocationsDisasterrecoveryGetReader struct {
// contains filtered or unexported fields
}
PcloudLocationsDisasterrecoveryGetReader is a Reader for the PcloudLocationsDisasterrecoveryGet structure.
func (*PcloudLocationsDisasterrecoveryGetReader) ReadResponse ¶
func (o *PcloudLocationsDisasterrecoveryGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudLocationsDisasterrecoveryGetUnauthorized ¶
type PcloudLocationsDisasterrecoveryGetUnauthorized struct {
}PcloudLocationsDisasterrecoveryGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudLocationsDisasterrecoveryGetUnauthorized ¶
func NewPcloudLocationsDisasterrecoveryGetUnauthorized() *PcloudLocationsDisasterrecoveryGetUnauthorized
NewPcloudLocationsDisasterrecoveryGetUnauthorized creates a PcloudLocationsDisasterrecoveryGetUnauthorized with default headers values
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) Code() int
Code gets the status code for the pcloud locations disasterrecovery get unauthorized response
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) Error() string
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery get unauthorized response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery get unauthorized response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery get unauthorized response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery get unauthorized response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery get unauthorized response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) String() string
type PcloudLocationsDisasterrecoveryGetallBadRequest ¶ added in v1.2.2
PcloudLocationsDisasterrecoveryGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudLocationsDisasterrecoveryGetallBadRequest ¶ added in v1.2.2
func NewPcloudLocationsDisasterrecoveryGetallBadRequest() *PcloudLocationsDisasterrecoveryGetallBadRequest
NewPcloudLocationsDisasterrecoveryGetallBadRequest creates a PcloudLocationsDisasterrecoveryGetallBadRequest with default headers values
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) Code() int
Code gets the status code for the pcloud locations disasterrecovery getall bad request response
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) Error ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) Error() string
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) GetPayload ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery getall bad request response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery getall bad request response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery getall bad request response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery getall bad request response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery getall bad request response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) String() string
type PcloudLocationsDisasterrecoveryGetallForbidden ¶ added in v1.4.2
PcloudLocationsDisasterrecoveryGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudLocationsDisasterrecoveryGetallForbidden ¶ added in v1.4.2
func NewPcloudLocationsDisasterrecoveryGetallForbidden() *PcloudLocationsDisasterrecoveryGetallForbidden
NewPcloudLocationsDisasterrecoveryGetallForbidden creates a PcloudLocationsDisasterrecoveryGetallForbidden with default headers values
func (*PcloudLocationsDisasterrecoveryGetallForbidden) Code ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) Code() int
Code gets the status code for the pcloud locations disasterrecovery getall forbidden response
func (*PcloudLocationsDisasterrecoveryGetallForbidden) Error ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) Error() string
func (*PcloudLocationsDisasterrecoveryGetallForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery getall forbidden response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery getall forbidden response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery getall forbidden response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery getall forbidden response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery getall forbidden response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetallForbidden) String ¶ added in v1.4.2
func (o *PcloudLocationsDisasterrecoveryGetallForbidden) String() string
type PcloudLocationsDisasterrecoveryGetallInternalServerError ¶
PcloudLocationsDisasterrecoveryGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudLocationsDisasterrecoveryGetallInternalServerError ¶
func NewPcloudLocationsDisasterrecoveryGetallInternalServerError() *PcloudLocationsDisasterrecoveryGetallInternalServerError
NewPcloudLocationsDisasterrecoveryGetallInternalServerError creates a PcloudLocationsDisasterrecoveryGetallInternalServerError with default headers values
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) Code() int
Code gets the status code for the pcloud locations disasterrecovery getall internal server error response
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) Error() string
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery getall internal server error response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery getall internal server error response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery getall internal server error response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery getall internal server error response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery getall internal server error response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) String() string
type PcloudLocationsDisasterrecoveryGetallNotFound ¶
PcloudLocationsDisasterrecoveryGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudLocationsDisasterrecoveryGetallNotFound ¶
func NewPcloudLocationsDisasterrecoveryGetallNotFound() *PcloudLocationsDisasterrecoveryGetallNotFound
NewPcloudLocationsDisasterrecoveryGetallNotFound creates a PcloudLocationsDisasterrecoveryGetallNotFound with default headers values
func (*PcloudLocationsDisasterrecoveryGetallNotFound) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) Code() int
Code gets the status code for the pcloud locations disasterrecovery getall not found response
func (*PcloudLocationsDisasterrecoveryGetallNotFound) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) Error() string
func (*PcloudLocationsDisasterrecoveryGetallNotFound) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery getall not found response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetallNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery getall not found response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery getall not found response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery getall not found response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery getall not found response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetallNotFound) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallNotFound) String() string
type PcloudLocationsDisasterrecoveryGetallOK ¶
type PcloudLocationsDisasterrecoveryGetallOK struct {
Payload *models.DisasterRecoveryLocations
}
PcloudLocationsDisasterrecoveryGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudLocationsDisasterrecoveryGetallOK ¶
func NewPcloudLocationsDisasterrecoveryGetallOK() *PcloudLocationsDisasterrecoveryGetallOK
NewPcloudLocationsDisasterrecoveryGetallOK creates a PcloudLocationsDisasterrecoveryGetallOK with default headers values
func (*PcloudLocationsDisasterrecoveryGetallOK) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetallOK) Code() int
Code gets the status code for the pcloud locations disasterrecovery getall o k response
func (*PcloudLocationsDisasterrecoveryGetallOK) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetallOK) Error() string
func (*PcloudLocationsDisasterrecoveryGetallOK) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetallOK) GetPayload() *models.DisasterRecoveryLocations
func (*PcloudLocationsDisasterrecoveryGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallOK) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery getall o k response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery getall o k response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery getall o k response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallOK) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery getall o k response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery getall o k response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetallOK) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallOK) String() string
type PcloudLocationsDisasterrecoveryGetallParams ¶
type PcloudLocationsDisasterrecoveryGetallParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudLocationsDisasterrecoveryGetallParams contains all the parameters to send to the API endpoint
for the pcloud locations disasterrecovery getall operation. Typically these are written to a http.Request.
func NewPcloudLocationsDisasterrecoveryGetallParams ¶
func NewPcloudLocationsDisasterrecoveryGetallParams() *PcloudLocationsDisasterrecoveryGetallParams
NewPcloudLocationsDisasterrecoveryGetallParams creates a new PcloudLocationsDisasterrecoveryGetallParams 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 NewPcloudLocationsDisasterrecoveryGetallParamsWithContext ¶
func NewPcloudLocationsDisasterrecoveryGetallParamsWithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetallParams
NewPcloudLocationsDisasterrecoveryGetallParamsWithContext creates a new PcloudLocationsDisasterrecoveryGetallParams object with the ability to set a context for a request.
func NewPcloudLocationsDisasterrecoveryGetallParamsWithHTTPClient ¶
func NewPcloudLocationsDisasterrecoveryGetallParamsWithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetallParams
NewPcloudLocationsDisasterrecoveryGetallParamsWithHTTPClient creates a new PcloudLocationsDisasterrecoveryGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudLocationsDisasterrecoveryGetallParamsWithTimeout ¶
func NewPcloudLocationsDisasterrecoveryGetallParamsWithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetallParams
NewPcloudLocationsDisasterrecoveryGetallParamsWithTimeout creates a new PcloudLocationsDisasterrecoveryGetallParams object with the ability to set a timeout on a request.
func (*PcloudLocationsDisasterrecoveryGetallParams) SetContext ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud locations disasterrecovery getall params
func (*PcloudLocationsDisasterrecoveryGetallParams) SetDefaults ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud locations disasterrecovery getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudLocationsDisasterrecoveryGetallParams) SetHTTPClient ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud locations disasterrecovery getall params
func (*PcloudLocationsDisasterrecoveryGetallParams) SetTimeout ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud locations disasterrecovery getall params
func (*PcloudLocationsDisasterrecoveryGetallParams) WithContext ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) WithContext(ctx context.Context) *PcloudLocationsDisasterrecoveryGetallParams
WithContext adds the context to the pcloud locations disasterrecovery getall params
func (*PcloudLocationsDisasterrecoveryGetallParams) WithDefaults ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) WithDefaults() *PcloudLocationsDisasterrecoveryGetallParams
WithDefaults hydrates default values in the pcloud locations disasterrecovery getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudLocationsDisasterrecoveryGetallParams) WithHTTPClient ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) WithHTTPClient(client *http.Client) *PcloudLocationsDisasterrecoveryGetallParams
WithHTTPClient adds the HTTPClient to the pcloud locations disasterrecovery getall params
func (*PcloudLocationsDisasterrecoveryGetallParams) WithTimeout ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) WithTimeout(timeout time.Duration) *PcloudLocationsDisasterrecoveryGetallParams
WithTimeout adds the timeout to the pcloud locations disasterrecovery getall params
func (*PcloudLocationsDisasterrecoveryGetallParams) WriteToRequest ¶
func (o *PcloudLocationsDisasterrecoveryGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudLocationsDisasterrecoveryGetallReader ¶
type PcloudLocationsDisasterrecoveryGetallReader struct {
// contains filtered or unexported fields
}
PcloudLocationsDisasterrecoveryGetallReader is a Reader for the PcloudLocationsDisasterrecoveryGetall structure.
func (*PcloudLocationsDisasterrecoveryGetallReader) ReadResponse ¶
func (o *PcloudLocationsDisasterrecoveryGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudLocationsDisasterrecoveryGetallUnauthorized ¶
type PcloudLocationsDisasterrecoveryGetallUnauthorized struct {
}PcloudLocationsDisasterrecoveryGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudLocationsDisasterrecoveryGetallUnauthorized ¶
func NewPcloudLocationsDisasterrecoveryGetallUnauthorized() *PcloudLocationsDisasterrecoveryGetallUnauthorized
NewPcloudLocationsDisasterrecoveryGetallUnauthorized creates a PcloudLocationsDisasterrecoveryGetallUnauthorized with default headers values
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) Code() int
Code gets the status code for the pcloud locations disasterrecovery getall unauthorized response
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) Error ¶
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) Error() string
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) GetPayload ¶
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) GetPayload() *models.Error
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud locations disasterrecovery getall unauthorized response has a 4xx status code
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud locations disasterrecovery getall unauthorized response a status code equal to that given
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud locations disasterrecovery getall unauthorized response has a 3xx status code
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud locations disasterrecovery getall unauthorized response has a 5xx status code
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud locations disasterrecovery getall unauthorized response has a 2xx status code
func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) String() string