vault

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for vault API

func (*Client) GetVaultCredentials

func (a *Client) GetVaultCredentials(params *GetVaultCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultCredentialsOK, error)

GetVaultCredentials gets credentials vault status

func (*Client) GetVaultCredentialsDevices

func (a *Client) GetVaultCredentialsDevices(params *GetVaultCredentialsDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultCredentialsDevicesOK, error)

GetVaultCredentialsDevices gets all devices credentials

func (*Client) GetVaultDeviceidCredentials

func (a *Client) GetVaultDeviceidCredentials(params *GetVaultDeviceidCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultDeviceidCredentialsOK, error)

GetVaultDeviceidCredentials gets device credentials

func (*Client) PostVaultCredentials

func (a *Client) PostVaultCredentials(params *PostVaultCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostVaultCredentialsOK, error)

PostVaultCredentials updates credentials vault status

func (*Client) PostVaultCredentialsRegenerate

func (a *Client) PostVaultCredentialsRegenerate(params *PostVaultCredentialsRegenerateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostVaultCredentialsRegenerateOK, error)

PostVaultCredentialsRegenerate generates new password for devices returns status

func (*Client) PostVaultCredentialsUnlock

func (a *Client) PostVaultCredentialsUnlock(params *PostVaultCredentialsUnlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostVaultCredentialsUnlockOK, error)

PostVaultCredentialsUnlock unlocks private pgp key

func (*Client) PostVaultDeviceidCredentialsRegenerate

