p_cloud_tenants_ssh_keys

package
v1.6.0-beta3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for p cloud tenants ssh keys API

func (*Client) PcloudTenantsSshkeysDelete

func (a *Client) PcloudTenantsSshkeysDelete(params *PcloudTenantsSshkeysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysDeleteOK, error)

PcloudTenantsSshkeysDelete deletes a tenant s SSH key

func (*Client) PcloudTenantsSshkeysGet

func (a *Client) PcloudTenantsSshkeysGet(params *PcloudTenantsSshkeysGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetOK, error)

PcloudTenantsSshkeysGet gets a tenant s SSH key by name

func (*Client) PcloudTenantsSshkeysGetall

func (a *Client) PcloudTenantsSshkeysGetall(params *PcloudTenantsSshkeysGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetallOK, error)

PcloudTenantsSshkeysGetall lists a tenant s SSH keys

func (*Client) PcloudTenantsSshkeysPost

PcloudTenantsSshkeysPost adds a new SSH key to the tenant

func (*Client) PcloudTenantsSshkeysPut

func (a *Client) PcloudTenantsSshkeysPut(params *PcloudTenantsSshkeysPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysPutOK, error)

PcloudTenantsSshkeysPut updates an SSH key

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 is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	PcloudTenantsSshkeysDelete(params *PcloudTenantsSshkeysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysDeleteOK, error)

	PcloudTenantsSshkeysGet(params *PcloudTenantsSshkeysGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetOK, error)

	PcloudTenantsSshkeysGetall(params *PcloudTenantsSshkeysGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetallOK, error)

	PcloudTenantsSshkeysPost(params *PcloudTenantsSshkeysPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysPostOK, *PcloudTenantsSshkeysPostCreated, error)

	PcloudTenantsSshkeysPut(params *PcloudTenantsSshkeysPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysPutOK, 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 tenants ssh keys API client.

type PcloudTenantsSshkeysDeleteBadRequest

type PcloudTenantsSshkeysDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudTenantsSshkeysDeleteBadRequest

func NewPcloudTenantsSshkeysDeleteBadRequest() *PcloudTenantsSshkeysDeleteBadRequest

NewPcloudTenantsSshkeysDeleteBadRequest creates a PcloudTenantsSshkeysDeleteBadRequest with default headers values

func (*PcloudTenantsSshkeysDeleteBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys delete bad request response

func (*PcloudTenantsSshkeysDeleteBadRequest) Error

func (*PcloudTenantsSshkeysDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysDeleteBadRequest) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteBadRequest) IsClientError() bool

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

func (*PcloudTenantsSshkeysDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteBadRequest) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteBadRequest) IsServerError() bool

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

func (*PcloudTenantsSshkeysDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteBadRequest) String added in v1.2.2

type PcloudTenantsSshkeysDeleteForbidden added in v1.4.2

type PcloudTenantsSshkeysDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudTenantsSshkeysDeleteForbidden added in v1.4.2

func NewPcloudTenantsSshkeysDeleteForbidden() *PcloudTenantsSshkeysDeleteForbidden

NewPcloudTenantsSshkeysDeleteForbidden creates a PcloudTenantsSshkeysDeleteForbidden with default headers values

func (*PcloudTenantsSshkeysDeleteForbidden) Code added in v1.4.2

Code gets the status code for the pcloud tenants sshkeys delete forbidden response

func (*PcloudTenantsSshkeysDeleteForbidden) Error added in v1.4.2

func (*PcloudTenantsSshkeysDeleteForbidden) GetPayload added in v1.4.2

func (*PcloudTenantsSshkeysDeleteForbidden) IsClientError added in v1.4.2

func (o *PcloudTenantsSshkeysDeleteForbidden) IsClientError() bool

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

func (*PcloudTenantsSshkeysDeleteForbidden) IsCode added in v1.4.2

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

func (*PcloudTenantsSshkeysDeleteForbidden) IsRedirect added in v1.4.2

func (o *PcloudTenantsSshkeysDeleteForbidden) IsRedirect() bool

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

func (*PcloudTenantsSshkeysDeleteForbidden) IsServerError added in v1.4.2

func (o *PcloudTenantsSshkeysDeleteForbidden) IsServerError() bool

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

func (*PcloudTenantsSshkeysDeleteForbidden) IsSuccess added in v1.4.2

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

func (*PcloudTenantsSshkeysDeleteForbidden) String added in v1.4.2

type PcloudTenantsSshkeysDeleteGone

type PcloudTenantsSshkeysDeleteGone struct {
	Payload *models.Error
}

PcloudTenantsSshkeysDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudTenantsSshkeysDeleteGone

func NewPcloudTenantsSshkeysDeleteGone() *PcloudTenantsSshkeysDeleteGone

NewPcloudTenantsSshkeysDeleteGone creates a PcloudTenantsSshkeysDeleteGone with default headers values

func (*PcloudTenantsSshkeysDeleteGone) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys delete gone response

func (*PcloudTenantsSshkeysDeleteGone) Error

func (*PcloudTenantsSshkeysDeleteGone) GetPayload added in v1.1.0

func (o *PcloudTenantsSshkeysDeleteGone) GetPayload() *models.Error

func (*PcloudTenantsSshkeysDeleteGone) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteGone) IsClientError() bool

IsClientError returns true when this pcloud tenants sshkeys delete gone response has a 4xx status code

func (*PcloudTenantsSshkeysDeleteGone) IsCode added in v1.2.2

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

IsCode returns true when this pcloud tenants sshkeys delete gone response a status code equal to that given

func (*PcloudTenantsSshkeysDeleteGone) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteGone) IsRedirect() bool

IsRedirect returns true when this pcloud tenants sshkeys delete gone response has a 3xx status code

func (*PcloudTenantsSshkeysDeleteGone) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteGone) IsServerError() bool

IsServerError returns true when this pcloud tenants sshkeys delete gone response has a 5xx status code

func (*PcloudTenantsSshkeysDeleteGone) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteGone) IsSuccess() bool

IsSuccess returns true when this pcloud tenants sshkeys delete gone response has a 2xx status code

func (*PcloudTenantsSshkeysDeleteGone) String added in v1.2.2

type PcloudTenantsSshkeysDeleteInternalServerError

type PcloudTenantsSshkeysDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudTenantsSshkeysDeleteInternalServerError

func NewPcloudTenantsSshkeysDeleteInternalServerError() *PcloudTenantsSshkeysDeleteInternalServerError

NewPcloudTenantsSshkeysDeleteInternalServerError creates a PcloudTenantsSshkeysDeleteInternalServerError with default headers values

func (*PcloudTenantsSshkeysDeleteInternalServerError) Code added in v1.2.4

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

func (*PcloudTenantsSshkeysDeleteInternalServerError) Error

func (*PcloudTenantsSshkeysDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteInternalServerError) String added in v1.2.2

type PcloudTenantsSshkeysDeleteNotFound added in v1.4.2

type PcloudTenantsSshkeysDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudTenantsSshkeysDeleteNotFound added in v1.4.2

func NewPcloudTenantsSshkeysDeleteNotFound() *PcloudTenantsSshkeysDeleteNotFound

NewPcloudTenantsSshkeysDeleteNotFound creates a PcloudTenantsSshkeysDeleteNotFound with default headers values

func (*PcloudTenantsSshkeysDeleteNotFound) Code added in v1.4.2

Code gets the status code for the pcloud tenants sshkeys delete not found response

func (*PcloudTenantsSshkeysDeleteNotFound) Error added in v1.4.2

func (*PcloudTenantsSshkeysDeleteNotFound) GetPayload added in v1.4.2

func (*PcloudTenantsSshkeysDeleteNotFound) IsClientError added in v1.4.2

func (o *PcloudTenantsSshkeysDeleteNotFound) IsClientError() bool

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

func (*PcloudTenantsSshkeysDeleteNotFound) IsCode added in v1.4.2

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

func (*PcloudTenantsSshkeysDeleteNotFound) IsRedirect added in v1.4.2

func (o *PcloudTenantsSshkeysDeleteNotFound) IsRedirect() bool

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

func (*PcloudTenantsSshkeysDeleteNotFound) IsServerError added in v1.4.2

func (o *PcloudTenantsSshkeysDeleteNotFound) IsServerError() bool

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

func (*PcloudTenantsSshkeysDeleteNotFound) IsSuccess added in v1.4.2

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

func (*PcloudTenantsSshkeysDeleteNotFound) String added in v1.4.2

type PcloudTenantsSshkeysDeleteOK

type PcloudTenantsSshkeysDeleteOK struct {
	Payload models.Object
}

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

OK

func NewPcloudTenantsSshkeysDeleteOK

func NewPcloudTenantsSshkeysDeleteOK() *PcloudTenantsSshkeysDeleteOK

NewPcloudTenantsSshkeysDeleteOK creates a PcloudTenantsSshkeysDeleteOK with default headers values

func (*PcloudTenantsSshkeysDeleteOK) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys delete o k response

func (*PcloudTenantsSshkeysDeleteOK) Error

func (*PcloudTenantsSshkeysDeleteOK) GetPayload added in v1.1.0

func (o *PcloudTenantsSshkeysDeleteOK) GetPayload() models.Object

func (*PcloudTenantsSshkeysDeleteOK) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteOK) IsClientError() bool

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

func (*PcloudTenantsSshkeysDeleteOK) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysDeleteOK) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteOK) IsRedirect() bool

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

func (*PcloudTenantsSshkeysDeleteOK) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteOK) IsServerError() bool

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

func (*PcloudTenantsSshkeysDeleteOK) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteOK) IsSuccess() bool

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

func (*PcloudTenantsSshkeysDeleteOK) String added in v1.2.2

type PcloudTenantsSshkeysDeleteParams

type PcloudTenantsSshkeysDeleteParams struct {

	/* SshkeyName.

	   SSH key name for a pcloud tenant
	*/
	SshkeyName string

	/* TenantID.

	   Tenant ID of a pcloud tenant
	*/
	TenantID string

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

PcloudTenantsSshkeysDeleteParams contains all the parameters to send to the API endpoint

for the pcloud tenants sshkeys delete operation.

Typically these are written to a http.Request.

func NewPcloudTenantsSshkeysDeleteParams

func NewPcloudTenantsSshkeysDeleteParams() *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParams creates a new PcloudTenantsSshkeysDeleteParams 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 NewPcloudTenantsSshkeysDeleteParamsWithContext

func NewPcloudTenantsSshkeysDeleteParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParamsWithContext creates a new PcloudTenantsSshkeysDeleteParams object with the ability to set a context for a request.

func NewPcloudTenantsSshkeysDeleteParamsWithHTTPClient

func NewPcloudTenantsSshkeysDeleteParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParamsWithHTTPClient creates a new PcloudTenantsSshkeysDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudTenantsSshkeysDeleteParamsWithTimeout

func NewPcloudTenantsSshkeysDeleteParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParamsWithTimeout creates a new PcloudTenantsSshkeysDeleteParams object with the ability to set a timeout on a request.

func (*PcloudTenantsSshkeysDeleteParams) SetContext

SetContext adds the context to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetDefaults added in v1.1.0

func (o *PcloudTenantsSshkeysDeleteParams) SetDefaults()

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

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

func (*PcloudTenantsSshkeysDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetSshkeyName

func (o *PcloudTenantsSshkeysDeleteParams) SetSshkeyName(sshkeyName string)

SetSshkeyName adds the sshkeyName to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetTenantID

func (o *PcloudTenantsSshkeysDeleteParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithDefaults added in v1.1.0

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

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

func (*PcloudTenantsSshkeysDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithSshkeyName

WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysDeleteReader

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

PcloudTenantsSshkeysDeleteReader is a Reader for the PcloudTenantsSshkeysDelete structure.

func (*PcloudTenantsSshkeysDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysDeleteUnauthorized added in v1.0.59

type PcloudTenantsSshkeysDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudTenantsSshkeysDeleteUnauthorized added in v1.0.59

func NewPcloudTenantsSshkeysDeleteUnauthorized() *PcloudTenantsSshkeysDeleteUnauthorized

NewPcloudTenantsSshkeysDeleteUnauthorized creates a PcloudTenantsSshkeysDeleteUnauthorized with default headers values

func (*PcloudTenantsSshkeysDeleteUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys delete unauthorized response

func (*PcloudTenantsSshkeysDeleteUnauthorized) Error added in v1.0.59

func (*PcloudTenantsSshkeysDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysDeleteUnauthorized) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsClientError() bool

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

func (*PcloudTenantsSshkeysDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteUnauthorized) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsServerError() bool

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

func (*PcloudTenantsSshkeysDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysDeleteUnauthorized) String added in v1.2.2

type PcloudTenantsSshkeysGetBadRequest

type PcloudTenantsSshkeysGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudTenantsSshkeysGetBadRequest

func NewPcloudTenantsSshkeysGetBadRequest() *PcloudTenantsSshkeysGetBadRequest

NewPcloudTenantsSshkeysGetBadRequest creates a PcloudTenantsSshkeysGetBadRequest with default headers values

func (*PcloudTenantsSshkeysGetBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys get bad request response

func (*PcloudTenantsSshkeysGetBadRequest) Error

func (*PcloudTenantsSshkeysGetBadRequest) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetBadRequest) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetBadRequest) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetBadRequest) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetBadRequest) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetBadRequest) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysGetBadRequest) IsSuccess() bool

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

func (*PcloudTenantsSshkeysGetBadRequest) String added in v1.2.2

type PcloudTenantsSshkeysGetForbidden added in v1.2.2

type PcloudTenantsSshkeysGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudTenantsSshkeysGetForbidden added in v1.2.2

func NewPcloudTenantsSshkeysGetForbidden() *PcloudTenantsSshkeysGetForbidden

NewPcloudTenantsSshkeysGetForbidden creates a PcloudTenantsSshkeysGetForbidden with default headers values

func (*PcloudTenantsSshkeysGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys get forbidden response

func (*PcloudTenantsSshkeysGetForbidden) Error added in v1.2.2

func (*PcloudTenantsSshkeysGetForbidden) GetPayload added in v1.2.2

func (*PcloudTenantsSshkeysGetForbidden) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetForbidden) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetForbidden) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysGetForbidden) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetForbidden) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetForbidden) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetForbidden) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetForbidden) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysGetForbidden) IsSuccess() bool

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

