p_cloud_s_p_p_placement_groups

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 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 s p p placement groups API

func (*Client) PcloudSppplacementgroupsDelete

func (a *Client) PcloudSppplacementgroupsDelete(params *PcloudSppplacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsDeleteOK, error)

PcloudSppplacementgroupsDelete deletes a shared processor pool placement group from a cloud instance

func (*Client) PcloudSppplacementgroupsGet

func (a *Client) PcloudSppplacementgroupsGet(params *PcloudSppplacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetOK, error)

PcloudSppplacementgroupsGet gets the detail of a shared processor pool placement group for a cloud instance

func (*Client) PcloudSppplacementgroupsGetall

func (a *Client) PcloudSppplacementgroupsGetall(params *PcloudSppplacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetallOK, error)

PcloudSppplacementgroupsGetall gets the list of shared processor pool placement groups for a cloud instance

func (*Client) PcloudSppplacementgroupsMembersDelete

func (a *Client) PcloudSppplacementgroupsMembersDelete(params *PcloudSppplacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersDeleteOK, error)

PcloudSppplacementgroupsMembersDelete deletes shared processor pool member from a shared processor pool placement group

func (*Client) PcloudSppplacementgroupsMembersPost

func (a *Client) PcloudSppplacementgroupsMembersPost(params *PcloudSppplacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersPostOK, error)

PcloudSppplacementgroupsMembersPost adds shared processor pool as a member of a shared processor pool placement group

func (*Client) PcloudSppplacementgroupsPost

func (a *Client) PcloudSppplacementgroupsPost(params *PcloudSppplacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsPostOK, error)

