p_cloud_placement_groups

package
v1.8.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 11 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 placement groups API

func (*Client) PcloudPlacementgroupsDelete

func (a *Client) PcloudPlacementgroupsDelete(params *PcloudPlacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsDeleteOK, error)

PcloudPlacementgroupsDelete deletes server placement group

func (*Client) PcloudPlacementgroupsGet

func (a *Client) PcloudPlacementgroupsGet(params *PcloudPlacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetOK, error)

PcloudPlacementgroupsGet gets server placement group detail

func (*Client) PcloudPlacementgroupsGetall

func (a *Client) PcloudPlacementgroupsGetall(params *PcloudPlacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetallOK, error)

PcloudPlacementgroupsGetall gets all server placement groups

func (*Client) PcloudPlacementgroupsMembersDelete

func (a *Client) PcloudPlacementgroupsMembersDelete(params *PcloudPlacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersDeleteOK, error)

PcloudPlacementgroupsMembersDelete removes server from placement group

func (*Client) PcloudPlacementgroupsMembersPost

func (a *Client) PcloudPlacementgroupsMembersPost(params *PcloudPlacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersPostOK, error)

PcloudPlacementgroupsMembersPost adds server to placement group

func (*Client) PcloudPlacementgroupsPost

func (a *Client) PcloudPlacementgroupsPost(params *PcloudPlacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsPostOK, error)

PcloudPlacementgroupsPost creates a new server placement group

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService added in v1.1.0

type ClientService interface {
	PcloudPlacementgroupsDelete(params *PcloudPlacementgroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsDeleteOK, error)

	PcloudPlacementgroupsGet(params *PcloudPlacementgroupsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetOK, error)

	PcloudPlacementgroupsGetall(params *PcloudPlacementgroupsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsGetallOK, error)

	PcloudPlacementgroupsMembersDelete(params *PcloudPlacementgroupsMembersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersDeleteOK, error)

	PcloudPlacementgroupsMembersPost(params *PcloudPlacementgroupsMembersPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsMembersPostOK, error)

	PcloudPlacementgroupsPost(params *PcloudPlacementgroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPlacementgroupsPostOK, 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 placement groups API client.

func NewClientWithBasicAuth added in v1.7.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new p cloud placement groups API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v1.7.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new p cloud placement groups API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type PcloudPlacementgroupsDeleteBadRequest

type PcloudPlacementgroupsDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPlacementgroupsDeleteBadRequest

func NewPcloudPlacementgroupsDeleteBadRequest() *PcloudPlacementgroupsDeleteBadRequest

NewPcloudPlacementgroupsDeleteBadRequest creates a PcloudPlacementgroupsDeleteBadRequest with default headers values

func (*PcloudPlacementgroupsDeleteBadRequest) Code added in v1.2.4

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

func (*PcloudPlacementgroupsDeleteBadRequest) Error

func (*PcloudPlacementgroupsDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsDeleteBadRequest) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteBadRequest) IsClientError() bool

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

func (*PcloudPlacementgroupsDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteBadRequest) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteBadRequest) IsServerError() bool

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

func (*PcloudPlacementgroupsDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteBadRequest) String added in v1.2.2

type PcloudPlacementgroupsDeleteForbidden added in v1.2.2

type PcloudPlacementgroupsDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPlacementgroupsDeleteForbidden added in v1.2.2

func NewPcloudPlacementgroupsDeleteForbidden() *PcloudPlacementgroupsDeleteForbidden

NewPcloudPlacementgroupsDeleteForbidden creates a PcloudPlacementgroupsDeleteForbidden with default headers values

func (*PcloudPlacementgroupsDeleteForbidden) Code added in v1.2.4

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

func (*PcloudPlacementgroupsDeleteForbidden) Error added in v1.2.2

func (*PcloudPlacementgroupsDeleteForbidden) GetPayload added in v1.2.2

func (*PcloudPlacementgroupsDeleteForbidden) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteForbidden) IsClientError() bool

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

func (*PcloudPlacementgroupsDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteForbidden) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteForbidden) IsServerError() bool

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

func (*PcloudPlacementgroupsDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteForbidden) String added in v1.2.2

type PcloudPlacementgroupsDeleteInternalServerError

type PcloudPlacementgroupsDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPlacementgroupsDeleteInternalServerError

func NewPcloudPlacementgroupsDeleteInternalServerError() *PcloudPlacementgroupsDeleteInternalServerError

NewPcloudPlacementgroupsDeleteInternalServerError creates a PcloudPlacementgroupsDeleteInternalServerError with default headers values

func (*PcloudPlacementgroupsDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudPlacementgroupsDeleteInternalServerError) Error

func (*PcloudPlacementgroupsDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteInternalServerError) String added in v1.2.2

type PcloudPlacementgroupsDeleteNotFound

type PcloudPlacementgroupsDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPlacementgroupsDeleteNotFound

func NewPcloudPlacementgroupsDeleteNotFound() *PcloudPlacementgroupsDeleteNotFound

NewPcloudPlacementgroupsDeleteNotFound creates a PcloudPlacementgroupsDeleteNotFound with default headers values

func (*PcloudPlacementgroupsDeleteNotFound) Code added in v1.2.4

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

func (*PcloudPlacementgroupsDeleteNotFound) Error

func (*PcloudPlacementgroupsDeleteNotFound) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsDeleteNotFound) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteNotFound) IsClientError() bool

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

func (*PcloudPlacementgroupsDeleteNotFound) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteNotFound) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsDeleteNotFound) IsRedirect() bool

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

func (*PcloudPlacementgroupsDeleteNotFound) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteNotFound) IsServerError() bool

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

func (*PcloudPlacementgroupsDeleteNotFound) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsDeleteNotFound) String added in v1.2.2

type PcloudPlacementgroupsDeleteOK

type PcloudPlacementgroupsDeleteOK struct {
	Payload models.Object
}

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

OK

func NewPcloudPlacementgroupsDeleteOK

func NewPcloudPlacementgroupsDeleteOK() *PcloudPlacementgroupsDeleteOK

NewPcloudPlacementgroupsDeleteOK creates a PcloudPlacementgroupsDeleteOK with default headers values

func (*PcloudPlacementgroupsDeleteOK) Code added in v1.2.4

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

func (*PcloudPlacementgroupsDeleteOK) Error

func (*PcloudPlacementgroupsDeleteOK) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsDeleteOK) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteOK) IsClientError() bool

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

func (*PcloudPlacementgroupsDeleteOK) IsCode added in v1.2.2

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

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

func (*PcloudPlacementgroupsDeleteOK) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsDeleteOK) IsRedirect() bool

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

func (*PcloudPlacementgroupsDeleteOK) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsDeleteOK) IsServerError() bool

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

func (*PcloudPlacementgroupsDeleteOK) IsSuccess added in v1.2.2

func (o *PcloudPlacementgroupsDeleteOK) IsSuccess() bool

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

func (*PcloudPlacementgroupsDeleteOK) String added in v1.2.2

type PcloudPlacementgroupsDeleteParams

type PcloudPlacementgroupsDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PlacementGroupID.

	   Placement Group ID
	*/
	PlacementGroupID string

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