func (*PcloudTenantsSshkeysGetForbidden) String added in v1.2.2

type PcloudTenantsSshkeysGetInternalServerError

type PcloudTenantsSshkeysGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudTenantsSshkeysGetInternalServerError

func NewPcloudTenantsSshkeysGetInternalServerError() *PcloudTenantsSshkeysGetInternalServerError

NewPcloudTenantsSshkeysGetInternalServerError creates a PcloudTenantsSshkeysGetInternalServerError with default headers values

func (*PcloudTenantsSshkeysGetInternalServerError) Code added in v1.2.4

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

func (*PcloudTenantsSshkeysGetInternalServerError) Error

func (*PcloudTenantsSshkeysGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudTenantsSshkeysGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudTenantsSshkeysGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysGetInternalServerError) String added in v1.2.2

type PcloudTenantsSshkeysGetNotFound

type PcloudTenantsSshkeysGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudTenantsSshkeysGetNotFound

func NewPcloudTenantsSshkeysGetNotFound() *PcloudTenantsSshkeysGetNotFound

NewPcloudTenantsSshkeysGetNotFound creates a PcloudTenantsSshkeysGetNotFound with default headers values

func (*PcloudTenantsSshkeysGetNotFound) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys get not found response

func (*PcloudTenantsSshkeysGetNotFound) Error

func (*PcloudTenantsSshkeysGetNotFound) GetPayload added in v1.1.0

func (o *PcloudTenantsSshkeysGetNotFound) GetPayload() *models.Error

func (*PcloudTenantsSshkeysGetNotFound) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetNotFound) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetNotFound) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetNotFound) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetNotFound) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetNotFound) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysGetNotFound) IsSuccess() bool

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

func (*PcloudTenantsSshkeysGetNotFound) String added in v1.2.2

type PcloudTenantsSshkeysGetOK

type PcloudTenantsSshkeysGetOK struct {
	Payload *models.SSHKey
}

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

OK

func NewPcloudTenantsSshkeysGetOK

func NewPcloudTenantsSshkeysGetOK() *PcloudTenantsSshkeysGetOK

NewPcloudTenantsSshkeysGetOK creates a PcloudTenantsSshkeysGetOK with default headers values

func (*PcloudTenantsSshkeysGetOK) Code added in v1.2.4

func (o *PcloudTenantsSshkeysGetOK) Code() int

Code gets the status code for the pcloud tenants sshkeys get o k response

func (*PcloudTenantsSshkeysGetOK) Error

func (o *PcloudTenantsSshkeysGetOK) Error() string

func (*PcloudTenantsSshkeysGetOK) GetPayload added in v1.1.0

func (o *PcloudTenantsSshkeysGetOK) GetPayload() *models.SSHKey

func (*PcloudTenantsSshkeysGetOK) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetOK) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetOK) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysGetOK) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetOK) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetOK) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetOK) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetOK) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysGetOK) IsSuccess() bool

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

func (*PcloudTenantsSshkeysGetOK) String added in v1.2.2

func (o *PcloudTenantsSshkeysGetOK) String() string

type PcloudTenantsSshkeysGetParams

type PcloudTenantsSshkeysGetParams struct {

	/* SshkeyName.

	   SSH key name for a pcloud tenant
	*/
	SshkeyName string

	/* TenantID.

	   Tenant ID of a pcloud tenant
	*/
	TenantID string

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

PcloudTenantsSshkeysGetParams contains all the parameters to send to the API endpoint

for the pcloud tenants sshkeys get operation.

Typically these are written to a http.Request.

func NewPcloudTenantsSshkeysGetParams

func NewPcloudTenantsSshkeysGetParams() *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParams creates a new PcloudTenantsSshkeysGetParams 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 NewPcloudTenantsSshkeysGetParamsWithContext

func NewPcloudTenantsSshkeysGetParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParamsWithContext creates a new PcloudTenantsSshkeysGetParams object with the ability to set a context for a request.

func NewPcloudTenantsSshkeysGetParamsWithHTTPClient

func NewPcloudTenantsSshkeysGetParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParamsWithHTTPClient creates a new PcloudTenantsSshkeysGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudTenantsSshkeysGetParamsWithTimeout

func NewPcloudTenantsSshkeysGetParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParamsWithTimeout creates a new PcloudTenantsSshkeysGetParams object with the ability to set a timeout on a request.

func (*PcloudTenantsSshkeysGetParams) SetContext

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

SetContext adds the context to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetDefaults added in v1.1.0

func (o *PcloudTenantsSshkeysGetParams) SetDefaults()

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

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

func (*PcloudTenantsSshkeysGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetSshkeyName

func (o *PcloudTenantsSshkeysGetParams) SetSshkeyName(sshkeyName string)

SetSshkeyName adds the sshkeyName to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetTenantID

func (o *PcloudTenantsSshkeysGetParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithDefaults added in v1.1.0

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

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

func (*PcloudTenantsSshkeysGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithSshkeyName

WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysGetReader

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

PcloudTenantsSshkeysGetReader is a Reader for the PcloudTenantsSshkeysGet structure.

func (*PcloudTenantsSshkeysGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysGetUnauthorized added in v1.0.59

type PcloudTenantsSshkeysGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudTenantsSshkeysGetUnauthorized added in v1.0.59

func NewPcloudTenantsSshkeysGetUnauthorized() *PcloudTenantsSshkeysGetUnauthorized

NewPcloudTenantsSshkeysGetUnauthorized creates a PcloudTenantsSshkeysGetUnauthorized with default headers values

func (*PcloudTenantsSshkeysGetUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys get unauthorized response

func (*PcloudTenantsSshkeysGetUnauthorized) Error added in v1.0.59

func (*PcloudTenantsSshkeysGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetUnauthorized) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysGetUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetUnauthorized) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetUnauthorized) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysGetUnauthorized) String added in v1.2.2

type PcloudTenantsSshkeysGetallBadRequest

type PcloudTenantsSshkeysGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudTenantsSshkeysGetallBadRequest

func NewPcloudTenantsSshkeysGetallBadRequest() *PcloudTenantsSshkeysGetallBadRequest

NewPcloudTenantsSshkeysGetallBadRequest creates a PcloudTenantsSshkeysGetallBadRequest with default headers values

func (*PcloudTenantsSshkeysGetallBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys getall bad request response

func (*PcloudTenantsSshkeysGetallBadRequest) Error

func (*PcloudTenantsSshkeysGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysGetallBadRequest) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallBadRequest) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetallBadRequest) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallBadRequest) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallBadRequest) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetallBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallBadRequest) String added in v1.2.2

type PcloudTenantsSshkeysGetallForbidden added in v1.2.2

type PcloudTenantsSshkeysGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudTenantsSshkeysGetallForbidden added in v1.2.2

func NewPcloudTenantsSshkeysGetallForbidden() *PcloudTenantsSshkeysGetallForbidden

NewPcloudTenantsSshkeysGetallForbidden creates a PcloudTenantsSshkeysGetallForbidden with default headers values

func (*PcloudTenantsSshkeysGetallForbidden) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys getall forbidden response

func (*PcloudTenantsSshkeysGetallForbidden) Error added in v1.2.2

func (*PcloudTenantsSshkeysGetallForbidden) GetPayload added in v1.2.2

func (*PcloudTenantsSshkeysGetallForbidden) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallForbidden) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetallForbidden) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallForbidden) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetallForbidden) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetallForbidden) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallForbidden) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallForbidden) String added in v1.2.2

type PcloudTenantsSshkeysGetallInternalServerError

type PcloudTenantsSshkeysGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudTenantsSshkeysGetallInternalServerError

func NewPcloudTenantsSshkeysGetallInternalServerError() *PcloudTenantsSshkeysGetallInternalServerError

NewPcloudTenantsSshkeysGetallInternalServerError creates a PcloudTenantsSshkeysGetallInternalServerError with default headers values

func (*PcloudTenantsSshkeysGetallInternalServerError) Code added in v1.2.4

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

func (*PcloudTenantsSshkeysGetallInternalServerError) Error

func (*PcloudTenantsSshkeysGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysGetallInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallInternalServerError) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallInternalServerError) String added in v1.2.2

type PcloudTenantsSshkeysGetallNotFound

type PcloudTenantsSshkeysGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudTenantsSshkeysGetallNotFound

func NewPcloudTenantsSshkeysGetallNotFound() *PcloudTenantsSshkeysGetallNotFound

NewPcloudTenantsSshkeysGetallNotFound creates a PcloudTenantsSshkeysGetallNotFound with default headers values

func (*PcloudTenantsSshkeysGetallNotFound) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys getall not found response

func (*PcloudTenantsSshkeysGetallNotFound) Error

func (*PcloudTenantsSshkeysGetallNotFound) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysGetallNotFound) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallNotFound) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetallNotFound) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallNotFound) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetallNotFound) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetallNotFound) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallNotFound) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetallNotFound) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallNotFound) String added in v1.2.2

type PcloudTenantsSshkeysGetallOK

type PcloudTenantsSshkeysGetallOK struct {
	Payload *models.SSHKeys
}

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

OK

func NewPcloudTenantsSshkeysGetallOK

func NewPcloudTenantsSshkeysGetallOK() *PcloudTenantsSshkeysGetallOK

NewPcloudTenantsSshkeysGetallOK creates a PcloudTenantsSshkeysGetallOK with default headers values

func (*PcloudTenantsSshkeysGetallOK) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys getall o k response

func (*PcloudTenantsSshkeysGetallOK) Error

func (*PcloudTenantsSshkeysGetallOK) GetPayload added in v1.1.0

func (o *PcloudTenantsSshkeysGetallOK) GetPayload() *models.SSHKeys

func (*PcloudTenantsSshkeysGetallOK) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallOK) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetallOK) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysGetallOK) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysGetallOK) IsRedirect() bool

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

func (*PcloudTenantsSshkeysGetallOK) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallOK) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetallOK) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysGetallOK) IsSuccess() bool

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

func (*PcloudTenantsSshkeysGetallOK) String added in v1.2.2

type PcloudTenantsSshkeysGetallParams

type PcloudTenantsSshkeysGetallParams struct {

	/* TenantID.

	   Tenant ID of a pcloud tenant
	*/
	TenantID string

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

PcloudTenantsSshkeysGetallParams contains all the parameters to send to the API endpoint

for the pcloud tenants sshkeys getall operation.

Typically these are written to a http.Request.

func NewPcloudTenantsSshkeysGetallParams

func NewPcloudTenantsSshkeysGetallParams() *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParams creates a new PcloudTenantsSshkeysGetallParams 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 NewPcloudTenantsSshkeysGetallParamsWithContext

func NewPcloudTenantsSshkeysGetallParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParamsWithContext creates a new PcloudTenantsSshkeysGetallParams object with the ability to set a context for a request.

func NewPcloudTenantsSshkeysGetallParamsWithHTTPClient

func NewPcloudTenantsSshkeysGetallParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParamsWithHTTPClient creates a new PcloudTenantsSshkeysGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudTenantsSshkeysGetallParamsWithTimeout

func NewPcloudTenantsSshkeysGetallParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParamsWithTimeout creates a new PcloudTenantsSshkeysGetallParams object with the ability to set a timeout on a request.

func (*PcloudTenantsSshkeysGetallParams) SetContext

SetContext adds the context to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) SetDefaults added in v1.1.0

func (o *PcloudTenantsSshkeysGetallParams) SetDefaults()

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

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

func (*PcloudTenantsSshkeysGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) SetTenantID

func (o *PcloudTenantsSshkeysGetallParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithDefaults added in v1.1.0

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

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

func (*PcloudTenantsSshkeysGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysGetallReader

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

PcloudTenantsSshkeysGetallReader is a Reader for the PcloudTenantsSshkeysGetall structure.

func (*PcloudTenantsSshkeysGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysGetallUnauthorized added in v1.0.59

type PcloudTenantsSshkeysGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudTenantsSshkeysGetallUnauthorized added in v1.0.59

func NewPcloudTenantsSshkeysGetallUnauthorized() *PcloudTenantsSshkeysGetallUnauthorized

NewPcloudTenantsSshkeysGetallUnauthorized creates a PcloudTenantsSshkeysGetallUnauthorized with default headers values

func (*PcloudTenantsSshkeysGetallUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys getall unauthorized response

func (*PcloudTenantsSshkeysGetallUnauthorized) Error added in v1.0.59

func (*PcloudTenantsSshkeysGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysGetallUnauthorized) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallUnauthorized) IsClientError() bool

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

func (*PcloudTenantsSshkeysGetallUnauthorized) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallUnauthorized) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysGetallUnauthorized) IsServerError() bool

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

func (*PcloudTenantsSshkeysGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysGetallUnauthorized) String added in v1.2.2

type PcloudTenantsSshkeysPostBadRequest

type PcloudTenantsSshkeysPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudTenantsSshkeysPostBadRequest

func NewPcloudTenantsSshkeysPostBadRequest() *PcloudTenantsSshkeysPostBadRequest

NewPcloudTenantsSshkeysPostBadRequest creates a PcloudTenantsSshkeysPostBadRequest with default headers values

func (*PcloudTenantsSshkeysPostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys post bad request response

func (*PcloudTenantsSshkeysPostBadRequest) Error

func (*PcloudTenantsSshkeysPostBadRequest) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPostBadRequest) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPostBadRequest) IsClientError() bool

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

func (*PcloudTenantsSshkeysPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysPostBadRequest) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysPostBadRequest) IsRedirect() bool

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

func (*PcloudTenantsSshkeysPostBadRequest) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPostBadRequest) IsServerError() bool

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

func (*PcloudTenantsSshkeysPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysPostBadRequest) String added in v1.2.2

type PcloudTenantsSshkeysPostConflict

type PcloudTenantsSshkeysPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudTenantsSshkeysPostConflict

func NewPcloudTenantsSshkeysPostConflict() *PcloudTenantsSshkeysPostConflict

NewPcloudTenantsSshkeysPostConflict creates a PcloudTenantsSshkeysPostConflict with default headers values

func (*PcloudTenantsSshkeysPostConflict) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys post conflict response

func (*PcloudTenantsSshkeysPostConflict) Error

func (*PcloudTenantsSshkeysPostConflict) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPostConflict) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPostConflict) IsClientError() bool

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

func (*PcloudTenantsSshkeysPostConflict) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysPostConflict) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysPostConflict) IsRedirect() bool

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

func (*PcloudTenantsSshkeysPostConflict) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPostConflict) IsServerError() bool

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

func (*PcloudTenantsSshkeysPostConflict) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysPostConflict) IsSuccess() bool

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

func (*PcloudTenantsSshkeysPostConflict) String added in v1.2.2

type PcloudTenantsSshkeysPostCreated

type PcloudTenantsSshkeysPostCreated struct {
	Payload *models.SSHKey
}

PcloudTenantsSshkeysPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudTenantsSshkeysPostCreated

func NewPcloudTenantsSshkeysPostCreated() *PcloudTenantsSshkeysPostCreated

NewPcloudTenantsSshkeysPostCreated creates a PcloudTenantsSshkeysPostCreated with default headers values

func (*PcloudTenantsSshkeysPostCreated) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys post created response

func (*PcloudTenantsSshkeysPostCreated) Error

func (*PcloudTenantsSshkeysPostCreated) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPostCreated) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPostCreated) IsClientError() bool

IsClientError returns true when this pcloud tenants sshkeys post created response has a 4xx status code

func (*PcloudTenantsSshkeysPostCreated) IsCode added in v1.2.2

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

IsCode returns true when this pcloud tenants sshkeys post created response a status code equal to that given

func (*PcloudTenantsSshkeysPostCreated) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysPostCreated) IsRedirect() bool

IsRedirect returns true when this pcloud tenants sshkeys post created response has a 3xx status code

func (*PcloudTenantsSshkeysPostCreated) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPostCreated) IsServerError() bool

IsServerError returns true when this pcloud tenants sshkeys post created response has a 5xx status code

func (*PcloudTenantsSshkeysPostCreated) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysPostCreated) IsSuccess() bool

IsSuccess returns true when this pcloud tenants sshkeys post created response has a 2xx status code

func (*PcloudTenantsSshkeysPostCreated) String added in v1.2.2

type PcloudTenantsSshkeysPostForbidden added in v1.4.2

type PcloudTenantsSshkeysPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudTenantsSshkeysPostForbidden added in v1.4.2

func NewPcloudTenantsSshkeysPostForbidden() *PcloudTenantsSshkeysPostForbidden

NewPcloudTenantsSshkeysPostForbidden creates a PcloudTenantsSshkeysPostForbidden with default headers values

func (*PcloudTenantsSshkeysPostForbidden) Code added in v1.4.2

Code gets the status code for the pcloud tenants sshkeys post forbidden response

func (*PcloudTenantsSshkeysPostForbidden) Error added in v1.4.2

func (*PcloudTenantsSshkeysPostForbidden) GetPayload added in v1.4.2

func (*PcloudTenantsSshkeysPostForbidden) IsClientError added in v1.4.2

func (o *PcloudTenantsSshkeysPostForbidden) IsClientError() bool

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

func (*PcloudTenantsSshkeysPostForbidden) IsCode added in v1.4.2

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

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

func (*PcloudTenantsSshkeysPostForbidden) IsRedirect added in v1.4.2

func (o *PcloudTenantsSshkeysPostForbidden) IsRedirect() bool

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

func (*PcloudTenantsSshkeysPostForbidden) IsServerError added in v1.4.2

func (o *PcloudTenantsSshkeysPostForbidden) IsServerError() bool

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

func (*PcloudTenantsSshkeysPostForbidden) IsSuccess added in v1.4.2

func (o *PcloudTenantsSshkeysPostForbidden) IsSuccess() bool

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

func (*PcloudTenantsSshkeysPostForbidden) String added in v1.4.2

type PcloudTenantsSshkeysPostInternalServerError

type PcloudTenantsSshkeysPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudTenantsSshkeysPostInternalServerError

func NewPcloudTenantsSshkeysPostInternalServerError() *PcloudTenantsSshkeysPostInternalServerError

NewPcloudTenantsSshkeysPostInternalServerError creates a PcloudTenantsSshkeysPostInternalServerError with default headers values

func (*PcloudTenantsSshkeysPostInternalServerError) Code added in v1.2.4

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

func (*PcloudTenantsSshkeysPostInternalServerError) Error

func (*PcloudTenantsSshkeysPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudTenantsSshkeysPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudTenantsSshkeysPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysPostInternalServerError) String added in v1.2.2

type PcloudTenantsSshkeysPostNotFound added in v1.4.2

type PcloudTenantsSshkeysPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudTenantsSshkeysPostNotFound added in v1.4.2

func NewPcloudTenantsSshkeysPostNotFound() *PcloudTenantsSshkeysPostNotFound

