ssh_keys

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 12 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 ssh keys API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) V1SshkeysDelete

func (a *Client) V1SshkeysDelete(params *V1SshkeysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysDeleteOK, error)

V1SshkeysDelete deletes ssh key

func (*Client) V1SshkeysGet

func (a *Client) V1SshkeysGet(params *V1SshkeysGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysGetOK, error)

V1SshkeysGet gets ssh key information

func (*Client) V1SshkeysGetall

func (a *Client) V1SshkeysGetall(params *V1SshkeysGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysGetallOK, error)

V1SshkeysGetall lists SSH keys

func (*Client) V1SshkeysPost

func (a *Client) V1SshkeysPost(params *V1SshkeysPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysPostCreated, error)

V1SshkeysPost adds a new SSH key

func (*Client) V1SshkeysPut

func (a *Client) V1SshkeysPut(params *V1SshkeysPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysPutOK, error)

V1SshkeysPut updates the ssh key

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	V1SshkeysDelete(params *V1SshkeysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysDeleteOK, error)

	V1SshkeysGet(params *V1SshkeysGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysGetOK, error)

	V1SshkeysGetall(params *V1SshkeysGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysGetallOK, error)

	V1SshkeysPost(params *V1SshkeysPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysPostCreated, error)

	V1SshkeysPut(params *V1SshkeysPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1SshkeysPutOK, 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 ssh keys API client.

func NewClientWithBasicAuth

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

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

func NewClientWithBearerToken

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

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

type V1SshkeysDeleteBadRequest

type V1SshkeysDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1SshkeysDeleteBadRequest

func NewV1SshkeysDeleteBadRequest() *V1SshkeysDeleteBadRequest

NewV1SshkeysDeleteBadRequest creates a V1SshkeysDeleteBadRequest with default headers values

func (*V1SshkeysDeleteBadRequest) Code

func (o *V1SshkeysDeleteBadRequest) Code() int

Code gets the status code for the v1 sshkeys delete bad request response

func (*V1SshkeysDeleteBadRequest) Error

func (o *V1SshkeysDeleteBadRequest) Error() string

func (*V1SshkeysDeleteBadRequest) GetPayload

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

func (*V1SshkeysDeleteBadRequest) IsClientError

func (o *V1SshkeysDeleteBadRequest) IsClientError() bool

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

func (*V1SshkeysDeleteBadRequest) IsCode

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

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

func (*V1SshkeysDeleteBadRequest) IsRedirect

func (o *V1SshkeysDeleteBadRequest) IsRedirect() bool

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

func (*V1SshkeysDeleteBadRequest) IsServerError

func (o *V1SshkeysDeleteBadRequest) IsServerError() bool

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

func (*V1SshkeysDeleteBadRequest) IsSuccess

func (o *V1SshkeysDeleteBadRequest) IsSuccess() bool

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

func (*V1SshkeysDeleteBadRequest) String

func (o *V1SshkeysDeleteBadRequest) String() string

type V1SshkeysDeleteForbidden

type V1SshkeysDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1SshkeysDeleteForbidden

func NewV1SshkeysDeleteForbidden() *V1SshkeysDeleteForbidden

NewV1SshkeysDeleteForbidden creates a V1SshkeysDeleteForbidden with default headers values

func (*V1SshkeysDeleteForbidden) Code

func (o *V1SshkeysDeleteForbidden) Code() int

Code gets the status code for the v1 sshkeys delete forbidden response

func (*V1SshkeysDeleteForbidden) Error

func (o *V1SshkeysDeleteForbidden) Error() string

func (*V1SshkeysDeleteForbidden) GetPayload

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

func (*V1SshkeysDeleteForbidden) IsClientError

func (o *V1SshkeysDeleteForbidden) IsClientError() bool

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

func (*V1SshkeysDeleteForbidden) IsCode

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

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

func (*V1SshkeysDeleteForbidden) IsRedirect

func (o *V1SshkeysDeleteForbidden) IsRedirect() bool

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

func (*V1SshkeysDeleteForbidden) IsServerError

func (o *V1SshkeysDeleteForbidden) IsServerError() bool

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

func (*V1SshkeysDeleteForbidden) IsSuccess

func (o *V1SshkeysDeleteForbidden) IsSuccess() bool

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

func (*V1SshkeysDeleteForbidden) String

func (o *V1SshkeysDeleteForbidden) String() string

type V1SshkeysDeleteGone

type V1SshkeysDeleteGone struct {
	Payload *models.Error
}

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

Gone

func NewV1SshkeysDeleteGone

func NewV1SshkeysDeleteGone() *V1SshkeysDeleteGone

NewV1SshkeysDeleteGone creates a V1SshkeysDeleteGone with default headers values

func (*V1SshkeysDeleteGone) Code

func (o *V1SshkeysDeleteGone) Code() int

Code gets the status code for the v1 sshkeys delete gone response

func (*V1SshkeysDeleteGone) Error

func (o *V1SshkeysDeleteGone) Error() string

func (*V1SshkeysDeleteGone) GetPayload

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

func (*V1SshkeysDeleteGone) IsClientError

func (o *V1SshkeysDeleteGone) IsClientError() bool

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

func (*V1SshkeysDeleteGone) IsCode

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

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

func (*V1SshkeysDeleteGone) IsRedirect

func (o *V1SshkeysDeleteGone) IsRedirect() bool

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

func (*V1SshkeysDeleteGone) IsServerError

func (o *V1SshkeysDeleteGone) IsServerError() bool

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

func (*V1SshkeysDeleteGone) IsSuccess

func (o *V1SshkeysDeleteGone) IsSuccess() bool

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

func (*V1SshkeysDeleteGone) String

func (o *V1SshkeysDeleteGone) String() string

type V1SshkeysDeleteInternalServerError

type V1SshkeysDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1SshkeysDeleteInternalServerError

func NewV1SshkeysDeleteInternalServerError() *V1SshkeysDeleteInternalServerError

NewV1SshkeysDeleteInternalServerError creates a V1SshkeysDeleteInternalServerError with default headers values

func (*V1SshkeysDeleteInternalServerError) Code

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

func (*V1SshkeysDeleteInternalServerError) Error

func (*V1SshkeysDeleteInternalServerError) GetPayload

func (*V1SshkeysDeleteInternalServerError) IsClientError

func (o *V1SshkeysDeleteInternalServerError) IsClientError() bool

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

func (*V1SshkeysDeleteInternalServerError) IsCode

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

func (*V1SshkeysDeleteInternalServerError) IsRedirect

func (o *V1SshkeysDeleteInternalServerError) IsRedirect() bool

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

func (*V1SshkeysDeleteInternalServerError) IsServerError

func (o *V1SshkeysDeleteInternalServerError) IsServerError() bool

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

func (*V1SshkeysDeleteInternalServerError) IsSuccess

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

func (*V1SshkeysDeleteInternalServerError) String

type V1SshkeysDeleteNotFound

type V1SshkeysDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1SshkeysDeleteNotFound

func NewV1SshkeysDeleteNotFound() *V1SshkeysDeleteNotFound

NewV1SshkeysDeleteNotFound creates a V1SshkeysDeleteNotFound with default headers values

func (*V1SshkeysDeleteNotFound) Code

func (o *V1SshkeysDeleteNotFound) Code() int

Code gets the status code for the v1 sshkeys delete not found response

func (*V1SshkeysDeleteNotFound) Error

func (o *V1SshkeysDeleteNotFound) Error() string

func (*V1SshkeysDeleteNotFound) GetPayload

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

func (*V1SshkeysDeleteNotFound) IsClientError

func (o *V1SshkeysDeleteNotFound) IsClientError() bool

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

func (*V1SshkeysDeleteNotFound) IsCode

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

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

func (*V1SshkeysDeleteNotFound) IsRedirect

func (o *V1SshkeysDeleteNotFound) IsRedirect() bool

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

func (*V1SshkeysDeleteNotFound) IsServerError

func (o *V1SshkeysDeleteNotFound) IsServerError() bool

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

func (*V1SshkeysDeleteNotFound) IsSuccess

func (o *V1SshkeysDeleteNotFound) IsSuccess() bool

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

func (*V1SshkeysDeleteNotFound) String

func (o *V1SshkeysDeleteNotFound) String() string

type V1SshkeysDeleteOK

type V1SshkeysDeleteOK struct {
	Payload models.Object
}

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

OK

func NewV1SshkeysDeleteOK

func NewV1SshkeysDeleteOK() *V1SshkeysDeleteOK

NewV1SshkeysDeleteOK creates a V1SshkeysDeleteOK with default headers values

func (*V1SshkeysDeleteOK) Code

func (o *V1SshkeysDeleteOK) Code() int

Code gets the status code for the v1 sshkeys delete o k response

func (*V1SshkeysDeleteOK) Error

func (o *V1SshkeysDeleteOK) Error() string

func (*V1SshkeysDeleteOK) GetPayload

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

func (*V1SshkeysDeleteOK) IsClientError

func (o *V1SshkeysDeleteOK) IsClientError() bool

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

func (*V1SshkeysDeleteOK) IsCode

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

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

func (*V1SshkeysDeleteOK) IsRedirect

func (o *V1SshkeysDeleteOK) IsRedirect() bool

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

func (*V1SshkeysDeleteOK) IsServerError

func (o *V1SshkeysDeleteOK) IsServerError() bool

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

func (*V1SshkeysDeleteOK) IsSuccess

func (o *V1SshkeysDeleteOK) IsSuccess() bool

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

func (*V1SshkeysDeleteOK) String

func (o *V1SshkeysDeleteOK) String() string

type V1SshkeysDeleteParams

type V1SshkeysDeleteParams struct {

	/* SshkeyID.

	   SSH Key ID
	*/
	SshkeyID string

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

V1SshkeysDeleteParams contains all the parameters to send to the API endpoint

for the v1 sshkeys delete operation.

Typically these are written to a http.Request.

func NewV1SshkeysDeleteParams

func NewV1SshkeysDeleteParams() *V1SshkeysDeleteParams

NewV1SshkeysDeleteParams creates a new V1SshkeysDeleteParams 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 NewV1SshkeysDeleteParamsWithContext

func NewV1SshkeysDeleteParamsWithContext(ctx context.Context) *V1SshkeysDeleteParams

NewV1SshkeysDeleteParamsWithContext creates a new V1SshkeysDeleteParams object with the ability to set a context for a request.

func NewV1SshkeysDeleteParamsWithHTTPClient

func NewV1SshkeysDeleteParamsWithHTTPClient(client *http.Client) *V1SshkeysDeleteParams

NewV1SshkeysDeleteParamsWithHTTPClient creates a new V1SshkeysDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewV1SshkeysDeleteParamsWithTimeout

func NewV1SshkeysDeleteParamsWithTimeout(timeout time.Duration) *V1SshkeysDeleteParams

NewV1SshkeysDeleteParamsWithTimeout creates a new V1SshkeysDeleteParams object with the ability to set a timeout on a request.

func (*V1SshkeysDeleteParams) SetContext

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

SetContext adds the context to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) SetDefaults

func (o *V1SshkeysDeleteParams) SetDefaults()

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

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

func (*V1SshkeysDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) SetSshkeyID

func (o *V1SshkeysDeleteParams) SetSshkeyID(sshkeyID string)

SetSshkeyID adds the sshkeyId to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) WithContext

WithContext adds the context to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) WithDefaults

func (o *V1SshkeysDeleteParams) WithDefaults() *V1SshkeysDeleteParams

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

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

func (*V1SshkeysDeleteParams) WithHTTPClient

func (o *V1SshkeysDeleteParams) WithHTTPClient(client *http.Client) *V1SshkeysDeleteParams

WithHTTPClient adds the HTTPClient to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) WithSshkeyID

func (o *V1SshkeysDeleteParams) WithSshkeyID(sshkeyID string) *V1SshkeysDeleteParams

WithSshkeyID adds the sshkeyID to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) WithTimeout

func (o *V1SshkeysDeleteParams) WithTimeout(timeout time.Duration) *V1SshkeysDeleteParams

WithTimeout adds the timeout to the v1 sshkeys delete params

func (*V1SshkeysDeleteParams) WriteToRequest

func (o *V1SshkeysDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type V1SshkeysDeleteReader

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

V1SshkeysDeleteReader is a Reader for the V1SshkeysDelete structure.

func (*V1SshkeysDeleteReader) ReadResponse

func (o *V1SshkeysDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type V1SshkeysDeleteUnauthorized

type V1SshkeysDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1SshkeysDeleteUnauthorized

func NewV1SshkeysDeleteUnauthorized() *V1SshkeysDeleteUnauthorized

NewV1SshkeysDeleteUnauthorized creates a V1SshkeysDeleteUnauthorized with default headers values

func (*V1SshkeysDeleteUnauthorized) Code

func (o *V1SshkeysDeleteUnauthorized) Code() int

Code gets the status code for the v1 sshkeys delete unauthorized response

func (*V1SshkeysDeleteUnauthorized) Error

func (*V1SshkeysDeleteUnauthorized) GetPayload

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

func (*V1SshkeysDeleteUnauthorized) IsClientError

func (o *V1SshkeysDeleteUnauthorized) IsClientError() bool

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

func (*V1SshkeysDeleteUnauthorized) IsCode

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

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

func (*V1SshkeysDeleteUnauthorized) IsRedirect

func (o *V1SshkeysDeleteUnauthorized) IsRedirect() bool

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

func (*V1SshkeysDeleteUnauthorized) IsServerError

func (o *V1SshkeysDeleteUnauthorized) IsServerError() bool

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

func (*V1SshkeysDeleteUnauthorized) IsSuccess

func (o *V1SshkeysDeleteUnauthorized) IsSuccess() bool

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

func (*V1SshkeysDeleteUnauthorized) String

func (o *V1SshkeysDeleteUnauthorized) String() string

type V1SshkeysGetBadRequest

type V1SshkeysGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1SshkeysGetBadRequest

func NewV1SshkeysGetBadRequest() *V1SshkeysGetBadRequest

NewV1SshkeysGetBadRequest creates a V1SshkeysGetBadRequest with default headers values

func (*V1SshkeysGetBadRequest) Code

func (o *V1SshkeysGetBadRequest) Code() int

Code gets the status code for the v1 sshkeys get bad request response

func (*V1SshkeysGetBadRequest) Error

func (o *V1SshkeysGetBadRequest) Error() string

func (*V1SshkeysGetBadRequest) GetPayload

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

func (*V1SshkeysGetBadRequest) IsClientError

func (o *V1SshkeysGetBadRequest) IsClientError() bool

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

func (*V1SshkeysGetBadRequest) IsCode

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

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

func (*V1SshkeysGetBadRequest) IsRedirect

func (o *V1SshkeysGetBadRequest) IsRedirect() bool

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

func (*V1SshkeysGetBadRequest) IsServerError

func (o *V1SshkeysGetBadRequest) IsServerError() bool

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

func (*V1SshkeysGetBadRequest) IsSuccess

func (o *V1SshkeysGetBadRequest) IsSuccess() bool

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

func (*V1SshkeysGetBadRequest) String

func (o *V1SshkeysGetBadRequest) String() string

type V1SshkeysGetForbidden

type V1SshkeysGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1SshkeysGetForbidden

func NewV1SshkeysGetForbidden() *V1SshkeysGetForbidden

NewV1SshkeysGetForbidden creates a V1SshkeysGetForbidden with default headers values

func (*V1SshkeysGetForbidden) Code

func (o *V1SshkeysGetForbidden) Code() int

Code gets the status code for the v1 sshkeys get forbidden response

func (*V1SshkeysGetForbidden) Error

func (o *V1SshkeysGetForbidden) Error() string

func (*V1SshkeysGetForbidden) GetPayload

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

func (*V1SshkeysGetForbidden) IsClientError

func (o *V1SshkeysGetForbidden) IsClientError() bool

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

func (*V1SshkeysGetForbidden) IsCode

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

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

func (*V1SshkeysGetForbidden) IsRedirect

func (o *V1SshkeysGetForbidden) IsRedirect() bool

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

func (*V1SshkeysGetForbidden) IsServerError

func (o *V1SshkeysGetForbidden) IsServerError() bool

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

func (*V1SshkeysGetForbidden) IsSuccess

func (o *V1SshkeysGetForbidden) IsSuccess() bool

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

func (*V1SshkeysGetForbidden) String

func (o *V1SshkeysGetForbidden) String() string

type V1SshkeysGetInternalServerError

type V1SshkeysGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1SshkeysGetInternalServerError

func NewV1SshkeysGetInternalServerError() *V1SshkeysGetInternalServerError

NewV1SshkeysGetInternalServerError creates a V1SshkeysGetInternalServerError with default headers values

func (*V1SshkeysGetInternalServerError) Code

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

func (*V1SshkeysGetInternalServerError) Error

func (*V1SshkeysGetInternalServerError) GetPayload

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

func (*V1SshkeysGetInternalServerError) IsClientError

func (o *V1SshkeysGetInternalServerError) IsClientError() bool

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

func (*V1SshkeysGetInternalServerError) IsCode

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

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

func (*V1SshkeysGetInternalServerError) IsRedirect

func (o *V1SshkeysGetInternalServerError) IsRedirect() bool

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

func (*V1SshkeysGetInternalServerError) IsServerError

func (o *V1SshkeysGetInternalServerError) IsServerError() bool

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

func (*V1SshkeysGetInternalServerError) IsSuccess

func (o *V1SshkeysGetInternalServerError) IsSuccess() bool

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

func (*V1SshkeysGetInternalServerError) String

type V1SshkeysGetNotFound

type V1SshkeysGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1SshkeysGetNotFound

func NewV1SshkeysGetNotFound() *V1SshkeysGetNotFound

NewV1SshkeysGetNotFound creates a V1SshkeysGetNotFound with default headers values

func (*V1SshkeysGetNotFound) Code

func (o *V1SshkeysGetNotFound) Code() int

Code gets the status code for the v1 sshkeys get not found response

func (*V1SshkeysGetNotFound) Error

func (o *V1SshkeysGetNotFound) Error() string

func (*V1SshkeysGetNotFound) GetPayload

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

func (*V1SshkeysGetNotFound) IsClientError

func (o *V1SshkeysGetNotFound) IsClientError() bool

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

func (*V1SshkeysGetNotFound) IsCode

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

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

func (*V1SshkeysGetNotFound) IsRedirect

func (o *V1SshkeysGetNotFound) IsRedirect() bool

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

func (*V1SshkeysGetNotFound) IsServerError

func (o *V1SshkeysGetNotFound) IsServerError() bool

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

func (*V1SshkeysGetNotFound) IsSuccess

func (o *V1SshkeysGetNotFound) IsSuccess() bool

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

func (*V1SshkeysGetNotFound) String

func (o *V1SshkeysGetNotFound) String() string

type V1SshkeysGetOK

type V1SshkeysGetOK struct {
	Payload *models.WorkspaceSSHKey
}

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

OK

func NewV1SshkeysGetOK

func NewV1SshkeysGetOK() *V1SshkeysGetOK

NewV1SshkeysGetOK creates a V1SshkeysGetOK with default headers values

func (*V1SshkeysGetOK) Code

func (o *V1SshkeysGetOK) Code() int

Code gets the status code for the v1 sshkeys get o k response

func (*V1SshkeysGetOK) Error

func (o *V1SshkeysGetOK) Error() string

func (*V1SshkeysGetOK) GetPayload

func (o *V1SshkeysGetOK) GetPayload() *models.WorkspaceSSHKey

func (*V1SshkeysGetOK) IsClientError

func (o *V1SshkeysGetOK) IsClientError() bool

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

func (*V1SshkeysGetOK) IsCode

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

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

func (*V1SshkeysGetOK) IsRedirect

func (o *V1SshkeysGetOK) IsRedirect() bool

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

func (*V1SshkeysGetOK) IsServerError

func (o *V1SshkeysGetOK) IsServerError() bool

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

func (*V1SshkeysGetOK) IsSuccess

func (o *V1SshkeysGetOK) IsSuccess() bool

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

func (*V1SshkeysGetOK) String

func (o *V1SshkeysGetOK) String() string

type V1SshkeysGetParams

type V1SshkeysGetParams struct {

	/* SshkeyID.

	   SSH Key ID
	*/
	SshkeyID string

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

V1SshkeysGetParams contains all the parameters to send to the API endpoint

for the v1 sshkeys get operation.

Typically these are written to a http.Request.

func NewV1SshkeysGetParams

func NewV1SshkeysGetParams() *V1SshkeysGetParams

NewV1SshkeysGetParams creates a new V1SshkeysGetParams 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 NewV1SshkeysGetParamsWithContext

func NewV1SshkeysGetParamsWithContext(ctx context.Context) *V1SshkeysGetParams

NewV1SshkeysGetParamsWithContext creates a new V1SshkeysGetParams object with the ability to set a context for a request.

func NewV1SshkeysGetParamsWithHTTPClient

func NewV1SshkeysGetParamsWithHTTPClient(client *http.Client) *V1SshkeysGetParams

NewV1SshkeysGetParamsWithHTTPClient creates a new V1SshkeysGetParams object with the ability to set a custom HTTPClient for a request.

func NewV1SshkeysGetParamsWithTimeout

func NewV1SshkeysGetParamsWithTimeout(timeout time.Duration) *V1SshkeysGetParams

NewV1SshkeysGetParamsWithTimeout creates a new V1SshkeysGetParams object with the ability to set a timeout on a request.

func (*V1SshkeysGetParams) SetContext

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

SetContext adds the context to the v1 sshkeys get params

func (*V1SshkeysGetParams) SetDefaults

func (o *V1SshkeysGetParams) SetDefaults()

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

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

func (*V1SshkeysGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 sshkeys get params

func (*V1SshkeysGetParams) SetSshkeyID

func (o *V1SshkeysGetParams) SetSshkeyID(sshkeyID string)

SetSshkeyID adds the sshkeyId to the v1 sshkeys get params

func (*V1SshkeysGetParams) SetTimeout

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

SetTimeout adds the timeout to the v1 sshkeys get params

func (*V1SshkeysGetParams) WithContext

WithContext adds the context to the v1 sshkeys get params

func (*V1SshkeysGetParams) WithDefaults

func (o *V1SshkeysGetParams) WithDefaults() *V1SshkeysGetParams

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

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

func (*V1SshkeysGetParams) WithHTTPClient

func (o *V1SshkeysGetParams) WithHTTPClient(client *http.Client) *V1SshkeysGetParams

WithHTTPClient adds the HTTPClient to the v1 sshkeys get params

func (*V1SshkeysGetParams) WithSshkeyID

func (o *V1SshkeysGetParams) WithSshkeyID(sshkeyID string) *V1SshkeysGetParams

WithSshkeyID adds the sshkeyID to the v1 sshkeys get params

func (*V1SshkeysGetParams) WithTimeout

func (o *V1SshkeysGetParams) WithTimeout(timeout time.Duration) *V1SshkeysGetParams

WithTimeout adds the timeout to the v1 sshkeys get params

func (*V1SshkeysGetParams) WriteToRequest

func (o *V1SshkeysGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type V1SshkeysGetReader

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

V1SshkeysGetReader is a Reader for the V1SshkeysGet structure.

func (*V1SshkeysGetReader) ReadResponse

func (o *V1SshkeysGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type V1SshkeysGetUnauthorized

type V1SshkeysGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1SshkeysGetUnauthorized

func NewV1SshkeysGetUnauthorized() *V1SshkeysGetUnauthorized

NewV1SshkeysGetUnauthorized creates a V1SshkeysGetUnauthorized with default headers values

func (*V1SshkeysGetUnauthorized) Code

func (o *V1SshkeysGetUnauthorized) Code() int

Code gets the status code for the v1 sshkeys get unauthorized response

func (*V1SshkeysGetUnauthorized) Error

func (o *V1SshkeysGetUnauthorized) Error() string

func (*V1SshkeysGetUnauthorized) GetPayload

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

func (*V1SshkeysGetUnauthorized) IsClientError

func (o *V1SshkeysGetUnauthorized) IsClientError() bool

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

func (*V1SshkeysGetUnauthorized) IsCode

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

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

func (*V1SshkeysGetUnauthorized) IsRedirect

func (o *V1SshkeysGetUnauthorized) IsRedirect() bool

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

func (*V1SshkeysGetUnauthorized) IsServerError

func (o *V1SshkeysGetUnauthorized) IsServerError() bool

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

func (*V1SshkeysGetUnauthorized) IsSuccess

func (o *V1SshkeysGetUnauthorized) IsSuccess() bool

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

func (*V1SshkeysGetUnauthorized) String

func (o *V1SshkeysGetUnauthorized) String() string

type V1SshkeysGetallBadRequest

type V1SshkeysGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1SshkeysGetallBadRequest

func NewV1SshkeysGetallBadRequest() *V1SshkeysGetallBadRequest

NewV1SshkeysGetallBadRequest creates a V1SshkeysGetallBadRequest with default headers values

func (*V1SshkeysGetallBadRequest) Code

func (o *V1SshkeysGetallBadRequest) Code() int

Code gets the status code for the v1 sshkeys getall bad request response

func (*V1SshkeysGetallBadRequest) Error

func (o *V1SshkeysGetallBadRequest) Error() string

func (*V1SshkeysGetallBadRequest) GetPayload

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

func (*V1SshkeysGetallBadRequest) IsClientError

func (o *V1SshkeysGetallBadRequest) IsClientError() bool

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

func (*V1SshkeysGetallBadRequest) IsCode

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

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

func (*V1SshkeysGetallBadRequest) IsRedirect

func (o *V1SshkeysGetallBadRequest) IsRedirect() bool

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

func (*V1SshkeysGetallBadRequest) IsServerError

func (o *V1SshkeysGetallBadRequest) IsServerError() bool

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

func (*V1SshkeysGetallBadRequest) IsSuccess

func (o *V1SshkeysGetallBadRequest) IsSuccess() bool

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

func (*V1SshkeysGetallBadRequest) String

func (o *V1SshkeysGetallBadRequest) String() string

type V1SshkeysGetallForbidden

type V1SshkeysGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1SshkeysGetallForbidden

func NewV1SshkeysGetallForbidden() *V1SshkeysGetallForbidden

NewV1SshkeysGetallForbidden creates a V1SshkeysGetallForbidden with default headers values

func (*V1SshkeysGetallForbidden) Code

func (o *V1SshkeysGetallForbidden) Code() int

Code gets the status code for the v1 sshkeys getall forbidden response

func (*V1SshkeysGetallForbidden) Error

func (o *V1SshkeysGetallForbidden) Error() string

func (*V1SshkeysGetallForbidden) GetPayload

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

func (*V1SshkeysGetallForbidden) IsClientError

func (o *V1SshkeysGetallForbidden) IsClientError() bool

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

func (*V1SshkeysGetallForbidden) IsCode

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

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

func (*V1SshkeysGetallForbidden) IsRedirect

func (o *V1SshkeysGetallForbidden) IsRedirect() bool

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

func (*V1SshkeysGetallForbidden) IsServerError

func (o *V1SshkeysGetallForbidden) IsServerError() bool

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

func (*V1SshkeysGetallForbidden) IsSuccess

func (o *V1SshkeysGetallForbidden) IsSuccess() bool

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

func (*V1SshkeysGetallForbidden) String

func (o *V1SshkeysGetallForbidden) String() string

type V1SshkeysGetallInternalServerError

type V1SshkeysGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1SshkeysGetallInternalServerError

func NewV1SshkeysGetallInternalServerError() *V1SshkeysGetallInternalServerError

NewV1SshkeysGetallInternalServerError creates a V1SshkeysGetallInternalServerError with default headers values

func (*V1SshkeysGetallInternalServerError) Code

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

func (*V1SshkeysGetallInternalServerError) Error

func (*V1SshkeysGetallInternalServerError) GetPayload

func (*V1SshkeysGetallInternalServerError) IsClientError

func (o *V1SshkeysGetallInternalServerError) IsClientError() bool

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

func (*V1SshkeysGetallInternalServerError) IsCode

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

func (*V1SshkeysGetallInternalServerError) IsRedirect

func (o *V1SshkeysGetallInternalServerError) IsRedirect() bool

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

func (*V1SshkeysGetallInternalServerError) IsServerError

func (o *V1SshkeysGetallInternalServerError) IsServerError() bool

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

func (*V1SshkeysGetallInternalServerError) IsSuccess

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

func (*V1SshkeysGetallInternalServerError) String

type V1SshkeysGetallNotFound

type V1SshkeysGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1SshkeysGetallNotFound

func NewV1SshkeysGetallNotFound() *V1SshkeysGetallNotFound

NewV1SshkeysGetallNotFound creates a V1SshkeysGetallNotFound with default headers values

func (*V1SshkeysGetallNotFound) Code

func (o *V1SshkeysGetallNotFound) Code() int

Code gets the status code for the v1 sshkeys getall not found response

func (*V1SshkeysGetallNotFound) Error

func (o *V1SshkeysGetallNotFound) Error() string

func (*V1SshkeysGetallNotFound) GetPayload

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

func (*V1SshkeysGetallNotFound) IsClientError

func (o *V1SshkeysGetallNotFound) IsClientError() bool

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

func (*V1SshkeysGetallNotFound) IsCode

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

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

func (*V1SshkeysGetallNotFound) IsRedirect

func (o *V1SshkeysGetallNotFound) IsRedirect() bool

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

func (*V1SshkeysGetallNotFound) IsServerError

func (o *V1SshkeysGetallNotFound) IsServerError() bool

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

func (*V1SshkeysGetallNotFound) IsSuccess

func (o *V1SshkeysGetallNotFound) IsSuccess() bool

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

func (*V1SshkeysGetallNotFound) String

func (o *V1SshkeysGetallNotFound) String() string

type V1SshkeysGetallOK

type V1SshkeysGetallOK struct {
	Payload *models.WorkspaceSSHKeys
}

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

OK

func NewV1SshkeysGetallOK

func NewV1SshkeysGetallOK() *V1SshkeysGetallOK

NewV1SshkeysGetallOK creates a V1SshkeysGetallOK with default headers values

func (*V1SshkeysGetallOK) Code

func (o *V1SshkeysGetallOK) Code() int

Code gets the status code for the v1 sshkeys getall o k response

func (*V1SshkeysGetallOK) Error

func (o *V1SshkeysGetallOK) Error() string

func (*V1SshkeysGetallOK) GetPayload

func (o *V1SshkeysGetallOK) GetPayload() *models.WorkspaceSSHKeys

func (*V1SshkeysGetallOK) IsClientError

func (o *V1SshkeysGetallOK) IsClientError() bool

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

func (*V1SshkeysGetallOK) IsCode

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

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

func (*V1SshkeysGetallOK) IsRedirect

func (o *V1SshkeysGetallOK) IsRedirect() bool

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

func (*V1SshkeysGetallOK) IsServerError

func (o *V1SshkeysGetallOK) IsServerError() bool

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

func (*V1SshkeysGetallOK) IsSuccess

func (o *V1SshkeysGetallOK) IsSuccess() bool

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

func (*V1SshkeysGetallOK) String

func (o *V1SshkeysGetallOK) String() string

type V1SshkeysGetallParams

type V1SshkeysGetallParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

V1SshkeysGetallParams contains all the parameters to send to the API endpoint

for the v1 sshkeys getall operation.

Typically these are written to a http.Request.

func NewV1SshkeysGetallParams

func NewV1SshkeysGetallParams() *V1SshkeysGetallParams

NewV1SshkeysGetallParams creates a new V1SshkeysGetallParams 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 NewV1SshkeysGetallParamsWithContext

func NewV1SshkeysGetallParamsWithContext(ctx context.Context) *V1SshkeysGetallParams

NewV1SshkeysGetallParamsWithContext creates a new V1SshkeysGetallParams object with the ability to set a context for a request.

func NewV1SshkeysGetallParamsWithHTTPClient

func NewV1SshkeysGetallParamsWithHTTPClient(client *http.Client) *V1SshkeysGetallParams

NewV1SshkeysGetallParamsWithHTTPClient creates a new V1SshkeysGetallParams object with the ability to set a custom HTTPClient for a request.

func NewV1SshkeysGetallParamsWithTimeout

func NewV1SshkeysGetallParamsWithTimeout(timeout time.Duration) *V1SshkeysGetallParams

NewV1SshkeysGetallParamsWithTimeout creates a new V1SshkeysGetallParams object with the ability to set a timeout on a request.

func (*V1SshkeysGetallParams) SetContext

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

SetContext adds the context to the v1 sshkeys getall params

func (*V1SshkeysGetallParams) SetDefaults

func (o *V1SshkeysGetallParams) SetDefaults()

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

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

func (*V1SshkeysGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 sshkeys getall params

func (*V1SshkeysGetallParams) SetTimeout

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

SetTimeout adds the timeout to the v1 sshkeys getall params

func (*V1SshkeysGetallParams) WithContext

WithContext adds the context to the v1 sshkeys getall params

func (*V1SshkeysGetallParams) WithDefaults

func (o *V1SshkeysGetallParams) WithDefaults() *V1SshkeysGetallParams

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

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

func (*V1SshkeysGetallParams) WithHTTPClient

func (o *V1SshkeysGetallParams) WithHTTPClient(client *http.Client) *V1SshkeysGetallParams

WithHTTPClient adds the HTTPClient to the v1 sshkeys getall params

func (*V1SshkeysGetallParams) WithTimeout

func (o *V1SshkeysGetallParams) WithTimeout(timeout time.Duration) *V1SshkeysGetallParams

WithTimeout adds the timeout to the v1 sshkeys getall params

func (*V1SshkeysGetallParams) WriteToRequest

func (o *V1SshkeysGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type V1SshkeysGetallReader

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

V1SshkeysGetallReader is a Reader for the V1SshkeysGetall structure.

func (*V1SshkeysGetallReader) ReadResponse

func (o *V1SshkeysGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type V1SshkeysGetallUnauthorized

type V1SshkeysGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1SshkeysGetallUnauthorized

func NewV1SshkeysGetallUnauthorized() *V1SshkeysGetallUnauthorized

NewV1SshkeysGetallUnauthorized creates a V1SshkeysGetallUnauthorized with default headers values

func (*V1SshkeysGetallUnauthorized) Code

func (o *V1SshkeysGetallUnauthorized) Code() int

Code gets the status code for the v1 sshkeys getall unauthorized response

func (*V1SshkeysGetallUnauthorized) Error

func (*V1SshkeysGetallUnauthorized) GetPayload

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

func (*V1SshkeysGetallUnauthorized) IsClientError

func (o *V1SshkeysGetallUnauthorized) IsClientError() bool

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

func (*V1SshkeysGetallUnauthorized) IsCode

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

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

func (*V1SshkeysGetallUnauthorized) IsRedirect

func (o *V1SshkeysGetallUnauthorized) IsRedirect() bool

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

func (*V1SshkeysGetallUnauthorized) IsServerError

func (o *V1SshkeysGetallUnauthorized) IsServerError() bool

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

func (*V1SshkeysGetallUnauthorized) IsSuccess

func (o *V1SshkeysGetallUnauthorized) IsSuccess() bool

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

func (*V1SshkeysGetallUnauthorized) String

func (o *V1SshkeysGetallUnauthorized) String() string

type V1SshkeysPostBadRequest

type V1SshkeysPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1SshkeysPostBadRequest

func NewV1SshkeysPostBadRequest() *V1SshkeysPostBadRequest

NewV1SshkeysPostBadRequest creates a V1SshkeysPostBadRequest with default headers values

func (*V1SshkeysPostBadRequest) Code

func (o *V1SshkeysPostBadRequest) Code() int

Code gets the status code for the v1 sshkeys post bad request response

func (*V1SshkeysPostBadRequest) Error

func (o *V1SshkeysPostBadRequest) Error() string

func (*V1SshkeysPostBadRequest) GetPayload

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

func (*V1SshkeysPostBadRequest) IsClientError

func (o *V1SshkeysPostBadRequest) IsClientError() bool

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

func (*V1SshkeysPostBadRequest) IsCode

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

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

func (*V1SshkeysPostBadRequest) IsRedirect

func (o *V1SshkeysPostBadRequest) IsRedirect() bool

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

func (*V1SshkeysPostBadRequest) IsServerError

func (o *V1SshkeysPostBadRequest) IsServerError() bool

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

func (*V1SshkeysPostBadRequest) IsSuccess

func (o *V1SshkeysPostBadRequest) IsSuccess() bool

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

func (*V1SshkeysPostBadRequest) String

func (o *V1SshkeysPostBadRequest) String() string

type V1SshkeysPostConflict

type V1SshkeysPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewV1SshkeysPostConflict

func NewV1SshkeysPostConflict() *V1SshkeysPostConflict

NewV1SshkeysPostConflict creates a V1SshkeysPostConflict with default headers values

func (*V1SshkeysPostConflict) Code

func (o *V1SshkeysPostConflict) Code() int

Code gets the status code for the v1 sshkeys post conflict response

func (*V1SshkeysPostConflict) Error

func (o *V1SshkeysPostConflict) Error() string

func (*V1SshkeysPostConflict) GetPayload

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

func (*V1SshkeysPostConflict) IsClientError

func (o *V1SshkeysPostConflict) IsClientError() bool

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

func (*V1SshkeysPostConflict) IsCode

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

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

func (*V1SshkeysPostConflict) IsRedirect

func (o *V1SshkeysPostConflict) IsRedirect() bool

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

func (*V1SshkeysPostConflict) IsServerError

func (o *V1SshkeysPostConflict) IsServerError() bool

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

func (*V1SshkeysPostConflict) IsSuccess

func (o *V1SshkeysPostConflict) IsSuccess() bool

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

func (*V1SshkeysPostConflict) String

func (o *V1SshkeysPostConflict) String() string

type V1SshkeysPostCreated

type V1SshkeysPostCreated struct {
	Payload *models.WorkspaceSSHKey
}

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

Created

func NewV1SshkeysPostCreated

func NewV1SshkeysPostCreated() *V1SshkeysPostCreated

NewV1SshkeysPostCreated creates a V1SshkeysPostCreated with default headers values

func (*V1SshkeysPostCreated) Code

func (o *V1SshkeysPostCreated) Code() int

Code gets the status code for the v1 sshkeys post created response

func (*V1SshkeysPostCreated) Error

func (o *V1SshkeysPostCreated) Error() string

func (*V1SshkeysPostCreated) GetPayload

func (o *V1SshkeysPostCreated) GetPayload() *models.WorkspaceSSHKey

func (*V1SshkeysPostCreated) IsClientError

func (o *V1SshkeysPostCreated) IsClientError() bool

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

func (*V1SshkeysPostCreated) IsCode

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

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

func (*V1SshkeysPostCreated) IsRedirect

func (o *V1SshkeysPostCreated) IsRedirect() bool

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

func (*V1SshkeysPostCreated) IsServerError

func (o *V1SshkeysPostCreated) IsServerError() bool

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

func (*V1SshkeysPostCreated) IsSuccess

func (o *V1SshkeysPostCreated) IsSuccess() bool

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

func (*V1SshkeysPostCreated) String

func (o *V1SshkeysPostCreated) String() string

type V1SshkeysPostForbidden

type V1SshkeysPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1SshkeysPostForbidden

func NewV1SshkeysPostForbidden() *V1SshkeysPostForbidden

NewV1SshkeysPostForbidden creates a V1SshkeysPostForbidden with default headers values

func (*V1SshkeysPostForbidden) Code

func (o *V1SshkeysPostForbidden) Code() int

Code gets the status code for the v1 sshkeys post forbidden response

func (*V1SshkeysPostForbidden) Error

func (o *V1SshkeysPostForbidden) Error() string

func (*V1SshkeysPostForbidden) GetPayload

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

func (*V1SshkeysPostForbidden) IsClientError

func (o *V1SshkeysPostForbidden) IsClientError() bool

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

func (*V1SshkeysPostForbidden) IsCode

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

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

func (*V1SshkeysPostForbidden) IsRedirect

func (o *V1SshkeysPostForbidden) IsRedirect() bool

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

func (*V1SshkeysPostForbidden) IsServerError

func (o *V1SshkeysPostForbidden) IsServerError() bool

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

func (*V1SshkeysPostForbidden) IsSuccess

func (o *V1SshkeysPostForbidden) IsSuccess() bool

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

func (*V1SshkeysPostForbidden) String

func (o *V1SshkeysPostForbidden) String() string

type V1SshkeysPostInternalServerError

type V1SshkeysPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1SshkeysPostInternalServerError

func NewV1SshkeysPostInternalServerError() *V1SshkeysPostInternalServerError

NewV1SshkeysPostInternalServerError creates a V1SshkeysPostInternalServerError with default headers values

func (*V1SshkeysPostInternalServerError) Code

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

func (*V1SshkeysPostInternalServerError) Error

func (*V1SshkeysPostInternalServerError) GetPayload

func (*V1SshkeysPostInternalServerError) IsClientError

func (o *V1SshkeysPostInternalServerError) IsClientError() bool

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

func (*V1SshkeysPostInternalServerError) IsCode

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

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

func (*V1SshkeysPostInternalServerError) IsRedirect

func (o *V1SshkeysPostInternalServerError) IsRedirect() bool

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

func (*V1SshkeysPostInternalServerError) IsServerError

func (o *V1SshkeysPostInternalServerError) IsServerError() bool

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

func (*V1SshkeysPostInternalServerError) IsSuccess

func (o *V1SshkeysPostInternalServerError) IsSuccess() bool

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

func (*V1SshkeysPostInternalServerError) String

type V1SshkeysPostNotFound

type V1SshkeysPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1SshkeysPostNotFound

func NewV1SshkeysPostNotFound() *V1SshkeysPostNotFound

NewV1SshkeysPostNotFound creates a V1SshkeysPostNotFound with default headers values

func (*V1SshkeysPostNotFound) Code

func (o *V1SshkeysPostNotFound) Code() int

Code gets the status code for the v1 sshkeys post not found response

func (*V1SshkeysPostNotFound) Error

func (o *V1SshkeysPostNotFound) Error() string

func (*V1SshkeysPostNotFound) GetPayload

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

func (*V1SshkeysPostNotFound) IsClientError

func (o *V1SshkeysPostNotFound) IsClientError() bool

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

func (*V1SshkeysPostNotFound) IsCode

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

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

func (*V1SshkeysPostNotFound) IsRedirect

func (o *V1SshkeysPostNotFound) IsRedirect() bool

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

func (*V1SshkeysPostNotFound) IsServerError

func (o *V1SshkeysPostNotFound) IsServerError() bool

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

func (*V1SshkeysPostNotFound) IsSuccess

func (o *V1SshkeysPostNotFound) IsSuccess() bool

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

func (*V1SshkeysPostNotFound) String

func (o *V1SshkeysPostNotFound) String() string

type V1SshkeysPostParams

type V1SshkeysPostParams struct {

	/* Body.

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

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

V1SshkeysPostParams contains all the parameters to send to the API endpoint

for the v1 sshkeys post operation.

Typically these are written to a http.Request.

func NewV1SshkeysPostParams

func NewV1SshkeysPostParams() *V1SshkeysPostParams

NewV1SshkeysPostParams creates a new V1SshkeysPostParams 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 NewV1SshkeysPostParamsWithContext

func NewV1SshkeysPostParamsWithContext(ctx context.Context) *V1SshkeysPostParams

NewV1SshkeysPostParamsWithContext creates a new V1SshkeysPostParams object with the ability to set a context for a request.

func NewV1SshkeysPostParamsWithHTTPClient

func NewV1SshkeysPostParamsWithHTTPClient(client *http.Client) *V1SshkeysPostParams

NewV1SshkeysPostParamsWithHTTPClient creates a new V1SshkeysPostParams object with the ability to set a custom HTTPClient for a request.

func NewV1SshkeysPostParamsWithTimeout

func NewV1SshkeysPostParamsWithTimeout(timeout time.Duration) *V1SshkeysPostParams

NewV1SshkeysPostParamsWithTimeout creates a new V1SshkeysPostParams object with the ability to set a timeout on a request.

func (*V1SshkeysPostParams) SetBody

SetBody adds the body to the v1 sshkeys post params

func (*V1SshkeysPostParams) SetContext

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

SetContext adds the context to the v1 sshkeys post params

func (*V1SshkeysPostParams) SetDefaults

func (o *V1SshkeysPostParams) SetDefaults()

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

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

func (*V1SshkeysPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 sshkeys post params

func (*V1SshkeysPostParams) SetTimeout

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

SetTimeout adds the timeout to the v1 sshkeys post params

func (*V1SshkeysPostParams) WithBody

WithBody adds the body to the v1 sshkeys post params

func (*V1SshkeysPostParams) WithContext

WithContext adds the context to the v1 sshkeys post params

func (*V1SshkeysPostParams) WithDefaults

func (o *V1SshkeysPostParams) WithDefaults() *V1SshkeysPostParams

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

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

func (*V1SshkeysPostParams) WithHTTPClient

func (o *V1SshkeysPostParams) WithHTTPClient(client *http.Client) *V1SshkeysPostParams

WithHTTPClient adds the HTTPClient to the v1 sshkeys post params

func (*V1SshkeysPostParams) WithTimeout

func (o *V1SshkeysPostParams) WithTimeout(timeout time.Duration) *V1SshkeysPostParams

WithTimeout adds the timeout to the v1 sshkeys post params

func (*V1SshkeysPostParams) WriteToRequest

func (o *V1SshkeysPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type V1SshkeysPostReader

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

V1SshkeysPostReader is a Reader for the V1SshkeysPost structure.

func (*V1SshkeysPostReader) ReadResponse

func (o *V1SshkeysPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type V1SshkeysPostUnauthorized

type V1SshkeysPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1SshkeysPostUnauthorized

func NewV1SshkeysPostUnauthorized() *V1SshkeysPostUnauthorized

NewV1SshkeysPostUnauthorized creates a V1SshkeysPostUnauthorized with default headers values

func (*V1SshkeysPostUnauthorized) Code

func (o *V1SshkeysPostUnauthorized) Code() int

Code gets the status code for the v1 sshkeys post unauthorized response

func (*V1SshkeysPostUnauthorized) Error

func (o *V1SshkeysPostUnauthorized) Error() string

func (*V1SshkeysPostUnauthorized) GetPayload

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

func (*V1SshkeysPostUnauthorized) IsClientError

func (o *V1SshkeysPostUnauthorized) IsClientError() bool

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

func (*V1SshkeysPostUnauthorized) IsCode

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

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

func (*V1SshkeysPostUnauthorized) IsRedirect

func (o *V1SshkeysPostUnauthorized) IsRedirect() bool

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

func (*V1SshkeysPostUnauthorized) IsServerError

func (o *V1SshkeysPostUnauthorized) IsServerError() bool

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

func (*V1SshkeysPostUnauthorized) IsSuccess

func (o *V1SshkeysPostUnauthorized) IsSuccess() bool

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

func (*V1SshkeysPostUnauthorized) String

func (o *V1SshkeysPostUnauthorized) String() string

type V1SshkeysPostUnprocessableEntity

type V1SshkeysPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewV1SshkeysPostUnprocessableEntity

func NewV1SshkeysPostUnprocessableEntity() *V1SshkeysPostUnprocessableEntity

NewV1SshkeysPostUnprocessableEntity creates a V1SshkeysPostUnprocessableEntity with default headers values

func (*V1SshkeysPostUnprocessableEntity) Code

Code gets the status code for the v1 sshkeys post unprocessable entity response

func (*V1SshkeysPostUnprocessableEntity) Error

func (*V1SshkeysPostUnprocessableEntity) GetPayload

func (*V1SshkeysPostUnprocessableEntity) IsClientError

func (o *V1SshkeysPostUnprocessableEntity) IsClientError() bool

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

func (*V1SshkeysPostUnprocessableEntity) IsCode

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

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

func (*V1SshkeysPostUnprocessableEntity) IsRedirect

func (o *V1SshkeysPostUnprocessableEntity) IsRedirect() bool

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

func (*V1SshkeysPostUnprocessableEntity) IsServerError

func (o *V1SshkeysPostUnprocessableEntity) IsServerError() bool

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

func (*V1SshkeysPostUnprocessableEntity) IsSuccess

func (o *V1SshkeysPostUnprocessableEntity) IsSuccess() bool

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

func (*V1SshkeysPostUnprocessableEntity) String

type V1SshkeysPutBadRequest

type V1SshkeysPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1SshkeysPutBadRequest

func NewV1SshkeysPutBadRequest() *V1SshkeysPutBadRequest

NewV1SshkeysPutBadRequest creates a V1SshkeysPutBadRequest with default headers values

func (*V1SshkeysPutBadRequest) Code

func (o *V1SshkeysPutBadRequest) Code() int

Code gets the status code for the v1 sshkeys put bad request response

func (*V1SshkeysPutBadRequest) Error

func (o *V1SshkeysPutBadRequest) Error() string

func (*V1SshkeysPutBadRequest) GetPayload

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

func (*V1SshkeysPutBadRequest) IsClientError

func (o *V1SshkeysPutBadRequest) IsClientError() bool

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

func (*V1SshkeysPutBadRequest) IsCode

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

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

func (*V1SshkeysPutBadRequest) IsRedirect

func (o *V1SshkeysPutBadRequest) IsRedirect() bool

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

func (*V1SshkeysPutBadRequest) IsServerError

func (o *V1SshkeysPutBadRequest) IsServerError() bool

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

func (*V1SshkeysPutBadRequest) IsSuccess

func (o *V1SshkeysPutBadRequest) IsSuccess() bool

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

func (*V1SshkeysPutBadRequest) String

func (o *V1SshkeysPutBadRequest) String() string

type V1SshkeysPutConflict

type V1SshkeysPutConflict struct {
	Payload *models.Error
}

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

Conflict

func NewV1SshkeysPutConflict

func NewV1SshkeysPutConflict() *V1SshkeysPutConflict

NewV1SshkeysPutConflict creates a V1SshkeysPutConflict with default headers values

func (*V1SshkeysPutConflict) Code

func (o *V1SshkeysPutConflict) Code() int

Code gets the status code for the v1 sshkeys put conflict response

func (*V1SshkeysPutConflict) Error

func (o *V1SshkeysPutConflict) Error() string

func (*V1SshkeysPutConflict) GetPayload

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

func (*V1SshkeysPutConflict) IsClientError

func (o *V1SshkeysPutConflict) IsClientError() bool

IsClientError returns true when this v1 sshkeys put conflict response has a 4xx status code

func (*V1SshkeysPutConflict) IsCode

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

IsCode returns true when this v1 sshkeys put conflict response a status code equal to that given

func (*V1SshkeysPutConflict) IsRedirect

func (o *V1SshkeysPutConflict) IsRedirect() bool

IsRedirect returns true when this v1 sshkeys put conflict response has a 3xx status code

func (*V1SshkeysPutConflict) IsServerError

func (o *V1SshkeysPutConflict) IsServerError() bool

IsServerError returns true when this v1 sshkeys put conflict response has a 5xx status code

func (*V1SshkeysPutConflict) IsSuccess

func (o *V1SshkeysPutConflict) IsSuccess() bool

IsSuccess returns true when this v1 sshkeys put conflict response has a 2xx status code

func (*V1SshkeysPutConflict) String

func (o *V1SshkeysPutConflict) String() string

type V1SshkeysPutForbidden

type V1SshkeysPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1SshkeysPutForbidden

func NewV1SshkeysPutForbidden() *V1SshkeysPutForbidden

NewV1SshkeysPutForbidden creates a V1SshkeysPutForbidden with default headers values

func (*V1SshkeysPutForbidden) Code

func (o *V1SshkeysPutForbidden) Code() int

Code gets the status code for the v1 sshkeys put forbidden response

func (*V1SshkeysPutForbidden) Error

func (o *V1SshkeysPutForbidden) Error() string

func (*V1SshkeysPutForbidden) GetPayload

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

func (*V1SshkeysPutForbidden) IsClientError

func (o *V1SshkeysPutForbidden) IsClientError() bool

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

func (*V1SshkeysPutForbidden) IsCode

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

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

func (*V1SshkeysPutForbidden) IsRedirect

func (o *V1SshkeysPutForbidden) IsRedirect() bool

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

func (*V1SshkeysPutForbidden) IsServerError

func (o *V1SshkeysPutForbidden) IsServerError() bool

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

func (*V1SshkeysPutForbidden) IsSuccess

func (o *V1SshkeysPutForbidden) IsSuccess() bool

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

func (*V1SshkeysPutForbidden) String

func (o *V1SshkeysPutForbidden) String() string

type V1SshkeysPutGone

type V1SshkeysPutGone struct {
	Payload *models.Error
}

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

Gone

func NewV1SshkeysPutGone

func NewV1SshkeysPutGone() *V1SshkeysPutGone

NewV1SshkeysPutGone creates a V1SshkeysPutGone with default headers values

func (*V1SshkeysPutGone) Code

func (o *V1SshkeysPutGone) Code() int

Code gets the status code for the v1 sshkeys put gone response

func (*V1SshkeysPutGone) Error

func (o *V1SshkeysPutGone) Error() string

func (*V1SshkeysPutGone) GetPayload

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

func (*V1SshkeysPutGone) IsClientError

func (o *V1SshkeysPutGone) IsClientError() bool

IsClientError returns true when this v1 sshkeys put gone response has a 4xx status code

func (*V1SshkeysPutGone) IsCode

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

IsCode returns true when this v1 sshkeys put gone response a status code equal to that given

func (*V1SshkeysPutGone) IsRedirect

func (o *V1SshkeysPutGone) IsRedirect() bool

IsRedirect returns true when this v1 sshkeys put gone response has a 3xx status code

func (*V1SshkeysPutGone) IsServerError

func (o *V1SshkeysPutGone) IsServerError() bool

IsServerError returns true when this v1 sshkeys put gone response has a 5xx status code

func (*V1SshkeysPutGone) IsSuccess

func (o *V1SshkeysPutGone) IsSuccess() bool

IsSuccess returns true when this v1 sshkeys put gone response has a 2xx status code

func (*V1SshkeysPutGone) String

func (o *V1SshkeysPutGone) String() string

type V1SshkeysPutInternalServerError

type V1SshkeysPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1SshkeysPutInternalServerError

func NewV1SshkeysPutInternalServerError() *V1SshkeysPutInternalServerError

NewV1SshkeysPutInternalServerError creates a V1SshkeysPutInternalServerError with default headers values

func (*V1SshkeysPutInternalServerError) Code

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

func (*V1SshkeysPutInternalServerError) Error

func (*V1SshkeysPutInternalServerError) GetPayload

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

func (*V1SshkeysPutInternalServerError) IsClientError

func (o *V1SshkeysPutInternalServerError) IsClientError() bool

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

func (*V1SshkeysPutInternalServerError) IsCode

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

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

func (*V1SshkeysPutInternalServerError) IsRedirect

func (o *V1SshkeysPutInternalServerError) IsRedirect() bool

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

func (*V1SshkeysPutInternalServerError) IsServerError

func (o *V1SshkeysPutInternalServerError) IsServerError() bool

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

func (*V1SshkeysPutInternalServerError) IsSuccess

func (o *V1SshkeysPutInternalServerError) IsSuccess() bool

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

func (*V1SshkeysPutInternalServerError) String

type V1SshkeysPutNotFound

type V1SshkeysPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1SshkeysPutNotFound

func NewV1SshkeysPutNotFound() *V1SshkeysPutNotFound

NewV1SshkeysPutNotFound creates a V1SshkeysPutNotFound with default headers values

func (*V1SshkeysPutNotFound) Code

func (o *V1SshkeysPutNotFound) Code() int

Code gets the status code for the v1 sshkeys put not found response

func (*V1SshkeysPutNotFound) Error

func (o *V1SshkeysPutNotFound) Error() string

func (*V1SshkeysPutNotFound) GetPayload

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

func (*V1SshkeysPutNotFound) IsClientError

func (o *V1SshkeysPutNotFound) IsClientError() bool

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

func (*V1SshkeysPutNotFound) IsCode

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

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

func (*V1SshkeysPutNotFound) IsRedirect

func (o *V1SshkeysPutNotFound) IsRedirect() bool

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

func (*V1SshkeysPutNotFound) IsServerError

func (o *V1SshkeysPutNotFound) IsServerError() bool

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

func (*V1SshkeysPutNotFound) IsSuccess

func (o *V1SshkeysPutNotFound) IsSuccess() bool

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

func (*V1SshkeysPutNotFound) String

func (o *V1SshkeysPutNotFound) String() string

type V1SshkeysPutOK

type V1SshkeysPutOK struct {
	Payload *models.WorkspaceSSHKey
}

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

OK

func NewV1SshkeysPutOK

func NewV1SshkeysPutOK() *V1SshkeysPutOK

NewV1SshkeysPutOK creates a V1SshkeysPutOK with default headers values

func (*V1SshkeysPutOK) Code

func (o *V1SshkeysPutOK) Code() int

Code gets the status code for the v1 sshkeys put o k response

func (*V1SshkeysPutOK) Error

func (o *V1SshkeysPutOK) Error() string

func (*V1SshkeysPutOK) GetPayload

func (o *V1SshkeysPutOK) GetPayload() *models.WorkspaceSSHKey

func (*V1SshkeysPutOK) IsClientError

func (o *V1SshkeysPutOK) IsClientError() bool

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

func (*V1SshkeysPutOK) IsCode

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

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

func (*V1SshkeysPutOK) IsRedirect

func (o *V1SshkeysPutOK) IsRedirect() bool

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

func (*V1SshkeysPutOK) IsServerError

func (o *V1SshkeysPutOK) IsServerError() bool

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

func (*V1SshkeysPutOK) IsSuccess

func (o *V1SshkeysPutOK) IsSuccess() bool

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

func (*V1SshkeysPutOK) String

func (o *V1SshkeysPutOK) String() string

type V1SshkeysPutParams

type V1SshkeysPutParams struct {

	/* Body.

	   Parameter for updating SSH key
	*/
	Body *models.UpdateWorkspaceSSHKey

	/* SshkeyID.

	   SSH Key ID
	*/
	SshkeyID string

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

V1SshkeysPutParams contains all the parameters to send to the API endpoint

for the v1 sshkeys put operation.

Typically these are written to a http.Request.

func NewV1SshkeysPutParams

func NewV1SshkeysPutParams() *V1SshkeysPutParams

NewV1SshkeysPutParams creates a new V1SshkeysPutParams 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 NewV1SshkeysPutParamsWithContext

func NewV1SshkeysPutParamsWithContext(ctx context.Context) *V1SshkeysPutParams

NewV1SshkeysPutParamsWithContext creates a new V1SshkeysPutParams object with the ability to set a context for a request.

func NewV1SshkeysPutParamsWithHTTPClient

func NewV1SshkeysPutParamsWithHTTPClient(client *http.Client) *V1SshkeysPutParams

NewV1SshkeysPutParamsWithHTTPClient creates a new V1SshkeysPutParams object with the ability to set a custom HTTPClient for a request.

func NewV1SshkeysPutParamsWithTimeout

func NewV1SshkeysPutParamsWithTimeout(timeout time.Duration) *V1SshkeysPutParams

NewV1SshkeysPutParamsWithTimeout creates a new V1SshkeysPutParams object with the ability to set a timeout on a request.

func (*V1SshkeysPutParams) SetBody

SetBody adds the body to the v1 sshkeys put params

func (*V1SshkeysPutParams) SetContext

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

SetContext adds the context to the v1 sshkeys put params

func (*V1SshkeysPutParams) SetDefaults

func (o *V1SshkeysPutParams) SetDefaults()

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

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

func (*V1SshkeysPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 sshkeys put params

func (*V1SshkeysPutParams) SetSshkeyID

func (o *V1SshkeysPutParams) SetSshkeyID(sshkeyID string)

SetSshkeyID adds the sshkeyId to the v1 sshkeys put params

func (*V1SshkeysPutParams) SetTimeout

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

SetTimeout adds the timeout to the v1 sshkeys put params

func (*V1SshkeysPutParams) WithBody

WithBody adds the body to the v1 sshkeys put params

func (*V1SshkeysPutParams) WithContext

WithContext adds the context to the v1 sshkeys put params

func (*V1SshkeysPutParams) WithDefaults

func (o *V1SshkeysPutParams) WithDefaults() *V1SshkeysPutParams

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

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

func (*V1SshkeysPutParams) WithHTTPClient

func (o *V1SshkeysPutParams) WithHTTPClient(client *http.Client) *V1SshkeysPutParams

WithHTTPClient adds the HTTPClient to the v1 sshkeys put params

func (*V1SshkeysPutParams) WithSshkeyID

func (o *V1SshkeysPutParams) WithSshkeyID(sshkeyID string) *V1SshkeysPutParams

WithSshkeyID adds the sshkeyID to the v1 sshkeys put params

func (*V1SshkeysPutParams) WithTimeout

func (o *V1SshkeysPutParams) WithTimeout(timeout time.Duration) *V1SshkeysPutParams

WithTimeout adds the timeout to the v1 sshkeys put params

func (*V1SshkeysPutParams) WriteToRequest

func (o *V1SshkeysPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type V1SshkeysPutReader

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

V1SshkeysPutReader is a Reader for the V1SshkeysPut structure.

func (*V1SshkeysPutReader) ReadResponse

func (o *V1SshkeysPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type V1SshkeysPutUnauthorized

type V1SshkeysPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1SshkeysPutUnauthorized

func NewV1SshkeysPutUnauthorized() *V1SshkeysPutUnauthorized

NewV1SshkeysPutUnauthorized creates a V1SshkeysPutUnauthorized with default headers values

func (*V1SshkeysPutUnauthorized) Code

func (o *V1SshkeysPutUnauthorized) Code() int

Code gets the status code for the v1 sshkeys put unauthorized response

func (*V1SshkeysPutUnauthorized) Error

func (o *V1SshkeysPutUnauthorized) Error() string

func (*V1SshkeysPutUnauthorized) GetPayload

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

func (*V1SshkeysPutUnauthorized) IsClientError

func (o *V1SshkeysPutUnauthorized) IsClientError() bool

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

func (*V1SshkeysPutUnauthorized) IsCode

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

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

func (*V1SshkeysPutUnauthorized) IsRedirect

func (o *V1SshkeysPutUnauthorized) IsRedirect() bool

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

func (*V1SshkeysPutUnauthorized) IsServerError

func (o *V1SshkeysPutUnauthorized) IsServerError() bool

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

func (*V1SshkeysPutUnauthorized) IsSuccess

func (o *V1SshkeysPutUnauthorized) IsSuccess() bool

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

func (*V1SshkeysPutUnauthorized) String

func (o *V1SshkeysPutUnauthorized) String() string

Jump to

Keyboard shortcuts

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