PcloudSppplacementgroupsPost creates a new shared processor pool placement group

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 {
	PcloudSppplacementgroupsDelete(params *PcloudSppplacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsDeleteOK, error)

	PcloudSppplacementgroupsGet(params *PcloudSppplacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetOK, error)

	PcloudSppplacementgroupsGetall(params *PcloudSppplacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsGetallOK, error)

	PcloudSppplacementgroupsMembersDelete(params *PcloudSppplacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersDeleteOK, error)

	PcloudSppplacementgroupsMembersPost(params *PcloudSppplacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsMembersPostOK, error)

	PcloudSppplacementgroupsPost(params *PcloudSppplacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSppplacementgroupsPostOK, 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 s p p placement groups API client.

type PcloudSppplacementgroupsDeleteBadRequest

type PcloudSppplacementgroupsDeleteBadRequest struct {
	Payload *models.Error
}

PcloudSppplacementgroupsDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSppplacementgroupsDeleteBadRequest

func NewPcloudSppplacementgroupsDeleteBadRequest() *PcloudSppplacementgroupsDeleteBadRequest

NewPcloudSppplacementgroupsDeleteBadRequest creates a PcloudSppplacementgroupsDeleteBadRequest with default headers values

func (*PcloudSppplacementgroupsDeleteBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups delete bad request response

func (*PcloudSppplacementgroupsDeleteBadRequest) Error

func (*PcloudSppplacementgroupsDeleteBadRequest) GetPayload

func (*PcloudSppplacementgroupsDeleteBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups delete bad request response has a 4xx status code

func (*PcloudSppplacementgroupsDeleteBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups delete bad request response a status code equal to that given

func (*PcloudSppplacementgroupsDeleteBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups delete bad request response has a 3xx status code

func (*PcloudSppplacementgroupsDeleteBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups delete bad request response has a 5xx status code

func (*PcloudSppplacementgroupsDeleteBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups delete bad request response has a 2xx status code

func (*PcloudSppplacementgroupsDeleteBadRequest) String added in v1.2.2

type PcloudSppplacementgroupsDeleteConflict

type PcloudSppplacementgroupsDeleteConflict struct {
	Payload *models.Error
}

PcloudSppplacementgroupsDeleteConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudSppplacementgroupsDeleteConflict

func NewPcloudSppplacementgroupsDeleteConflict() *PcloudSppplacementgroupsDeleteConflict

NewPcloudSppplacementgroupsDeleteConflict creates a PcloudSppplacementgroupsDeleteConflict with default headers values

func (*PcloudSppplacementgroupsDeleteConflict) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups delete conflict response

func (*PcloudSppplacementgroupsDeleteConflict) Error

func (*PcloudSppplacementgroupsDeleteConflict) GetPayload

func (*PcloudSppplacementgroupsDeleteConflict) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteConflict) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups delete conflict response has a 4xx status code

func (*PcloudSppplacementgroupsDeleteConflict) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups delete conflict response a status code equal to that given

func (*PcloudSppplacementgroupsDeleteConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups delete conflict response has a 3xx status code

func (*PcloudSppplacementgroupsDeleteConflict) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteConflict) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups delete conflict response has a 5xx status code

func (*PcloudSppplacementgroupsDeleteConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups delete conflict response has a 2xx status code

func (*PcloudSppplacementgroupsDeleteConflict) String added in v1.2.2

type PcloudSppplacementgroupsDeleteForbidden

type PcloudSppplacementgroupsDeleteForbidden struct {
	Payload *models.Error
}

PcloudSppplacementgroupsDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSppplacementgroupsDeleteForbidden

func NewPcloudSppplacementgroupsDeleteForbidden() *PcloudSppplacementgroupsDeleteForbidden

NewPcloudSppplacementgroupsDeleteForbidden creates a PcloudSppplacementgroupsDeleteForbidden with default headers values

func (*PcloudSppplacementgroupsDeleteForbidden) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups delete forbidden response

func (*PcloudSppplacementgroupsDeleteForbidden) Error

func (*PcloudSppplacementgroupsDeleteForbidden) GetPayload

func (*PcloudSppplacementgroupsDeleteForbidden) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteForbidden) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups delete forbidden response has a 4xx status code

func (*PcloudSppplacementgroupsDeleteForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups delete forbidden response a status code equal to that given

func (*PcloudSppplacementgroupsDeleteForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups delete forbidden response has a 3xx status code

func (*PcloudSppplacementgroupsDeleteForbidden) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteForbidden) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups delete forbidden response has a 5xx status code

func (*PcloudSppplacementgroupsDeleteForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups delete forbidden response has a 2xx status code

func (*PcloudSppplacementgroupsDeleteForbidden) String added in v1.2.2

type PcloudSppplacementgroupsDeleteInternalServerError

type PcloudSppplacementgroupsDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudSppplacementgroupsDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSppplacementgroupsDeleteInternalServerError

func NewPcloudSppplacementgroupsDeleteInternalServerError() *PcloudSppplacementgroupsDeleteInternalServerError

NewPcloudSppplacementgroupsDeleteInternalServerError creates a PcloudSppplacementgroupsDeleteInternalServerError with default headers values

func (*PcloudSppplacementgroupsDeleteInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups delete internal server error response

func (*PcloudSppplacementgroupsDeleteInternalServerError) Error

func (*PcloudSppplacementgroupsDeleteInternalServerError) GetPayload

func (*PcloudSppplacementgroupsDeleteInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups delete internal server error response has a 4xx status code

func (*PcloudSppplacementgroupsDeleteInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups delete internal server error response a status code equal to that given

func (*PcloudSppplacementgroupsDeleteInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups delete internal server error response has a 3xx status code

func (*PcloudSppplacementgroupsDeleteInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups delete internal server error response has a 5xx status code

func (*PcloudSppplacementgroupsDeleteInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups delete internal server error response has a 2xx status code

func (*PcloudSppplacementgroupsDeleteInternalServerError) String added in v1.2.2

type PcloudSppplacementgroupsDeleteNotFound

type PcloudSppplacementgroupsDeleteNotFound struct {
	Payload *models.Error
}

PcloudSppplacementgroupsDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudSppplacementgroupsDeleteNotFound

func NewPcloudSppplacementgroupsDeleteNotFound() *PcloudSppplacementgroupsDeleteNotFound

NewPcloudSppplacementgroupsDeleteNotFound creates a PcloudSppplacementgroupsDeleteNotFound with default headers values

func (*PcloudSppplacementgroupsDeleteNotFound) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups delete not found response

func (*PcloudSppplacementgroupsDeleteNotFound) Error

func (*PcloudSppplacementgroupsDeleteNotFound) GetPayload

func (*PcloudSppplacementgroupsDeleteNotFound) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteNotFound) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups delete not found response has a 4xx status code

func (*PcloudSppplacementgroupsDeleteNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups delete not found response a status code equal to that given

func (*PcloudSppplacementgroupsDeleteNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups delete not found response has a 3xx status code

func (*PcloudSppplacementgroupsDeleteNotFound) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteNotFound) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups delete not found response has a 5xx status code

func (*PcloudSppplacementgroupsDeleteNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups delete not found response has a 2xx status code

func (*PcloudSppplacementgroupsDeleteNotFound) String added in v1.2.2

type PcloudSppplacementgroupsDeleteOK

type PcloudSppplacementgroupsDeleteOK struct {
	Payload models.Object
}

PcloudSppplacementgroupsDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudSppplacementgroupsDeleteOK

func NewPcloudSppplacementgroupsDeleteOK() *PcloudSppplacementgroupsDeleteOK

NewPcloudSppplacementgroupsDeleteOK creates a PcloudSppplacementgroupsDeleteOK with default headers values

func (*PcloudSppplacementgroupsDeleteOK) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups delete o k response

func (*PcloudSppplacementgroupsDeleteOK) Error

func (*PcloudSppplacementgroupsDeleteOK) GetPayload

func (*PcloudSppplacementgroupsDeleteOK) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups delete o k response has a 4xx status code

func (*PcloudSppplacementgroupsDeleteOK) IsCode added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteOK) IsCode(code int) bool

IsCode returns true when this pcloud sppplacementgroups delete o k response a status code equal to that given

func (*PcloudSppplacementgroupsDeleteOK) IsRedirect added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud sppplacementgroups delete o k response has a 3xx status code

func (*PcloudSppplacementgroupsDeleteOK) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups delete o k response has a 5xx status code

func (*PcloudSppplacementgroupsDeleteOK) IsSuccess added in v1.2.2

func (o *PcloudSppplacementgroupsDeleteOK) IsSuccess() bool

IsSuccess returns true when this pcloud sppplacementgroups delete o k response has a 2xx status code

func (*PcloudSppplacementgroupsDeleteOK) String added in v1.2.2

type PcloudSppplacementgroupsDeleteParams

type PcloudSppplacementgroupsDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SppPlacementGroupID.

	   Shared Processor Pool Placement Group ID or Name
	*/
	SppPlacementGroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsDeleteParams contains all the parameters to send to the API endpoint

for the pcloud sppplacementgroups delete operation.

Typically these are written to a http.Request.

func NewPcloudSppplacementgroupsDeleteParams

func NewPcloudSppplacementgroupsDeleteParams() *PcloudSppplacementgroupsDeleteParams

NewPcloudSppplacementgroupsDeleteParams creates a new PcloudSppplacementgroupsDeleteParams 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 NewPcloudSppplacementgroupsDeleteParamsWithContext

func NewPcloudSppplacementgroupsDeleteParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsDeleteParams

NewPcloudSppplacementgroupsDeleteParamsWithContext creates a new PcloudSppplacementgroupsDeleteParams object with the ability to set a context for a request.

func NewPcloudSppplacementgroupsDeleteParamsWithHTTPClient

func NewPcloudSppplacementgroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsDeleteParams

NewPcloudSppplacementgroupsDeleteParamsWithHTTPClient creates a new PcloudSppplacementgroupsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSppplacementgroupsDeleteParamsWithTimeout

func NewPcloudSppplacementgroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsDeleteParams

NewPcloudSppplacementgroupsDeleteParamsWithTimeout creates a new PcloudSppplacementgroupsDeleteParams object with the ability to set a timeout on a request.

func (*PcloudSppplacementgroupsDeleteParams) SetCloudInstanceID

func (o *PcloudSppplacementgroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) SetContext

SetContext adds the context to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) SetDefaults

func (o *PcloudSppplacementgroupsDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud sppplacementgroups delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsDeleteParams) SetHTTPClient

func (o *PcloudSppplacementgroupsDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) SetSppPlacementGroupID

func (o *PcloudSppplacementgroupsDeleteParams) SetSppPlacementGroupID(sppPlacementGroupID string)

SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) SetTimeout

func (o *PcloudSppplacementgroupsDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) WithCloudInstanceID

func (o *PcloudSppplacementgroupsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) WithContext

WithContext adds the context to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) WithDefaults

WithDefaults hydrates default values in the pcloud sppplacementgroups delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) WithSppPlacementGroupID

func (o *PcloudSppplacementgroupsDeleteParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsDeleteParams

WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud sppplacementgroups delete params

func (*PcloudSppplacementgroupsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSppplacementgroupsDeleteReader

type PcloudSppplacementgroupsDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsDeleteReader is a Reader for the PcloudSppplacementgroupsDelete structure.

func (*PcloudSppplacementgroupsDeleteReader) ReadResponse

func (o *PcloudSppplacementgroupsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudSppplacementgroupsDeleteUnauthorized

type PcloudSppplacementgroupsDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudSppplacementgroupsDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSppplacementgroupsDeleteUnauthorized

func NewPcloudSppplacementgroupsDeleteUnauthorized() *PcloudSppplacementgroupsDeleteUnauthorized

NewPcloudSppplacementgroupsDeleteUnauthorized creates a PcloudSppplacementgroupsDeleteUnauthorized with default headers values

func (*PcloudSppplacementgroupsDeleteUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups delete unauthorized response

func (*PcloudSppplacementgroupsDeleteUnauthorized) Error

func (*PcloudSppplacementgroupsDeleteUnauthorized) GetPayload

func (*PcloudSppplacementgroupsDeleteUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups delete unauthorized response has a 4xx status code

func (*PcloudSppplacementgroupsDeleteUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups delete unauthorized response a status code equal to that given

func (*PcloudSppplacementgroupsDeleteUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups delete unauthorized response has a 3xx status code

func (*PcloudSppplacementgroupsDeleteUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups delete unauthorized response has a 5xx status code

func (*PcloudSppplacementgroupsDeleteUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups delete unauthorized response has a 2xx status code

func (*PcloudSppplacementgroupsDeleteUnauthorized) String added in v1.2.2

type PcloudSppplacementgroupsGetBadRequest

type PcloudSppplacementgroupsGetBadRequest struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSppplacementgroupsGetBadRequest

func NewPcloudSppplacementgroupsGetBadRequest() *PcloudSppplacementgroupsGetBadRequest

NewPcloudSppplacementgroupsGetBadRequest creates a PcloudSppplacementgroupsGetBadRequest with default headers values

func (*PcloudSppplacementgroupsGetBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups get bad request response

func (*PcloudSppplacementgroupsGetBadRequest) Error

func (*PcloudSppplacementgroupsGetBadRequest) GetPayload

func (*PcloudSppplacementgroupsGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups get bad request response has a 4xx status code

func (*PcloudSppplacementgroupsGetBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups get bad request response a status code equal to that given

func (*PcloudSppplacementgroupsGetBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups get bad request response has a 3xx status code

func (*PcloudSppplacementgroupsGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups get bad request response has a 5xx status code

func (*PcloudSppplacementgroupsGetBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups get bad request response has a 2xx status code

func (*PcloudSppplacementgroupsGetBadRequest) String added in v1.2.2

type PcloudSppplacementgroupsGetInternalServerError

type PcloudSppplacementgroupsGetInternalServerError struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSppplacementgroupsGetInternalServerError

func NewPcloudSppplacementgroupsGetInternalServerError() *PcloudSppplacementgroupsGetInternalServerError

NewPcloudSppplacementgroupsGetInternalServerError creates a PcloudSppplacementgroupsGetInternalServerError with default headers values

func (*PcloudSppplacementgroupsGetInternalServerError) Code added in v1.2.4

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

func (*PcloudSppplacementgroupsGetInternalServerError) Error

func (*PcloudSppplacementgroupsGetInternalServerError) GetPayload

func (*PcloudSppplacementgroupsGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups get internal server error response has a 4xx status code

func (*PcloudSppplacementgroupsGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups get internal server error response a status code equal to that given

func (*PcloudSppplacementgroupsGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups get internal server error response has a 3xx status code

func (*PcloudSppplacementgroupsGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups get internal server error response has a 5xx status code

func (*PcloudSppplacementgroupsGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups get internal server error response has a 2xx status code

func (*PcloudSppplacementgroupsGetInternalServerError) String added in v1.2.2

type PcloudSppplacementgroupsGetNotFound

type PcloudSppplacementgroupsGetNotFound struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudSppplacementgroupsGetNotFound

func NewPcloudSppplacementgroupsGetNotFound() *PcloudSppplacementgroupsGetNotFound

NewPcloudSppplacementgroupsGetNotFound creates a PcloudSppplacementgroupsGetNotFound with default headers values

func (*PcloudSppplacementgroupsGetNotFound) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups get not found response

func (*PcloudSppplacementgroupsGetNotFound) Error

func (*PcloudSppplacementgroupsGetNotFound) GetPayload

func (*PcloudSppplacementgroupsGetNotFound) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups get not found response has a 4xx status code

func (*PcloudSppplacementgroupsGetNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups get not found response a status code equal to that given

func (*PcloudSppplacementgroupsGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudSppplacementgroupsGetNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud sppplacementgroups get not found response has a 3xx status code

func (*PcloudSppplacementgroupsGetNotFound) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups get not found response has a 5xx status code

func (*PcloudSppplacementgroupsGetNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups get not found response has a 2xx status code

func (*PcloudSppplacementgroupsGetNotFound) String added in v1.2.2

type PcloudSppplacementgroupsGetOK

type PcloudSppplacementgroupsGetOK struct {
	Payload *models.SPPPlacementGroup
}

PcloudSppplacementgroupsGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudSppplacementgroupsGetOK

func NewPcloudSppplacementgroupsGetOK() *PcloudSppplacementgroupsGetOK

NewPcloudSppplacementgroupsGetOK creates a PcloudSppplacementgroupsGetOK with default headers values

func (*PcloudSppplacementgroupsGetOK) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups get o k response

func (*PcloudSppplacementgroupsGetOK) Error

func (*PcloudSppplacementgroupsGetOK) GetPayload

func (*PcloudSppplacementgroupsGetOK) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsGetOK) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups get o k response has a 4xx status code

func (*PcloudSppplacementgroupsGetOK) IsCode added in v1.2.2

func (o *PcloudSppplacementgroupsGetOK) IsCode(code int) bool

IsCode returns true when this pcloud sppplacementgroups get o k response a status code equal to that given

func (*PcloudSppplacementgroupsGetOK) IsRedirect added in v1.2.2

func (o *PcloudSppplacementgroupsGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud sppplacementgroups get o k response has a 3xx status code

func (*PcloudSppplacementgroupsGetOK) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsGetOK) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups get o k response has a 5xx status code

func (*PcloudSppplacementgroupsGetOK) IsSuccess added in v1.2.2

func (o *PcloudSppplacementgroupsGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud sppplacementgroups get o k response has a 2xx status code

func (*PcloudSppplacementgroupsGetOK) String added in v1.2.2

type PcloudSppplacementgroupsGetParams

type PcloudSppplacementgroupsGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SppPlacementGroupID.

	   Shared Processor Pool Placement Group ID or Name
	*/
	SppPlacementGroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsGetParams contains all the parameters to send to the API endpoint

for the pcloud sppplacementgroups get operation.

Typically these are written to a http.Request.

func NewPcloudSppplacementgroupsGetParams

func NewPcloudSppplacementgroupsGetParams() *PcloudSppplacementgroupsGetParams

NewPcloudSppplacementgroupsGetParams creates a new PcloudSppplacementgroupsGetParams 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 NewPcloudSppplacementgroupsGetParamsWithContext

func NewPcloudSppplacementgroupsGetParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsGetParams

NewPcloudSppplacementgroupsGetParamsWithContext creates a new PcloudSppplacementgroupsGetParams object with the ability to set a context for a request.

func NewPcloudSppplacementgroupsGetParamsWithHTTPClient

func NewPcloudSppplacementgroupsGetParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetParams

NewPcloudSppplacementgroupsGetParamsWithHTTPClient creates a new PcloudSppplacementgroupsGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSppplacementgroupsGetParamsWithTimeout

func NewPcloudSppplacementgroupsGetParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetParams

NewPcloudSppplacementgroupsGetParamsWithTimeout creates a new PcloudSppplacementgroupsGetParams object with the ability to set a timeout on a request.

func (*PcloudSppplacementgroupsGetParams) SetCloudInstanceID

func (o *PcloudSppplacementgroupsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) SetContext

SetContext adds the context to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) SetDefaults

func (o *PcloudSppplacementgroupsGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud sppplacementgroups get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsGetParams) SetHTTPClient

func (o *PcloudSppplacementgroupsGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) SetSppPlacementGroupID

func (o *PcloudSppplacementgroupsGetParams) SetSppPlacementGroupID(sppPlacementGroupID string)

SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) SetTimeout

func (o *PcloudSppplacementgroupsGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) WithCloudInstanceID

func (o *PcloudSppplacementgroupsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) WithContext

WithContext adds the context to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud sppplacementgroups get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) WithSppPlacementGroupID

func (o *PcloudSppplacementgroupsGetParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsGetParams

WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud sppplacementgroups get params

func (*PcloudSppplacementgroupsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSppplacementgroupsGetReader

type PcloudSppplacementgroupsGetReader struct {
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsGetReader is a Reader for the PcloudSppplacementgroupsGet structure.

func (*PcloudSppplacementgroupsGetReader) ReadResponse

func (o *PcloudSppplacementgroupsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudSppplacementgroupsGetUnauthorized

type PcloudSppplacementgroupsGetUnauthorized struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSppplacementgroupsGetUnauthorized

func NewPcloudSppplacementgroupsGetUnauthorized() *PcloudSppplacementgroupsGetUnauthorized

NewPcloudSppplacementgroupsGetUnauthorized creates a PcloudSppplacementgroupsGetUnauthorized with default headers values

func (*PcloudSppplacementgroupsGetUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups get unauthorized response

func (*PcloudSppplacementgroupsGetUnauthorized) Error

func (*PcloudSppplacementgroupsGetUnauthorized) GetPayload

func (*PcloudSppplacementgroupsGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsGetUnauthorized) IsClientError() bool

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

func (*PcloudSppplacementgroupsGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups get unauthorized response a status code equal to that given

func (*PcloudSppplacementgroupsGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudSppplacementgroupsGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsGetUnauthorized) IsServerError() bool

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

func (*PcloudSppplacementgroupsGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudSppplacementgroupsGetUnauthorized) String added in v1.2.2

type PcloudSppplacementgroupsGetallBadRequest

type PcloudSppplacementgroupsGetallBadRequest struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSppplacementgroupsGetallBadRequest

func NewPcloudSppplacementgroupsGetallBadRequest() *PcloudSppplacementgroupsGetallBadRequest

NewPcloudSppplacementgroupsGetallBadRequest creates a PcloudSppplacementgroupsGetallBadRequest with default headers values

func (*PcloudSppplacementgroupsGetallBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups getall bad request response

func (*PcloudSppplacementgroupsGetallBadRequest) Error

func (*PcloudSppplacementgroupsGetallBadRequest) GetPayload

func (*PcloudSppplacementgroupsGetallBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups getall bad request response has a 4xx status code

func (*PcloudSppplacementgroupsGetallBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups getall bad request response a status code equal to that given

func (*PcloudSppplacementgroupsGetallBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups getall bad request response has a 3xx status code

func (*PcloudSppplacementgroupsGetallBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups getall bad request response has a 5xx status code

func (*PcloudSppplacementgroupsGetallBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups getall bad request response has a 2xx status code

func (*PcloudSppplacementgroupsGetallBadRequest) String added in v1.2.2

type PcloudSppplacementgroupsGetallForbidden

type PcloudSppplacementgroupsGetallForbidden struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSppplacementgroupsGetallForbidden

func NewPcloudSppplacementgroupsGetallForbidden() *PcloudSppplacementgroupsGetallForbidden

NewPcloudSppplacementgroupsGetallForbidden creates a PcloudSppplacementgroupsGetallForbidden with default headers values

func (*PcloudSppplacementgroupsGetallForbidden) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups getall forbidden response

func (*PcloudSppplacementgroupsGetallForbidden) Error

func (*PcloudSppplacementgroupsGetallForbidden) GetPayload

func (*PcloudSppplacementgroupsGetallForbidden) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsGetallForbidden) IsClientError() bool

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

func (*PcloudSppplacementgroupsGetallForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups getall forbidden response a status code equal to that given

func (*PcloudSppplacementgroupsGetallForbidden) IsRedirect added in v1.2.2

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

func (*PcloudSppplacementgroupsGetallForbidden) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsGetallForbidden) IsServerError() bool

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

func (*PcloudSppplacementgroupsGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudSppplacementgroupsGetallForbidden) String added in v1.2.2

type PcloudSppplacementgroupsGetallInternalServerError

type PcloudSppplacementgroupsGetallInternalServerError struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSppplacementgroupsGetallInternalServerError

func NewPcloudSppplacementgroupsGetallInternalServerError() *PcloudSppplacementgroupsGetallInternalServerError

NewPcloudSppplacementgroupsGetallInternalServerError creates a PcloudSppplacementgroupsGetallInternalServerError with default headers values

func (*PcloudSppplacementgroupsGetallInternalServerError) Code added in v1.2.4

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

func (*PcloudSppplacementgroupsGetallInternalServerError) Error

func (*PcloudSppplacementgroupsGetallInternalServerError) GetPayload

func (*PcloudSppplacementgroupsGetallInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups getall internal server error response has a 4xx status code

func (*PcloudSppplacementgroupsGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups getall internal server error response a status code equal to that given

func (*PcloudSppplacementgroupsGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups getall internal server error response has a 3xx status code

func (*PcloudSppplacementgroupsGetallInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups getall internal server error response has a 5xx status code

func (*PcloudSppplacementgroupsGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups getall internal server error response has a 2xx status code

func (*PcloudSppplacementgroupsGetallInternalServerError) String added in v1.2.2

type PcloudSppplacementgroupsGetallNotFound

type PcloudSppplacementgroupsGetallNotFound struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudSppplacementgroupsGetallNotFound

func NewPcloudSppplacementgroupsGetallNotFound() *PcloudSppplacementgroupsGetallNotFound

NewPcloudSppplacementgroupsGetallNotFound creates a PcloudSppplacementgroupsGetallNotFound with default headers values

func (*PcloudSppplacementgroupsGetallNotFound) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups getall not found response

func (*PcloudSppplacementgroupsGetallNotFound) Error

func (*PcloudSppplacementgroupsGetallNotFound) GetPayload

func (*PcloudSppplacementgroupsGetallNotFound) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsGetallNotFound) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups getall not found response has a 4xx status code

func (*PcloudSppplacementgroupsGetallNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups getall not found response a status code equal to that given

func (*PcloudSppplacementgroupsGetallNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups getall not found response has a 3xx status code

func (*PcloudSppplacementgroupsGetallNotFound) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsGetallNotFound) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups getall not found response has a 5xx status code

func (*PcloudSppplacementgroupsGetallNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups getall not found response has a 2xx status code

func (*PcloudSppplacementgroupsGetallNotFound) String added in v1.2.2

type PcloudSppplacementgroupsGetallOK

type PcloudSppplacementgroupsGetallOK struct {
	Payload *models.SPPPlacementGroups
}

PcloudSppplacementgroupsGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudSppplacementgroupsGetallOK

func NewPcloudSppplacementgroupsGetallOK() *PcloudSppplacementgroupsGetallOK

NewPcloudSppplacementgroupsGetallOK creates a PcloudSppplacementgroupsGetallOK with default headers values

func (*PcloudSppplacementgroupsGetallOK) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups getall o k response

func (*PcloudSppplacementgroupsGetallOK) Error

func (*PcloudSppplacementgroupsGetallOK) GetPayload

func (*PcloudSppplacementgroupsGetallOK) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsGetallOK) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups getall o k response has a 4xx status code

func (*PcloudSppplacementgroupsGetallOK) IsCode added in v1.2.2

func (o *PcloudSppplacementgroupsGetallOK) IsCode(code int) bool

IsCode returns true when this pcloud sppplacementgroups getall o k response a status code equal to that given

func (*PcloudSppplacementgroupsGetallOK) IsRedirect added in v1.2.2

func (o *PcloudSppplacementgroupsGetallOK) IsRedirect() bool

IsRedirect returns true when this pcloud sppplacementgroups getall o k response has a 3xx status code

func (*PcloudSppplacementgroupsGetallOK) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsGetallOK) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups getall o k response has a 5xx status code

func (*PcloudSppplacementgroupsGetallOK) IsSuccess added in v1.2.2

func (o *PcloudSppplacementgroupsGetallOK) IsSuccess() bool

IsSuccess returns true when this pcloud sppplacementgroups getall o k response has a 2xx status code

func (*PcloudSppplacementgroupsGetallOK) String added in v1.2.2

type PcloudSppplacementgroupsGetallParams

type PcloudSppplacementgroupsGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsGetallParams contains all the parameters to send to the API endpoint

for the pcloud sppplacementgroups getall operation.

Typically these are written to a http.Request.

func NewPcloudSppplacementgroupsGetallParams

func NewPcloudSppplacementgroupsGetallParams() *PcloudSppplacementgroupsGetallParams

NewPcloudSppplacementgroupsGetallParams creates a new PcloudSppplacementgroupsGetallParams 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 NewPcloudSppplacementgroupsGetallParamsWithContext

func NewPcloudSppplacementgroupsGetallParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsGetallParams

NewPcloudSppplacementgroupsGetallParamsWithContext creates a new PcloudSppplacementgroupsGetallParams object with the ability to set a context for a request.

func NewPcloudSppplacementgroupsGetallParamsWithHTTPClient

func NewPcloudSppplacementgroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsGetallParams

NewPcloudSppplacementgroupsGetallParamsWithHTTPClient creates a new PcloudSppplacementgroupsGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSppplacementgroupsGetallParamsWithTimeout

func NewPcloudSppplacementgroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsGetallParams

NewPcloudSppplacementgroupsGetallParamsWithTimeout creates a new PcloudSppplacementgroupsGetallParams object with the ability to set a timeout on a request.

func (*PcloudSppplacementgroupsGetallParams) SetCloudInstanceID

func (o *PcloudSppplacementgroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) SetContext

SetContext adds the context to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) SetDefaults

func (o *PcloudSppplacementgroupsGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud sppplacementgroups getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsGetallParams) SetHTTPClient

func (o *PcloudSppplacementgroupsGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) SetTimeout

func (o *PcloudSppplacementgroupsGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) WithCloudInstanceID

func (o *PcloudSppplacementgroupsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) WithContext

WithContext adds the context to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud sppplacementgroups getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud sppplacementgroups getall params

func (*PcloudSppplacementgroupsGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSppplacementgroupsGetallReader

type PcloudSppplacementgroupsGetallReader struct {
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsGetallReader is a Reader for the PcloudSppplacementgroupsGetall structure.

func (*PcloudSppplacementgroupsGetallReader) ReadResponse

func (o *PcloudSppplacementgroupsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudSppplacementgroupsGetallUnauthorized

type PcloudSppplacementgroupsGetallUnauthorized struct {
	Payload *models.Error
}

PcloudSppplacementgroupsGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSppplacementgroupsGetallUnauthorized

func NewPcloudSppplacementgroupsGetallUnauthorized() *PcloudSppplacementgroupsGetallUnauthorized

NewPcloudSppplacementgroupsGetallUnauthorized creates a PcloudSppplacementgroupsGetallUnauthorized with default headers values

func (*PcloudSppplacementgroupsGetallUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups getall unauthorized response

func (*PcloudSppplacementgroupsGetallUnauthorized) Error

func (*PcloudSppplacementgroupsGetallUnauthorized) GetPayload

func (*PcloudSppplacementgroupsGetallUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudSppplacementgroupsGetallUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups getall unauthorized response a status code equal to that given

func (*PcloudSppplacementgroupsGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudSppplacementgroupsGetallUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudSppplacementgroupsGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudSppplacementgroupsGetallUnauthorized) String added in v1.2.2

type PcloudSppplacementgroupsMembersDeleteBadRequest

type PcloudSppplacementgroupsMembersDeleteBadRequest struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSppplacementgroupsMembersDeleteBadRequest

func NewPcloudSppplacementgroupsMembersDeleteBadRequest() *PcloudSppplacementgroupsMembersDeleteBadRequest

NewPcloudSppplacementgroupsMembersDeleteBadRequest creates a PcloudSppplacementgroupsMembersDeleteBadRequest with default headers values

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members delete bad request response

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) Error

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) GetPayload

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members delete bad request response has a 4xx status code

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members delete bad request response a status code equal to that given

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members delete bad request response has a 3xx status code

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members delete bad request response has a 5xx status code

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members delete bad request response has a 2xx status code

func (*PcloudSppplacementgroupsMembersDeleteBadRequest) String added in v1.2.2

type PcloudSppplacementgroupsMembersDeleteConflict

type PcloudSppplacementgroupsMembersDeleteConflict struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersDeleteConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudSppplacementgroupsMembersDeleteConflict

func NewPcloudSppplacementgroupsMembersDeleteConflict() *PcloudSppplacementgroupsMembersDeleteConflict

NewPcloudSppplacementgroupsMembersDeleteConflict creates a PcloudSppplacementgroupsMembersDeleteConflict with default headers values

func (*PcloudSppplacementgroupsMembersDeleteConflict) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members delete conflict response

func (*PcloudSppplacementgroupsMembersDeleteConflict) Error

func (*PcloudSppplacementgroupsMembersDeleteConflict) GetPayload

func (*PcloudSppplacementgroupsMembersDeleteConflict) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members delete conflict response has a 4xx status code

func (*PcloudSppplacementgroupsMembersDeleteConflict) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members delete conflict response a status code equal to that given

func (*PcloudSppplacementgroupsMembersDeleteConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members delete conflict response has a 3xx status code

func (*PcloudSppplacementgroupsMembersDeleteConflict) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members delete conflict response has a 5xx status code

func (*PcloudSppplacementgroupsMembersDeleteConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members delete conflict response has a 2xx status code

func (*PcloudSppplacementgroupsMembersDeleteConflict) String added in v1.2.2

type PcloudSppplacementgroupsMembersDeleteForbidden

type PcloudSppplacementgroupsMembersDeleteForbidden struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSppplacementgroupsMembersDeleteForbidden

func NewPcloudSppplacementgroupsMembersDeleteForbidden() *PcloudSppplacementgroupsMembersDeleteForbidden

NewPcloudSppplacementgroupsMembersDeleteForbidden creates a PcloudSppplacementgroupsMembersDeleteForbidden with default headers values

func (*PcloudSppplacementgroupsMembersDeleteForbidden) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members delete forbidden response

func (*PcloudSppplacementgroupsMembersDeleteForbidden) Error

func (*PcloudSppplacementgroupsMembersDeleteForbidden) GetPayload

func (*PcloudSppplacementgroupsMembersDeleteForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members delete forbidden response has a 4xx status code

func (*PcloudSppplacementgroupsMembersDeleteForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members delete forbidden response a status code equal to that given

func (*PcloudSppplacementgroupsMembersDeleteForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members delete forbidden response has a 3xx status code

func (*PcloudSppplacementgroupsMembersDeleteForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members delete forbidden response has a 5xx status code

func (*PcloudSppplacementgroupsMembersDeleteForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members delete forbidden response has a 2xx status code

func (*PcloudSppplacementgroupsMembersDeleteForbidden) String added in v1.2.2

type PcloudSppplacementgroupsMembersDeleteInternalServerError

type PcloudSppplacementgroupsMembersDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSppplacementgroupsMembersDeleteInternalServerError

func NewPcloudSppplacementgroupsMembersDeleteInternalServerError() *PcloudSppplacementgroupsMembersDeleteInternalServerError

NewPcloudSppplacementgroupsMembersDeleteInternalServerError creates a PcloudSppplacementgroupsMembersDeleteInternalServerError with default headers values

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members delete internal server error response

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) Error

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) GetPayload

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members delete internal server error response has a 4xx status code

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members delete internal server error response a status code equal to that given

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members delete internal server error response has a 3xx status code

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members delete internal server error response has a 5xx status code

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members delete internal server error response has a 2xx status code

func (*PcloudSppplacementgroupsMembersDeleteInternalServerError) String added in v1.2.2

type PcloudSppplacementgroupsMembersDeleteNotFound

type PcloudSppplacementgroupsMembersDeleteNotFound struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudSppplacementgroupsMembersDeleteNotFound

func NewPcloudSppplacementgroupsMembersDeleteNotFound() *PcloudSppplacementgroupsMembersDeleteNotFound

NewPcloudSppplacementgroupsMembersDeleteNotFound creates a PcloudSppplacementgroupsMembersDeleteNotFound with default headers values

func (*PcloudSppplacementgroupsMembersDeleteNotFound) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members delete not found response

func (*PcloudSppplacementgroupsMembersDeleteNotFound) Error

func (*PcloudSppplacementgroupsMembersDeleteNotFound) GetPayload

func (*PcloudSppplacementgroupsMembersDeleteNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members delete not found response has a 4xx status code

func (*PcloudSppplacementgroupsMembersDeleteNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members delete not found response a status code equal to that given

func (*PcloudSppplacementgroupsMembersDeleteNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members delete not found response has a 3xx status code

func (*PcloudSppplacementgroupsMembersDeleteNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members delete not found response has a 5xx status code

func (*PcloudSppplacementgroupsMembersDeleteNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members delete not found response has a 2xx status code

func (*PcloudSppplacementgroupsMembersDeleteNotFound) String added in v1.2.2

type PcloudSppplacementgroupsMembersDeleteOK

type PcloudSppplacementgroupsMembersDeleteOK struct {
	Payload *models.SPPPlacementGroup
}

PcloudSppplacementgroupsMembersDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudSppplacementgroupsMembersDeleteOK

func NewPcloudSppplacementgroupsMembersDeleteOK() *PcloudSppplacementgroupsMembersDeleteOK

NewPcloudSppplacementgroupsMembersDeleteOK creates a PcloudSppplacementgroupsMembersDeleteOK with default headers values

func (*PcloudSppplacementgroupsMembersDeleteOK) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members delete o k response

func (*PcloudSppplacementgroupsMembersDeleteOK) Error

func (*PcloudSppplacementgroupsMembersDeleteOK) GetPayload

func (*PcloudSppplacementgroupsMembersDeleteOK) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsMembersDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups members delete o k response has a 4xx status code

func (*PcloudSppplacementgroupsMembersDeleteOK) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members delete o k response a status code equal to that given

func (*PcloudSppplacementgroupsMembersDeleteOK) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members delete o k response has a 3xx status code

func (*PcloudSppplacementgroupsMembersDeleteOK) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsMembersDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups members delete o k response has a 5xx status code

func (*PcloudSppplacementgroupsMembersDeleteOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members delete o k response has a 2xx status code

func (*PcloudSppplacementgroupsMembersDeleteOK) String added in v1.2.2

type PcloudSppplacementgroupsMembersDeleteParams

type PcloudSppplacementgroupsMembersDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SharedProcessorPoolID.

	   Shared Processor Pool ID or Name
	*/
	SharedProcessorPoolID string

	/* SppPlacementGroupID.

	   Shared Processor Pool Placement Group ID or Name
	*/
	SppPlacementGroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsMembersDeleteParams contains all the parameters to send to the API endpoint

for the pcloud sppplacementgroups members delete operation.

Typically these are written to a http.Request.

func NewPcloudSppplacementgroupsMembersDeleteParams

func NewPcloudSppplacementgroupsMembersDeleteParams() *PcloudSppplacementgroupsMembersDeleteParams

NewPcloudSppplacementgroupsMembersDeleteParams creates a new PcloudSppplacementgroupsMembersDeleteParams 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 NewPcloudSppplacementgroupsMembersDeleteParamsWithContext

func NewPcloudSppplacementgroupsMembersDeleteParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsMembersDeleteParams

NewPcloudSppplacementgroupsMembersDeleteParamsWithContext creates a new PcloudSppplacementgroupsMembersDeleteParams object with the ability to set a context for a request.

func NewPcloudSppplacementgroupsMembersDeleteParamsWithHTTPClient

func NewPcloudSppplacementgroupsMembersDeleteParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersDeleteParams

NewPcloudSppplacementgroupsMembersDeleteParamsWithHTTPClient creates a new PcloudSppplacementgroupsMembersDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSppplacementgroupsMembersDeleteParamsWithTimeout

func NewPcloudSppplacementgroupsMembersDeleteParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersDeleteParams

NewPcloudSppplacementgroupsMembersDeleteParamsWithTimeout creates a new PcloudSppplacementgroupsMembersDeleteParams object with the ability to set a timeout on a request.

func (*PcloudSppplacementgroupsMembersDeleteParams) SetCloudInstanceID

func (o *PcloudSppplacementgroupsMembersDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) SetContext

SetContext adds the context to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) SetDefaults

SetDefaults hydrates default values in the pcloud sppplacementgroups members delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsMembersDeleteParams) SetHTTPClient

func (o *PcloudSppplacementgroupsMembersDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) SetSharedProcessorPoolID

func (o *PcloudSppplacementgroupsMembersDeleteParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)

SetSharedProcessorPoolID adds the sharedProcessorPoolId to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) SetSppPlacementGroupID

func (o *PcloudSppplacementgroupsMembersDeleteParams) SetSppPlacementGroupID(sppPlacementGroupID string)

SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) SetTimeout

SetTimeout adds the timeout to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) WithContext

WithContext adds the context to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) WithDefaults

WithDefaults hydrates default values in the pcloud sppplacementgroups members delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsMembersDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) WithSharedProcessorPoolID

func (o *PcloudSppplacementgroupsMembersDeleteParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSppplacementgroupsMembersDeleteParams

WithSharedProcessorPoolID adds the sharedProcessorPoolID to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) WithSppPlacementGroupID

WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud sppplacementgroups members delete params

func (*PcloudSppplacementgroupsMembersDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSppplacementgroupsMembersDeleteReader

type PcloudSppplacementgroupsMembersDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsMembersDeleteReader is a Reader for the PcloudSppplacementgroupsMembersDelete structure.

func (*PcloudSppplacementgroupsMembersDeleteReader) ReadResponse

func (o *PcloudSppplacementgroupsMembersDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudSppplacementgroupsMembersDeleteUnauthorized

type PcloudSppplacementgroupsMembersDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSppplacementgroupsMembersDeleteUnauthorized

func NewPcloudSppplacementgroupsMembersDeleteUnauthorized() *PcloudSppplacementgroupsMembersDeleteUnauthorized

NewPcloudSppplacementgroupsMembersDeleteUnauthorized creates a PcloudSppplacementgroupsMembersDeleteUnauthorized with default headers values

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members delete unauthorized response

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) Error

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) GetPayload

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members delete unauthorized response has a 4xx status code

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members delete unauthorized response a status code equal to that given

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members delete unauthorized response has a 3xx status code

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members delete unauthorized response has a 5xx status code

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members delete unauthorized response has a 2xx status code

func (*PcloudSppplacementgroupsMembersDeleteUnauthorized) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostBadRequest

type PcloudSppplacementgroupsMembersPostBadRequest struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSppplacementgroupsMembersPostBadRequest

func NewPcloudSppplacementgroupsMembersPostBadRequest() *PcloudSppplacementgroupsMembersPostBadRequest

NewPcloudSppplacementgroupsMembersPostBadRequest creates a PcloudSppplacementgroupsMembersPostBadRequest with default headers values

func (*PcloudSppplacementgroupsMembersPostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post bad request response

func (*PcloudSppplacementgroupsMembersPostBadRequest) Error

func (*PcloudSppplacementgroupsMembersPostBadRequest) GetPayload

func (*PcloudSppplacementgroupsMembersPostBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members post bad request response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post bad request response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post bad request response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members post bad request response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post bad request response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostBadRequest) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostConflict

type PcloudSppplacementgroupsMembersPostConflict struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudSppplacementgroupsMembersPostConflict

func NewPcloudSppplacementgroupsMembersPostConflict() *PcloudSppplacementgroupsMembersPostConflict

NewPcloudSppplacementgroupsMembersPostConflict creates a PcloudSppplacementgroupsMembersPostConflict with default headers values

func (*PcloudSppplacementgroupsMembersPostConflict) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post conflict response

func (*PcloudSppplacementgroupsMembersPostConflict) Error

func (*PcloudSppplacementgroupsMembersPostConflict) GetPayload

func (*PcloudSppplacementgroupsMembersPostConflict) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members post conflict response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostConflict) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post conflict response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post conflict response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostConflict) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members post conflict response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post conflict response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostConflict) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostForbidden

type PcloudSppplacementgroupsMembersPostForbidden struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSppplacementgroupsMembersPostForbidden

func NewPcloudSppplacementgroupsMembersPostForbidden() *PcloudSppplacementgroupsMembersPostForbidden

NewPcloudSppplacementgroupsMembersPostForbidden creates a PcloudSppplacementgroupsMembersPostForbidden with default headers values

func (*PcloudSppplacementgroupsMembersPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post forbidden response

func (*PcloudSppplacementgroupsMembersPostForbidden) Error

func (*PcloudSppplacementgroupsMembersPostForbidden) GetPayload

func (*PcloudSppplacementgroupsMembersPostForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members post forbidden response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post forbidden response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post forbidden response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members post forbidden response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post forbidden response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostForbidden) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostInternalServerError

type PcloudSppplacementgroupsMembersPostInternalServerError struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSppplacementgroupsMembersPostInternalServerError

func NewPcloudSppplacementgroupsMembersPostInternalServerError() *PcloudSppplacementgroupsMembersPostInternalServerError

NewPcloudSppplacementgroupsMembersPostInternalServerError creates a PcloudSppplacementgroupsMembersPostInternalServerError with default headers values

func (*PcloudSppplacementgroupsMembersPostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post internal server error response

func (*PcloudSppplacementgroupsMembersPostInternalServerError) Error

func (*PcloudSppplacementgroupsMembersPostInternalServerError) GetPayload

func (*PcloudSppplacementgroupsMembersPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members post internal server error response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post internal server error response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post internal server error response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members post internal server error response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post internal server error response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostInternalServerError) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostNotFound added in v1.1.11

type PcloudSppplacementgroupsMembersPostNotFound struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudSppplacementgroupsMembersPostNotFound added in v1.1.11

func NewPcloudSppplacementgroupsMembersPostNotFound() *PcloudSppplacementgroupsMembersPostNotFound

NewPcloudSppplacementgroupsMembersPostNotFound creates a PcloudSppplacementgroupsMembersPostNotFound with default headers values

func (*PcloudSppplacementgroupsMembersPostNotFound) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post not found response

func (*PcloudSppplacementgroupsMembersPostNotFound) Error added in v1.1.11

func (*PcloudSppplacementgroupsMembersPostNotFound) GetPayload added in v1.1.11

func (*PcloudSppplacementgroupsMembersPostNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members post not found response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post not found response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post not found response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members post not found response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post not found response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostNotFound) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostOK

type PcloudSppplacementgroupsMembersPostOK struct {
	Payload *models.SPPPlacementGroup
}

PcloudSppplacementgroupsMembersPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudSppplacementgroupsMembersPostOK

func NewPcloudSppplacementgroupsMembersPostOK() *PcloudSppplacementgroupsMembersPostOK

NewPcloudSppplacementgroupsMembersPostOK creates a PcloudSppplacementgroupsMembersPostOK with default headers values

func (*PcloudSppplacementgroupsMembersPostOK) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post o k response

func (*PcloudSppplacementgroupsMembersPostOK) Error

func (*PcloudSppplacementgroupsMembersPostOK) GetPayload

func (*PcloudSppplacementgroupsMembersPostOK) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsMembersPostOK) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups members post o k response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostOK) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post o k response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostOK) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post o k response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostOK) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsMembersPostOK) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups members post o k response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post o k response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostOK) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostParams

type PcloudSppplacementgroupsMembersPostParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SharedProcessorPoolID.

	   Shared Processor Pool ID or Name
	*/
	SharedProcessorPoolID string

	/* SppPlacementGroupID.

	   Shared Processor Pool Placement Group ID or Name
	*/
	SppPlacementGroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsMembersPostParams contains all the parameters to send to the API endpoint

for the pcloud sppplacementgroups members post operation.

Typically these are written to a http.Request.

func NewPcloudSppplacementgroupsMembersPostParams

func NewPcloudSppplacementgroupsMembersPostParams() *PcloudSppplacementgroupsMembersPostParams

NewPcloudSppplacementgroupsMembersPostParams creates a new PcloudSppplacementgroupsMembersPostParams 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 NewPcloudSppplacementgroupsMembersPostParamsWithContext

func NewPcloudSppplacementgroupsMembersPostParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsMembersPostParams

NewPcloudSppplacementgroupsMembersPostParamsWithContext creates a new PcloudSppplacementgroupsMembersPostParams object with the ability to set a context for a request.

func NewPcloudSppplacementgroupsMembersPostParamsWithHTTPClient

func NewPcloudSppplacementgroupsMembersPostParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsMembersPostParams

NewPcloudSppplacementgroupsMembersPostParamsWithHTTPClient creates a new PcloudSppplacementgroupsMembersPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSppplacementgroupsMembersPostParamsWithTimeout

func NewPcloudSppplacementgroupsMembersPostParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsMembersPostParams

NewPcloudSppplacementgroupsMembersPostParamsWithTimeout creates a new PcloudSppplacementgroupsMembersPostParams object with the ability to set a timeout on a request.

func (*PcloudSppplacementgroupsMembersPostParams) SetCloudInstanceID

func (o *PcloudSppplacementgroupsMembersPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) SetContext

SetContext adds the context to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) SetDefaults

SetDefaults hydrates default values in the pcloud sppplacementgroups members post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsMembersPostParams) SetHTTPClient

func (o *PcloudSppplacementgroupsMembersPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) SetSharedProcessorPoolID

func (o *PcloudSppplacementgroupsMembersPostParams) SetSharedProcessorPoolID(sharedProcessorPoolID string)

SetSharedProcessorPoolID adds the sharedProcessorPoolId to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) SetSppPlacementGroupID

func (o *PcloudSppplacementgroupsMembersPostParams) SetSppPlacementGroupID(sppPlacementGroupID string)

SetSppPlacementGroupID adds the sppPlacementGroupId to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) SetTimeout

SetTimeout adds the timeout to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) WithContext

WithContext adds the context to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud sppplacementgroups members post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsMembersPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) WithSharedProcessorPoolID

func (o *PcloudSppplacementgroupsMembersPostParams) WithSharedProcessorPoolID(sharedProcessorPoolID string) *PcloudSppplacementgroupsMembersPostParams

WithSharedProcessorPoolID adds the sharedProcessorPoolID to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) WithSppPlacementGroupID

func (o *PcloudSppplacementgroupsMembersPostParams) WithSppPlacementGroupID(sppPlacementGroupID string) *PcloudSppplacementgroupsMembersPostParams

WithSppPlacementGroupID adds the sppPlacementGroupID to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud sppplacementgroups members post params

func (*PcloudSppplacementgroupsMembersPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSppplacementgroupsMembersPostReader

type PcloudSppplacementgroupsMembersPostReader struct {
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsMembersPostReader is a Reader for the PcloudSppplacementgroupsMembersPost structure.

func (*PcloudSppplacementgroupsMembersPostReader) ReadResponse

func (o *PcloudSppplacementgroupsMembersPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudSppplacementgroupsMembersPostUnauthorized

type PcloudSppplacementgroupsMembersPostUnauthorized struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSppplacementgroupsMembersPostUnauthorized

func NewPcloudSppplacementgroupsMembersPostUnauthorized() *PcloudSppplacementgroupsMembersPostUnauthorized

NewPcloudSppplacementgroupsMembersPostUnauthorized creates a PcloudSppplacementgroupsMembersPostUnauthorized with default headers values

func (*PcloudSppplacementgroupsMembersPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post unauthorized response

func (*PcloudSppplacementgroupsMembersPostUnauthorized) Error

func (*PcloudSppplacementgroupsMembersPostUnauthorized) GetPayload

func (*PcloudSppplacementgroupsMembersPostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members post unauthorized response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post unauthorized response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post unauthorized response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members post unauthorized response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post unauthorized response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostUnauthorized) String added in v1.2.2

type PcloudSppplacementgroupsMembersPostUnprocessableEntity

type PcloudSppplacementgroupsMembersPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudSppplacementgroupsMembersPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudSppplacementgroupsMembersPostUnprocessableEntity

func NewPcloudSppplacementgroupsMembersPostUnprocessableEntity() *PcloudSppplacementgroupsMembersPostUnprocessableEntity

NewPcloudSppplacementgroupsMembersPostUnprocessableEntity creates a PcloudSppplacementgroupsMembersPostUnprocessableEntity with default headers values

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups members post unprocessable entity response

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) Error

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) GetPayload

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups members post unprocessable entity response has a 4xx status code

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups members post unprocessable entity response a status code equal to that given

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups members post unprocessable entity response has a 3xx status code

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups members post unprocessable entity response has a 5xx status code

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups members post unprocessable entity response has a 2xx status code

func (*PcloudSppplacementgroupsMembersPostUnprocessableEntity) String added in v1.2.2

type PcloudSppplacementgroupsPostBadRequest

type PcloudSppplacementgroupsPostBadRequest struct {
	Payload *models.Error
}

PcloudSppplacementgroupsPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSppplacementgroupsPostBadRequest

func NewPcloudSppplacementgroupsPostBadRequest() *PcloudSppplacementgroupsPostBadRequest

NewPcloudSppplacementgroupsPostBadRequest creates a PcloudSppplacementgroupsPostBadRequest with default headers values

func (*PcloudSppplacementgroupsPostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups post bad request response

func (*PcloudSppplacementgroupsPostBadRequest) Error

func (*PcloudSppplacementgroupsPostBadRequest) GetPayload

func (*PcloudSppplacementgroupsPostBadRequest) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsPostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups post bad request response has a 4xx status code

func (*PcloudSppplacementgroupsPostBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups post bad request response a status code equal to that given

func (*PcloudSppplacementgroupsPostBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups post bad request response has a 3xx status code

func (*PcloudSppplacementgroupsPostBadRequest) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsPostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups post bad request response has a 5xx status code

func (*PcloudSppplacementgroupsPostBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups post bad request response has a 2xx status code

func (*PcloudSppplacementgroupsPostBadRequest) String added in v1.2.2

type PcloudSppplacementgroupsPostConflict

type PcloudSppplacementgroupsPostConflict struct {
	Payload *models.Error
}

PcloudSppplacementgroupsPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudSppplacementgroupsPostConflict

func NewPcloudSppplacementgroupsPostConflict() *PcloudSppplacementgroupsPostConflict

NewPcloudSppplacementgroupsPostConflict creates a PcloudSppplacementgroupsPostConflict with default headers values

func (*PcloudSppplacementgroupsPostConflict) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups post conflict response

func (*PcloudSppplacementgroupsPostConflict) Error

func (*PcloudSppplacementgroupsPostConflict) GetPayload

func (*PcloudSppplacementgroupsPostConflict) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsPostConflict) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups post conflict response has a 4xx status code

func (*PcloudSppplacementgroupsPostConflict) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups post conflict response a status code equal to that given

func (*PcloudSppplacementgroupsPostConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups post conflict response has a 3xx status code

func (*PcloudSppplacementgroupsPostConflict) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsPostConflict) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups post conflict response has a 5xx status code

func (*PcloudSppplacementgroupsPostConflict) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups post conflict response has a 2xx status code

func (*PcloudSppplacementgroupsPostConflict) String added in v1.2.2

type PcloudSppplacementgroupsPostForbidden

type PcloudSppplacementgroupsPostForbidden struct {
	Payload *models.Error
}

PcloudSppplacementgroupsPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSppplacementgroupsPostForbidden

func NewPcloudSppplacementgroupsPostForbidden() *PcloudSppplacementgroupsPostForbidden

NewPcloudSppplacementgroupsPostForbidden creates a PcloudSppplacementgroupsPostForbidden with default headers values

func (*PcloudSppplacementgroupsPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups post forbidden response

func (*PcloudSppplacementgroupsPostForbidden) Error

func (*PcloudSppplacementgroupsPostForbidden) GetPayload

func (*PcloudSppplacementgroupsPostForbidden) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups post forbidden response has a 4xx status code

func (*PcloudSppplacementgroupsPostForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups post forbidden response a status code equal to that given

func (*PcloudSppplacementgroupsPostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups post forbidden response has a 3xx status code

func (*PcloudSppplacementgroupsPostForbidden) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups post forbidden response has a 5xx status code

func (*PcloudSppplacementgroupsPostForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups post forbidden response has a 2xx status code

func (*PcloudSppplacementgroupsPostForbidden) String added in v1.2.2

type PcloudSppplacementgroupsPostInternalServerError

type PcloudSppplacementgroupsPostInternalServerError struct {
	Payload *models.Error
}

PcloudSppplacementgroupsPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSppplacementgroupsPostInternalServerError

func NewPcloudSppplacementgroupsPostInternalServerError() *PcloudSppplacementgroupsPostInternalServerError

NewPcloudSppplacementgroupsPostInternalServerError creates a PcloudSppplacementgroupsPostInternalServerError with default headers values

func (*PcloudSppplacementgroupsPostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups post internal server error response

func (*PcloudSppplacementgroupsPostInternalServerError) Error

func (*PcloudSppplacementgroupsPostInternalServerError) GetPayload

func (*PcloudSppplacementgroupsPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups post internal server error response has a 4xx status code

func (*PcloudSppplacementgroupsPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups post internal server error response a status code equal to that given

func (*PcloudSppplacementgroupsPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups post internal server error response has a 3xx status code

func (*PcloudSppplacementgroupsPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups post internal server error response has a 5xx status code

func (*PcloudSppplacementgroupsPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups post internal server error response has a 2xx status code

func (*PcloudSppplacementgroupsPostInternalServerError) String added in v1.2.2

type PcloudSppplacementgroupsPostOK

type PcloudSppplacementgroupsPostOK struct {
	Payload *models.SPPPlacementGroup
}

PcloudSppplacementgroupsPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudSppplacementgroupsPostOK

func NewPcloudSppplacementgroupsPostOK() *PcloudSppplacementgroupsPostOK

NewPcloudSppplacementgroupsPostOK creates a PcloudSppplacementgroupsPostOK with default headers values

func (*PcloudSppplacementgroupsPostOK) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups post o k response

func (*PcloudSppplacementgroupsPostOK) Error

func (*PcloudSppplacementgroupsPostOK) GetPayload

func (*PcloudSppplacementgroupsPostOK) IsClientError added in v1.2.2

func (o *PcloudSppplacementgroupsPostOK) IsClientError() bool

IsClientError returns true when this pcloud sppplacementgroups post o k response has a 4xx status code

func (*PcloudSppplacementgroupsPostOK) IsCode added in v1.2.2

func (o *PcloudSppplacementgroupsPostOK) IsCode(code int) bool

IsCode returns true when this pcloud sppplacementgroups post o k response a status code equal to that given

func (*PcloudSppplacementgroupsPostOK) IsRedirect added in v1.2.2

func (o *PcloudSppplacementgroupsPostOK) IsRedirect() bool

IsRedirect returns true when this pcloud sppplacementgroups post o k response has a 3xx status code

func (*PcloudSppplacementgroupsPostOK) IsServerError added in v1.2.2

func (o *PcloudSppplacementgroupsPostOK) IsServerError() bool

IsServerError returns true when this pcloud sppplacementgroups post o k response has a 5xx status code

func (*PcloudSppplacementgroupsPostOK) IsSuccess added in v1.2.2

func (o *PcloudSppplacementgroupsPostOK) IsSuccess() bool

IsSuccess returns true when this pcloud sppplacementgroups post o k response has a 2xx status code

func (*PcloudSppplacementgroupsPostOK) String added in v1.2.2

type PcloudSppplacementgroupsPostParams

type PcloudSppplacementgroupsPostParams struct {

	/* Body.

	   Parameters for the creation of a Shared Processor Pool Placement Group
	*/
	Body *models.SPPPlacementGroupCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsPostParams contains all the parameters to send to the API endpoint

for the pcloud sppplacementgroups post operation.

Typically these are written to a http.Request.

func NewPcloudSppplacementgroupsPostParams

func NewPcloudSppplacementgroupsPostParams() *PcloudSppplacementgroupsPostParams

NewPcloudSppplacementgroupsPostParams creates a new PcloudSppplacementgroupsPostParams 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 NewPcloudSppplacementgroupsPostParamsWithContext

func NewPcloudSppplacementgroupsPostParamsWithContext(ctx context.Context) *PcloudSppplacementgroupsPostParams

NewPcloudSppplacementgroupsPostParamsWithContext creates a new PcloudSppplacementgroupsPostParams object with the ability to set a context for a request.

func NewPcloudSppplacementgroupsPostParamsWithHTTPClient

func NewPcloudSppplacementgroupsPostParamsWithHTTPClient(client *http.Client) *PcloudSppplacementgroupsPostParams

NewPcloudSppplacementgroupsPostParamsWithHTTPClient creates a new PcloudSppplacementgroupsPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSppplacementgroupsPostParamsWithTimeout

func NewPcloudSppplacementgroupsPostParamsWithTimeout(timeout time.Duration) *PcloudSppplacementgroupsPostParams

NewPcloudSppplacementgroupsPostParamsWithTimeout creates a new PcloudSppplacementgroupsPostParams object with the ability to set a timeout on a request.

func (*PcloudSppplacementgroupsPostParams) SetBody

SetBody adds the body to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) SetCloudInstanceID

func (o *PcloudSppplacementgroupsPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) SetContext

SetContext adds the context to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) SetDefaults

func (o *PcloudSppplacementgroupsPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud sppplacementgroups post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsPostParams) SetHTTPClient

func (o *PcloudSppplacementgroupsPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) SetTimeout

func (o *PcloudSppplacementgroupsPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) WithBody

WithBody adds the body to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) WithCloudInstanceID

func (o *PcloudSppplacementgroupsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSppplacementgroupsPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) WithContext

WithContext adds the context to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud sppplacementgroups post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudSppplacementgroupsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud sppplacementgroups post params

func (*PcloudSppplacementgroupsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSppplacementgroupsPostReader

type PcloudSppplacementgroupsPostReader struct {
	// contains filtered or unexported fields
}

PcloudSppplacementgroupsPostReader is a Reader for the PcloudSppplacementgroupsPost structure.

func (*PcloudSppplacementgroupsPostReader) ReadResponse

func (o *PcloudSppplacementgroupsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudSppplacementgroupsPostUnauthorized

type PcloudSppplacementgroupsPostUnauthorized struct {
	Payload *models.Error
}

PcloudSppplacementgroupsPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSppplacementgroupsPostUnauthorized

func NewPcloudSppplacementgroupsPostUnauthorized() *PcloudSppplacementgroupsPostUnauthorized

NewPcloudSppplacementgroupsPostUnauthorized creates a PcloudSppplacementgroupsPostUnauthorized with default headers values

func (*PcloudSppplacementgroupsPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups post unauthorized response

func (*PcloudSppplacementgroupsPostUnauthorized) Error

func (*PcloudSppplacementgroupsPostUnauthorized) GetPayload

func (*PcloudSppplacementgroupsPostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups post unauthorized response has a 4xx status code

func (*PcloudSppplacementgroupsPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups post unauthorized response a status code equal to that given

func (*PcloudSppplacementgroupsPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups post unauthorized response has a 3xx status code

func (*PcloudSppplacementgroupsPostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups post unauthorized response has a 5xx status code

func (*PcloudSppplacementgroupsPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups post unauthorized response has a 2xx status code

func (*PcloudSppplacementgroupsPostUnauthorized) String added in v1.2.2

type PcloudSppplacementgroupsPostUnprocessableEntity

type PcloudSppplacementgroupsPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudSppplacementgroupsPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudSppplacementgroupsPostUnprocessableEntity

func NewPcloudSppplacementgroupsPostUnprocessableEntity() *PcloudSppplacementgroupsPostUnprocessableEntity

NewPcloudSppplacementgroupsPostUnprocessableEntity creates a PcloudSppplacementgroupsPostUnprocessableEntity with default headers values

func (*PcloudSppplacementgroupsPostUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud sppplacementgroups post unprocessable entity response

func (*PcloudSppplacementgroupsPostUnprocessableEntity) Error

func (*PcloudSppplacementgroupsPostUnprocessableEntity) GetPayload

func (*PcloudSppplacementgroupsPostUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud sppplacementgroups post unprocessable entity response has a 4xx status code

func (*PcloudSppplacementgroupsPostUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud sppplacementgroups post unprocessable entity response a status code equal to that given

func (*PcloudSppplacementgroupsPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud sppplacementgroups post unprocessable entity response has a 3xx status code

func (*PcloudSppplacementgroupsPostUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud sppplacementgroups post unprocessable entity response has a 5xx status code

func (*PcloudSppplacementgroupsPostUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sppplacementgroups post unprocessable entity response has a 2xx status code

func (*PcloudSppplacementgroupsPostUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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