PcloudPlacementgroupsDeleteParams contains all the parameters to send to the API endpoint

for the pcloud placementgroups delete operation.

Typically these are written to a http.Request.

func NewPcloudPlacementgroupsDeleteParams

func NewPcloudPlacementgroupsDeleteParams() *PcloudPlacementgroupsDeleteParams

NewPcloudPlacementgroupsDeleteParams creates a new PcloudPlacementgroupsDeleteParams 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 NewPcloudPlacementgroupsDeleteParamsWithContext

func NewPcloudPlacementgroupsDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsDeleteParams

NewPcloudPlacementgroupsDeleteParamsWithContext creates a new PcloudPlacementgroupsDeleteParams object with the ability to set a context for a request.

func NewPcloudPlacementgroupsDeleteParamsWithHTTPClient

func NewPcloudPlacementgroupsDeleteParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsDeleteParams

NewPcloudPlacementgroupsDeleteParamsWithHTTPClient creates a new PcloudPlacementgroupsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPlacementgroupsDeleteParamsWithTimeout

func NewPcloudPlacementgroupsDeleteParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsDeleteParams

NewPcloudPlacementgroupsDeleteParamsWithTimeout creates a new PcloudPlacementgroupsDeleteParams object with the ability to set a timeout on a request.

func (*PcloudPlacementgroupsDeleteParams) SetCloudInstanceID

func (o *PcloudPlacementgroupsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) SetContext

SetContext adds the context to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) SetDefaults added in v1.1.0

func (o *PcloudPlacementgroupsDeleteParams) SetDefaults()

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

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

func (*PcloudPlacementgroupsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) SetPlacementGroupID

func (o *PcloudPlacementgroupsDeleteParams) SetPlacementGroupID(placementGroupID string)

SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) WithContext

WithContext adds the context to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) WithDefaults added in v1.1.0

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

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

func (*PcloudPlacementgroupsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) WithPlacementGroupID

func (o *PcloudPlacementgroupsDeleteParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsDeleteParams

WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud placementgroups delete params

func (*PcloudPlacementgroupsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPlacementgroupsDeleteReader

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

PcloudPlacementgroupsDeleteReader is a Reader for the PcloudPlacementgroupsDelete structure.

func (*PcloudPlacementgroupsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPlacementgroupsDeleteUnauthorized added in v1.4.2

type PcloudPlacementgroupsDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPlacementgroupsDeleteUnauthorized added in v1.4.2

func NewPcloudPlacementgroupsDeleteUnauthorized() *PcloudPlacementgroupsDeleteUnauthorized

NewPcloudPlacementgroupsDeleteUnauthorized creates a PcloudPlacementgroupsDeleteUnauthorized with default headers values

func (*PcloudPlacementgroupsDeleteUnauthorized) Code added in v1.4.2

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

func (*PcloudPlacementgroupsDeleteUnauthorized) Error added in v1.4.2

func (*PcloudPlacementgroupsDeleteUnauthorized) GetPayload added in v1.4.2

func (*PcloudPlacementgroupsDeleteUnauthorized) IsClientError added in v1.4.2

func (o *PcloudPlacementgroupsDeleteUnauthorized) IsClientError() bool

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

func (*PcloudPlacementgroupsDeleteUnauthorized) IsCode added in v1.4.2

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

func (*PcloudPlacementgroupsDeleteUnauthorized) IsRedirect added in v1.4.2

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

func (*PcloudPlacementgroupsDeleteUnauthorized) IsServerError added in v1.4.2

func (o *PcloudPlacementgroupsDeleteUnauthorized) IsServerError() bool

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

func (*PcloudPlacementgroupsDeleteUnauthorized) IsSuccess added in v1.4.2

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

func (*PcloudPlacementgroupsDeleteUnauthorized) String added in v1.4.2

type PcloudPlacementgroupsGetBadRequest

type PcloudPlacementgroupsGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPlacementgroupsGetBadRequest

func NewPcloudPlacementgroupsGetBadRequest() *PcloudPlacementgroupsGetBadRequest

NewPcloudPlacementgroupsGetBadRequest creates a PcloudPlacementgroupsGetBadRequest with default headers values

func (*PcloudPlacementgroupsGetBadRequest) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetBadRequest) Error

func (*PcloudPlacementgroupsGetBadRequest) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetBadRequest) IsClientError() bool

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

func (*PcloudPlacementgroupsGetBadRequest) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsGetBadRequest) IsRedirect() bool

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

func (*PcloudPlacementgroupsGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetBadRequest) IsServerError() bool

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

func (*PcloudPlacementgroupsGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsGetBadRequest) String added in v1.2.2

type PcloudPlacementgroupsGetForbidden added in v1.2.2

type PcloudPlacementgroupsGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPlacementgroupsGetForbidden added in v1.2.2

func NewPcloudPlacementgroupsGetForbidden() *PcloudPlacementgroupsGetForbidden

NewPcloudPlacementgroupsGetForbidden creates a PcloudPlacementgroupsGetForbidden with default headers values

func (*PcloudPlacementgroupsGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud placementgroups get forbidden response

func (*PcloudPlacementgroupsGetForbidden) Error added in v1.2.2

func (*PcloudPlacementgroupsGetForbidden) GetPayload added in v1.2.2

func (*PcloudPlacementgroupsGetForbidden) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetForbidden) IsClientError() bool

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

func (*PcloudPlacementgroupsGetForbidden) IsCode added in v1.2.2

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

IsCode returns true when this pcloud placementgroups get forbidden response a status code equal to that given

func (*PcloudPlacementgroupsGetForbidden) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsGetForbidden) IsRedirect() bool

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

func (*PcloudPlacementgroupsGetForbidden) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetForbidden) IsServerError() bool

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

func (*PcloudPlacementgroupsGetForbidden) IsSuccess added in v1.2.2

func (o *PcloudPlacementgroupsGetForbidden) IsSuccess() bool

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

func (*PcloudPlacementgroupsGetForbidden) String added in v1.2.2

type PcloudPlacementgroupsGetInternalServerError

type PcloudPlacementgroupsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPlacementgroupsGetInternalServerError

func NewPcloudPlacementgroupsGetInternalServerError() *PcloudPlacementgroupsGetInternalServerError

NewPcloudPlacementgroupsGetInternalServerError creates a PcloudPlacementgroupsGetInternalServerError with default headers values

func (*PcloudPlacementgroupsGetInternalServerError) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetInternalServerError) Error

func (*PcloudPlacementgroupsGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsGetInternalServerError) String added in v1.2.2

type PcloudPlacementgroupsGetNotFound added in v1.0.76

type PcloudPlacementgroupsGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPlacementgroupsGetNotFound added in v1.0.76

func NewPcloudPlacementgroupsGetNotFound() *PcloudPlacementgroupsGetNotFound

NewPcloudPlacementgroupsGetNotFound creates a PcloudPlacementgroupsGetNotFound with default headers values

func (*PcloudPlacementgroupsGetNotFound) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetNotFound) Error added in v1.0.76

func (*PcloudPlacementgroupsGetNotFound) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetNotFound) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetNotFound) IsClientError() bool

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

func (*PcloudPlacementgroupsGetNotFound) IsCode added in v1.2.2

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

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

func (*PcloudPlacementgroupsGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsGetNotFound) IsRedirect() bool

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

func (*PcloudPlacementgroupsGetNotFound) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetNotFound) IsServerError() bool

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

func (*PcloudPlacementgroupsGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudPlacementgroupsGetNotFound) IsSuccess() bool

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

func (*PcloudPlacementgroupsGetNotFound) String added in v1.2.2

type PcloudPlacementgroupsGetOK

type PcloudPlacementgroupsGetOK struct {
	Payload *models.PlacementGroup
}

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

OK

func NewPcloudPlacementgroupsGetOK

func NewPcloudPlacementgroupsGetOK() *PcloudPlacementgroupsGetOK

NewPcloudPlacementgroupsGetOK creates a PcloudPlacementgroupsGetOK with default headers values

func (*PcloudPlacementgroupsGetOK) Code added in v1.2.4

func (o *PcloudPlacementgroupsGetOK) Code() int

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

func (*PcloudPlacementgroupsGetOK) Error

func (*PcloudPlacementgroupsGetOK) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetOK) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetOK) IsClientError() bool

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

func (*PcloudPlacementgroupsGetOK) IsCode added in v1.2.2

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

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

func (*PcloudPlacementgroupsGetOK) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsGetOK) IsRedirect() bool

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

func (*PcloudPlacementgroupsGetOK) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetOK) IsServerError() bool

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

func (*PcloudPlacementgroupsGetOK) IsSuccess added in v1.2.2

func (o *PcloudPlacementgroupsGetOK) IsSuccess() bool

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

func (*PcloudPlacementgroupsGetOK) String added in v1.2.2

func (o *PcloudPlacementgroupsGetOK) String() string

type PcloudPlacementgroupsGetParams

type PcloudPlacementgroupsGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PlacementGroupID.

	   Placement Group ID
	*/
	PlacementGroupID string

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

PcloudPlacementgroupsGetParams contains all the parameters to send to the API endpoint

for the pcloud placementgroups get operation.

Typically these are written to a http.Request.

func NewPcloudPlacementgroupsGetParams

func NewPcloudPlacementgroupsGetParams() *PcloudPlacementgroupsGetParams

NewPcloudPlacementgroupsGetParams creates a new PcloudPlacementgroupsGetParams 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 NewPcloudPlacementgroupsGetParamsWithContext

func NewPcloudPlacementgroupsGetParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetParams

NewPcloudPlacementgroupsGetParamsWithContext creates a new PcloudPlacementgroupsGetParams object with the ability to set a context for a request.

func NewPcloudPlacementgroupsGetParamsWithHTTPClient

func NewPcloudPlacementgroupsGetParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetParams

NewPcloudPlacementgroupsGetParamsWithHTTPClient creates a new PcloudPlacementgroupsGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPlacementgroupsGetParamsWithTimeout

func NewPcloudPlacementgroupsGetParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetParams

NewPcloudPlacementgroupsGetParamsWithTimeout creates a new PcloudPlacementgroupsGetParams object with the ability to set a timeout on a request.

func (*PcloudPlacementgroupsGetParams) SetCloudInstanceID

func (o *PcloudPlacementgroupsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) SetContext

func (o *PcloudPlacementgroupsGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) SetDefaults added in v1.1.0

func (o *PcloudPlacementgroupsGetParams) SetDefaults()

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

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

func (*PcloudPlacementgroupsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) SetPlacementGroupID

func (o *PcloudPlacementgroupsGetParams) SetPlacementGroupID(placementGroupID string)

SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) WithContext

WithContext adds the context to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) WithDefaults added in v1.1.0

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

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

func (*PcloudPlacementgroupsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) WithPlacementGroupID

func (o *PcloudPlacementgroupsGetParams) WithPlacementGroupID(placementGroupID string) *PcloudPlacementgroupsGetParams

WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud placementgroups get params

func (*PcloudPlacementgroupsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPlacementgroupsGetReader

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

PcloudPlacementgroupsGetReader is a Reader for the PcloudPlacementgroupsGet structure.

func (*PcloudPlacementgroupsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPlacementgroupsGetUnauthorized added in v1.4.2

type PcloudPlacementgroupsGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPlacementgroupsGetUnauthorized added in v1.4.2

func NewPcloudPlacementgroupsGetUnauthorized() *PcloudPlacementgroupsGetUnauthorized

NewPcloudPlacementgroupsGetUnauthorized creates a PcloudPlacementgroupsGetUnauthorized with default headers values

func (*PcloudPlacementgroupsGetUnauthorized) Code added in v1.4.2

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

func (*PcloudPlacementgroupsGetUnauthorized) Error added in v1.4.2

func (*PcloudPlacementgroupsGetUnauthorized) GetPayload added in v1.4.2

func (*PcloudPlacementgroupsGetUnauthorized) IsClientError added in v1.4.2

func (o *PcloudPlacementgroupsGetUnauthorized) IsClientError() bool

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

func (*PcloudPlacementgroupsGetUnauthorized) IsCode added in v1.4.2

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

func (*PcloudPlacementgroupsGetUnauthorized) IsRedirect added in v1.4.2

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

func (*PcloudPlacementgroupsGetUnauthorized) IsServerError added in v1.4.2

func (o *PcloudPlacementgroupsGetUnauthorized) IsServerError() bool

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

func (*PcloudPlacementgroupsGetUnauthorized) IsSuccess added in v1.4.2

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

func (*PcloudPlacementgroupsGetUnauthorized) String added in v1.4.2

type PcloudPlacementgroupsGetallBadRequest

type PcloudPlacementgroupsGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPlacementgroupsGetallBadRequest

func NewPcloudPlacementgroupsGetallBadRequest() *PcloudPlacementgroupsGetallBadRequest

NewPcloudPlacementgroupsGetallBadRequest creates a PcloudPlacementgroupsGetallBadRequest with default headers values

func (*PcloudPlacementgroupsGetallBadRequest) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetallBadRequest) Error

func (*PcloudPlacementgroupsGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetallBadRequest) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetallBadRequest) IsClientError() bool

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

func (*PcloudPlacementgroupsGetallBadRequest) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsGetallBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsGetallBadRequest) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetallBadRequest) IsServerError() bool

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

func (*PcloudPlacementgroupsGetallBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsGetallBadRequest) String added in v1.2.2

type PcloudPlacementgroupsGetallForbidden added in v1.2.2

type PcloudPlacementgroupsGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPlacementgroupsGetallForbidden added in v1.2.2

func NewPcloudPlacementgroupsGetallForbidden() *PcloudPlacementgroupsGetallForbidden

NewPcloudPlacementgroupsGetallForbidden creates a PcloudPlacementgroupsGetallForbidden with default headers values

func (*PcloudPlacementgroupsGetallForbidden) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetallForbidden) Error added in v1.2.2

func (*PcloudPlacementgroupsGetallForbidden) GetPayload added in v1.2.2

func (*PcloudPlacementgroupsGetallForbidden) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetallForbidden) IsClientError() bool

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

func (*PcloudPlacementgroupsGetallForbidden) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsGetallForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsGetallForbidden) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetallForbidden) IsServerError() bool

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

func (*PcloudPlacementgroupsGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsGetallForbidden) String added in v1.2.2

type PcloudPlacementgroupsGetallInternalServerError

type PcloudPlacementgroupsGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPlacementgroupsGetallInternalServerError

func NewPcloudPlacementgroupsGetallInternalServerError() *PcloudPlacementgroupsGetallInternalServerError

NewPcloudPlacementgroupsGetallInternalServerError creates a PcloudPlacementgroupsGetallInternalServerError with default headers values

func (*PcloudPlacementgroupsGetallInternalServerError) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetallInternalServerError) Error

func (*PcloudPlacementgroupsGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetallInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsGetallInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsGetallInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsGetallInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsGetallInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsGetallInternalServerError) String added in v1.2.2

type PcloudPlacementgroupsGetallNotFound added in v1.4.2

type PcloudPlacementgroupsGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPlacementgroupsGetallNotFound added in v1.4.2

func NewPcloudPlacementgroupsGetallNotFound() *PcloudPlacementgroupsGetallNotFound

NewPcloudPlacementgroupsGetallNotFound creates a PcloudPlacementgroupsGetallNotFound with default headers values

func (*PcloudPlacementgroupsGetallNotFound) Code added in v1.4.2

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

func (*PcloudPlacementgroupsGetallNotFound) Error added in v1.4.2

func (*PcloudPlacementgroupsGetallNotFound) GetPayload added in v1.4.2

func (*PcloudPlacementgroupsGetallNotFound) IsClientError added in v1.4.2

func (o *PcloudPlacementgroupsGetallNotFound) IsClientError() bool

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

func (*PcloudPlacementgroupsGetallNotFound) IsCode added in v1.4.2

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

func (*PcloudPlacementgroupsGetallNotFound) IsRedirect added in v1.4.2

func (o *PcloudPlacementgroupsGetallNotFound) IsRedirect() bool

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

func (*PcloudPlacementgroupsGetallNotFound) IsServerError added in v1.4.2

func (o *PcloudPlacementgroupsGetallNotFound) IsServerError() bool

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

func (*PcloudPlacementgroupsGetallNotFound) IsSuccess added in v1.4.2

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

func (*PcloudPlacementgroupsGetallNotFound) String added in v1.4.2

type PcloudPlacementgroupsGetallOK

type PcloudPlacementgroupsGetallOK struct {
	Payload *models.PlacementGroups
}

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

OK

func NewPcloudPlacementgroupsGetallOK

func NewPcloudPlacementgroupsGetallOK() *PcloudPlacementgroupsGetallOK

NewPcloudPlacementgroupsGetallOK creates a PcloudPlacementgroupsGetallOK with default headers values

func (*PcloudPlacementgroupsGetallOK) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetallOK) Error

func (*PcloudPlacementgroupsGetallOK) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetallOK) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetallOK) IsClientError() bool

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

func (*PcloudPlacementgroupsGetallOK) IsCode added in v1.2.2

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

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

func (*PcloudPlacementgroupsGetallOK) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsGetallOK) IsRedirect() bool

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

func (*PcloudPlacementgroupsGetallOK) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetallOK) IsServerError() bool

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

func (*PcloudPlacementgroupsGetallOK) IsSuccess added in v1.2.2

func (o *PcloudPlacementgroupsGetallOK) IsSuccess() bool

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

func (*PcloudPlacementgroupsGetallOK) String added in v1.2.2

type PcloudPlacementgroupsGetallParams

type PcloudPlacementgroupsGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudPlacementgroupsGetallParams contains all the parameters to send to the API endpoint

for the pcloud placementgroups getall operation.

Typically these are written to a http.Request.

func NewPcloudPlacementgroupsGetallParams

func NewPcloudPlacementgroupsGetallParams() *PcloudPlacementgroupsGetallParams

NewPcloudPlacementgroupsGetallParams creates a new PcloudPlacementgroupsGetallParams 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 NewPcloudPlacementgroupsGetallParamsWithContext

func NewPcloudPlacementgroupsGetallParamsWithContext(ctx context.Context) *PcloudPlacementgroupsGetallParams

NewPcloudPlacementgroupsGetallParamsWithContext creates a new PcloudPlacementgroupsGetallParams object with the ability to set a context for a request.

func NewPcloudPlacementgroupsGetallParamsWithHTTPClient

func NewPcloudPlacementgroupsGetallParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsGetallParams

NewPcloudPlacementgroupsGetallParamsWithHTTPClient creates a new PcloudPlacementgroupsGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPlacementgroupsGetallParamsWithTimeout

func NewPcloudPlacementgroupsGetallParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsGetallParams

NewPcloudPlacementgroupsGetallParamsWithTimeout creates a new PcloudPlacementgroupsGetallParams object with the ability to set a timeout on a request.

func (*PcloudPlacementgroupsGetallParams) SetCloudInstanceID

func (o *PcloudPlacementgroupsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) SetContext

SetContext adds the context to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) SetDefaults added in v1.1.0

func (o *PcloudPlacementgroupsGetallParams) SetDefaults()

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

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

func (*PcloudPlacementgroupsGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) WithContext

WithContext adds the context to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) WithDefaults added in v1.1.0

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

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

func (*PcloudPlacementgroupsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud placementgroups getall params

func (*PcloudPlacementgroupsGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPlacementgroupsGetallReader

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

PcloudPlacementgroupsGetallReader is a Reader for the PcloudPlacementgroupsGetall structure.

func (*PcloudPlacementgroupsGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPlacementgroupsGetallUnauthorized

type PcloudPlacementgroupsGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPlacementgroupsGetallUnauthorized

func NewPcloudPlacementgroupsGetallUnauthorized() *PcloudPlacementgroupsGetallUnauthorized

NewPcloudPlacementgroupsGetallUnauthorized creates a PcloudPlacementgroupsGetallUnauthorized with default headers values

func (*PcloudPlacementgroupsGetallUnauthorized) Code added in v1.2.4

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

func (*PcloudPlacementgroupsGetallUnauthorized) Error

func (*PcloudPlacementgroupsGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsGetallUnauthorized) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsGetallUnauthorized) IsClientError() bool

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

func (*PcloudPlacementgroupsGetallUnauthorized) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsGetallUnauthorized) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsGetallUnauthorized) IsServerError() bool

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

func (*PcloudPlacementgroupsGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsGetallUnauthorized) String added in v1.2.2

type PcloudPlacementgroupsMembersDeleteBadRequest

type PcloudPlacementgroupsMembersDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPlacementgroupsMembersDeleteBadRequest

func NewPcloudPlacementgroupsMembersDeleteBadRequest() *PcloudPlacementgroupsMembersDeleteBadRequest

NewPcloudPlacementgroupsMembersDeleteBadRequest creates a PcloudPlacementgroupsMembersDeleteBadRequest with default headers values

func (*PcloudPlacementgroupsMembersDeleteBadRequest) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersDeleteBadRequest) Error

func (*PcloudPlacementgroupsMembersDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteBadRequest) String added in v1.2.2

type PcloudPlacementgroupsMembersDeleteConflict

type PcloudPlacementgroupsMembersDeleteConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudPlacementgroupsMembersDeleteConflict

func NewPcloudPlacementgroupsMembersDeleteConflict() *PcloudPlacementgroupsMembersDeleteConflict

NewPcloudPlacementgroupsMembersDeleteConflict creates a PcloudPlacementgroupsMembersDeleteConflict with default headers values

func (*PcloudPlacementgroupsMembersDeleteConflict) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersDeleteConflict) Error

func (*PcloudPlacementgroupsMembersDeleteConflict) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersDeleteConflict) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteConflict) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteConflict) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteConflict) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteConflict) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteConflict) String added in v1.2.2

type PcloudPlacementgroupsMembersDeleteForbidden added in v1.2.2

type PcloudPlacementgroupsMembersDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPlacementgroupsMembersDeleteForbidden added in v1.2.2

func NewPcloudPlacementgroupsMembersDeleteForbidden() *PcloudPlacementgroupsMembersDeleteForbidden

NewPcloudPlacementgroupsMembersDeleteForbidden creates a PcloudPlacementgroupsMembersDeleteForbidden with default headers values

func (*PcloudPlacementgroupsMembersDeleteForbidden) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersDeleteForbidden) Error added in v1.2.2

func (*PcloudPlacementgroupsMembersDeleteForbidden) GetPayload added in v1.2.2

func (*PcloudPlacementgroupsMembersDeleteForbidden) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteForbidden) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteForbidden) String added in v1.2.2

type PcloudPlacementgroupsMembersDeleteInternalServerError

type PcloudPlacementgroupsMembersDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPlacementgroupsMembersDeleteInternalServerError

func NewPcloudPlacementgroupsMembersDeleteInternalServerError() *PcloudPlacementgroupsMembersDeleteInternalServerError

NewPcloudPlacementgroupsMembersDeleteInternalServerError creates a PcloudPlacementgroupsMembersDeleteInternalServerError with default headers values

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) Error

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteInternalServerError) String added in v1.2.2

type PcloudPlacementgroupsMembersDeleteNotFound added in v1.1.0

type PcloudPlacementgroupsMembersDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPlacementgroupsMembersDeleteNotFound added in v1.1.0

func NewPcloudPlacementgroupsMembersDeleteNotFound() *PcloudPlacementgroupsMembersDeleteNotFound

NewPcloudPlacementgroupsMembersDeleteNotFound creates a PcloudPlacementgroupsMembersDeleteNotFound with default headers values

func (*PcloudPlacementgroupsMembersDeleteNotFound) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersDeleteNotFound) Error added in v1.1.0

func (*PcloudPlacementgroupsMembersDeleteNotFound) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersDeleteNotFound) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteNotFound) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteNotFound) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteNotFound) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteNotFound) String added in v1.2.2

type PcloudPlacementgroupsMembersDeleteOK

type PcloudPlacementgroupsMembersDeleteOK struct {
	Payload *models.PlacementGroup
}

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

OK

func NewPcloudPlacementgroupsMembersDeleteOK

func NewPcloudPlacementgroupsMembersDeleteOK() *PcloudPlacementgroupsMembersDeleteOK

NewPcloudPlacementgroupsMembersDeleteOK creates a PcloudPlacementgroupsMembersDeleteOK with default headers values

func (*PcloudPlacementgroupsMembersDeleteOK) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersDeleteOK) Error

func (*PcloudPlacementgroupsMembersDeleteOK) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersDeleteOK) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsMembersDeleteOK) IsClientError() bool

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

func (*PcloudPlacementgroupsMembersDeleteOK) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteOK) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteOK) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsMembersDeleteOK) IsServerError() bool

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

func (*PcloudPlacementgroupsMembersDeleteOK) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteOK) String added in v1.2.2

type PcloudPlacementgroupsMembersDeleteParams

type PcloudPlacementgroupsMembersDeleteParams struct {

	/* Body.

	   Parameters for removing a Server in a Placement Group
	*/
	Body *models.PlacementGroupServer

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PlacementGroupID.

	   Placement Group ID
	*/
	PlacementGroupID string

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

PcloudPlacementgroupsMembersDeleteParams contains all the parameters to send to the API endpoint

for the pcloud placementgroups members delete operation.

Typically these are written to a http.Request.

func NewPcloudPlacementgroupsMembersDeleteParams

func NewPcloudPlacementgroupsMembersDeleteParams() *PcloudPlacementgroupsMembersDeleteParams

NewPcloudPlacementgroupsMembersDeleteParams creates a new PcloudPlacementgroupsMembersDeleteParams 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 NewPcloudPlacementgroupsMembersDeleteParamsWithContext

func NewPcloudPlacementgroupsMembersDeleteParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersDeleteParams

NewPcloudPlacementgroupsMembersDeleteParamsWithContext creates a new PcloudPlacementgroupsMembersDeleteParams object with the ability to set a context for a request.

func NewPcloudPlacementgroupsMembersDeleteParamsWithHTTPClient

func NewPcloudPlacementgroupsMembersDeleteParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersDeleteParams

NewPcloudPlacementgroupsMembersDeleteParamsWithHTTPClient creates a new PcloudPlacementgroupsMembersDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPlacementgroupsMembersDeleteParamsWithTimeout

func NewPcloudPlacementgroupsMembersDeleteParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersDeleteParams

NewPcloudPlacementgroupsMembersDeleteParamsWithTimeout creates a new PcloudPlacementgroupsMembersDeleteParams object with the ability to set a timeout on a request.

func (*PcloudPlacementgroupsMembersDeleteParams) SetBody

SetBody adds the body to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) SetCloudInstanceID

func (o *PcloudPlacementgroupsMembersDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) SetContext

SetContext adds the context to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) SetDefaults added in v1.1.0

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

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

func (*PcloudPlacementgroupsMembersDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) SetPlacementGroupID

func (o *PcloudPlacementgroupsMembersDeleteParams) SetPlacementGroupID(placementGroupID string)

SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) SetTimeout

SetTimeout adds the timeout to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) WithBody

WithBody adds the body to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) WithContext

WithContext adds the context to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) WithDefaults added in v1.1.0

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

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

func (*PcloudPlacementgroupsMembersDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) WithPlacementGroupID

WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud placementgroups members delete params

func (*PcloudPlacementgroupsMembersDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPlacementgroupsMembersDeleteReader

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

PcloudPlacementgroupsMembersDeleteReader is a Reader for the PcloudPlacementgroupsMembersDelete structure.

func (*PcloudPlacementgroupsMembersDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPlacementgroupsMembersDeleteUnauthorized added in v1.4.2

type PcloudPlacementgroupsMembersDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPlacementgroupsMembersDeleteUnauthorized added in v1.4.2

func NewPcloudPlacementgroupsMembersDeleteUnauthorized() *PcloudPlacementgroupsMembersDeleteUnauthorized

NewPcloudPlacementgroupsMembersDeleteUnauthorized creates a PcloudPlacementgroupsMembersDeleteUnauthorized with default headers values

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) Code added in v1.4.2

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

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) Error added in v1.4.2

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) GetPayload added in v1.4.2

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) IsClientError added in v1.4.2

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

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) IsCode added in v1.4.2

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

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) IsRedirect added in v1.4.2

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

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) IsServerError added in v1.4.2

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

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) IsSuccess added in v1.4.2

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

func (*PcloudPlacementgroupsMembersDeleteUnauthorized) String added in v1.4.2

type PcloudPlacementgroupsMembersDeleteUnprocessableEntity

type PcloudPlacementgroupsMembersDeleteUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity

func NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity() *PcloudPlacementgroupsMembersDeleteUnprocessableEntity

NewPcloudPlacementgroupsMembersDeleteUnprocessableEntity creates a PcloudPlacementgroupsMembersDeleteUnprocessableEntity with default headers values

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud placementgroups members delete unprocessable entity response

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Error

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersDeleteUnprocessableEntity) String added in v1.2.2

type PcloudPlacementgroupsMembersPostBadRequest

type PcloudPlacementgroupsMembersPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPlacementgroupsMembersPostBadRequest

func NewPcloudPlacementgroupsMembersPostBadRequest() *PcloudPlacementgroupsMembersPostBadRequest

NewPcloudPlacementgroupsMembersPostBadRequest creates a PcloudPlacementgroupsMembersPostBadRequest with default headers values

func (*PcloudPlacementgroupsMembersPostBadRequest) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersPostBadRequest) Error

func (*PcloudPlacementgroupsMembersPostBadRequest) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersPostBadRequest) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostBadRequest) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostBadRequest) String added in v1.2.2

type PcloudPlacementgroupsMembersPostConflict

type PcloudPlacementgroupsMembersPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudPlacementgroupsMembersPostConflict

func NewPcloudPlacementgroupsMembersPostConflict() *PcloudPlacementgroupsMembersPostConflict

NewPcloudPlacementgroupsMembersPostConflict creates a PcloudPlacementgroupsMembersPostConflict with default headers values

func (*PcloudPlacementgroupsMembersPostConflict) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersPostConflict) Error

func (*PcloudPlacementgroupsMembersPostConflict) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersPostConflict) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostConflict) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostConflict) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostConflict) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostConflict) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostConflict) String added in v1.2.2

type PcloudPlacementgroupsMembersPostForbidden added in v1.2.2

type PcloudPlacementgroupsMembersPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPlacementgroupsMembersPostForbidden added in v1.2.2

func NewPcloudPlacementgroupsMembersPostForbidden() *PcloudPlacementgroupsMembersPostForbidden

NewPcloudPlacementgroupsMembersPostForbidden creates a PcloudPlacementgroupsMembersPostForbidden with default headers values

func (*PcloudPlacementgroupsMembersPostForbidden) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersPostForbidden) Error added in v1.2.2

func (*PcloudPlacementgroupsMembersPostForbidden) GetPayload added in v1.2.2

func (*PcloudPlacementgroupsMembersPostForbidden) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostForbidden) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostForbidden) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostForbidden) String added in v1.2.2

type PcloudPlacementgroupsMembersPostInternalServerError

type PcloudPlacementgroupsMembersPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPlacementgroupsMembersPostInternalServerError

func NewPcloudPlacementgroupsMembersPostInternalServerError() *PcloudPlacementgroupsMembersPostInternalServerError

NewPcloudPlacementgroupsMembersPostInternalServerError creates a PcloudPlacementgroupsMembersPostInternalServerError with default headers values

func (*PcloudPlacementgroupsMembersPostInternalServerError) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersPostInternalServerError) Error

func (*PcloudPlacementgroupsMembersPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostInternalServerError) String added in v1.2.2

type PcloudPlacementgroupsMembersPostNotFound added in v1.1.0

type PcloudPlacementgroupsMembersPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPlacementgroupsMembersPostNotFound added in v1.1.0

func NewPcloudPlacementgroupsMembersPostNotFound() *PcloudPlacementgroupsMembersPostNotFound

NewPcloudPlacementgroupsMembersPostNotFound creates a PcloudPlacementgroupsMembersPostNotFound with default headers values

func (*PcloudPlacementgroupsMembersPostNotFound) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersPostNotFound) Error added in v1.1.0

func (*PcloudPlacementgroupsMembersPostNotFound) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersPostNotFound) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostNotFound) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostNotFound) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostNotFound) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostNotFound) String added in v1.2.2

type PcloudPlacementgroupsMembersPostOK

type PcloudPlacementgroupsMembersPostOK struct {
	Payload *models.PlacementGroup
}

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

OK

func NewPcloudPlacementgroupsMembersPostOK

func NewPcloudPlacementgroupsMembersPostOK() *PcloudPlacementgroupsMembersPostOK

NewPcloudPlacementgroupsMembersPostOK creates a PcloudPlacementgroupsMembersPostOK with default headers values

func (*PcloudPlacementgroupsMembersPostOK) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersPostOK) Error

func (*PcloudPlacementgroupsMembersPostOK) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersPostOK) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsMembersPostOK) IsClientError() bool

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

func (*PcloudPlacementgroupsMembersPostOK) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostOK) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsMembersPostOK) IsRedirect() bool

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

func (*PcloudPlacementgroupsMembersPostOK) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsMembersPostOK) IsServerError() bool

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

func (*PcloudPlacementgroupsMembersPostOK) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostOK) String added in v1.2.2

type PcloudPlacementgroupsMembersPostParams

type PcloudPlacementgroupsMembersPostParams struct {

	/* Body.

	   Parameters for adding a server to a Server Placement Group
	*/
	Body *models.PlacementGroupServer

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PlacementGroupID.

	   Placement Group ID
	*/
	PlacementGroupID string

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

PcloudPlacementgroupsMembersPostParams contains all the parameters to send to the API endpoint

for the pcloud placementgroups members post operation.

Typically these are written to a http.Request.

func NewPcloudPlacementgroupsMembersPostParams

func NewPcloudPlacementgroupsMembersPostParams() *PcloudPlacementgroupsMembersPostParams

NewPcloudPlacementgroupsMembersPostParams creates a new PcloudPlacementgroupsMembersPostParams 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 NewPcloudPlacementgroupsMembersPostParamsWithContext

func NewPcloudPlacementgroupsMembersPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsMembersPostParams

NewPcloudPlacementgroupsMembersPostParamsWithContext creates a new PcloudPlacementgroupsMembersPostParams object with the ability to set a context for a request.

func NewPcloudPlacementgroupsMembersPostParamsWithHTTPClient

func NewPcloudPlacementgroupsMembersPostParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsMembersPostParams

NewPcloudPlacementgroupsMembersPostParamsWithHTTPClient creates a new PcloudPlacementgroupsMembersPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPlacementgroupsMembersPostParamsWithTimeout

func NewPcloudPlacementgroupsMembersPostParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsMembersPostParams

NewPcloudPlacementgroupsMembersPostParamsWithTimeout creates a new PcloudPlacementgroupsMembersPostParams object with the ability to set a timeout on a request.

func (*PcloudPlacementgroupsMembersPostParams) SetBody

SetBody adds the body to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) SetCloudInstanceID

func (o *PcloudPlacementgroupsMembersPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) SetContext

SetContext adds the context to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) SetDefaults added in v1.1.0

func (o *PcloudPlacementgroupsMembersPostParams) SetDefaults()

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

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

func (*PcloudPlacementgroupsMembersPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) SetPlacementGroupID

func (o *PcloudPlacementgroupsMembersPostParams) SetPlacementGroupID(placementGroupID string)

SetPlacementGroupID adds the placementGroupId to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) WithBody

WithBody adds the body to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) WithContext

WithContext adds the context to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) WithDefaults added in v1.1.0

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

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

func (*PcloudPlacementgroupsMembersPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) WithPlacementGroupID

WithPlacementGroupID adds the placementGroupID to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud placementgroups members post params

func (*PcloudPlacementgroupsMembersPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPlacementgroupsMembersPostReader

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

PcloudPlacementgroupsMembersPostReader is a Reader for the PcloudPlacementgroupsMembersPost structure.

func (*PcloudPlacementgroupsMembersPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPlacementgroupsMembersPostUnauthorized added in v1.4.2

type PcloudPlacementgroupsMembersPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPlacementgroupsMembersPostUnauthorized added in v1.4.2

func NewPcloudPlacementgroupsMembersPostUnauthorized() *PcloudPlacementgroupsMembersPostUnauthorized

NewPcloudPlacementgroupsMembersPostUnauthorized creates a PcloudPlacementgroupsMembersPostUnauthorized with default headers values

func (*PcloudPlacementgroupsMembersPostUnauthorized) Code added in v1.4.2

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

func (*PcloudPlacementgroupsMembersPostUnauthorized) Error added in v1.4.2

func (*PcloudPlacementgroupsMembersPostUnauthorized) GetPayload added in v1.4.2

func (*PcloudPlacementgroupsMembersPostUnauthorized) IsClientError added in v1.4.2

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

func (*PcloudPlacementgroupsMembersPostUnauthorized) IsCode added in v1.4.2

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

func (*PcloudPlacementgroupsMembersPostUnauthorized) IsRedirect added in v1.4.2

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

func (*PcloudPlacementgroupsMembersPostUnauthorized) IsServerError added in v1.4.2

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

func (*PcloudPlacementgroupsMembersPostUnauthorized) IsSuccess added in v1.4.2

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

func (*PcloudPlacementgroupsMembersPostUnauthorized) String added in v1.4.2

type PcloudPlacementgroupsMembersPostUnprocessableEntity

type PcloudPlacementgroupsMembersPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudPlacementgroupsMembersPostUnprocessableEntity

func NewPcloudPlacementgroupsMembersPostUnprocessableEntity() *PcloudPlacementgroupsMembersPostUnprocessableEntity

NewPcloudPlacementgroupsMembersPostUnprocessableEntity creates a PcloudPlacementgroupsMembersPostUnprocessableEntity with default headers values

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) Code added in v1.2.4

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

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) Error

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsMembersPostUnprocessableEntity) String added in v1.2.2

type PcloudPlacementgroupsPostBadRequest

type PcloudPlacementgroupsPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPlacementgroupsPostBadRequest

func NewPcloudPlacementgroupsPostBadRequest() *PcloudPlacementgroupsPostBadRequest

NewPcloudPlacementgroupsPostBadRequest creates a PcloudPlacementgroupsPostBadRequest with default headers values

func (*PcloudPlacementgroupsPostBadRequest) Code added in v1.2.4

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

func (*PcloudPlacementgroupsPostBadRequest) Error

func (*PcloudPlacementgroupsPostBadRequest) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsPostBadRequest) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsPostBadRequest) IsClientError() bool

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

func (*PcloudPlacementgroupsPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsPostBadRequest) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsPostBadRequest) IsRedirect() bool

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

func (*PcloudPlacementgroupsPostBadRequest) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsPostBadRequest) IsServerError() bool

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

func (*PcloudPlacementgroupsPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsPostBadRequest) String added in v1.2.2

type PcloudPlacementgroupsPostConflict

type PcloudPlacementgroupsPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudPlacementgroupsPostConflict

func NewPcloudPlacementgroupsPostConflict() *PcloudPlacementgroupsPostConflict

NewPcloudPlacementgroupsPostConflict creates a PcloudPlacementgroupsPostConflict with default headers values

func (*PcloudPlacementgroupsPostConflict) Code added in v1.2.4

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

func (*PcloudPlacementgroupsPostConflict) Error

func (*PcloudPlacementgroupsPostConflict) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsPostConflict) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsPostConflict) IsClientError() bool

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

func (*PcloudPlacementgroupsPostConflict) IsCode added in v1.2.2

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

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

func (*PcloudPlacementgroupsPostConflict) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsPostConflict) IsRedirect() bool

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

func (*PcloudPlacementgroupsPostConflict) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsPostConflict) IsServerError() bool

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

func (*PcloudPlacementgroupsPostConflict) IsSuccess added in v1.2.2

func (o *PcloudPlacementgroupsPostConflict) IsSuccess() bool

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

func (*PcloudPlacementgroupsPostConflict) String added in v1.2.2

type PcloudPlacementgroupsPostForbidden added in v1.2.2

type PcloudPlacementgroupsPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPlacementgroupsPostForbidden added in v1.2.2

func NewPcloudPlacementgroupsPostForbidden() *PcloudPlacementgroupsPostForbidden

NewPcloudPlacementgroupsPostForbidden creates a PcloudPlacementgroupsPostForbidden with default headers values

func (*PcloudPlacementgroupsPostForbidden) Code added in v1.2.4

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

func (*PcloudPlacementgroupsPostForbidden) Error added in v1.2.2

func (*PcloudPlacementgroupsPostForbidden) GetPayload added in v1.2.2

func (*PcloudPlacementgroupsPostForbidden) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsPostForbidden) IsClientError() bool

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

func (*PcloudPlacementgroupsPostForbidden) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsPostForbidden) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsPostForbidden) IsRedirect() bool

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

func (*PcloudPlacementgroupsPostForbidden) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsPostForbidden) IsServerError() bool

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

func (*PcloudPlacementgroupsPostForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsPostForbidden) String added in v1.2.2

type PcloudPlacementgroupsPostInternalServerError

type PcloudPlacementgroupsPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPlacementgroupsPostInternalServerError

func NewPcloudPlacementgroupsPostInternalServerError() *PcloudPlacementgroupsPostInternalServerError

NewPcloudPlacementgroupsPostInternalServerError creates a PcloudPlacementgroupsPostInternalServerError with default headers values

func (*PcloudPlacementgroupsPostInternalServerError) Code added in v1.2.4

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

func (*PcloudPlacementgroupsPostInternalServerError) Error

func (*PcloudPlacementgroupsPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsPostInternalServerError) String added in v1.2.2

type PcloudPlacementgroupsPostNotFound added in v1.4.2

type PcloudPlacementgroupsPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPlacementgroupsPostNotFound added in v1.4.2

func NewPcloudPlacementgroupsPostNotFound() *PcloudPlacementgroupsPostNotFound

NewPcloudPlacementgroupsPostNotFound creates a PcloudPlacementgroupsPostNotFound with default headers values

func (*PcloudPlacementgroupsPostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud placementgroups post not found response

func (*PcloudPlacementgroupsPostNotFound) Error added in v1.4.2

func (*PcloudPlacementgroupsPostNotFound) GetPayload added in v1.4.2

func (*PcloudPlacementgroupsPostNotFound) IsClientError added in v1.4.2

func (o *PcloudPlacementgroupsPostNotFound) IsClientError() bool

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

func (*PcloudPlacementgroupsPostNotFound) IsCode added in v1.4.2

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

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

func (*PcloudPlacementgroupsPostNotFound) IsRedirect added in v1.4.2

func (o *PcloudPlacementgroupsPostNotFound) IsRedirect() bool

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

func (*PcloudPlacementgroupsPostNotFound) IsServerError added in v1.4.2

func (o *PcloudPlacementgroupsPostNotFound) IsServerError() bool

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

func (*PcloudPlacementgroupsPostNotFound) IsSuccess added in v1.4.2

func (o *PcloudPlacementgroupsPostNotFound) IsSuccess() bool

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

func (*PcloudPlacementgroupsPostNotFound) String added in v1.4.2

type PcloudPlacementgroupsPostOK

type PcloudPlacementgroupsPostOK struct {
	Payload *models.PlacementGroup
}

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

OK

func NewPcloudPlacementgroupsPostOK

func NewPcloudPlacementgroupsPostOK() *PcloudPlacementgroupsPostOK

NewPcloudPlacementgroupsPostOK creates a PcloudPlacementgroupsPostOK with default headers values

func (*PcloudPlacementgroupsPostOK) Code added in v1.2.4

func (o *PcloudPlacementgroupsPostOK) Code() int

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

func (*PcloudPlacementgroupsPostOK) Error

func (*PcloudPlacementgroupsPostOK) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsPostOK) IsClientError added in v1.2.2

func (o *PcloudPlacementgroupsPostOK) IsClientError() bool

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

func (*PcloudPlacementgroupsPostOK) IsCode added in v1.2.2

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

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

func (*PcloudPlacementgroupsPostOK) IsRedirect added in v1.2.2

func (o *PcloudPlacementgroupsPostOK) IsRedirect() bool

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

func (*PcloudPlacementgroupsPostOK) IsServerError added in v1.2.2

func (o *PcloudPlacementgroupsPostOK) IsServerError() bool

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

func (*PcloudPlacementgroupsPostOK) IsSuccess added in v1.2.2

func (o *PcloudPlacementgroupsPostOK) IsSuccess() bool

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

func (*PcloudPlacementgroupsPostOK) String added in v1.2.2

func (o *PcloudPlacementgroupsPostOK) String() string

type PcloudPlacementgroupsPostParams

type PcloudPlacementgroupsPostParams struct {

	/* Body.

	   Parameters for the creation of a new Server Placement Group
	*/
	Body *models.PlacementGroupCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudPlacementgroupsPostParams contains all the parameters to send to the API endpoint

for the pcloud placementgroups post operation.

Typically these are written to a http.Request.

func NewPcloudPlacementgroupsPostParams

func NewPcloudPlacementgroupsPostParams() *PcloudPlacementgroupsPostParams

NewPcloudPlacementgroupsPostParams creates a new PcloudPlacementgroupsPostParams 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 NewPcloudPlacementgroupsPostParamsWithContext

func NewPcloudPlacementgroupsPostParamsWithContext(ctx context.Context) *PcloudPlacementgroupsPostParams

NewPcloudPlacementgroupsPostParamsWithContext creates a new PcloudPlacementgroupsPostParams object with the ability to set a context for a request.

func NewPcloudPlacementgroupsPostParamsWithHTTPClient

func NewPcloudPlacementgroupsPostParamsWithHTTPClient(client *http.Client) *PcloudPlacementgroupsPostParams

NewPcloudPlacementgroupsPostParamsWithHTTPClient creates a new PcloudPlacementgroupsPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPlacementgroupsPostParamsWithTimeout

func NewPcloudPlacementgroupsPostParamsWithTimeout(timeout time.Duration) *PcloudPlacementgroupsPostParams

NewPcloudPlacementgroupsPostParamsWithTimeout creates a new PcloudPlacementgroupsPostParams object with the ability to set a timeout on a request.

func (*PcloudPlacementgroupsPostParams) SetBody

SetBody adds the body to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) SetCloudInstanceID

func (o *PcloudPlacementgroupsPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) SetContext

func (o *PcloudPlacementgroupsPostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) SetDefaults added in v1.1.0

func (o *PcloudPlacementgroupsPostParams) SetDefaults()

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

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

func (*PcloudPlacementgroupsPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) WithBody

WithBody adds the body to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) WithContext

WithContext adds the context to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) WithDefaults added in v1.1.0

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

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

func (*PcloudPlacementgroupsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud placementgroups post params

func (*PcloudPlacementgroupsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPlacementgroupsPostReader

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

PcloudPlacementgroupsPostReader is a Reader for the PcloudPlacementgroupsPost structure.

func (*PcloudPlacementgroupsPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPlacementgroupsPostUnauthorized added in v1.4.2

type PcloudPlacementgroupsPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPlacementgroupsPostUnauthorized added in v1.4.2

func NewPcloudPlacementgroupsPostUnauthorized() *PcloudPlacementgroupsPostUnauthorized

NewPcloudPlacementgroupsPostUnauthorized creates a PcloudPlacementgroupsPostUnauthorized with default headers values

func (*PcloudPlacementgroupsPostUnauthorized) Code added in v1.4.2

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

func (*PcloudPlacementgroupsPostUnauthorized) Error added in v1.4.2

func (*PcloudPlacementgroupsPostUnauthorized) GetPayload added in v1.4.2

func (*PcloudPlacementgroupsPostUnauthorized) IsClientError added in v1.4.2

func (o *PcloudPlacementgroupsPostUnauthorized) IsClientError() bool

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

func (*PcloudPlacementgroupsPostUnauthorized) IsCode added in v1.4.2

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

func (*PcloudPlacementgroupsPostUnauthorized) IsRedirect added in v1.4.2

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

func (*PcloudPlacementgroupsPostUnauthorized) IsServerError added in v1.4.2

func (o *PcloudPlacementgroupsPostUnauthorized) IsServerError() bool

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

func (*PcloudPlacementgroupsPostUnauthorized) IsSuccess added in v1.4.2

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

func (*PcloudPlacementgroupsPostUnauthorized) String added in v1.4.2

type PcloudPlacementgroupsPostUnprocessableEntity

type PcloudPlacementgroupsPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudPlacementgroupsPostUnprocessableEntity

func NewPcloudPlacementgroupsPostUnprocessableEntity() *PcloudPlacementgroupsPostUnprocessableEntity

NewPcloudPlacementgroupsPostUnprocessableEntity creates a PcloudPlacementgroupsPostUnprocessableEntity with default headers values

func (*PcloudPlacementgroupsPostUnprocessableEntity) Code added in v1.2.4

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

func (*PcloudPlacementgroupsPostUnprocessableEntity) Error

func (*PcloudPlacementgroupsPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudPlacementgroupsPostUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudPlacementgroupsPostUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudPlacementgroupsPostUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudPlacementgroupsPostUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudPlacementgroupsPostUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudPlacementgroupsPostUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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