p_cloud_disaster_recovery

package
v1.6.0-beta7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type PcloudLocationsDisasterrecoveryGetBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery get bad request response

func (*PcloudLocationsDisasterrecoveryGetBadRequest) Error added in v1.2.2

func (*PcloudLocationsDisasterrecoveryGetBadRequest) GetPayload added in v1.2.2

func (*PcloudLocationsDisasterrecoveryGetBadRequest) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudLocationsDisasterrecoveryGetForbidden added in v1.3.0

type PcloudLocationsDisasterrecoveryGetForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery get forbidden response

func (*PcloudLocationsDisasterrecoveryGetForbidden) Error added in v1.3.0

func (*PcloudLocationsDisasterrecoveryGetForbidden) GetPayload added in v1.3.0

func (*PcloudLocationsDisasterrecoveryGetForbidden) IsClientError added in v1.3.0

IsClientError returns true when this pcloud locations disasterrecovery get forbidden response has a 4xx status code

func (*PcloudLocationsDisasterrecoveryGetForbidden) IsCode added in v1.3.0

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

IsRedirect returns true when this pcloud locations disasterrecovery get forbidden response has a 3xx status code

func (*PcloudLocationsDisasterrecoveryGetForbidden) IsServerError added in v1.3.0

IsServerError returns true when this pcloud locations disasterrecovery get forbidden response has a 5xx status code

func (*PcloudLocationsDisasterrecoveryGetForbidden) IsSuccess added in v1.3.0

IsSuccess returns true when this pcloud locations disasterrecovery get forbidden response has a 2xx status code

func (*PcloudLocationsDisasterrecoveryGetForbidden) String added in v1.3.0

type PcloudLocationsDisasterrecoveryGetInternalServerError

type PcloudLocationsDisasterrecoveryGetInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery get internal server error response

func (*PcloudLocationsDisasterrecoveryGetInternalServerError) Error

func (*PcloudLocationsDisasterrecoveryGetInternalServerError) GetPayload

func (*PcloudLocationsDisasterrecoveryGetInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudLocationsDisasterrecoveryGetNotFound

type PcloudLocationsDisasterrecoveryGetNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery get not found response

func (*PcloudLocationsDisasterrecoveryGetNotFound) Error

func (*PcloudLocationsDisasterrecoveryGetNotFound) GetPayload

func (*PcloudLocationsDisasterrecoveryGetNotFound) IsClientError added in v1.2.2

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

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

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

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

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

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

Code gets the status code for the pcloud locations disasterrecovery get o k response

func (*PcloudLocationsDisasterrecoveryGetOK) Error

func (*PcloudLocationsDisasterrecoveryGetOK) GetPayload

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

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

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

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

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

SetContext adds the context to the pcloud locations disasterrecovery get params

func (*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

SetTimeout adds the timeout to the pcloud locations disasterrecovery get params

func (*PcloudLocationsDisasterrecoveryGetParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud locations disasterrecovery get params

func (*PcloudLocationsDisasterrecoveryGetParams) WithContext

WithContext adds the context to the pcloud locations disasterrecovery get params

func (*PcloudLocationsDisasterrecoveryGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud locations disasterrecovery get params

func (*PcloudLocationsDisasterrecoveryGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud locations disasterrecovery get params

func (*PcloudLocationsDisasterrecoveryGetParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery get unauthorized response

func (*PcloudLocationsDisasterrecoveryGetUnauthorized) Error

func (*PcloudLocationsDisasterrecoveryGetUnauthorized) GetPayload

func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud locations disasterrecovery get unauthorized response has a 4xx status code

func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud locations disasterrecovery get unauthorized response has a 3xx status code

func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud locations disasterrecovery get unauthorized response has a 5xx status code

func (*PcloudLocationsDisasterrecoveryGetUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud locations disasterrecovery get unauthorized response has a 2xx status code

func (*PcloudLocationsDisasterrecoveryGetUnauthorized) String added in v1.2.2

type PcloudLocationsDisasterrecoveryGetallBadRequest added in v1.2.2

type PcloudLocationsDisasterrecoveryGetallBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery getall bad request response

func (*PcloudLocationsDisasterrecoveryGetallBadRequest) Error added in v1.2.2

func (*PcloudLocationsDisasterrecoveryGetallBadRequest) GetPayload added in v1.2.2

func (*PcloudLocationsDisasterrecoveryGetallBadRequest) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudLocationsDisasterrecoveryGetallForbidden added in v1.4.2

type PcloudLocationsDisasterrecoveryGetallForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery getall forbidden response

func (*PcloudLocationsDisasterrecoveryGetallForbidden) Error added in v1.4.2

func (*PcloudLocationsDisasterrecoveryGetallForbidden) GetPayload added in v1.4.2

func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsClientError added in v1.4.2

IsClientError returns true when this pcloud locations disasterrecovery getall forbidden response has a 4xx status code

func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsCode added in v1.4.2

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

IsRedirect returns true when this pcloud locations disasterrecovery getall forbidden response has a 3xx status code

func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsServerError added in v1.4.2

IsServerError returns true when this pcloud locations disasterrecovery getall forbidden response has a 5xx status code

func (*PcloudLocationsDisasterrecoveryGetallForbidden) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud locations disasterrecovery getall forbidden response has a 2xx status code

func (*PcloudLocationsDisasterrecoveryGetallForbidden) String added in v1.4.2

type PcloudLocationsDisasterrecoveryGetallInternalServerError

type PcloudLocationsDisasterrecoveryGetallInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery getall internal server error response

func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) Error

func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) GetPayload

func (*PcloudLocationsDisasterrecoveryGetallInternalServerError) IsClientError added in v1.2.2

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

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

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

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

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

type PcloudLocationsDisasterrecoveryGetallNotFound

type PcloudLocationsDisasterrecoveryGetallNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery getall not found response

func (*PcloudLocationsDisasterrecoveryGetallNotFound) Error

func (*PcloudLocationsDisasterrecoveryGetallNotFound) GetPayload

func (*PcloudLocationsDisasterrecoveryGetallNotFound) IsClientError added in v1.2.2

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

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

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

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

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

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

Code gets the status code for the pcloud locations disasterrecovery getall o k response

func (*PcloudLocationsDisasterrecoveryGetallOK) Error

func (*PcloudLocationsDisasterrecoveryGetallOK) GetPayload

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

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

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

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

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

SetContext adds the context to the pcloud locations disasterrecovery getall params

func (*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

SetTimeout adds the timeout to the pcloud locations disasterrecovery getall params

func (*PcloudLocationsDisasterrecoveryGetallParams) WithContext

WithContext adds the context to the pcloud locations disasterrecovery getall params

func (*PcloudLocationsDisasterrecoveryGetallParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud locations disasterrecovery getall params

func (*PcloudLocationsDisasterrecoveryGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud locations disasterrecovery getall params

func (*PcloudLocationsDisasterrecoveryGetallParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the pcloud locations disasterrecovery getall unauthorized response

func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) Error

func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) GetPayload

func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud locations disasterrecovery getall unauthorized response has a 4xx status code

func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsCode added in v1.2.2

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

IsRedirect returns true when this pcloud locations disasterrecovery getall unauthorized response has a 3xx status code

func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud locations disasterrecovery getall unauthorized response has a 5xx status code

func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud locations disasterrecovery getall unauthorized response has a 2xx status code

func (*PcloudLocationsDisasterrecoveryGetallUnauthorized) String added in v1.2.2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL