eaa_s_manual

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for eaa s manual API

func (*Client) DecryptWithManualKey

func (a *Client) DecryptWithManualKey(params *DecryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecryptWithManualKeyOK, error)

DecryptWithManualKey decrypts

Decrypt ciphertext with a key.

func (*Client) DeleteManualKey

DeleteManualKey deletes key

Delete an existing encryption/decryption key.

func (*Client) EncryptWithManualKey

func (a *Client) EncryptWithManualKey(params *EncryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EncryptWithManualKeyCreated, error)

EncryptWithManualKey encrypts

Encrypt plaintext with a key.

func (*Client) ReadManualKey

func (a *Client) ReadManualKey(params *ReadManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReadManualKeyOK, error)

ReadManualKey reads key

Read existing encryption/decryption key.

func (*Client) RestoreManualKey

func (a *Client) RestoreManualKey(params *RestoreManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreManualKeyNoContent, error)

RestoreManualKey restores key

Restore a soft-deleted encryption/decryption key.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateKey

func (a *Client) UpdateKey(params *UpdateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateKeyOK, error)

UpdateKey updates key

Update an existing encryption/decryption key.

func (*Client) UploadKey

func (a *Client) UploadKey(params *UploadKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadKeyCreated, error)

UploadKey uploads key

Upload a new encryption/decryption key.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DecryptWithManualKey(params *DecryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DecryptWithManualKeyOK, error)

	DeleteManualKey(params *DeleteManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteManualKeyOK, *DeleteManualKeyNoContent, error)

	EncryptWithManualKey(params *EncryptWithManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EncryptWithManualKeyCreated, error)

	ReadManualKey(params *ReadManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReadManualKeyOK, error)

	RestoreManualKey(params *RestoreManualKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreManualKeyNoContent, error)

	UpdateKey(params *UpdateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateKeyOK, error)

	UploadKey(params *UploadKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadKeyCreated, 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 eaa s manual API client.

type DecryptWithManualKeyBadRequest

type DecryptWithManualKeyBadRequest struct {
	Payload *models.HTTPError
}
DecryptWithManualKeyBadRequest describes a response with status code 400, with default header values.

bad request

func NewDecryptWithManualKeyBadRequest

func NewDecryptWithManualKeyBadRequest() *DecryptWithManualKeyBadRequest

NewDecryptWithManualKeyBadRequest creates a DecryptWithManualKeyBadRequest with default headers values

func (*DecryptWithManualKeyBadRequest) Error

func (*DecryptWithManualKeyBadRequest) GetPayload

func (*DecryptWithManualKeyBadRequest) IsClientError

func (o *DecryptWithManualKeyBadRequest) IsClientError() bool

IsClientError returns true when this decrypt with manual key bad request response has a 4xx status code

func (*DecryptWithManualKeyBadRequest) IsCode

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

IsCode returns true when this decrypt with manual key bad request response a status code equal to that given

func (*DecryptWithManualKeyBadRequest) IsRedirect

func (o *DecryptWithManualKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this decrypt with manual key bad request response has a 3xx status code

func (*DecryptWithManualKeyBadRequest) IsServerError

func (o *DecryptWithManualKeyBadRequest) IsServerError() bool

IsServerError returns true when this decrypt with manual key bad request response has a 5xx status code

func (*DecryptWithManualKeyBadRequest) IsSuccess

func (o *DecryptWithManualKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this decrypt with manual key bad request response has a 2xx status code

func (*DecryptWithManualKeyBadRequest) String

type DecryptWithManualKeyForbidden

type DecryptWithManualKeyForbidden struct {
	Payload *models.HTTPError
}
DecryptWithManualKeyForbidden describes a response with status code 403, with default header values.

forbidden

func NewDecryptWithManualKeyForbidden

func NewDecryptWithManualKeyForbidden() *DecryptWithManualKeyForbidden

NewDecryptWithManualKeyForbidden creates a DecryptWithManualKeyForbidden with default headers values

func (*DecryptWithManualKeyForbidden) Error

func (*DecryptWithManualKeyForbidden) GetPayload

func (*DecryptWithManualKeyForbidden) IsClientError

func (o *DecryptWithManualKeyForbidden) IsClientError() bool

IsClientError returns true when this decrypt with manual key forbidden response has a 4xx status code

func (*DecryptWithManualKeyForbidden) IsCode

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

IsCode returns true when this decrypt with manual key forbidden response a status code equal to that given

func (*DecryptWithManualKeyForbidden) IsRedirect

func (o *DecryptWithManualKeyForbidden) IsRedirect() bool

IsRedirect returns true when this decrypt with manual key forbidden response has a 3xx status code

func (*DecryptWithManualKeyForbidden) IsServerError

func (o *DecryptWithManualKeyForbidden) IsServerError() bool

IsServerError returns true when this decrypt with manual key forbidden response has a 5xx status code

func (*DecryptWithManualKeyForbidden) IsSuccess

func (o *DecryptWithManualKeyForbidden) IsSuccess() bool

IsSuccess returns true when this decrypt with manual key forbidden response has a 2xx status code

func (*DecryptWithManualKeyForbidden) String

type DecryptWithManualKeyInternalServerError

type DecryptWithManualKeyInternalServerError struct {
	Payload *models.HTTPError
}
DecryptWithManualKeyInternalServerError describes a response with status code 500, with default header values.

server error

func NewDecryptWithManualKeyInternalServerError

func NewDecryptWithManualKeyInternalServerError() *DecryptWithManualKeyInternalServerError

NewDecryptWithManualKeyInternalServerError creates a DecryptWithManualKeyInternalServerError with default headers values

func (*DecryptWithManualKeyInternalServerError) Error

func (*DecryptWithManualKeyInternalServerError) GetPayload

func (*DecryptWithManualKeyInternalServerError) IsClientError

func (o *DecryptWithManualKeyInternalServerError) IsClientError() bool

IsClientError returns true when this decrypt with manual key internal server error response has a 4xx status code

func (*DecryptWithManualKeyInternalServerError) IsCode

IsCode returns true when this decrypt with manual key internal server error response a status code equal to that given

func (*DecryptWithManualKeyInternalServerError) IsRedirect

IsRedirect returns true when this decrypt with manual key internal server error response has a 3xx status code

func (*DecryptWithManualKeyInternalServerError) IsServerError

func (o *DecryptWithManualKeyInternalServerError) IsServerError() bool

IsServerError returns true when this decrypt with manual key internal server error response has a 5xx status code

func (*DecryptWithManualKeyInternalServerError) IsSuccess

IsSuccess returns true when this decrypt with manual key internal server error response has a 2xx status code

func (*DecryptWithManualKeyInternalServerError) String

type DecryptWithManualKeyOK

type DecryptWithManualKeyOK struct {
	Payload *models.DecryptionResponse
}
DecryptWithManualKeyOK describes a response with status code 200, with default header values.

no error

func NewDecryptWithManualKeyOK

func NewDecryptWithManualKeyOK() *DecryptWithManualKeyOK

NewDecryptWithManualKeyOK creates a DecryptWithManualKeyOK with default headers values

func (*DecryptWithManualKeyOK) Error

func (o *DecryptWithManualKeyOK) Error() string

func (*DecryptWithManualKeyOK) GetPayload

func (*DecryptWithManualKeyOK) IsClientError

func (o *DecryptWithManualKeyOK) IsClientError() bool

IsClientError returns true when this decrypt with manual key o k response has a 4xx status code

func (*DecryptWithManualKeyOK) IsCode

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

IsCode returns true when this decrypt with manual key o k response a status code equal to that given

func (*DecryptWithManualKeyOK) IsRedirect

func (o *DecryptWithManualKeyOK) IsRedirect() bool

IsRedirect returns true when this decrypt with manual key o k response has a 3xx status code

func (*DecryptWithManualKeyOK) IsServerError

func (o *DecryptWithManualKeyOK) IsServerError() bool

IsServerError returns true when this decrypt with manual key o k response has a 5xx status code

func (*DecryptWithManualKeyOK) IsSuccess

func (o *DecryptWithManualKeyOK) IsSuccess() bool

IsSuccess returns true when this decrypt with manual key o k response has a 2xx status code

func (*DecryptWithManualKeyOK) String

func (o *DecryptWithManualKeyOK) String() string

type DecryptWithManualKeyParams

type DecryptWithManualKeyParams struct {

	/* Ciphertext.

	   A value to be decrypted
	*/
	Ciphertext []uint8

	/* Path.

	   The path to data key
	*/
	Path string

	/* Version.

	   The version of the key with which to decrypt data
	*/
	Version *string

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

DecryptWithManualKeyParams contains all the parameters to send to the API endpoint

for the decrypt with manual key operation.

Typically these are written to a http.Request.

func NewDecryptWithManualKeyParams

func NewDecryptWithManualKeyParams() *DecryptWithManualKeyParams

NewDecryptWithManualKeyParams creates a new DecryptWithManualKeyParams 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 NewDecryptWithManualKeyParamsWithContext

func NewDecryptWithManualKeyParamsWithContext(ctx context.Context) *DecryptWithManualKeyParams

NewDecryptWithManualKeyParamsWithContext creates a new DecryptWithManualKeyParams object with the ability to set a context for a request.

func NewDecryptWithManualKeyParamsWithHTTPClient

func NewDecryptWithManualKeyParamsWithHTTPClient(client *http.Client) *DecryptWithManualKeyParams

NewDecryptWithManualKeyParamsWithHTTPClient creates a new DecryptWithManualKeyParams object with the ability to set a custom HTTPClient for a request.

func NewDecryptWithManualKeyParamsWithTimeout

func NewDecryptWithManualKeyParamsWithTimeout(timeout time.Duration) *DecryptWithManualKeyParams

NewDecryptWithManualKeyParamsWithTimeout creates a new DecryptWithManualKeyParams object with the ability to set a timeout on a request.

func (*DecryptWithManualKeyParams) SetCiphertext

func (o *DecryptWithManualKeyParams) SetCiphertext(ciphertext []uint8)

SetCiphertext adds the ciphertext to the decrypt with manual key params

func (*DecryptWithManualKeyParams) SetContext

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

SetContext adds the context to the decrypt with manual key params

func (*DecryptWithManualKeyParams) SetDefaults

func (o *DecryptWithManualKeyParams) SetDefaults()

SetDefaults hydrates default values in the decrypt with manual key params (not the query body).

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

func (*DecryptWithManualKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the decrypt with manual key params

func (*DecryptWithManualKeyParams) SetPath

func (o *DecryptWithManualKeyParams) SetPath(path string)

SetPath adds the path to the decrypt with manual key params

func (*DecryptWithManualKeyParams) SetTimeout

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

SetTimeout adds the timeout to the decrypt with manual key params

func (*DecryptWithManualKeyParams) SetVersion

func (o *DecryptWithManualKeyParams) SetVersion(version *string)

SetVersion adds the version to the decrypt with manual key params

func (*DecryptWithManualKeyParams) WithCiphertext

func (o *DecryptWithManualKeyParams) WithCiphertext(ciphertext []uint8) *DecryptWithManualKeyParams

WithCiphertext adds the ciphertext to the decrypt with manual key params

func (*DecryptWithManualKeyParams) WithContext

WithContext adds the context to the decrypt with manual key params

func (*DecryptWithManualKeyParams) WithDefaults

WithDefaults hydrates default values in the decrypt with manual key params (not the query body).

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

func (*DecryptWithManualKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the decrypt with manual key params

func (*DecryptWithManualKeyParams) WithPath

WithPath adds the path to the decrypt with manual key params

func (*DecryptWithManualKeyParams) WithTimeout

WithTimeout adds the timeout to the decrypt with manual key params

func (*DecryptWithManualKeyParams) WithVersion

WithVersion adds the version to the decrypt with manual key params

func (*DecryptWithManualKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DecryptWithManualKeyReader

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

DecryptWithManualKeyReader is a Reader for the DecryptWithManualKey structure.

func (*DecryptWithManualKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DecryptWithManualKeyUnauthorized

type DecryptWithManualKeyUnauthorized struct {
	Payload *models.HTTPError
}
DecryptWithManualKeyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDecryptWithManualKeyUnauthorized

func NewDecryptWithManualKeyUnauthorized() *DecryptWithManualKeyUnauthorized

NewDecryptWithManualKeyUnauthorized creates a DecryptWithManualKeyUnauthorized with default headers values

func (*DecryptWithManualKeyUnauthorized) Error

func (*DecryptWithManualKeyUnauthorized) GetPayload

func (*DecryptWithManualKeyUnauthorized) IsClientError

func (o *DecryptWithManualKeyUnauthorized) IsClientError() bool

IsClientError returns true when this decrypt with manual key unauthorized response has a 4xx status code

func (*DecryptWithManualKeyUnauthorized) IsCode

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

IsCode returns true when this decrypt with manual key unauthorized response a status code equal to that given

func (*DecryptWithManualKeyUnauthorized) IsRedirect

func (o *DecryptWithManualKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this decrypt with manual key unauthorized response has a 3xx status code

func (*DecryptWithManualKeyUnauthorized) IsServerError

func (o *DecryptWithManualKeyUnauthorized) IsServerError() bool

IsServerError returns true when this decrypt with manual key unauthorized response has a 5xx status code

func (*DecryptWithManualKeyUnauthorized) IsSuccess

func (o *DecryptWithManualKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this decrypt with manual key unauthorized response has a 2xx status code

func (*DecryptWithManualKeyUnauthorized) String

type DeleteManualKeyBadRequest

type DeleteManualKeyBadRequest struct {
	Payload *models.HTTPError
}
DeleteManualKeyBadRequest describes a response with status code 400, with default header values.

bad request

func NewDeleteManualKeyBadRequest

func NewDeleteManualKeyBadRequest() *DeleteManualKeyBadRequest

NewDeleteManualKeyBadRequest creates a DeleteManualKeyBadRequest with default headers values

func (*DeleteManualKeyBadRequest) Error

func (o *DeleteManualKeyBadRequest) Error() string

func (*DeleteManualKeyBadRequest) GetPayload

func (o *DeleteManualKeyBadRequest) GetPayload() *models.HTTPError

func (*DeleteManualKeyBadRequest) IsClientError

func (o *DeleteManualKeyBadRequest) IsClientError() bool

IsClientError returns true when this delete manual key bad request response has a 4xx status code

func (*DeleteManualKeyBadRequest) IsCode

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

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

func (*DeleteManualKeyBadRequest) IsRedirect

func (o *DeleteManualKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this delete manual key bad request response has a 3xx status code

func (*DeleteManualKeyBadRequest) IsServerError

func (o *DeleteManualKeyBadRequest) IsServerError() bool

IsServerError returns true when this delete manual key bad request response has a 5xx status code

func (*DeleteManualKeyBadRequest) IsSuccess

func (o *DeleteManualKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this delete manual key bad request response has a 2xx status code

func (*DeleteManualKeyBadRequest) String

func (o *DeleteManualKeyBadRequest) String() string

type DeleteManualKeyForbidden

type DeleteManualKeyForbidden struct {
	Payload *models.HTTPError
}
DeleteManualKeyForbidden describes a response with status code 403, with default header values.

forbidden

func NewDeleteManualKeyForbidden

func NewDeleteManualKeyForbidden() *DeleteManualKeyForbidden

NewDeleteManualKeyForbidden creates a DeleteManualKeyForbidden with default headers values

func (*DeleteManualKeyForbidden) Error

func (o *DeleteManualKeyForbidden) Error() string

func (*DeleteManualKeyForbidden) GetPayload

func (o *DeleteManualKeyForbidden) GetPayload() *models.HTTPError

func (*DeleteManualKeyForbidden) IsClientError

func (o *DeleteManualKeyForbidden) IsClientError() bool

IsClientError returns true when this delete manual key forbidden response has a 4xx status code

func (*DeleteManualKeyForbidden) IsCode

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

IsCode returns true when this delete manual key forbidden response a status code equal to that given

func (*DeleteManualKeyForbidden) IsRedirect

func (o *DeleteManualKeyForbidden) IsRedirect() bool

IsRedirect returns true when this delete manual key forbidden response has a 3xx status code

func (*DeleteManualKeyForbidden) IsServerError

func (o *DeleteManualKeyForbidden) IsServerError() bool

IsServerError returns true when this delete manual key forbidden response has a 5xx status code

func (*DeleteManualKeyForbidden) IsSuccess

func (o *DeleteManualKeyForbidden) IsSuccess() bool

IsSuccess returns true when this delete manual key forbidden response has a 2xx status code

func (*DeleteManualKeyForbidden) String

func (o *DeleteManualKeyForbidden) String() string

type DeleteManualKeyInternalServerError

type DeleteManualKeyInternalServerError struct {
	Payload *models.HTTPError
}
DeleteManualKeyInternalServerError describes a response with status code 500, with default header values.

server error

func NewDeleteManualKeyInternalServerError

func NewDeleteManualKeyInternalServerError() *DeleteManualKeyInternalServerError

NewDeleteManualKeyInternalServerError creates a DeleteManualKeyInternalServerError with default headers values

func (*DeleteManualKeyInternalServerError) Error

func (*DeleteManualKeyInternalServerError) GetPayload

func (*DeleteManualKeyInternalServerError) IsClientError

func (o *DeleteManualKeyInternalServerError) IsClientError() bool

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

func (*DeleteManualKeyInternalServerError) IsCode

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

func (*DeleteManualKeyInternalServerError) IsRedirect

func (o *DeleteManualKeyInternalServerError) IsRedirect() bool

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

func (*DeleteManualKeyInternalServerError) IsServerError

func (o *DeleteManualKeyInternalServerError) IsServerError() bool

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

func (*DeleteManualKeyInternalServerError) IsSuccess

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

func (*DeleteManualKeyInternalServerError) String

type DeleteManualKeyNoContent

type DeleteManualKeyNoContent struct {
}
DeleteManualKeyNoContent describes a response with status code 204, with default header values.

no error

func NewDeleteManualKeyNoContent

func NewDeleteManualKeyNoContent() *DeleteManualKeyNoContent

NewDeleteManualKeyNoContent creates a DeleteManualKeyNoContent with default headers values

func (*DeleteManualKeyNoContent) Error

func (o *DeleteManualKeyNoContent) Error() string

func (*DeleteManualKeyNoContent) IsClientError

func (o *DeleteManualKeyNoContent) IsClientError() bool

IsClientError returns true when this delete manual key no content response has a 4xx status code

func (*DeleteManualKeyNoContent) IsCode

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

IsCode returns true when this delete manual key no content response a status code equal to that given

func (*DeleteManualKeyNoContent) IsRedirect

func (o *DeleteManualKeyNoContent) IsRedirect() bool

IsRedirect returns true when this delete manual key no content response has a 3xx status code

func (*DeleteManualKeyNoContent) IsServerError

func (o *DeleteManualKeyNoContent) IsServerError() bool

IsServerError returns true when this delete manual key no content response has a 5xx status code

func (*DeleteManualKeyNoContent) IsSuccess

func (o *DeleteManualKeyNoContent) IsSuccess() bool

IsSuccess returns true when this delete manual key no content response has a 2xx status code

func (*DeleteManualKeyNoContent) String

func (o *DeleteManualKeyNoContent) String() string

type DeleteManualKeyOK

type DeleteManualKeyOK struct {
	Payload *models.MessageResponse
}
DeleteManualKeyOK describes a response with status code 200, with default header values.

no error

func NewDeleteManualKeyOK

func NewDeleteManualKeyOK() *DeleteManualKeyOK

NewDeleteManualKeyOK creates a DeleteManualKeyOK with default headers values

func (*DeleteManualKeyOK) Error

func (o *DeleteManualKeyOK) Error() string

func (*DeleteManualKeyOK) GetPayload

func (o *DeleteManualKeyOK) GetPayload() *models.MessageResponse

func (*DeleteManualKeyOK) IsClientError

func (o *DeleteManualKeyOK) IsClientError() bool

IsClientError returns true when this delete manual key o k response has a 4xx status code

func (*DeleteManualKeyOK) IsCode

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

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

func (*DeleteManualKeyOK) IsRedirect

func (o *DeleteManualKeyOK) IsRedirect() bool

IsRedirect returns true when this delete manual key o k response has a 3xx status code

func (*DeleteManualKeyOK) IsServerError

func (o *DeleteManualKeyOK) IsServerError() bool

IsServerError returns true when this delete manual key o k response has a 5xx status code

func (*DeleteManualKeyOK) IsSuccess

func (o *DeleteManualKeyOK) IsSuccess() bool

IsSuccess returns true when this delete manual key o k response has a 2xx status code

func (*DeleteManualKeyOK) String

func (o *DeleteManualKeyOK) String() string

type DeleteManualKeyParams

type DeleteManualKeyParams struct {

	/* Path.

	   The full key path, for example, mykeys/key01
	*/
	Path string

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

DeleteManualKeyParams contains all the parameters to send to the API endpoint

for the delete manual key operation.

Typically these are written to a http.Request.

func NewDeleteManualKeyParams

func NewDeleteManualKeyParams() *DeleteManualKeyParams

NewDeleteManualKeyParams creates a new DeleteManualKeyParams 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 NewDeleteManualKeyParamsWithContext

func NewDeleteManualKeyParamsWithContext(ctx context.Context) *DeleteManualKeyParams

NewDeleteManualKeyParamsWithContext creates a new DeleteManualKeyParams object with the ability to set a context for a request.

func NewDeleteManualKeyParamsWithHTTPClient

func NewDeleteManualKeyParamsWithHTTPClient(client *http.Client) *DeleteManualKeyParams

NewDeleteManualKeyParamsWithHTTPClient creates a new DeleteManualKeyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteManualKeyParamsWithTimeout

func NewDeleteManualKeyParamsWithTimeout(timeout time.Duration) *DeleteManualKeyParams

NewDeleteManualKeyParamsWithTimeout creates a new DeleteManualKeyParams object with the ability to set a timeout on a request.

func (*DeleteManualKeyParams) SetContext

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

SetContext adds the context to the delete manual key params

func (*DeleteManualKeyParams) SetDefaults

func (o *DeleteManualKeyParams) SetDefaults()

SetDefaults hydrates default values in the delete manual key params (not the query body).

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

func (*DeleteManualKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete manual key params

func (*DeleteManualKeyParams) SetPath

func (o *DeleteManualKeyParams) SetPath(path string)

SetPath adds the path to the delete manual key params

func (*DeleteManualKeyParams) SetTimeout

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

SetTimeout adds the timeout to the delete manual key params

func (*DeleteManualKeyParams) WithContext

WithContext adds the context to the delete manual key params

func (*DeleteManualKeyParams) WithDefaults

func (o *DeleteManualKeyParams) WithDefaults() *DeleteManualKeyParams

WithDefaults hydrates default values in the delete manual key params (not the query body).

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

func (*DeleteManualKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete manual key params

func (*DeleteManualKeyParams) WithPath

WithPath adds the path to the delete manual key params

func (*DeleteManualKeyParams) WithTimeout

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

WithTimeout adds the timeout to the delete manual key params

func (*DeleteManualKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteManualKeyReader

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

DeleteManualKeyReader is a Reader for the DeleteManualKey structure.

func (*DeleteManualKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteManualKeyUnauthorized

type DeleteManualKeyUnauthorized struct {
	Payload *models.HTTPError
}
DeleteManualKeyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDeleteManualKeyUnauthorized

func NewDeleteManualKeyUnauthorized() *DeleteManualKeyUnauthorized

NewDeleteManualKeyUnauthorized creates a DeleteManualKeyUnauthorized with default headers values

func (*DeleteManualKeyUnauthorized) Error

func (*DeleteManualKeyUnauthorized) GetPayload

func (o *DeleteManualKeyUnauthorized) GetPayload() *models.HTTPError

func (*DeleteManualKeyUnauthorized) IsClientError

func (o *DeleteManualKeyUnauthorized) IsClientError() bool

IsClientError returns true when this delete manual key unauthorized response has a 4xx status code

func (*DeleteManualKeyUnauthorized) IsCode

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

IsCode returns true when this delete manual key unauthorized response a status code equal to that given

func (*DeleteManualKeyUnauthorized) IsRedirect

func (o *DeleteManualKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete manual key unauthorized response has a 3xx status code

func (*DeleteManualKeyUnauthorized) IsServerError

func (o *DeleteManualKeyUnauthorized) IsServerError() bool

IsServerError returns true when this delete manual key unauthorized response has a 5xx status code

func (*DeleteManualKeyUnauthorized) IsSuccess

func (o *DeleteManualKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete manual key unauthorized response has a 2xx status code

func (*DeleteManualKeyUnauthorized) String

func (o *DeleteManualKeyUnauthorized) String() string

type EncryptWithManualKeyBadRequest

type EncryptWithManualKeyBadRequest struct {
	Payload *models.HTTPError
}
EncryptWithManualKeyBadRequest describes a response with status code 400, with default header values.

bad request

func NewEncryptWithManualKeyBadRequest

func NewEncryptWithManualKeyBadRequest() *EncryptWithManualKeyBadRequest

NewEncryptWithManualKeyBadRequest creates a EncryptWithManualKeyBadRequest with default headers values

func (*EncryptWithManualKeyBadRequest) Error

func (*EncryptWithManualKeyBadRequest) GetPayload

func (*EncryptWithManualKeyBadRequest) IsClientError

func (o *EncryptWithManualKeyBadRequest) IsClientError() bool

IsClientError returns true when this encrypt with manual key bad request response has a 4xx status code

func (*EncryptWithManualKeyBadRequest) IsCode

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

IsCode returns true when this encrypt with manual key bad request response a status code equal to that given

func (*EncryptWithManualKeyBadRequest) IsRedirect

func (o *EncryptWithManualKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this encrypt with manual key bad request response has a 3xx status code

func (*EncryptWithManualKeyBadRequest) IsServerError

func (o *EncryptWithManualKeyBadRequest) IsServerError() bool

IsServerError returns true when this encrypt with manual key bad request response has a 5xx status code

func (*EncryptWithManualKeyBadRequest) IsSuccess

func (o *EncryptWithManualKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this encrypt with manual key bad request response has a 2xx status code

func (*EncryptWithManualKeyBadRequest) String

type EncryptWithManualKeyCreated

type EncryptWithManualKeyCreated struct {
	Payload *models.EncryptionResponse
}
EncryptWithManualKeyCreated describes a response with status code 201, with default header values.

no error

func NewEncryptWithManualKeyCreated

func NewEncryptWithManualKeyCreated() *EncryptWithManualKeyCreated

NewEncryptWithManualKeyCreated creates a EncryptWithManualKeyCreated with default headers values

func (*EncryptWithManualKeyCreated) Error

func (*EncryptWithManualKeyCreated) GetPayload

func (*EncryptWithManualKeyCreated) IsClientError

func (o *EncryptWithManualKeyCreated) IsClientError() bool

IsClientError returns true when this encrypt with manual key created response has a 4xx status code

func (*EncryptWithManualKeyCreated) IsCode

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

IsCode returns true when this encrypt with manual key created response a status code equal to that given

func (*EncryptWithManualKeyCreated) IsRedirect

func (o *EncryptWithManualKeyCreated) IsRedirect() bool

IsRedirect returns true when this encrypt with manual key created response has a 3xx status code

func (*EncryptWithManualKeyCreated) IsServerError

func (o *EncryptWithManualKeyCreated) IsServerError() bool

IsServerError returns true when this encrypt with manual key created response has a 5xx status code

func (*EncryptWithManualKeyCreated) IsSuccess

func (o *EncryptWithManualKeyCreated) IsSuccess() bool

IsSuccess returns true when this encrypt with manual key created response has a 2xx status code

func (*EncryptWithManualKeyCreated) String

func (o *EncryptWithManualKeyCreated) String() string

type EncryptWithManualKeyForbidden

type EncryptWithManualKeyForbidden struct {
	Payload *models.HTTPError
}
EncryptWithManualKeyForbidden describes a response with status code 403, with default header values.

forbidden

func NewEncryptWithManualKeyForbidden

func NewEncryptWithManualKeyForbidden() *EncryptWithManualKeyForbidden

NewEncryptWithManualKeyForbidden creates a EncryptWithManualKeyForbidden with default headers values

func (*EncryptWithManualKeyForbidden) Error

func (*EncryptWithManualKeyForbidden) GetPayload

func (*EncryptWithManualKeyForbidden) IsClientError

func (o *EncryptWithManualKeyForbidden) IsClientError() bool

IsClientError returns true when this encrypt with manual key forbidden response has a 4xx status code

func (*EncryptWithManualKeyForbidden) IsCode

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

IsCode returns true when this encrypt with manual key forbidden response a status code equal to that given

func (*EncryptWithManualKeyForbidden) IsRedirect

func (o *EncryptWithManualKeyForbidden) IsRedirect() bool

IsRedirect returns true when this encrypt with manual key forbidden response has a 3xx status code

func (*EncryptWithManualKeyForbidden) IsServerError

func (o *EncryptWithManualKeyForbidden) IsServerError() bool

IsServerError returns true when this encrypt with manual key forbidden response has a 5xx status code

func (*EncryptWithManualKeyForbidden) IsSuccess

func (o *EncryptWithManualKeyForbidden) IsSuccess() bool

IsSuccess returns true when this encrypt with manual key forbidden response has a 2xx status code

func (*EncryptWithManualKeyForbidden) String

type EncryptWithManualKeyInternalServerError

type EncryptWithManualKeyInternalServerError struct {
	Payload *models.HTTPError
}
EncryptWithManualKeyInternalServerError describes a response with status code 500, with default header values.

server error

func NewEncryptWithManualKeyInternalServerError

func NewEncryptWithManualKeyInternalServerError() *EncryptWithManualKeyInternalServerError

NewEncryptWithManualKeyInternalServerError creates a EncryptWithManualKeyInternalServerError with default headers values

func (*EncryptWithManualKeyInternalServerError) Error

func (*EncryptWithManualKeyInternalServerError) GetPayload

func (*EncryptWithManualKeyInternalServerError) IsClientError

func (o *EncryptWithManualKeyInternalServerError) IsClientError() bool

IsClientError returns true when this encrypt with manual key internal server error response has a 4xx status code

func (*EncryptWithManualKeyInternalServerError) IsCode

IsCode returns true when this encrypt with manual key internal server error response a status code equal to that given

func (*EncryptWithManualKeyInternalServerError) IsRedirect

IsRedirect returns true when this encrypt with manual key internal server error response has a 3xx status code

func (*EncryptWithManualKeyInternalServerError) IsServerError

func (o *EncryptWithManualKeyInternalServerError) IsServerError() bool

IsServerError returns true when this encrypt with manual key internal server error response has a 5xx status code

func (*EncryptWithManualKeyInternalServerError) IsSuccess

IsSuccess returns true when this encrypt with manual key internal server error response has a 2xx status code

func (*EncryptWithManualKeyInternalServerError) String

type EncryptWithManualKeyParams

type EncryptWithManualKeyParams struct {

	/* Path.

	   The path to data key
	*/
	Path string

	/* Plaintext.

	   A value to be encrypted
	*/
	Plaintext string

	/* Version.

	   The version of the key with which to encrypt data
	*/
	Version *string

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

EncryptWithManualKeyParams contains all the parameters to send to the API endpoint

for the encrypt with manual key operation.

Typically these are written to a http.Request.

func NewEncryptWithManualKeyParams

func NewEncryptWithManualKeyParams() *EncryptWithManualKeyParams

NewEncryptWithManualKeyParams creates a new EncryptWithManualKeyParams 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 NewEncryptWithManualKeyParamsWithContext

func NewEncryptWithManualKeyParamsWithContext(ctx context.Context) *EncryptWithManualKeyParams

NewEncryptWithManualKeyParamsWithContext creates a new EncryptWithManualKeyParams object with the ability to set a context for a request.

func NewEncryptWithManualKeyParamsWithHTTPClient

func NewEncryptWithManualKeyParamsWithHTTPClient(client *http.Client) *EncryptWithManualKeyParams

NewEncryptWithManualKeyParamsWithHTTPClient creates a new EncryptWithManualKeyParams object with the ability to set a custom HTTPClient for a request.

func NewEncryptWithManualKeyParamsWithTimeout

func NewEncryptWithManualKeyParamsWithTimeout(timeout time.Duration) *EncryptWithManualKeyParams

NewEncryptWithManualKeyParamsWithTimeout creates a new EncryptWithManualKeyParams object with the ability to set a timeout on a request.

func (*EncryptWithManualKeyParams) SetContext

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

SetContext adds the context to the encrypt with manual key params

func (*EncryptWithManualKeyParams) SetDefaults

func (o *EncryptWithManualKeyParams) SetDefaults()

SetDefaults hydrates default values in the encrypt with manual key params (not the query body).

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

func (*EncryptWithManualKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the encrypt with manual key params

func (*EncryptWithManualKeyParams) SetPath

func (o *EncryptWithManualKeyParams) SetPath(path string)

SetPath adds the path to the encrypt with manual key params

func (*EncryptWithManualKeyParams) SetPlaintext

func (o *EncryptWithManualKeyParams) SetPlaintext(plaintext string)

SetPlaintext adds the plaintext to the encrypt with manual key params

func (*EncryptWithManualKeyParams) SetTimeout

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

SetTimeout adds the timeout to the encrypt with manual key params

func (*EncryptWithManualKeyParams) SetVersion

func (o *EncryptWithManualKeyParams) SetVersion(version *string)

SetVersion adds the version to the encrypt with manual key params

func (*EncryptWithManualKeyParams) WithContext

WithContext adds the context to the encrypt with manual key params

func (*EncryptWithManualKeyParams) WithDefaults

WithDefaults hydrates default values in the encrypt with manual key params (not the query body).

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

func (*EncryptWithManualKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the encrypt with manual key params

func (*EncryptWithManualKeyParams) WithPath

WithPath adds the path to the encrypt with manual key params

func (*EncryptWithManualKeyParams) WithPlaintext

func (o *EncryptWithManualKeyParams) WithPlaintext(plaintext string) *EncryptWithManualKeyParams

WithPlaintext adds the plaintext to the encrypt with manual key params

func (*EncryptWithManualKeyParams) WithTimeout

WithTimeout adds the timeout to the encrypt with manual key params

func (*EncryptWithManualKeyParams) WithVersion

WithVersion adds the version to the encrypt with manual key params

func (*EncryptWithManualKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EncryptWithManualKeyReader

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

EncryptWithManualKeyReader is a Reader for the EncryptWithManualKey structure.

func (*EncryptWithManualKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EncryptWithManualKeyUnauthorized

type EncryptWithManualKeyUnauthorized struct {
	Payload *models.HTTPError
}
EncryptWithManualKeyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEncryptWithManualKeyUnauthorized

func NewEncryptWithManualKeyUnauthorized() *EncryptWithManualKeyUnauthorized

NewEncryptWithManualKeyUnauthorized creates a EncryptWithManualKeyUnauthorized with default headers values

func (*EncryptWithManualKeyUnauthorized) Error

func (*EncryptWithManualKeyUnauthorized) GetPayload

func (*EncryptWithManualKeyUnauthorized) IsClientError

func (o *EncryptWithManualKeyUnauthorized) IsClientError() bool

IsClientError returns true when this encrypt with manual key unauthorized response has a 4xx status code

func (*EncryptWithManualKeyUnauthorized) IsCode

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

IsCode returns true when this encrypt with manual key unauthorized response a status code equal to that given

func (*EncryptWithManualKeyUnauthorized) IsRedirect

func (o *EncryptWithManualKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this encrypt with manual key unauthorized response has a 3xx status code

func (*EncryptWithManualKeyUnauthorized) IsServerError

func (o *EncryptWithManualKeyUnauthorized) IsServerError() bool

IsServerError returns true when this encrypt with manual key unauthorized response has a 5xx status code

func (*EncryptWithManualKeyUnauthorized) IsSuccess

func (o *EncryptWithManualKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this encrypt with manual key unauthorized response has a 2xx status code

func (*EncryptWithManualKeyUnauthorized) String

type ReadManualKeyBadRequest

type ReadManualKeyBadRequest struct {
	Payload *models.HTTPError
}
ReadManualKeyBadRequest describes a response with status code 400, with default header values.

bad request

func NewReadManualKeyBadRequest

func NewReadManualKeyBadRequest() *ReadManualKeyBadRequest

NewReadManualKeyBadRequest creates a ReadManualKeyBadRequest with default headers values

func (*ReadManualKeyBadRequest) Error

func (o *ReadManualKeyBadRequest) Error() string

func (*ReadManualKeyBadRequest) GetPayload

func (o *ReadManualKeyBadRequest) GetPayload() *models.HTTPError

func (*ReadManualKeyBadRequest) IsClientError

func (o *ReadManualKeyBadRequest) IsClientError() bool

IsClientError returns true when this read manual key bad request response has a 4xx status code

func (*ReadManualKeyBadRequest) IsCode

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

IsCode returns true when this read manual key bad request response a status code equal to that given

func (*ReadManualKeyBadRequest) IsRedirect

func (o *ReadManualKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this read manual key bad request response has a 3xx status code

func (*ReadManualKeyBadRequest) IsServerError

func (o *ReadManualKeyBadRequest) IsServerError() bool

IsServerError returns true when this read manual key bad request response has a 5xx status code

func (*ReadManualKeyBadRequest) IsSuccess

func (o *ReadManualKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this read manual key bad request response has a 2xx status code

func (*ReadManualKeyBadRequest) String

func (o *ReadManualKeyBadRequest) String() string

type ReadManualKeyForbidden

type ReadManualKeyForbidden struct {
	Payload *models.HTTPError
}
ReadManualKeyForbidden describes a response with status code 403, with default header values.

forbidden

func NewReadManualKeyForbidden

func NewReadManualKeyForbidden() *ReadManualKeyForbidden

NewReadManualKeyForbidden creates a ReadManualKeyForbidden with default headers values

func (*ReadManualKeyForbidden) Error

func (o *ReadManualKeyForbidden) Error() string

func (*ReadManualKeyForbidden) GetPayload

func (o *ReadManualKeyForbidden) GetPayload() *models.HTTPError

func (*ReadManualKeyForbidden) IsClientError

func (o *ReadManualKeyForbidden) IsClientError() bool

IsClientError returns true when this read manual key forbidden response has a 4xx status code

func (*ReadManualKeyForbidden) IsCode

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

IsCode returns true when this read manual key forbidden response a status code equal to that given

func (*ReadManualKeyForbidden) IsRedirect

func (o *ReadManualKeyForbidden) IsRedirect() bool

IsRedirect returns true when this read manual key forbidden response has a 3xx status code

func (*ReadManualKeyForbidden) IsServerError

func (o *ReadManualKeyForbidden) IsServerError() bool

IsServerError returns true when this read manual key forbidden response has a 5xx status code

func (*ReadManualKeyForbidden) IsSuccess

func (o *ReadManualKeyForbidden) IsSuccess() bool

IsSuccess returns true when this read manual key forbidden response has a 2xx status code

func (*ReadManualKeyForbidden) String

func (o *ReadManualKeyForbidden) String() string

type ReadManualKeyInternalServerError

type ReadManualKeyInternalServerError struct {
	Payload *models.HTTPError
}
ReadManualKeyInternalServerError describes a response with status code 500, with default header values.

server error

func NewReadManualKeyInternalServerError

func NewReadManualKeyInternalServerError() *ReadManualKeyInternalServerError

NewReadManualKeyInternalServerError creates a ReadManualKeyInternalServerError with default headers values

func (*ReadManualKeyInternalServerError) Error

func (*ReadManualKeyInternalServerError) GetPayload

func (*ReadManualKeyInternalServerError) IsClientError

func (o *ReadManualKeyInternalServerError) IsClientError() bool

IsClientError returns true when this read manual key internal server error response has a 4xx status code

func (*ReadManualKeyInternalServerError) IsCode

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

IsCode returns true when this read manual key internal server error response a status code equal to that given

func (*ReadManualKeyInternalServerError) IsRedirect

func (o *ReadManualKeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this read manual key internal server error response has a 3xx status code

func (*ReadManualKeyInternalServerError) IsServerError

func (o *ReadManualKeyInternalServerError) IsServerError() bool

IsServerError returns true when this read manual key internal server error response has a 5xx status code

func (*ReadManualKeyInternalServerError) IsSuccess

func (o *ReadManualKeyInternalServerError) IsSuccess() bool

IsSuccess returns true when this read manual key internal server error response has a 2xx status code

func (*ReadManualKeyInternalServerError) String

type ReadManualKeyOK

type ReadManualKeyOK struct {
	Payload *models.ResponseModelFull
}
ReadManualKeyOK describes a response with status code 200, with default header values.

no error

func NewReadManualKeyOK

func NewReadManualKeyOK() *ReadManualKeyOK

NewReadManualKeyOK creates a ReadManualKeyOK with default headers values

func (*ReadManualKeyOK) Error

func (o *ReadManualKeyOK) Error() string

func (*ReadManualKeyOK) GetPayload

func (o *ReadManualKeyOK) GetPayload() *models.ResponseModelFull

func (*ReadManualKeyOK) IsClientError

func (o *ReadManualKeyOK) IsClientError() bool

IsClientError returns true when this read manual key o k response has a 4xx status code

func (*ReadManualKeyOK) IsCode

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

IsCode returns true when this read manual key o k response a status code equal to that given

func (*ReadManualKeyOK) IsRedirect

func (o *ReadManualKeyOK) IsRedirect() bool

IsRedirect returns true when this read manual key o k response has a 3xx status code

func (*ReadManualKeyOK) IsServerError

func (o *ReadManualKeyOK) IsServerError() bool

IsServerError returns true when this read manual key o k response has a 5xx status code

func (*ReadManualKeyOK) IsSuccess

func (o *ReadManualKeyOK) IsSuccess() bool

IsSuccess returns true when this read manual key o k response has a 2xx status code

func (*ReadManualKeyOK) String

func (o *ReadManualKeyOK) String() string

type ReadManualKeyParams

type ReadManualKeyParams struct {

	/* Path.

	   The full key path, for example, mykeys/key01
	*/
	Path string

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

ReadManualKeyParams contains all the parameters to send to the API endpoint

for the read manual key operation.

Typically these are written to a http.Request.

func NewReadManualKeyParams

func NewReadManualKeyParams() *ReadManualKeyParams

NewReadManualKeyParams creates a new ReadManualKeyParams 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 NewReadManualKeyParamsWithContext

func NewReadManualKeyParamsWithContext(ctx context.Context) *ReadManualKeyParams

NewReadManualKeyParamsWithContext creates a new ReadManualKeyParams object with the ability to set a context for a request.

func NewReadManualKeyParamsWithHTTPClient

func NewReadManualKeyParamsWithHTTPClient(client *http.Client) *ReadManualKeyParams

NewReadManualKeyParamsWithHTTPClient creates a new ReadManualKeyParams object with the ability to set a custom HTTPClient for a request.

func NewReadManualKeyParamsWithTimeout

func NewReadManualKeyParamsWithTimeout(timeout time.Duration) *ReadManualKeyParams

NewReadManualKeyParamsWithTimeout creates a new ReadManualKeyParams object with the ability to set a timeout on a request.

func (*ReadManualKeyParams) SetContext

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

SetContext adds the context to the read manual key params

func (*ReadManualKeyParams) SetDefaults

func (o *ReadManualKeyParams) SetDefaults()

SetDefaults hydrates default values in the read manual key params (not the query body).

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

func (*ReadManualKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read manual key params

func (*ReadManualKeyParams) SetPath

func (o *ReadManualKeyParams) SetPath(path string)

SetPath adds the path to the read manual key params

func (*ReadManualKeyParams) SetTimeout

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

SetTimeout adds the timeout to the read manual key params

func (*ReadManualKeyParams) WithContext

WithContext adds the context to the read manual key params

func (*ReadManualKeyParams) WithDefaults

func (o *ReadManualKeyParams) WithDefaults() *ReadManualKeyParams

WithDefaults hydrates default values in the read manual key params (not the query body).

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

func (*ReadManualKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read manual key params

func (*ReadManualKeyParams) WithPath

func (o *ReadManualKeyParams) WithPath(path string) *ReadManualKeyParams

WithPath adds the path to the read manual key params

func (*ReadManualKeyParams) WithTimeout

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

WithTimeout adds the timeout to the read manual key params

func (*ReadManualKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadManualKeyReader

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

ReadManualKeyReader is a Reader for the ReadManualKey structure.

func (*ReadManualKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadManualKeyUnauthorized

type ReadManualKeyUnauthorized struct {
	Payload *models.HTTPError
}
ReadManualKeyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewReadManualKeyUnauthorized

func NewReadManualKeyUnauthorized() *ReadManualKeyUnauthorized

NewReadManualKeyUnauthorized creates a ReadManualKeyUnauthorized with default headers values

func (*ReadManualKeyUnauthorized) Error

func (o *ReadManualKeyUnauthorized) Error() string

func (*ReadManualKeyUnauthorized) GetPayload

func (o *ReadManualKeyUnauthorized) GetPayload() *models.HTTPError

func (*ReadManualKeyUnauthorized) IsClientError

func (o *ReadManualKeyUnauthorized) IsClientError() bool

IsClientError returns true when this read manual key unauthorized response has a 4xx status code

func (*ReadManualKeyUnauthorized) IsCode

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

IsCode returns true when this read manual key unauthorized response a status code equal to that given

func (*ReadManualKeyUnauthorized) IsRedirect

func (o *ReadManualKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this read manual key unauthorized response has a 3xx status code

func (*ReadManualKeyUnauthorized) IsServerError

func (o *ReadManualKeyUnauthorized) IsServerError() bool

IsServerError returns true when this read manual key unauthorized response has a 5xx status code

func (*ReadManualKeyUnauthorized) IsSuccess

func (o *ReadManualKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this read manual key unauthorized response has a 2xx status code

func (*ReadManualKeyUnauthorized) String

func (o *ReadManualKeyUnauthorized) String() string

type RestoreManualKeyBadRequest

type RestoreManualKeyBadRequest struct {
	Payload *models.HTTPError
}
RestoreManualKeyBadRequest describes a response with status code 400, with default header values.

bad request

func NewRestoreManualKeyBadRequest

func NewRestoreManualKeyBadRequest() *RestoreManualKeyBadRequest

NewRestoreManualKeyBadRequest creates a RestoreManualKeyBadRequest with default headers values

func (*RestoreManualKeyBadRequest) Error

func (*RestoreManualKeyBadRequest) GetPayload

func (o *RestoreManualKeyBadRequest) GetPayload() *models.HTTPError

func (*RestoreManualKeyBadRequest) IsClientError

func (o *RestoreManualKeyBadRequest) IsClientError() bool

IsClientError returns true when this restore manual key bad request response has a 4xx status code

func (*RestoreManualKeyBadRequest) IsCode

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

IsCode returns true when this restore manual key bad request response a status code equal to that given

func (*RestoreManualKeyBadRequest) IsRedirect

func (o *RestoreManualKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this restore manual key bad request response has a 3xx status code

func (*RestoreManualKeyBadRequest) IsServerError

func (o *RestoreManualKeyBadRequest) IsServerError() bool

IsServerError returns true when this restore manual key bad request response has a 5xx status code

func (*RestoreManualKeyBadRequest) IsSuccess

func (o *RestoreManualKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this restore manual key bad request response has a 2xx status code

func (*RestoreManualKeyBadRequest) String

func (o *RestoreManualKeyBadRequest) String() string

type RestoreManualKeyForbidden

type RestoreManualKeyForbidden struct {
	Payload *models.HTTPError
}
RestoreManualKeyForbidden describes a response with status code 403, with default header values.

forbidden

func NewRestoreManualKeyForbidden

func NewRestoreManualKeyForbidden() *RestoreManualKeyForbidden

NewRestoreManualKeyForbidden creates a RestoreManualKeyForbidden with default headers values

func (*RestoreManualKeyForbidden) Error

func (o *RestoreManualKeyForbidden) Error() string

func (*RestoreManualKeyForbidden) GetPayload

func (o *RestoreManualKeyForbidden) GetPayload() *models.HTTPError

func (*RestoreManualKeyForbidden) IsClientError

func (o *RestoreManualKeyForbidden) IsClientError() bool

IsClientError returns true when this restore manual key forbidden response has a 4xx status code

func (*RestoreManualKeyForbidden) IsCode

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

IsCode returns true when this restore manual key forbidden response a status code equal to that given

func (*RestoreManualKeyForbidden) IsRedirect

func (o *RestoreManualKeyForbidden) IsRedirect() bool

IsRedirect returns true when this restore manual key forbidden response has a 3xx status code

func (*RestoreManualKeyForbidden) IsServerError

func (o *RestoreManualKeyForbidden) IsServerError() bool

IsServerError returns true when this restore manual key forbidden response has a 5xx status code

func (*RestoreManualKeyForbidden) IsSuccess

func (o *RestoreManualKeyForbidden) IsSuccess() bool

IsSuccess returns true when this restore manual key forbidden response has a 2xx status code

func (*RestoreManualKeyForbidden) String

func (o *RestoreManualKeyForbidden) String() string

type RestoreManualKeyInternalServerError

type RestoreManualKeyInternalServerError struct {
	Payload *models.HTTPError
}
RestoreManualKeyInternalServerError describes a response with status code 500, with default header values.

server error

func NewRestoreManualKeyInternalServerError

func NewRestoreManualKeyInternalServerError() *RestoreManualKeyInternalServerError

NewRestoreManualKeyInternalServerError creates a RestoreManualKeyInternalServerError with default headers values

func (*RestoreManualKeyInternalServerError) Error

func (*RestoreManualKeyInternalServerError) GetPayload

func (*RestoreManualKeyInternalServerError) IsClientError

func (o *RestoreManualKeyInternalServerError) IsClientError() bool

IsClientError returns true when this restore manual key internal server error response has a 4xx status code

func (*RestoreManualKeyInternalServerError) IsCode

IsCode returns true when this restore manual key internal server error response a status code equal to that given

func (*RestoreManualKeyInternalServerError) IsRedirect

func (o *RestoreManualKeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this restore manual key internal server error response has a 3xx status code

func (*RestoreManualKeyInternalServerError) IsServerError

func (o *RestoreManualKeyInternalServerError) IsServerError() bool

IsServerError returns true when this restore manual key internal server error response has a 5xx status code

func (*RestoreManualKeyInternalServerError) IsSuccess

IsSuccess returns true when this restore manual key internal server error response has a 2xx status code

func (*RestoreManualKeyInternalServerError) String

type RestoreManualKeyNoContent

type RestoreManualKeyNoContent struct {
}
RestoreManualKeyNoContent describes a response with status code 204, with default header values.

no error

func NewRestoreManualKeyNoContent

func NewRestoreManualKeyNoContent() *RestoreManualKeyNoContent

NewRestoreManualKeyNoContent creates a RestoreManualKeyNoContent with default headers values

func (*RestoreManualKeyNoContent) Error

func (o *RestoreManualKeyNoContent) Error() string

func (*RestoreManualKeyNoContent) IsClientError

func (o *RestoreManualKeyNoContent) IsClientError() bool

IsClientError returns true when this restore manual key no content response has a 4xx status code

func (*RestoreManualKeyNoContent) IsCode

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

IsCode returns true when this restore manual key no content response a status code equal to that given

func (*RestoreManualKeyNoContent) IsRedirect

func (o *RestoreManualKeyNoContent) IsRedirect() bool

IsRedirect returns true when this restore manual key no content response has a 3xx status code

func (*RestoreManualKeyNoContent) IsServerError

func (o *RestoreManualKeyNoContent) IsServerError() bool

IsServerError returns true when this restore manual key no content response has a 5xx status code

func (*RestoreManualKeyNoContent) IsSuccess

func (o *RestoreManualKeyNoContent) IsSuccess() bool

IsSuccess returns true when this restore manual key no content response has a 2xx status code

func (*RestoreManualKeyNoContent) String

func (o *RestoreManualKeyNoContent) String() string

type RestoreManualKeyParams

type RestoreManualKeyParams struct {

	/* Path.

	   The full key path, for example, mykeys/key01
	*/
	Path string

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

RestoreManualKeyParams contains all the parameters to send to the API endpoint

for the restore manual key operation.

Typically these are written to a http.Request.

func NewRestoreManualKeyParams

func NewRestoreManualKeyParams() *RestoreManualKeyParams

NewRestoreManualKeyParams creates a new RestoreManualKeyParams 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 NewRestoreManualKeyParamsWithContext

func NewRestoreManualKeyParamsWithContext(ctx context.Context) *RestoreManualKeyParams

NewRestoreManualKeyParamsWithContext creates a new RestoreManualKeyParams object with the ability to set a context for a request.

func NewRestoreManualKeyParamsWithHTTPClient

func NewRestoreManualKeyParamsWithHTTPClient(client *http.Client) *RestoreManualKeyParams

NewRestoreManualKeyParamsWithHTTPClient creates a new RestoreManualKeyParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreManualKeyParamsWithTimeout

func NewRestoreManualKeyParamsWithTimeout(timeout time.Duration) *RestoreManualKeyParams

NewRestoreManualKeyParamsWithTimeout creates a new RestoreManualKeyParams object with the ability to set a timeout on a request.

func (*RestoreManualKeyParams) SetContext

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

SetContext adds the context to the restore manual key params

func (*RestoreManualKeyParams) SetDefaults

func (o *RestoreManualKeyParams) SetDefaults()

SetDefaults hydrates default values in the restore manual key params (not the query body).

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

func (*RestoreManualKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore manual key params

func (*RestoreManualKeyParams) SetPath

func (o *RestoreManualKeyParams) SetPath(path string)

SetPath adds the path to the restore manual key params

func (*RestoreManualKeyParams) SetTimeout

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

SetTimeout adds the timeout to the restore manual key params

func (*RestoreManualKeyParams) WithContext

WithContext adds the context to the restore manual key params

func (*RestoreManualKeyParams) WithDefaults

WithDefaults hydrates default values in the restore manual key params (not the query body).

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

func (*RestoreManualKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore manual key params

func (*RestoreManualKeyParams) WithPath

WithPath adds the path to the restore manual key params

func (*RestoreManualKeyParams) WithTimeout

WithTimeout adds the timeout to the restore manual key params

func (*RestoreManualKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestoreManualKeyReader

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

RestoreManualKeyReader is a Reader for the RestoreManualKey structure.

func (*RestoreManualKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreManualKeyUnauthorized

type RestoreManualKeyUnauthorized struct {
	Payload *models.HTTPError
}
RestoreManualKeyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRestoreManualKeyUnauthorized

func NewRestoreManualKeyUnauthorized() *RestoreManualKeyUnauthorized

NewRestoreManualKeyUnauthorized creates a RestoreManualKeyUnauthorized with default headers values

func (*RestoreManualKeyUnauthorized) Error

func (*RestoreManualKeyUnauthorized) GetPayload

func (*RestoreManualKeyUnauthorized) IsClientError

func (o *RestoreManualKeyUnauthorized) IsClientError() bool

IsClientError returns true when this restore manual key unauthorized response has a 4xx status code

func (*RestoreManualKeyUnauthorized) IsCode

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

IsCode returns true when this restore manual key unauthorized response a status code equal to that given

func (*RestoreManualKeyUnauthorized) IsRedirect

func (o *RestoreManualKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this restore manual key unauthorized response has a 3xx status code

func (*RestoreManualKeyUnauthorized) IsServerError

func (o *RestoreManualKeyUnauthorized) IsServerError() bool

IsServerError returns true when this restore manual key unauthorized response has a 5xx status code

func (*RestoreManualKeyUnauthorized) IsSuccess

func (o *RestoreManualKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this restore manual key unauthorized response has a 2xx status code

func (*RestoreManualKeyUnauthorized) String

type UpdateKeyBadRequest

type UpdateKeyBadRequest struct {
	Payload *models.HTTPError
}
UpdateKeyBadRequest describes a response with status code 400, with default header values.

bad request

func NewUpdateKeyBadRequest

func NewUpdateKeyBadRequest() *UpdateKeyBadRequest

NewUpdateKeyBadRequest creates a UpdateKeyBadRequest with default headers values

func (*UpdateKeyBadRequest) Error

func (o *UpdateKeyBadRequest) Error() string

func (*UpdateKeyBadRequest) GetPayload

func (o *UpdateKeyBadRequest) GetPayload() *models.HTTPError

func (*UpdateKeyBadRequest) IsClientError

func (o *UpdateKeyBadRequest) IsClientError() bool

IsClientError returns true when this update key bad request response has a 4xx status code

func (*UpdateKeyBadRequest) IsCode

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

IsCode returns true when this update key bad request response a status code equal to that given

func (*UpdateKeyBadRequest) IsRedirect

func (o *UpdateKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this update key bad request response has a 3xx status code

func (*UpdateKeyBadRequest) IsServerError

func (o *UpdateKeyBadRequest) IsServerError() bool

IsServerError returns true when this update key bad request response has a 5xx status code

func (*UpdateKeyBadRequest) IsSuccess

func (o *UpdateKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this update key bad request response has a 2xx status code

func (*UpdateKeyBadRequest) String

func (o *UpdateKeyBadRequest) String() string

type UpdateKeyForbidden

type UpdateKeyForbidden struct {
	Payload *models.HTTPError
}
UpdateKeyForbidden describes a response with status code 403, with default header values.

forbidden

func NewUpdateKeyForbidden

func NewUpdateKeyForbidden() *UpdateKeyForbidden

NewUpdateKeyForbidden creates a UpdateKeyForbidden with default headers values

func (*UpdateKeyForbidden) Error

func (o *UpdateKeyForbidden) Error() string

func (*UpdateKeyForbidden) GetPayload

func (o *UpdateKeyForbidden) GetPayload() *models.HTTPError

func (*UpdateKeyForbidden) IsClientError

func (o *UpdateKeyForbidden) IsClientError() bool

IsClientError returns true when this update key forbidden response has a 4xx status code

func (*UpdateKeyForbidden) IsCode

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

IsCode returns true when this update key forbidden response a status code equal to that given

func (*UpdateKeyForbidden) IsRedirect

func (o *UpdateKeyForbidden) IsRedirect() bool

IsRedirect returns true when this update key forbidden response has a 3xx status code

func (*UpdateKeyForbidden) IsServerError

func (o *UpdateKeyForbidden) IsServerError() bool

IsServerError returns true when this update key forbidden response has a 5xx status code

func (*UpdateKeyForbidden) IsSuccess

func (o *UpdateKeyForbidden) IsSuccess() bool

IsSuccess returns true when this update key forbidden response has a 2xx status code

func (*UpdateKeyForbidden) String

func (o *UpdateKeyForbidden) String() string

type UpdateKeyInternalServerError

type UpdateKeyInternalServerError struct {
	Payload *models.HTTPError
}
UpdateKeyInternalServerError describes a response with status code 500, with default header values.

server error

func NewUpdateKeyInternalServerError

func NewUpdateKeyInternalServerError() *UpdateKeyInternalServerError

NewUpdateKeyInternalServerError creates a UpdateKeyInternalServerError with default headers values

func (*UpdateKeyInternalServerError) Error

func (*UpdateKeyInternalServerError) GetPayload

func (*UpdateKeyInternalServerError) IsClientError

func (o *UpdateKeyInternalServerError) IsClientError() bool

IsClientError returns true when this update key internal server error response has a 4xx status code

func (*UpdateKeyInternalServerError) IsCode

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

IsCode returns true when this update key internal server error response a status code equal to that given

func (*UpdateKeyInternalServerError) IsRedirect

func (o *UpdateKeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this update key internal server error response has a 3xx status code

func (*UpdateKeyInternalServerError) IsServerError

func (o *UpdateKeyInternalServerError) IsServerError() bool

IsServerError returns true when this update key internal server error response has a 5xx status code

func (*UpdateKeyInternalServerError) IsSuccess

func (o *UpdateKeyInternalServerError) IsSuccess() bool

IsSuccess returns true when this update key internal server error response has a 2xx status code

func (*UpdateKeyInternalServerError) String

type UpdateKeyOK

type UpdateKeyOK struct {
	Payload *models.ResponseModelFull
}
UpdateKeyOK describes a response with status code 200, with default header values.

no error

func NewUpdateKeyOK

func NewUpdateKeyOK() *UpdateKeyOK

NewUpdateKeyOK creates a UpdateKeyOK with default headers values

func (*UpdateKeyOK) Error

func (o *UpdateKeyOK) Error() string

func (*UpdateKeyOK) GetPayload

func (o *UpdateKeyOK) GetPayload() *models.ResponseModelFull

func (*UpdateKeyOK) IsClientError

func (o *UpdateKeyOK) IsClientError() bool

IsClientError returns true when this update key o k response has a 4xx status code

func (*UpdateKeyOK) IsCode

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

IsCode returns true when this update key o k response a status code equal to that given

func (*UpdateKeyOK) IsRedirect

func (o *UpdateKeyOK) IsRedirect() bool

IsRedirect returns true when this update key o k response has a 3xx status code

func (*UpdateKeyOK) IsServerError

func (o *UpdateKeyOK) IsServerError() bool

IsServerError returns true when this update key o k response has a 5xx status code

func (*UpdateKeyOK) IsSuccess

func (o *UpdateKeyOK) IsSuccess() bool

IsSuccess returns true when this update key o k response has a 2xx status code

func (*UpdateKeyOK) String

func (o *UpdateKeyOK) String() string

type UpdateKeyParams

type UpdateKeyParams struct {

	// Body.
	Body *models.UpdateKeyRequest

	/* Path.

	   The full key path, for example, mykeys/key01
	*/
	Path string

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

UpdateKeyParams contains all the parameters to send to the API endpoint

for the update key operation.

Typically these are written to a http.Request.

func NewUpdateKeyParams

func NewUpdateKeyParams() *UpdateKeyParams

NewUpdateKeyParams creates a new UpdateKeyParams 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 NewUpdateKeyParamsWithContext

func NewUpdateKeyParamsWithContext(ctx context.Context) *UpdateKeyParams

NewUpdateKeyParamsWithContext creates a new UpdateKeyParams object with the ability to set a context for a request.

func NewUpdateKeyParamsWithHTTPClient

func NewUpdateKeyParamsWithHTTPClient(client *http.Client) *UpdateKeyParams

NewUpdateKeyParamsWithHTTPClient creates a new UpdateKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateKeyParamsWithTimeout

func NewUpdateKeyParamsWithTimeout(timeout time.Duration) *UpdateKeyParams

NewUpdateKeyParamsWithTimeout creates a new UpdateKeyParams object with the ability to set a timeout on a request.

func (*UpdateKeyParams) SetBody

func (o *UpdateKeyParams) SetBody(body *models.UpdateKeyRequest)

SetBody adds the body to the update key params

func (*UpdateKeyParams) SetContext

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

SetContext adds the context to the update key params

func (*UpdateKeyParams) SetDefaults

func (o *UpdateKeyParams) SetDefaults()

SetDefaults hydrates default values in the update key params (not the query body).

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

func (*UpdateKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update key params

func (*UpdateKeyParams) SetPath

func (o *UpdateKeyParams) SetPath(path string)

SetPath adds the path to the update key params

func (*UpdateKeyParams) SetTimeout

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

SetTimeout adds the timeout to the update key params

func (*UpdateKeyParams) WithBody

WithBody adds the body to the update key params

func (*UpdateKeyParams) WithContext

func (o *UpdateKeyParams) WithContext(ctx context.Context) *UpdateKeyParams

WithContext adds the context to the update key params

func (*UpdateKeyParams) WithDefaults

func (o *UpdateKeyParams) WithDefaults() *UpdateKeyParams

WithDefaults hydrates default values in the update key params (not the query body).

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

func (*UpdateKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update key params

func (*UpdateKeyParams) WithPath

func (o *UpdateKeyParams) WithPath(path string) *UpdateKeyParams

WithPath adds the path to the update key params

func (*UpdateKeyParams) WithTimeout

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

WithTimeout adds the timeout to the update key params

func (*UpdateKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateKeyReader

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

UpdateKeyReader is a Reader for the UpdateKey structure.

func (*UpdateKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateKeyUnauthorized

type UpdateKeyUnauthorized struct {
	Payload *models.HTTPError
}
UpdateKeyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewUpdateKeyUnauthorized

func NewUpdateKeyUnauthorized() *UpdateKeyUnauthorized

NewUpdateKeyUnauthorized creates a UpdateKeyUnauthorized with default headers values

func (*UpdateKeyUnauthorized) Error

func (o *UpdateKeyUnauthorized) Error() string

func (*UpdateKeyUnauthorized) GetPayload

func (o *UpdateKeyUnauthorized) GetPayload() *models.HTTPError

func (*UpdateKeyUnauthorized) IsClientError

func (o *UpdateKeyUnauthorized) IsClientError() bool

IsClientError returns true when this update key unauthorized response has a 4xx status code

func (*UpdateKeyUnauthorized) IsCode

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

IsCode returns true when this update key unauthorized response a status code equal to that given

func (*UpdateKeyUnauthorized) IsRedirect

func (o *UpdateKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this update key unauthorized response has a 3xx status code

func (*UpdateKeyUnauthorized) IsServerError

func (o *UpdateKeyUnauthorized) IsServerError() bool

IsServerError returns true when this update key unauthorized response has a 5xx status code

func (*UpdateKeyUnauthorized) IsSuccess

func (o *UpdateKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this update key unauthorized response has a 2xx status code

func (*UpdateKeyUnauthorized) String

func (o *UpdateKeyUnauthorized) String() string

type UploadKeyBadRequest

type UploadKeyBadRequest struct {
	Payload *models.HTTPError
}
UploadKeyBadRequest describes a response with status code 400, with default header values.

bad request

func NewUploadKeyBadRequest

func NewUploadKeyBadRequest() *UploadKeyBadRequest

NewUploadKeyBadRequest creates a UploadKeyBadRequest with default headers values

func (*UploadKeyBadRequest) Error

func (o *UploadKeyBadRequest) Error() string

func (*UploadKeyBadRequest) GetPayload

func (o *UploadKeyBadRequest) GetPayload() *models.HTTPError

func (*UploadKeyBadRequest) IsClientError

func (o *UploadKeyBadRequest) IsClientError() bool

IsClientError returns true when this upload key bad request response has a 4xx status code

func (*UploadKeyBadRequest) IsCode

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

IsCode returns true when this upload key bad request response a status code equal to that given

func (*UploadKeyBadRequest) IsRedirect

func (o *UploadKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this upload key bad request response has a 3xx status code

func (*UploadKeyBadRequest) IsServerError

func (o *UploadKeyBadRequest) IsServerError() bool

IsServerError returns true when this upload key bad request response has a 5xx status code

func (*UploadKeyBadRequest) IsSuccess

func (o *UploadKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this upload key bad request response has a 2xx status code

func (*UploadKeyBadRequest) String

func (o *UploadKeyBadRequest) String() string

type UploadKeyCreated

type UploadKeyCreated struct {
	Payload *models.ResponseModelFull
}
UploadKeyCreated describes a response with status code 201, with default header values.

no error

func NewUploadKeyCreated

func NewUploadKeyCreated() *UploadKeyCreated

NewUploadKeyCreated creates a UploadKeyCreated with default headers values

func (*UploadKeyCreated) Error

func (o *UploadKeyCreated) Error() string

func (*UploadKeyCreated) GetPayload

func (o *UploadKeyCreated) GetPayload() *models.ResponseModelFull

func (*UploadKeyCreated) IsClientError

func (o *UploadKeyCreated) IsClientError() bool

IsClientError returns true when this upload key created response has a 4xx status code

func (*UploadKeyCreated) IsCode

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

IsCode returns true when this upload key created response a status code equal to that given

func (*UploadKeyCreated) IsRedirect

func (o *UploadKeyCreated) IsRedirect() bool

IsRedirect returns true when this upload key created response has a 3xx status code

func (*UploadKeyCreated) IsServerError

func (o *UploadKeyCreated) IsServerError() bool

IsServerError returns true when this upload key created response has a 5xx status code

func (*UploadKeyCreated) IsSuccess

func (o *UploadKeyCreated) IsSuccess() bool

IsSuccess returns true when this upload key created response has a 2xx status code

func (*UploadKeyCreated) String

func (o *UploadKeyCreated) String() string

type UploadKeyForbidden

type UploadKeyForbidden struct {
	Payload *models.HTTPError
}
UploadKeyForbidden describes a response with status code 403, with default header values.

forbidden

func NewUploadKeyForbidden

func NewUploadKeyForbidden() *UploadKeyForbidden

NewUploadKeyForbidden creates a UploadKeyForbidden with default headers values

func (*UploadKeyForbidden) Error

func (o *UploadKeyForbidden) Error() string

func (*UploadKeyForbidden) GetPayload

func (o *UploadKeyForbidden) GetPayload() *models.HTTPError

func (*UploadKeyForbidden) IsClientError

func (o *UploadKeyForbidden) IsClientError() bool

IsClientError returns true when this upload key forbidden response has a 4xx status code

func (*UploadKeyForbidden) IsCode

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

IsCode returns true when this upload key forbidden response a status code equal to that given

func (*UploadKeyForbidden) IsRedirect

func (o *UploadKeyForbidden) IsRedirect() bool

IsRedirect returns true when this upload key forbidden response has a 3xx status code

func (*UploadKeyForbidden) IsServerError

func (o *UploadKeyForbidden) IsServerError() bool

IsServerError returns true when this upload key forbidden response has a 5xx status code

func (*UploadKeyForbidden) IsSuccess

func (o *UploadKeyForbidden) IsSuccess() bool

IsSuccess returns true when this upload key forbidden response has a 2xx status code

func (*UploadKeyForbidden) String

func (o *UploadKeyForbidden) String() string

type UploadKeyInternalServerError

type UploadKeyInternalServerError struct {
	Payload *models.HTTPError
}
UploadKeyInternalServerError describes a response with status code 500, with default header values.

server error

func NewUploadKeyInternalServerError

func NewUploadKeyInternalServerError() *UploadKeyInternalServerError

NewUploadKeyInternalServerError creates a UploadKeyInternalServerError with default headers values

func (*UploadKeyInternalServerError) Error

func (*UploadKeyInternalServerError) GetPayload

func (*UploadKeyInternalServerError) IsClientError

func (o *UploadKeyInternalServerError) IsClientError() bool

IsClientError returns true when this upload key internal server error response has a 4xx status code

func (*UploadKeyInternalServerError) IsCode

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

IsCode returns true when this upload key internal server error response a status code equal to that given

func (*UploadKeyInternalServerError) IsRedirect

func (o *UploadKeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this upload key internal server error response has a 3xx status code

func (*UploadKeyInternalServerError) IsServerError

func (o *UploadKeyInternalServerError) IsServerError() bool

IsServerError returns true when this upload key internal server error response has a 5xx status code

func (*UploadKeyInternalServerError) IsSuccess

func (o *UploadKeyInternalServerError) IsSuccess() bool

IsSuccess returns true when this upload key internal server error response has a 2xx status code

func (*UploadKeyInternalServerError) String

type UploadKeyParams

type UploadKeyParams struct {

	// Body.
	Body *models.ManualKeyData

	/* Path.

	   The full key path, for example, mykeys/key01
	*/
	Path string

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

UploadKeyParams contains all the parameters to send to the API endpoint

for the upload key operation.

Typically these are written to a http.Request.

func NewUploadKeyParams

func NewUploadKeyParams() *UploadKeyParams

NewUploadKeyParams creates a new UploadKeyParams 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 NewUploadKeyParamsWithContext

func NewUploadKeyParamsWithContext(ctx context.Context) *UploadKeyParams

NewUploadKeyParamsWithContext creates a new UploadKeyParams object with the ability to set a context for a request.

func NewUploadKeyParamsWithHTTPClient

func NewUploadKeyParamsWithHTTPClient(client *http.Client) *UploadKeyParams

NewUploadKeyParamsWithHTTPClient creates a new UploadKeyParams object with the ability to set a custom HTTPClient for a request.

func NewUploadKeyParamsWithTimeout

func NewUploadKeyParamsWithTimeout(timeout time.Duration) *UploadKeyParams

NewUploadKeyParamsWithTimeout creates a new UploadKeyParams object with the ability to set a timeout on a request.

func (*UploadKeyParams) SetBody

func (o *UploadKeyParams) SetBody(body *models.ManualKeyData)

SetBody adds the body to the upload key params

func (*UploadKeyParams) SetContext

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

SetContext adds the context to the upload key params

func (*UploadKeyParams) SetDefaults

func (o *UploadKeyParams) SetDefaults()

SetDefaults hydrates default values in the upload key params (not the query body).

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

func (*UploadKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload key params

func (*UploadKeyParams) SetPath

func (o *UploadKeyParams) SetPath(path string)

SetPath adds the path to the upload key params

func (*UploadKeyParams) SetTimeout

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

SetTimeout adds the timeout to the upload key params

func (*UploadKeyParams) WithBody

WithBody adds the body to the upload key params

func (*UploadKeyParams) WithContext

func (o *UploadKeyParams) WithContext(ctx context.Context) *UploadKeyParams

WithContext adds the context to the upload key params

func (*UploadKeyParams) WithDefaults

func (o *UploadKeyParams) WithDefaults() *UploadKeyParams

WithDefaults hydrates default values in the upload key params (not the query body).

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

func (*UploadKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload key params

func (*UploadKeyParams) WithPath

func (o *UploadKeyParams) WithPath(path string) *UploadKeyParams

WithPath adds the path to the upload key params

func (*UploadKeyParams) WithTimeout

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

WithTimeout adds the timeout to the upload key params

func (*UploadKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadKeyReader

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

UploadKeyReader is a Reader for the UploadKey structure.

func (*UploadKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadKeyUnauthorized

type UploadKeyUnauthorized struct {
	Payload *models.HTTPError
}
UploadKeyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewUploadKeyUnauthorized

func NewUploadKeyUnauthorized() *UploadKeyUnauthorized

NewUploadKeyUnauthorized creates a UploadKeyUnauthorized with default headers values

func (*UploadKeyUnauthorized) Error

func (o *UploadKeyUnauthorized) Error() string

func (*UploadKeyUnauthorized) GetPayload

func (o *UploadKeyUnauthorized) GetPayload() *models.HTTPError

func (*UploadKeyUnauthorized) IsClientError

func (o *UploadKeyUnauthorized) IsClientError() bool

IsClientError returns true when this upload key unauthorized response has a 4xx status code

func (*UploadKeyUnauthorized) IsCode

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

IsCode returns true when this upload key unauthorized response a status code equal to that given

func (*UploadKeyUnauthorized) IsRedirect

func (o *UploadKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this upload key unauthorized response has a 3xx status code

func (*UploadKeyUnauthorized) IsServerError

func (o *UploadKeyUnauthorized) IsServerError() bool

IsServerError returns true when this upload key unauthorized response has a 5xx status code

func (*UploadKeyUnauthorized) IsSuccess

func (o *UploadKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this upload key unauthorized response has a 2xx status code

func (*UploadKeyUnauthorized) String

func (o *UploadKeyUnauthorized) String() string

Jump to

Keyboard shortcuts

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