NewPcloudTenantsSshkeysPostNotFound creates a PcloudTenantsSshkeysPostNotFound with default headers values

func (*PcloudTenantsSshkeysPostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud tenants sshkeys post not found response

func (*PcloudTenantsSshkeysPostNotFound) Error added in v1.4.2

func (*PcloudTenantsSshkeysPostNotFound) GetPayload added in v1.4.2

func (*PcloudTenantsSshkeysPostNotFound) IsClientError added in v1.4.2

func (o *PcloudTenantsSshkeysPostNotFound) IsClientError() bool

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

func (*PcloudTenantsSshkeysPostNotFound) IsCode added in v1.4.2

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

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

func (*PcloudTenantsSshkeysPostNotFound) IsRedirect added in v1.4.2

func (o *PcloudTenantsSshkeysPostNotFound) IsRedirect() bool

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

func (*PcloudTenantsSshkeysPostNotFound) IsServerError added in v1.4.2

func (o *PcloudTenantsSshkeysPostNotFound) IsServerError() bool

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

func (*PcloudTenantsSshkeysPostNotFound) IsSuccess added in v1.4.2

func (o *PcloudTenantsSshkeysPostNotFound) IsSuccess() bool

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

func (*PcloudTenantsSshkeysPostNotFound) String added in v1.4.2

type PcloudTenantsSshkeysPostOK

type PcloudTenantsSshkeysPostOK struct {
	Payload *models.SSHKey
}

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

OK

func NewPcloudTenantsSshkeysPostOK

func NewPcloudTenantsSshkeysPostOK() *PcloudTenantsSshkeysPostOK

NewPcloudTenantsSshkeysPostOK creates a PcloudTenantsSshkeysPostOK with default headers values

func (*PcloudTenantsSshkeysPostOK) Code added in v1.2.4

func (o *PcloudTenantsSshkeysPostOK) Code() int

Code gets the status code for the pcloud tenants sshkeys post o k response

func (*PcloudTenantsSshkeysPostOK) Error

func (*PcloudTenantsSshkeysPostOK) GetPayload added in v1.1.0

func (o *PcloudTenantsSshkeysPostOK) GetPayload() *models.SSHKey

func (*PcloudTenantsSshkeysPostOK) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPostOK) IsClientError() bool

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

func (*PcloudTenantsSshkeysPostOK) IsCode added in v1.2.2

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

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

func (*PcloudTenantsSshkeysPostOK) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysPostOK) IsRedirect() bool

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

func (*PcloudTenantsSshkeysPostOK) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPostOK) IsServerError() bool

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

func (*PcloudTenantsSshkeysPostOK) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysPostOK) IsSuccess() bool

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

func (*PcloudTenantsSshkeysPostOK) String added in v1.2.2

func (o *PcloudTenantsSshkeysPostOK) String() string

type PcloudTenantsSshkeysPostParams

type PcloudTenantsSshkeysPostParams struct {

	/* Body.

	   Parameters for the creation of a new SSH key
	*/
	Body *models.SSHKey

	/* TenantID.

	   Tenant ID of a pcloud tenant
	*/
	TenantID string

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

PcloudTenantsSshkeysPostParams contains all the parameters to send to the API endpoint

for the pcloud tenants sshkeys post operation.

Typically these are written to a http.Request.

func NewPcloudTenantsSshkeysPostParams

func NewPcloudTenantsSshkeysPostParams() *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParams creates a new PcloudTenantsSshkeysPostParams 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 NewPcloudTenantsSshkeysPostParamsWithContext

func NewPcloudTenantsSshkeysPostParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParamsWithContext creates a new PcloudTenantsSshkeysPostParams object with the ability to set a context for a request.

func NewPcloudTenantsSshkeysPostParamsWithHTTPClient

func NewPcloudTenantsSshkeysPostParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParamsWithHTTPClient creates a new PcloudTenantsSshkeysPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudTenantsSshkeysPostParamsWithTimeout

func NewPcloudTenantsSshkeysPostParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParamsWithTimeout creates a new PcloudTenantsSshkeysPostParams object with the ability to set a timeout on a request.

func (*PcloudTenantsSshkeysPostParams) SetBody

func (o *PcloudTenantsSshkeysPostParams) SetBody(body *models.SSHKey)

SetBody adds the body to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetContext

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

SetContext adds the context to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetDefaults added in v1.1.0

func (o *PcloudTenantsSshkeysPostParams) SetDefaults()

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

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

func (*PcloudTenantsSshkeysPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetTenantID

func (o *PcloudTenantsSshkeysPostParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithBody

WithBody adds the body to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithDefaults added in v1.1.0

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

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

func (*PcloudTenantsSshkeysPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysPostReader

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

PcloudTenantsSshkeysPostReader is a Reader for the PcloudTenantsSshkeysPost structure.

func (*PcloudTenantsSshkeysPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysPostUnauthorized added in v1.0.59

type PcloudTenantsSshkeysPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudTenantsSshkeysPostUnauthorized added in v1.0.59

func NewPcloudTenantsSshkeysPostUnauthorized() *PcloudTenantsSshkeysPostUnauthorized

NewPcloudTenantsSshkeysPostUnauthorized creates a PcloudTenantsSshkeysPostUnauthorized with default headers values

func (*PcloudTenantsSshkeysPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys post unauthorized response

func (*PcloudTenantsSshkeysPostUnauthorized) Error added in v1.0.59

func (*PcloudTenantsSshkeysPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPostUnauthorized) IsClientError() bool

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

func (*PcloudTenantsSshkeysPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPostUnauthorized) IsServerError() bool

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

func (*PcloudTenantsSshkeysPostUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnauthorized) String added in v1.2.2

type PcloudTenantsSshkeysPostUnprocessableEntity

type PcloudTenantsSshkeysPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudTenantsSshkeysPostUnprocessableEntity

func NewPcloudTenantsSshkeysPostUnprocessableEntity() *PcloudTenantsSshkeysPostUnprocessableEntity

NewPcloudTenantsSshkeysPostUnprocessableEntity creates a PcloudTenantsSshkeysPostUnprocessableEntity with default headers values

func (*PcloudTenantsSshkeysPostUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys post unprocessable entity response

func (*PcloudTenantsSshkeysPostUnprocessableEntity) Error

func (*PcloudTenantsSshkeysPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudTenantsSshkeysPostUnprocessableEntity) String added in v1.2.2

type PcloudTenantsSshkeysPutBadRequest

type PcloudTenantsSshkeysPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudTenantsSshkeysPutBadRequest

func NewPcloudTenantsSshkeysPutBadRequest() *PcloudTenantsSshkeysPutBadRequest

NewPcloudTenantsSshkeysPutBadRequest creates a PcloudTenantsSshkeysPutBadRequest with default headers values

func (*PcloudTenantsSshkeysPutBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys put bad request response

func (*PcloudTenantsSshkeysPutBadRequest) Error

func (*PcloudTenantsSshkeysPutBadRequest) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPutBadRequest) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPutBadRequest) IsClientError() bool

IsClientError returns true when this pcloud tenants sshkeys put bad request response has a 4xx status code

func (*PcloudTenantsSshkeysPutBadRequest) IsCode added in v1.2.2

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

IsCode returns true when this pcloud tenants sshkeys put bad request response a status code equal to that given

func (*PcloudTenantsSshkeysPutBadRequest) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysPutBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud tenants sshkeys put bad request response has a 3xx status code

func (*PcloudTenantsSshkeysPutBadRequest) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPutBadRequest) IsServerError() bool

IsServerError returns true when this pcloud tenants sshkeys put bad request response has a 5xx status code

func (*PcloudTenantsSshkeysPutBadRequest) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysPutBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud tenants sshkeys put bad request response has a 2xx status code

func (*PcloudTenantsSshkeysPutBadRequest) String added in v1.2.2

type PcloudTenantsSshkeysPutForbidden added in v1.4.2

type PcloudTenantsSshkeysPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudTenantsSshkeysPutForbidden added in v1.4.2

func NewPcloudTenantsSshkeysPutForbidden() *PcloudTenantsSshkeysPutForbidden

NewPcloudTenantsSshkeysPutForbidden creates a PcloudTenantsSshkeysPutForbidden with default headers values

func (*PcloudTenantsSshkeysPutForbidden) Code added in v1.4.2

Code gets the status code for the pcloud tenants sshkeys put forbidden response

func (*PcloudTenantsSshkeysPutForbidden) Error added in v1.4.2

func (*PcloudTenantsSshkeysPutForbidden) GetPayload added in v1.4.2

func (*PcloudTenantsSshkeysPutForbidden) IsClientError added in v1.4.2

func (o *PcloudTenantsSshkeysPutForbidden) IsClientError() bool

IsClientError returns true when this pcloud tenants sshkeys put forbidden response has a 4xx status code

func (*PcloudTenantsSshkeysPutForbidden) IsCode added in v1.4.2

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

IsCode returns true when this pcloud tenants sshkeys put forbidden response a status code equal to that given

func (*PcloudTenantsSshkeysPutForbidden) IsRedirect added in v1.4.2

func (o *PcloudTenantsSshkeysPutForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud tenants sshkeys put forbidden response has a 3xx status code

func (*PcloudTenantsSshkeysPutForbidden) IsServerError added in v1.4.2

func (o *PcloudTenantsSshkeysPutForbidden) IsServerError() bool

IsServerError returns true when this pcloud tenants sshkeys put forbidden response has a 5xx status code

func (*PcloudTenantsSshkeysPutForbidden) IsSuccess added in v1.4.2

func (o *PcloudTenantsSshkeysPutForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud tenants sshkeys put forbidden response has a 2xx status code

func (*PcloudTenantsSshkeysPutForbidden) String added in v1.4.2

type PcloudTenantsSshkeysPutInternalServerError

type PcloudTenantsSshkeysPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudTenantsSshkeysPutInternalServerError

func NewPcloudTenantsSshkeysPutInternalServerError() *PcloudTenantsSshkeysPutInternalServerError

NewPcloudTenantsSshkeysPutInternalServerError creates a PcloudTenantsSshkeysPutInternalServerError with default headers values

func (*PcloudTenantsSshkeysPutInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys put internal server error response

func (*PcloudTenantsSshkeysPutInternalServerError) Error

func (*PcloudTenantsSshkeysPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPutInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud tenants sshkeys put internal server error response has a 4xx status code

func (*PcloudTenantsSshkeysPutInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud tenants sshkeys put internal server error response a status code equal to that given

func (*PcloudTenantsSshkeysPutInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud tenants sshkeys put internal server error response has a 3xx status code

func (*PcloudTenantsSshkeysPutInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud tenants sshkeys put internal server error response has a 5xx status code

func (*PcloudTenantsSshkeysPutInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud tenants sshkeys put internal server error response has a 2xx status code

func (*PcloudTenantsSshkeysPutInternalServerError) String added in v1.2.2

type PcloudTenantsSshkeysPutNotFound added in v1.4.2

type PcloudTenantsSshkeysPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudTenantsSshkeysPutNotFound added in v1.4.2

func NewPcloudTenantsSshkeysPutNotFound() *PcloudTenantsSshkeysPutNotFound

NewPcloudTenantsSshkeysPutNotFound creates a PcloudTenantsSshkeysPutNotFound with default headers values

func (*PcloudTenantsSshkeysPutNotFound) Code added in v1.4.2

Code gets the status code for the pcloud tenants sshkeys put not found response

func (*PcloudTenantsSshkeysPutNotFound) Error added in v1.4.2

func (*PcloudTenantsSshkeysPutNotFound) GetPayload added in v1.4.2

func (o *PcloudTenantsSshkeysPutNotFound) GetPayload() *models.Error

func (*PcloudTenantsSshkeysPutNotFound) IsClientError added in v1.4.2

func (o *PcloudTenantsSshkeysPutNotFound) IsClientError() bool

IsClientError returns true when this pcloud tenants sshkeys put not found response has a 4xx status code

func (*PcloudTenantsSshkeysPutNotFound) IsCode added in v1.4.2

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

IsCode returns true when this pcloud tenants sshkeys put not found response a status code equal to that given

func (*PcloudTenantsSshkeysPutNotFound) IsRedirect added in v1.4.2

func (o *PcloudTenantsSshkeysPutNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud tenants sshkeys put not found response has a 3xx status code

func (*PcloudTenantsSshkeysPutNotFound) IsServerError added in v1.4.2

func (o *PcloudTenantsSshkeysPutNotFound) IsServerError() bool

IsServerError returns true when this pcloud tenants sshkeys put not found response has a 5xx status code

func (*PcloudTenantsSshkeysPutNotFound) IsSuccess added in v1.4.2

func (o *PcloudTenantsSshkeysPutNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud tenants sshkeys put not found response has a 2xx status code

func (*PcloudTenantsSshkeysPutNotFound) String added in v1.4.2

type PcloudTenantsSshkeysPutOK

type PcloudTenantsSshkeysPutOK struct {
	Payload *models.SSHKey
}

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

OK

func NewPcloudTenantsSshkeysPutOK

func NewPcloudTenantsSshkeysPutOK() *PcloudTenantsSshkeysPutOK

NewPcloudTenantsSshkeysPutOK creates a PcloudTenantsSshkeysPutOK with default headers values

func (*PcloudTenantsSshkeysPutOK) Code added in v1.2.4

func (o *PcloudTenantsSshkeysPutOK) Code() int

Code gets the status code for the pcloud tenants sshkeys put o k response

func (*PcloudTenantsSshkeysPutOK) Error

func (o *PcloudTenantsSshkeysPutOK) Error() string

func (*PcloudTenantsSshkeysPutOK) GetPayload added in v1.1.0

func (o *PcloudTenantsSshkeysPutOK) GetPayload() *models.SSHKey

func (*PcloudTenantsSshkeysPutOK) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPutOK) IsClientError() bool

IsClientError returns true when this pcloud tenants sshkeys put o k response has a 4xx status code

func (*PcloudTenantsSshkeysPutOK) IsCode added in v1.2.2

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

IsCode returns true when this pcloud tenants sshkeys put o k response a status code equal to that given

func (*PcloudTenantsSshkeysPutOK) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysPutOK) IsRedirect() bool

IsRedirect returns true when this pcloud tenants sshkeys put o k response has a 3xx status code

func (*PcloudTenantsSshkeysPutOK) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPutOK) IsServerError() bool

IsServerError returns true when this pcloud tenants sshkeys put o k response has a 5xx status code

func (*PcloudTenantsSshkeysPutOK) IsSuccess added in v1.2.2

func (o *PcloudTenantsSshkeysPutOK) IsSuccess() bool

IsSuccess returns true when this pcloud tenants sshkeys put o k response has a 2xx status code

func (*PcloudTenantsSshkeysPutOK) String added in v1.2.2

func (o *PcloudTenantsSshkeysPutOK) String() string

type PcloudTenantsSshkeysPutParams

type PcloudTenantsSshkeysPutParams struct {

	/* Body.

	   Parameters for updating a Tenant's SSH Key
	*/
	Body *models.SSHKey

	/* SshkeyName.

	   SSH key name for a pcloud tenant
	*/
	SshkeyName string

	/* TenantID.

	   Tenant ID of a pcloud tenant
	*/
	TenantID string

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

PcloudTenantsSshkeysPutParams contains all the parameters to send to the API endpoint

for the pcloud tenants sshkeys put operation.

Typically these are written to a http.Request.

func NewPcloudTenantsSshkeysPutParams

func NewPcloudTenantsSshkeysPutParams() *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParams creates a new PcloudTenantsSshkeysPutParams 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 NewPcloudTenantsSshkeysPutParamsWithContext

func NewPcloudTenantsSshkeysPutParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParamsWithContext creates a new PcloudTenantsSshkeysPutParams object with the ability to set a context for a request.

func NewPcloudTenantsSshkeysPutParamsWithHTTPClient

func NewPcloudTenantsSshkeysPutParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParamsWithHTTPClient creates a new PcloudTenantsSshkeysPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudTenantsSshkeysPutParamsWithTimeout

func NewPcloudTenantsSshkeysPutParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParamsWithTimeout creates a new PcloudTenantsSshkeysPutParams object with the ability to set a timeout on a request.

func (*PcloudTenantsSshkeysPutParams) SetBody

func (o *PcloudTenantsSshkeysPutParams) SetBody(body *models.SSHKey)

SetBody adds the body to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetContext

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

SetContext adds the context to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetDefaults added in v1.1.0

func (o *PcloudTenantsSshkeysPutParams) SetDefaults()

SetDefaults hydrates default values in the pcloud tenants sshkeys put params (not the query body).

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

func (*PcloudTenantsSshkeysPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetSshkeyName

func (o *PcloudTenantsSshkeysPutParams) SetSshkeyName(sshkeyName string)

SetSshkeyName adds the sshkeyName to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetTenantID

func (o *PcloudTenantsSshkeysPutParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithBody

WithBody adds the body to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the pcloud tenants sshkeys put params (not the query body).

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

func (*PcloudTenantsSshkeysPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithSshkeyName

WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysPutReader

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

PcloudTenantsSshkeysPutReader is a Reader for the PcloudTenantsSshkeysPut structure.

func (*PcloudTenantsSshkeysPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysPutUnauthorized added in v1.0.59

type PcloudTenantsSshkeysPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudTenantsSshkeysPutUnauthorized added in v1.0.59

func NewPcloudTenantsSshkeysPutUnauthorized() *PcloudTenantsSshkeysPutUnauthorized

NewPcloudTenantsSshkeysPutUnauthorized creates a PcloudTenantsSshkeysPutUnauthorized with default headers values

func (*PcloudTenantsSshkeysPutUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys put unauthorized response

func (*PcloudTenantsSshkeysPutUnauthorized) Error added in v1.0.59

func (*PcloudTenantsSshkeysPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPutUnauthorized) IsClientError added in v1.2.2

func (o *PcloudTenantsSshkeysPutUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud tenants sshkeys put unauthorized response has a 4xx status code

func (*PcloudTenantsSshkeysPutUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud tenants sshkeys put unauthorized response a status code equal to that given

func (*PcloudTenantsSshkeysPutUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudTenantsSshkeysPutUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud tenants sshkeys put unauthorized response has a 3xx status code

func (*PcloudTenantsSshkeysPutUnauthorized) IsServerError added in v1.2.2

func (o *PcloudTenantsSshkeysPutUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud tenants sshkeys put unauthorized response has a 5xx status code

func (*PcloudTenantsSshkeysPutUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud tenants sshkeys put unauthorized response has a 2xx status code

func (*PcloudTenantsSshkeysPutUnauthorized) String added in v1.2.2

type PcloudTenantsSshkeysPutUnprocessableEntity

type PcloudTenantsSshkeysPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudTenantsSshkeysPutUnprocessableEntity

func NewPcloudTenantsSshkeysPutUnprocessableEntity() *PcloudTenantsSshkeysPutUnprocessableEntity

NewPcloudTenantsSshkeysPutUnprocessableEntity creates a PcloudTenantsSshkeysPutUnprocessableEntity with default headers values

func (*PcloudTenantsSshkeysPutUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud tenants sshkeys put unprocessable entity response

func (*PcloudTenantsSshkeysPutUnprocessableEntity) Error

func (*PcloudTenantsSshkeysPutUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsClientError added in v1.2.2

IsClientError returns true when this pcloud tenants sshkeys put unprocessable entity response has a 4xx status code

func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsCode added in v1.2.2

IsCode returns true when this pcloud tenants sshkeys put unprocessable entity response a status code equal to that given

func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud tenants sshkeys put unprocessable entity response has a 3xx status code

func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsServerError added in v1.2.2

IsServerError returns true when this pcloud tenants sshkeys put unprocessable entity response has a 5xx status code

func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud tenants sshkeys put unprocessable entity response has a 2xx status code

func (*PcloudTenantsSshkeysPutUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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