PostVaultDeviceidCredentialsRegenerate generates new password for device this endpoint is d e p r e c a t e d please refer to nms api v2 1 vault credentials regenerate instead

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetVaultCredentials(params *GetVaultCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultCredentialsOK, error)

	GetVaultCredentialsDevices(params *GetVaultCredentialsDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultCredentialsDevicesOK, error)

	GetVaultDeviceidCredentials(params *GetVaultDeviceidCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultDeviceidCredentialsOK, error)

	PostVaultCredentials(params *PostVaultCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostVaultCredentialsOK, error)

	PostVaultCredentialsRegenerate(params *PostVaultCredentialsRegenerateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostVaultCredentialsRegenerateOK, error)

	PostVaultCredentialsUnlock(params *PostVaultCredentialsUnlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostVaultCredentialsUnlockOK, error)

	PostVaultDeviceidCredentialsRegenerate(params *PostVaultDeviceidCredentialsRegenerateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostVaultDeviceidCredentialsRegenerateOK, 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 vault API client.

type GetVaultCredentialsDevicesBadRequest

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

Bad Request

func NewGetVaultCredentialsDevicesBadRequest

func NewGetVaultCredentialsDevicesBadRequest() *GetVaultCredentialsDevicesBadRequest

NewGetVaultCredentialsDevicesBadRequest creates a GetVaultCredentialsDevicesBadRequest with default headers values

func (*GetVaultCredentialsDevicesBadRequest) Error

func (*GetVaultCredentialsDevicesBadRequest) GetPayload

type GetVaultCredentialsDevicesForbidden

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

Forbidden

func NewGetVaultCredentialsDevicesForbidden

func NewGetVaultCredentialsDevicesForbidden() *GetVaultCredentialsDevicesForbidden

NewGetVaultCredentialsDevicesForbidden creates a GetVaultCredentialsDevicesForbidden with default headers values

func (*GetVaultCredentialsDevicesForbidden) Error

func (*GetVaultCredentialsDevicesForbidden) GetPayload

type GetVaultCredentialsDevicesInternalServerError

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

Internal Server Error

func NewGetVaultCredentialsDevicesInternalServerError

func NewGetVaultCredentialsDevicesInternalServerError() *GetVaultCredentialsDevicesInternalServerError

NewGetVaultCredentialsDevicesInternalServerError creates a GetVaultCredentialsDevicesInternalServerError with default headers values

func (*GetVaultCredentialsDevicesInternalServerError) Error

func (*GetVaultCredentialsDevicesInternalServerError) GetPayload

type GetVaultCredentialsDevicesOK

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

Successful

func NewGetVaultCredentialsDevicesOK

func NewGetVaultCredentialsDevicesOK() *GetVaultCredentialsDevicesOK

NewGetVaultCredentialsDevicesOK creates a GetVaultCredentialsDevicesOK with default headers values

func (*GetVaultCredentialsDevicesOK) Error

func (*GetVaultCredentialsDevicesOK) GetPayload

type GetVaultCredentialsDevicesParams

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

GetVaultCredentialsDevicesParams contains all the parameters to send to the API endpoint

for the get vault credentials devices operation.

Typically these are written to a http.Request.

func NewGetVaultCredentialsDevicesParams

func NewGetVaultCredentialsDevicesParams() *GetVaultCredentialsDevicesParams

NewGetVaultCredentialsDevicesParams creates a new GetVaultCredentialsDevicesParams 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 NewGetVaultCredentialsDevicesParamsWithContext

func NewGetVaultCredentialsDevicesParamsWithContext(ctx context.Context) *GetVaultCredentialsDevicesParams

NewGetVaultCredentialsDevicesParamsWithContext creates a new GetVaultCredentialsDevicesParams object with the ability to set a context for a request.

func NewGetVaultCredentialsDevicesParamsWithHTTPClient

func NewGetVaultCredentialsDevicesParamsWithHTTPClient(client *http.Client) *GetVaultCredentialsDevicesParams

NewGetVaultCredentialsDevicesParamsWithHTTPClient creates a new GetVaultCredentialsDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVaultCredentialsDevicesParamsWithTimeout

func NewGetVaultCredentialsDevicesParamsWithTimeout(timeout time.Duration) *GetVaultCredentialsDevicesParams

NewGetVaultCredentialsDevicesParamsWithTimeout creates a new GetVaultCredentialsDevicesParams object with the ability to set a timeout on a request.

func (*GetVaultCredentialsDevicesParams) SetContext

SetContext adds the context to the get vault credentials devices params

func (*GetVaultCredentialsDevicesParams) SetDefaults

func (o *GetVaultCredentialsDevicesParams) SetDefaults()

SetDefaults hydrates default values in the get vault credentials devices params (not the query body).

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

func (*GetVaultCredentialsDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get vault credentials devices params

func (*GetVaultCredentialsDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get vault credentials devices params

func (*GetVaultCredentialsDevicesParams) WithContext

WithContext adds the context to the get vault credentials devices params

func (*GetVaultCredentialsDevicesParams) WithDefaults

WithDefaults hydrates default values in the get vault credentials devices params (not the query body).

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

func (*GetVaultCredentialsDevicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get vault credentials devices params

func (*GetVaultCredentialsDevicesParams) WithTimeout

WithTimeout adds the timeout to the get vault credentials devices params

func (*GetVaultCredentialsDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVaultCredentialsDevicesReader

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

GetVaultCredentialsDevicesReader is a Reader for the GetVaultCredentialsDevices structure.

func (*GetVaultCredentialsDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVaultCredentialsDevicesUnauthorized

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

Unauthorized

func NewGetVaultCredentialsDevicesUnauthorized

func NewGetVaultCredentialsDevicesUnauthorized() *GetVaultCredentialsDevicesUnauthorized

NewGetVaultCredentialsDevicesUnauthorized creates a GetVaultCredentialsDevicesUnauthorized with default headers values

func (*GetVaultCredentialsDevicesUnauthorized) Error

func (*GetVaultCredentialsDevicesUnauthorized) GetPayload

type GetVaultCredentialsForbidden

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

Forbidden

func NewGetVaultCredentialsForbidden

func NewGetVaultCredentialsForbidden() *GetVaultCredentialsForbidden

NewGetVaultCredentialsForbidden creates a GetVaultCredentialsForbidden with default headers values

func (*GetVaultCredentialsForbidden) Error

func (*GetVaultCredentialsForbidden) GetPayload

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

type GetVaultCredentialsInternalServerError

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

Internal Server Error

func NewGetVaultCredentialsInternalServerError

func NewGetVaultCredentialsInternalServerError() *GetVaultCredentialsInternalServerError

NewGetVaultCredentialsInternalServerError creates a GetVaultCredentialsInternalServerError with default headers values

func (*GetVaultCredentialsInternalServerError) Error

func (*GetVaultCredentialsInternalServerError) GetPayload

type GetVaultCredentialsOK

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

Successful

func NewGetVaultCredentialsOK

func NewGetVaultCredentialsOK() *GetVaultCredentialsOK

NewGetVaultCredentialsOK creates a GetVaultCredentialsOK with default headers values

func (*GetVaultCredentialsOK) Error

func (o *GetVaultCredentialsOK) Error() string

func (*GetVaultCredentialsOK) GetPayload

func (o *GetVaultCredentialsOK) GetPayload() *models.Vault

type GetVaultCredentialsParams

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

GetVaultCredentialsParams contains all the parameters to send to the API endpoint

for the get vault credentials operation.

Typically these are written to a http.Request.

func NewGetVaultCredentialsParams

func NewGetVaultCredentialsParams() *GetVaultCredentialsParams

NewGetVaultCredentialsParams creates a new GetVaultCredentialsParams 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 NewGetVaultCredentialsParamsWithContext

func NewGetVaultCredentialsParamsWithContext(ctx context.Context) *GetVaultCredentialsParams

NewGetVaultCredentialsParamsWithContext creates a new GetVaultCredentialsParams object with the ability to set a context for a request.

func NewGetVaultCredentialsParamsWithHTTPClient

func NewGetVaultCredentialsParamsWithHTTPClient(client *http.Client) *GetVaultCredentialsParams

NewGetVaultCredentialsParamsWithHTTPClient creates a new GetVaultCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVaultCredentialsParamsWithTimeout

func NewGetVaultCredentialsParamsWithTimeout(timeout time.Duration) *GetVaultCredentialsParams

NewGetVaultCredentialsParamsWithTimeout creates a new GetVaultCredentialsParams object with the ability to set a timeout on a request.

func (*GetVaultCredentialsParams) SetContext

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

SetContext adds the context to the get vault credentials params

func (*GetVaultCredentialsParams) SetDefaults

func (o *GetVaultCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the get vault credentials params (not the query body).

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

func (*GetVaultCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get vault credentials params

func (*GetVaultCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the get vault credentials params

func (*GetVaultCredentialsParams) WithContext

WithContext adds the context to the get vault credentials params

func (*GetVaultCredentialsParams) WithDefaults

WithDefaults hydrates default values in the get vault credentials params (not the query body).

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

func (*GetVaultCredentialsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get vault credentials params

func (*GetVaultCredentialsParams) WithTimeout

WithTimeout adds the timeout to the get vault credentials params

func (*GetVaultCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVaultCredentialsReader

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

GetVaultCredentialsReader is a Reader for the GetVaultCredentials structure.

func (*GetVaultCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVaultCredentialsUnauthorized

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

Unauthorized

func NewGetVaultCredentialsUnauthorized

func NewGetVaultCredentialsUnauthorized() *GetVaultCredentialsUnauthorized

NewGetVaultCredentialsUnauthorized creates a GetVaultCredentialsUnauthorized with default headers values

func (*GetVaultCredentialsUnauthorized) Error

func (*GetVaultCredentialsUnauthorized) GetPayload

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

type GetVaultDeviceidCredentialsBadRequest

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

Bad Request

func NewGetVaultDeviceidCredentialsBadRequest

func NewGetVaultDeviceidCredentialsBadRequest() *GetVaultDeviceidCredentialsBadRequest

NewGetVaultDeviceidCredentialsBadRequest creates a GetVaultDeviceidCredentialsBadRequest with default headers values

func (*GetVaultDeviceidCredentialsBadRequest) Error

func (*GetVaultDeviceidCredentialsBadRequest) GetPayload

type GetVaultDeviceidCredentialsForbidden

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

Forbidden

func NewGetVaultDeviceidCredentialsForbidden

func NewGetVaultDeviceidCredentialsForbidden() *GetVaultDeviceidCredentialsForbidden

NewGetVaultDeviceidCredentialsForbidden creates a GetVaultDeviceidCredentialsForbidden with default headers values

func (*GetVaultDeviceidCredentialsForbidden) Error

func (*GetVaultDeviceidCredentialsForbidden) GetPayload

type GetVaultDeviceidCredentialsInternalServerError

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

Internal Server Error

func NewGetVaultDeviceidCredentialsInternalServerError

func NewGetVaultDeviceidCredentialsInternalServerError() *GetVaultDeviceidCredentialsInternalServerError

NewGetVaultDeviceidCredentialsInternalServerError creates a GetVaultDeviceidCredentialsInternalServerError with default headers values

func (*GetVaultDeviceidCredentialsInternalServerError) Error

func (*GetVaultDeviceidCredentialsInternalServerError) GetPayload

type GetVaultDeviceidCredentialsOK

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

Successful

func NewGetVaultDeviceidCredentialsOK

func NewGetVaultDeviceidCredentialsOK() *GetVaultDeviceidCredentialsOK

NewGetVaultDeviceidCredentialsOK creates a GetVaultDeviceidCredentialsOK with default headers values

func (*GetVaultDeviceidCredentialsOK) Error

func (*GetVaultDeviceidCredentialsOK) GetPayload

type GetVaultDeviceidCredentialsParams

type GetVaultDeviceidCredentialsParams struct {

	// DeviceID.
	DeviceID string

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

GetVaultDeviceidCredentialsParams contains all the parameters to send to the API endpoint

for the get vault deviceid credentials operation.

Typically these are written to a http.Request.

func NewGetVaultDeviceidCredentialsParams

func NewGetVaultDeviceidCredentialsParams() *GetVaultDeviceidCredentialsParams

NewGetVaultDeviceidCredentialsParams creates a new GetVaultDeviceidCredentialsParams 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 NewGetVaultDeviceidCredentialsParamsWithContext

func NewGetVaultDeviceidCredentialsParamsWithContext(ctx context.Context) *GetVaultDeviceidCredentialsParams

NewGetVaultDeviceidCredentialsParamsWithContext creates a new GetVaultDeviceidCredentialsParams object with the ability to set a context for a request.

func NewGetVaultDeviceidCredentialsParamsWithHTTPClient

func NewGetVaultDeviceidCredentialsParamsWithHTTPClient(client *http.Client) *GetVaultDeviceidCredentialsParams

NewGetVaultDeviceidCredentialsParamsWithHTTPClient creates a new GetVaultDeviceidCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVaultDeviceidCredentialsParamsWithTimeout

func NewGetVaultDeviceidCredentialsParamsWithTimeout(timeout time.Duration) *GetVaultDeviceidCredentialsParams

NewGetVaultDeviceidCredentialsParamsWithTimeout creates a new GetVaultDeviceidCredentialsParams object with the ability to set a timeout on a request.

func (*GetVaultDeviceidCredentialsParams) SetContext

SetContext adds the context to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) SetDefaults

func (o *GetVaultDeviceidCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the get vault deviceid credentials params (not the query body).

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

func (*GetVaultDeviceidCredentialsParams) SetDeviceID

func (o *GetVaultDeviceidCredentialsParams) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) WithContext

WithContext adds the context to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) WithDefaults

WithDefaults hydrates default values in the get vault deviceid credentials params (not the query body).

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

func (*GetVaultDeviceidCredentialsParams) WithDeviceID

WithDeviceID adds the deviceID to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) WithTimeout

WithTimeout adds the timeout to the get vault deviceid credentials params

func (*GetVaultDeviceidCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVaultDeviceidCredentialsReader

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

GetVaultDeviceidCredentialsReader is a Reader for the GetVaultDeviceidCredentials structure.

func (*GetVaultDeviceidCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVaultDeviceidCredentialsUnauthorized

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

Unauthorized

func NewGetVaultDeviceidCredentialsUnauthorized

func NewGetVaultDeviceidCredentialsUnauthorized() *GetVaultDeviceidCredentialsUnauthorized

NewGetVaultDeviceidCredentialsUnauthorized creates a GetVaultDeviceidCredentialsUnauthorized with default headers values

func (*GetVaultDeviceidCredentialsUnauthorized) Error

func (*GetVaultDeviceidCredentialsUnauthorized) GetPayload

type PostVaultCredentialsBadRequest

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

Bad Request

func NewPostVaultCredentialsBadRequest

func NewPostVaultCredentialsBadRequest() *PostVaultCredentialsBadRequest

NewPostVaultCredentialsBadRequest creates a PostVaultCredentialsBadRequest with default headers values

func (*PostVaultCredentialsBadRequest) Error

func (*PostVaultCredentialsBadRequest) GetPayload

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

type PostVaultCredentialsForbidden

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

Forbidden

func NewPostVaultCredentialsForbidden

func NewPostVaultCredentialsForbidden() *PostVaultCredentialsForbidden

NewPostVaultCredentialsForbidden creates a PostVaultCredentialsForbidden with default headers values

func (*PostVaultCredentialsForbidden) Error

func (*PostVaultCredentialsForbidden) GetPayload

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

type PostVaultCredentialsInternalServerError

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

Internal Server Error

func NewPostVaultCredentialsInternalServerError

func NewPostVaultCredentialsInternalServerError() *PostVaultCredentialsInternalServerError

NewPostVaultCredentialsInternalServerError creates a PostVaultCredentialsInternalServerError with default headers values

func (*PostVaultCredentialsInternalServerError) Error

func (*PostVaultCredentialsInternalServerError) GetPayload

type PostVaultCredentialsNotFound

type PostVaultCredentialsNotFound struct {
	Payload *models.Error
}
PostVaultCredentialsNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostVaultCredentialsNotFound

func NewPostVaultCredentialsNotFound() *PostVaultCredentialsNotFound

NewPostVaultCredentialsNotFound creates a PostVaultCredentialsNotFound with default headers values

func (*PostVaultCredentialsNotFound) Error

func (*PostVaultCredentialsNotFound) GetPayload

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

type PostVaultCredentialsOK

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

Successful

func NewPostVaultCredentialsOK

func NewPostVaultCredentialsOK() *PostVaultCredentialsOK

NewPostVaultCredentialsOK creates a PostVaultCredentialsOK with default headers values

func (*PostVaultCredentialsOK) Error

func (o *PostVaultCredentialsOK) Error() string

func (*PostVaultCredentialsOK) GetPayload

func (o *PostVaultCredentialsOK) GetPayload() *models.Vault

type PostVaultCredentialsParams

type PostVaultCredentialsParams struct {

	// Body.
	Body *models.VaultCredentials

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

PostVaultCredentialsParams contains all the parameters to send to the API endpoint

for the post vault credentials operation.

Typically these are written to a http.Request.

func NewPostVaultCredentialsParams

func NewPostVaultCredentialsParams() *PostVaultCredentialsParams

NewPostVaultCredentialsParams creates a new PostVaultCredentialsParams 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 NewPostVaultCredentialsParamsWithContext

func NewPostVaultCredentialsParamsWithContext(ctx context.Context) *PostVaultCredentialsParams

NewPostVaultCredentialsParamsWithContext creates a new PostVaultCredentialsParams object with the ability to set a context for a request.

func NewPostVaultCredentialsParamsWithHTTPClient

func NewPostVaultCredentialsParamsWithHTTPClient(client *http.Client) *PostVaultCredentialsParams

NewPostVaultCredentialsParamsWithHTTPClient creates a new PostVaultCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewPostVaultCredentialsParamsWithTimeout

func NewPostVaultCredentialsParamsWithTimeout(timeout time.Duration) *PostVaultCredentialsParams

NewPostVaultCredentialsParamsWithTimeout creates a new PostVaultCredentialsParams object with the ability to set a timeout on a request.

func (*PostVaultCredentialsParams) SetBody

SetBody adds the body to the post vault credentials params

func (*PostVaultCredentialsParams) SetContext

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

SetContext adds the context to the post vault credentials params

func (*PostVaultCredentialsParams) SetDefaults

func (o *PostVaultCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the post vault credentials params (not the query body).

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

func (*PostVaultCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post vault credentials params

func (*PostVaultCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the post vault credentials params

func (*PostVaultCredentialsParams) WithBody

WithBody adds the body to the post vault credentials params

func (*PostVaultCredentialsParams) WithContext

WithContext adds the context to the post vault credentials params

func (*PostVaultCredentialsParams) WithDefaults

WithDefaults hydrates default values in the post vault credentials params (not the query body).

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

func (*PostVaultCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post vault credentials params

func (*PostVaultCredentialsParams) WithTimeout

WithTimeout adds the timeout to the post vault credentials params

func (*PostVaultCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostVaultCredentialsReader

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

PostVaultCredentialsReader is a Reader for the PostVaultCredentials structure.

func (*PostVaultCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostVaultCredentialsRegenerateBadRequest

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

Bad Request

func NewPostVaultCredentialsRegenerateBadRequest

func NewPostVaultCredentialsRegenerateBadRequest() *PostVaultCredentialsRegenerateBadRequest

NewPostVaultCredentialsRegenerateBadRequest creates a PostVaultCredentialsRegenerateBadRequest with default headers values

func (*PostVaultCredentialsRegenerateBadRequest) Error

func (*PostVaultCredentialsRegenerateBadRequest) GetPayload

type PostVaultCredentialsRegenerateForbidden

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

Forbidden

func NewPostVaultCredentialsRegenerateForbidden

func NewPostVaultCredentialsRegenerateForbidden() *PostVaultCredentialsRegenerateForbidden

NewPostVaultCredentialsRegenerateForbidden creates a PostVaultCredentialsRegenerateForbidden with default headers values

func (*PostVaultCredentialsRegenerateForbidden) Error

func (*PostVaultCredentialsRegenerateForbidden) GetPayload

type PostVaultCredentialsRegenerateInternalServerError

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

Internal Server Error

func NewPostVaultCredentialsRegenerateInternalServerError

func NewPostVaultCredentialsRegenerateInternalServerError() *PostVaultCredentialsRegenerateInternalServerError

NewPostVaultCredentialsRegenerateInternalServerError creates a PostVaultCredentialsRegenerateInternalServerError with default headers values

func (*PostVaultCredentialsRegenerateInternalServerError) Error

func (*PostVaultCredentialsRegenerateInternalServerError) GetPayload

type PostVaultCredentialsRegenerateNotFound

type PostVaultCredentialsRegenerateNotFound struct {
	Payload *models.Error
}
PostVaultCredentialsRegenerateNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostVaultCredentialsRegenerateNotFound

func NewPostVaultCredentialsRegenerateNotFound() *PostVaultCredentialsRegenerateNotFound

NewPostVaultCredentialsRegenerateNotFound creates a PostVaultCredentialsRegenerateNotFound with default headers values

func (*PostVaultCredentialsRegenerateNotFound) Error

func (*PostVaultCredentialsRegenerateNotFound) GetPayload

type PostVaultCredentialsRegenerateOK

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

Successful

func NewPostVaultCredentialsRegenerateOK

func NewPostVaultCredentialsRegenerateOK() *PostVaultCredentialsRegenerateOK

NewPostVaultCredentialsRegenerateOK creates a PostVaultCredentialsRegenerateOK with default headers values

func (*PostVaultCredentialsRegenerateOK) Error

func (*PostVaultCredentialsRegenerateOK) GetPayload

type PostVaultCredentialsRegenerateParams

type PostVaultCredentialsRegenerateParams struct {

	// Body.
	Body *models.Model73

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

PostVaultCredentialsRegenerateParams contains all the parameters to send to the API endpoint

for the post vault credentials regenerate operation.

Typically these are written to a http.Request.

func NewPostVaultCredentialsRegenerateParams

func NewPostVaultCredentialsRegenerateParams() *PostVaultCredentialsRegenerateParams

NewPostVaultCredentialsRegenerateParams creates a new PostVaultCredentialsRegenerateParams 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 NewPostVaultCredentialsRegenerateParamsWithContext

func NewPostVaultCredentialsRegenerateParamsWithContext(ctx context.Context) *PostVaultCredentialsRegenerateParams

NewPostVaultCredentialsRegenerateParamsWithContext creates a new PostVaultCredentialsRegenerateParams object with the ability to set a context for a request.

func NewPostVaultCredentialsRegenerateParamsWithHTTPClient

func NewPostVaultCredentialsRegenerateParamsWithHTTPClient(client *http.Client) *PostVaultCredentialsRegenerateParams

NewPostVaultCredentialsRegenerateParamsWithHTTPClient creates a new PostVaultCredentialsRegenerateParams object with the ability to set a custom HTTPClient for a request.

func NewPostVaultCredentialsRegenerateParamsWithTimeout

func NewPostVaultCredentialsRegenerateParamsWithTimeout(timeout time.Duration) *PostVaultCredentialsRegenerateParams

NewPostVaultCredentialsRegenerateParamsWithTimeout creates a new PostVaultCredentialsRegenerateParams object with the ability to set a timeout on a request.

func (*PostVaultCredentialsRegenerateParams) SetBody

SetBody adds the body to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) SetContext

SetContext adds the context to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) SetDefaults

func (o *PostVaultCredentialsRegenerateParams) SetDefaults()

SetDefaults hydrates default values in the post vault credentials regenerate params (not the query body).

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

func (*PostVaultCredentialsRegenerateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) SetTimeout

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

SetTimeout adds the timeout to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) WithBody

WithBody adds the body to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) WithContext

WithContext adds the context to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) WithDefaults

WithDefaults hydrates default values in the post vault credentials regenerate params (not the query body).

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

func (*PostVaultCredentialsRegenerateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) WithTimeout

WithTimeout adds the timeout to the post vault credentials regenerate params

func (*PostVaultCredentialsRegenerateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostVaultCredentialsRegeneratePreconditionFailed

type PostVaultCredentialsRegeneratePreconditionFailed struct {
	Payload *models.Error
}
PostVaultCredentialsRegeneratePreconditionFailed describes a response with status code 412, with default header values.

Precondition Failed

func NewPostVaultCredentialsRegeneratePreconditionFailed

func NewPostVaultCredentialsRegeneratePreconditionFailed() *PostVaultCredentialsRegeneratePreconditionFailed

NewPostVaultCredentialsRegeneratePreconditionFailed creates a PostVaultCredentialsRegeneratePreconditionFailed with default headers values

func (*PostVaultCredentialsRegeneratePreconditionFailed) Error

func (*PostVaultCredentialsRegeneratePreconditionFailed) GetPayload

type PostVaultCredentialsRegenerateReader

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

PostVaultCredentialsRegenerateReader is a Reader for the PostVaultCredentialsRegenerate structure.

func (*PostVaultCredentialsRegenerateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostVaultCredentialsRegenerateUnauthorized

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

Unauthorized

func NewPostVaultCredentialsRegenerateUnauthorized

func NewPostVaultCredentialsRegenerateUnauthorized() *PostVaultCredentialsRegenerateUnauthorized

NewPostVaultCredentialsRegenerateUnauthorized creates a PostVaultCredentialsRegenerateUnauthorized with default headers values

func (*PostVaultCredentialsRegenerateUnauthorized) Error

func (*PostVaultCredentialsRegenerateUnauthorized) GetPayload

type PostVaultCredentialsUnauthorized

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

Unauthorized

func NewPostVaultCredentialsUnauthorized

func NewPostVaultCredentialsUnauthorized() *PostVaultCredentialsUnauthorized

NewPostVaultCredentialsUnauthorized creates a PostVaultCredentialsUnauthorized with default headers values

func (*PostVaultCredentialsUnauthorized) Error

func (*PostVaultCredentialsUnauthorized) GetPayload

type PostVaultCredentialsUnlockBadRequest

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

Bad Request

func NewPostVaultCredentialsUnlockBadRequest

func NewPostVaultCredentialsUnlockBadRequest() *PostVaultCredentialsUnlockBadRequest

NewPostVaultCredentialsUnlockBadRequest creates a PostVaultCredentialsUnlockBadRequest with default headers values

func (*PostVaultCredentialsUnlockBadRequest) Error

func (*PostVaultCredentialsUnlockBadRequest) GetPayload

type PostVaultCredentialsUnlockForbidden

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

Forbidden

func NewPostVaultCredentialsUnlockForbidden

func NewPostVaultCredentialsUnlockForbidden() *PostVaultCredentialsUnlockForbidden

NewPostVaultCredentialsUnlockForbidden creates a PostVaultCredentialsUnlockForbidden with default headers values

func (*PostVaultCredentialsUnlockForbidden) Error

func (*PostVaultCredentialsUnlockForbidden) GetPayload

type PostVaultCredentialsUnlockInternalServerError

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

Internal Server Error

func NewPostVaultCredentialsUnlockInternalServerError

func NewPostVaultCredentialsUnlockInternalServerError() *PostVaultCredentialsUnlockInternalServerError

NewPostVaultCredentialsUnlockInternalServerError creates a PostVaultCredentialsUnlockInternalServerError with default headers values

func (*PostVaultCredentialsUnlockInternalServerError) Error

func (*PostVaultCredentialsUnlockInternalServerError) GetPayload

type PostVaultCredentialsUnlockNotFound

type PostVaultCredentialsUnlockNotFound struct {
	Payload *models.Error
}
PostVaultCredentialsUnlockNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostVaultCredentialsUnlockNotFound

func NewPostVaultCredentialsUnlockNotFound() *PostVaultCredentialsUnlockNotFound

NewPostVaultCredentialsUnlockNotFound creates a PostVaultCredentialsUnlockNotFound with default headers values

func (*PostVaultCredentialsUnlockNotFound) Error

func (*PostVaultCredentialsUnlockNotFound) GetPayload

type PostVaultCredentialsUnlockOK

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

Successful

func NewPostVaultCredentialsUnlockOK

func NewPostVaultCredentialsUnlockOK() *PostVaultCredentialsUnlockOK

NewPostVaultCredentialsUnlockOK creates a PostVaultCredentialsUnlockOK with default headers values

func (*PostVaultCredentialsUnlockOK) Error

func (*PostVaultCredentialsUnlockOK) GetPayload

func (o *PostVaultCredentialsUnlockOK) GetPayload() *models.Status

type PostVaultCredentialsUnlockParams

type PostVaultCredentialsUnlockParams struct {

	// Body.
	Body *models.VaultCredentialsUnlock

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

PostVaultCredentialsUnlockParams contains all the parameters to send to the API endpoint

for the post vault credentials unlock operation.

Typically these are written to a http.Request.

func NewPostVaultCredentialsUnlockParams

func NewPostVaultCredentialsUnlockParams() *PostVaultCredentialsUnlockParams

NewPostVaultCredentialsUnlockParams creates a new PostVaultCredentialsUnlockParams 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 NewPostVaultCredentialsUnlockParamsWithContext

func NewPostVaultCredentialsUnlockParamsWithContext(ctx context.Context) *PostVaultCredentialsUnlockParams

NewPostVaultCredentialsUnlockParamsWithContext creates a new PostVaultCredentialsUnlockParams object with the ability to set a context for a request.

func NewPostVaultCredentialsUnlockParamsWithHTTPClient

func NewPostVaultCredentialsUnlockParamsWithHTTPClient(client *http.Client) *PostVaultCredentialsUnlockParams

NewPostVaultCredentialsUnlockParamsWithHTTPClient creates a new PostVaultCredentialsUnlockParams object with the ability to set a custom HTTPClient for a request.

func NewPostVaultCredentialsUnlockParamsWithTimeout

func NewPostVaultCredentialsUnlockParamsWithTimeout(timeout time.Duration) *PostVaultCredentialsUnlockParams

NewPostVaultCredentialsUnlockParamsWithTimeout creates a new PostVaultCredentialsUnlockParams object with the ability to set a timeout on a request.

func (*PostVaultCredentialsUnlockParams) SetBody

SetBody adds the body to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) SetContext

SetContext adds the context to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) SetDefaults

func (o *PostVaultCredentialsUnlockParams) SetDefaults()

SetDefaults hydrates default values in the post vault credentials unlock params (not the query body).

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

func (*PostVaultCredentialsUnlockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) SetTimeout

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

SetTimeout adds the timeout to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) WithBody

WithBody adds the body to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) WithContext

WithContext adds the context to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) WithDefaults

WithDefaults hydrates default values in the post vault credentials unlock params (not the query body).

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

func (*PostVaultCredentialsUnlockParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) WithTimeout

WithTimeout adds the timeout to the post vault credentials unlock params

func (*PostVaultCredentialsUnlockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostVaultCredentialsUnlockReader

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

PostVaultCredentialsUnlockReader is a Reader for the PostVaultCredentialsUnlock structure.

func (*PostVaultCredentialsUnlockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostVaultCredentialsUnlockUnauthorized

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

Unauthorized

func NewPostVaultCredentialsUnlockUnauthorized

func NewPostVaultCredentialsUnlockUnauthorized() *PostVaultCredentialsUnlockUnauthorized

NewPostVaultCredentialsUnlockUnauthorized creates a PostVaultCredentialsUnlockUnauthorized with default headers values

func (*PostVaultCredentialsUnlockUnauthorized) Error

func (*PostVaultCredentialsUnlockUnauthorized) GetPayload

type PostVaultDeviceidCredentialsRegenerateBadRequest

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

Bad Request

func NewPostVaultDeviceidCredentialsRegenerateBadRequest

func NewPostVaultDeviceidCredentialsRegenerateBadRequest() *PostVaultDeviceidCredentialsRegenerateBadRequest

NewPostVaultDeviceidCredentialsRegenerateBadRequest creates a PostVaultDeviceidCredentialsRegenerateBadRequest with default headers values

func (*PostVaultDeviceidCredentialsRegenerateBadRequest) Error

func (*PostVaultDeviceidCredentialsRegenerateBadRequest) GetPayload

type PostVaultDeviceidCredentialsRegenerateForbidden

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

Forbidden

func NewPostVaultDeviceidCredentialsRegenerateForbidden

func NewPostVaultDeviceidCredentialsRegenerateForbidden() *PostVaultDeviceidCredentialsRegenerateForbidden

NewPostVaultDeviceidCredentialsRegenerateForbidden creates a PostVaultDeviceidCredentialsRegenerateForbidden with default headers values

func (*PostVaultDeviceidCredentialsRegenerateForbidden) Error

func (*PostVaultDeviceidCredentialsRegenerateForbidden) GetPayload

type PostVaultDeviceidCredentialsRegenerateInternalServerError

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

Internal Server Error

func NewPostVaultDeviceidCredentialsRegenerateInternalServerError

func NewPostVaultDeviceidCredentialsRegenerateInternalServerError() *PostVaultDeviceidCredentialsRegenerateInternalServerError

NewPostVaultDeviceidCredentialsRegenerateInternalServerError creates a PostVaultDeviceidCredentialsRegenerateInternalServerError with default headers values

func (*PostVaultDeviceidCredentialsRegenerateInternalServerError) Error

func (*PostVaultDeviceidCredentialsRegenerateInternalServerError) GetPayload

type PostVaultDeviceidCredentialsRegenerateNotFound

type PostVaultDeviceidCredentialsRegenerateNotFound struct {
	Payload *models.Error
}
PostVaultDeviceidCredentialsRegenerateNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostVaultDeviceidCredentialsRegenerateNotFound

func NewPostVaultDeviceidCredentialsRegenerateNotFound() *PostVaultDeviceidCredentialsRegenerateNotFound

NewPostVaultDeviceidCredentialsRegenerateNotFound creates a PostVaultDeviceidCredentialsRegenerateNotFound with default headers values

func (*PostVaultDeviceidCredentialsRegenerateNotFound) Error

func (*PostVaultDeviceidCredentialsRegenerateNotFound) GetPayload

type PostVaultDeviceidCredentialsRegenerateOK

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

Successful

func NewPostVaultDeviceidCredentialsRegenerateOK

func NewPostVaultDeviceidCredentialsRegenerateOK() *PostVaultDeviceidCredentialsRegenerateOK

NewPostVaultDeviceidCredentialsRegenerateOK creates a PostVaultDeviceidCredentialsRegenerateOK with default headers values

func (*PostVaultDeviceidCredentialsRegenerateOK) Error

func (*PostVaultDeviceidCredentialsRegenerateOK) GetPayload

type PostVaultDeviceidCredentialsRegenerateParams

type PostVaultDeviceidCredentialsRegenerateParams struct {

	// DeviceID.
	DeviceID string

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

PostVaultDeviceidCredentialsRegenerateParams contains all the parameters to send to the API endpoint

for the post vault deviceid credentials regenerate operation.

Typically these are written to a http.Request.

func NewPostVaultDeviceidCredentialsRegenerateParams

func NewPostVaultDeviceidCredentialsRegenerateParams() *PostVaultDeviceidCredentialsRegenerateParams

NewPostVaultDeviceidCredentialsRegenerateParams creates a new PostVaultDeviceidCredentialsRegenerateParams 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 NewPostVaultDeviceidCredentialsRegenerateParamsWithContext

func NewPostVaultDeviceidCredentialsRegenerateParamsWithContext(ctx context.Context) *PostVaultDeviceidCredentialsRegenerateParams

NewPostVaultDeviceidCredentialsRegenerateParamsWithContext creates a new PostVaultDeviceidCredentialsRegenerateParams object with the ability to set a context for a request.

func NewPostVaultDeviceidCredentialsRegenerateParamsWithHTTPClient

func NewPostVaultDeviceidCredentialsRegenerateParamsWithHTTPClient(client *http.Client) *PostVaultDeviceidCredentialsRegenerateParams

NewPostVaultDeviceidCredentialsRegenerateParamsWithHTTPClient creates a new PostVaultDeviceidCredentialsRegenerateParams object with the ability to set a custom HTTPClient for a request.

func NewPostVaultDeviceidCredentialsRegenerateParamsWithTimeout

func NewPostVaultDeviceidCredentialsRegenerateParamsWithTimeout(timeout time.Duration) *PostVaultDeviceidCredentialsRegenerateParams

NewPostVaultDeviceidCredentialsRegenerateParamsWithTimeout creates a new PostVaultDeviceidCredentialsRegenerateParams object with the ability to set a timeout on a request.

func (*PostVaultDeviceidCredentialsRegenerateParams) SetContext

SetContext adds the context to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) SetDefaults

SetDefaults hydrates default values in the post vault deviceid credentials regenerate params (not the query body).

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

func (*PostVaultDeviceidCredentialsRegenerateParams) SetDeviceID

func (o *PostVaultDeviceidCredentialsRegenerateParams) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) SetTimeout

SetTimeout adds the timeout to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) WithContext

WithContext adds the context to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) WithDefaults

WithDefaults hydrates default values in the post vault deviceid credentials regenerate params (not the query body).

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

func (*PostVaultDeviceidCredentialsRegenerateParams) WithDeviceID

WithDeviceID adds the deviceID to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) WithTimeout

WithTimeout adds the timeout to the post vault deviceid credentials regenerate params

func (*PostVaultDeviceidCredentialsRegenerateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostVaultDeviceidCredentialsRegeneratePreconditionFailed

type PostVaultDeviceidCredentialsRegeneratePreconditionFailed struct {
	Payload *models.Error
}
PostVaultDeviceidCredentialsRegeneratePreconditionFailed describes a response with status code 412, with default header values.

Precondition Failed

func NewPostVaultDeviceidCredentialsRegeneratePreconditionFailed

func NewPostVaultDeviceidCredentialsRegeneratePreconditionFailed() *PostVaultDeviceidCredentialsRegeneratePreconditionFailed

NewPostVaultDeviceidCredentialsRegeneratePreconditionFailed creates a PostVaultDeviceidCredentialsRegeneratePreconditionFailed with default headers values

func (*PostVaultDeviceidCredentialsRegeneratePreconditionFailed) Error

func (*PostVaultDeviceidCredentialsRegeneratePreconditionFailed) GetPayload

type PostVaultDeviceidCredentialsRegenerateReader

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

PostVaultDeviceidCredentialsRegenerateReader is a Reader for the PostVaultDeviceidCredentialsRegenerate structure.

func (*PostVaultDeviceidCredentialsRegenerateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostVaultDeviceidCredentialsRegenerateUnauthorized

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

Unauthorized

func NewPostVaultDeviceidCredentialsRegenerateUnauthorized

func NewPostVaultDeviceidCredentialsRegenerateUnauthorized() *PostVaultDeviceidCredentialsRegenerateUnauthorized

NewPostVaultDeviceidCredentialsRegenerateUnauthorized creates a PostVaultDeviceidCredentialsRegenerateUnauthorized with default headers values

func (*PostVaultDeviceidCredentialsRegenerateUnauthorized) Error

func (*PostVaultDeviceidCredentialsRegenerateUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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