vault_service

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for vault service API

func (*Client) Create

func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOK, error)

Create create API

func (*Client) CreateSnapshot

func (a *Client) CreateSnapshot(params *CreateSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSnapshotOK, error)

CreateSnapshot create snapshot API

func (*Client) Delete

func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOK, error)

Delete delete API

func (*Client) DeleteSnapshot

func (a *Client) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSnapshotOK, error)

DeleteSnapshot delete snapshot API

func (*Client) DisableCORS

func (a *Client) DisableCORS(params *DisableCORSParams, authInfo runtime.ClientAuthInfoWriter) (*DisableCORSOK, error)

DisableCORS disable c o r s API

func (*Client) FetchAuditLog

func (a *Client) FetchAuditLog(params *FetchAuditLogParams, authInfo runtime.ClientAuthInfoWriter) (*FetchAuditLogOK, error)

FetchAuditLog fetch audit log API

func (*Client) Get

func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter) (*GetOK, error)

Get get API

func (*Client) GetAdminToken

func (a *Client) GetAdminToken(params *GetAdminTokenParams, authInfo runtime.ClientAuthInfoWriter) (*GetAdminTokenOK, error)

GetAdminToken get admin token API

func (*Client) GetAuditLogStatus

func (a *Client) GetAuditLogStatus(params *GetAuditLogStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetAuditLogStatusOK, error)

GetAuditLogStatus get audit log status API

func (*Client) GetCORSConfig

func (a *Client) GetCORSConfig(params *GetCORSConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCORSConfigOK, error)

GetCORSConfig get c o r s config API

func (*Client) GetClientCounts

func (a *Client) GetClientCounts(params *GetClientCountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientCountsOK, error)

GetClientCounts get client counts API

func (*Client) GetSnapshot

func (a *Client) GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*GetSnapshotOK, error)

GetSnapshot get snapshot API

func (*Client) List

func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter) (*ListOK, error)

List list API

func (*Client) ListSnapshots

func (a *Client) ListSnapshots(params *ListSnapshotsParams, authInfo runtime.ClientAuthInfoWriter) (*ListSnapshotsOK, error)

ListSnapshots list snapshots API

func (*Client) RestoreSnapshot

func (a *Client) RestoreSnapshot(params *RestoreSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*RestoreSnapshotOK, error)

RestoreSnapshot restore snapshot API

func (*Client) Seal

func (a *Client) Seal(params *SealParams, authInfo runtime.ClientAuthInfoWriter) (*SealOK, error)

Seal seal API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Unseal

func (a *Client) Unseal(params *UnsealParams, authInfo runtime.ClientAuthInfoWriter) (*UnsealOK, error)

Unseal unseal API

func (*Client) UpdateCORSConfig

func (a *Client) UpdateCORSConfig(params *UpdateCORSConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCORSConfigOK, error)

UpdateCORSConfig update c o r s config API

func (*Client) UpdatePublicIps

func (a *Client) UpdatePublicIps(params *UpdatePublicIpsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePublicIpsOK, error)

UpdatePublicIps update public ips API

func (*Client) UpdateSnapshot

func (a *Client) UpdateSnapshot(params *UpdateSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSnapshotOK, error)

UpdateSnapshot update snapshot API

type ClientService

type ClientService interface {
	Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOK, error)

	CreateSnapshot(params *CreateSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSnapshotOK, error)

	Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOK, error)

	DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSnapshotOK, error)

	DisableCORS(params *DisableCORSParams, authInfo runtime.ClientAuthInfoWriter) (*DisableCORSOK, error)

	FetchAuditLog(params *FetchAuditLogParams, authInfo runtime.ClientAuthInfoWriter) (*FetchAuditLogOK, error)

	Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter) (*GetOK, error)

	GetAdminToken(params *GetAdminTokenParams, authInfo runtime.ClientAuthInfoWriter) (*GetAdminTokenOK, error)

	GetAuditLogStatus(params *GetAuditLogStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetAuditLogStatusOK, error)

	GetCORSConfig(params *GetCORSConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCORSConfigOK, error)

	GetClientCounts(params *GetClientCountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientCountsOK, error)

	GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*GetSnapshotOK, error)

	List(params *ListParams, authInfo runtime.ClientAuthInfoWriter) (*ListOK, error)

	ListSnapshots(params *ListSnapshotsParams, authInfo runtime.ClientAuthInfoWriter) (*ListSnapshotsOK, error)

	RestoreSnapshot(params *RestoreSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*RestoreSnapshotOK, error)

	Seal(params *SealParams, authInfo runtime.ClientAuthInfoWriter) (*SealOK, error)

	Unseal(params *UnsealParams, authInfo runtime.ClientAuthInfoWriter) (*UnsealOK, error)

	UpdateCORSConfig(params *UpdateCORSConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCORSConfigOK, error)

	UpdatePublicIps(params *UpdatePublicIpsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePublicIpsOK, error)

	UpdateSnapshot(params *UpdateSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSnapshotOK, 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 service API client.

type CreateDefault

type CreateDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

CreateDefault handles this case with default header values.

An unexpected error response.

func NewCreateDefault

func NewCreateDefault(code int) *CreateDefault

NewCreateDefault creates a CreateDefault with default headers values

func (*CreateDefault) Code

func (o *CreateDefault) Code() int

Code gets the status code for the create default response

func (*CreateDefault) Error

func (o *CreateDefault) Error() string

func (*CreateDefault) GetPayload

func (o *CreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError

type CreateOK

type CreateOK struct {
	Payload *models.HashicorpCloudVault20201125CreateResponse
}

CreateOK handles this case with default header values.

A successful response.

func NewCreateOK

func NewCreateOK() *CreateOK

NewCreateOK creates a CreateOK with default headers values

func (*CreateOK) Error

func (o *CreateOK) Error() string

func (*CreateOK) GetPayload

type CreateParams

type CreateParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125CreateRequest
	/*ClusterLocationOrganizationID
	  organization_id is the id of the organization.

	*/
	ClusterLocationOrganizationID string
	/*ClusterLocationProjectID
	  project_id is the projects id.

	*/
	ClusterLocationProjectID string

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

CreateParams contains all the parameters to send to the API endpoint for the create operation typically these are written to a http.Request

func NewCreateParams

func NewCreateParams() *CreateParams

NewCreateParams creates a new CreateParams object with the default values initialized.

func NewCreateParamsWithContext

func NewCreateParamsWithContext(ctx context.Context) *CreateParams

NewCreateParamsWithContext creates a new CreateParams object with the default values initialized, and the ability to set a context for a request

func NewCreateParamsWithHTTPClient

func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams

NewCreateParamsWithHTTPClient creates a new CreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateParamsWithTimeout

func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams

NewCreateParamsWithTimeout creates a new CreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateParams) SetBody

SetBody adds the body to the create params

func (*CreateParams) SetClusterLocationOrganizationID

func (o *CreateParams) SetClusterLocationOrganizationID(clusterLocationOrganizationID string)

SetClusterLocationOrganizationID adds the clusterLocationOrganizationId to the create params

func (*CreateParams) SetClusterLocationProjectID

func (o *CreateParams) SetClusterLocationProjectID(clusterLocationProjectID string)

SetClusterLocationProjectID adds the clusterLocationProjectId to the create params

func (*CreateParams) SetContext

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

SetContext adds the context to the create params

func (*CreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create params

func (*CreateParams) SetTimeout

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

SetTimeout adds the timeout to the create params

func (*CreateParams) WithBody

WithBody adds the body to the create params

func (*CreateParams) WithClusterLocationOrganizationID

func (o *CreateParams) WithClusterLocationOrganizationID(clusterLocationOrganizationID string) *CreateParams

WithClusterLocationOrganizationID adds the clusterLocationOrganizationID to the create params

func (*CreateParams) WithClusterLocationProjectID

func (o *CreateParams) WithClusterLocationProjectID(clusterLocationProjectID string) *CreateParams

WithClusterLocationProjectID adds the clusterLocationProjectID to the create params

func (*CreateParams) WithContext

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

WithContext adds the context to the create params

func (*CreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create params

func (*CreateParams) WithTimeout

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

WithTimeout adds the timeout to the create params

func (*CreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateReader

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

CreateReader is a Reader for the Create structure.

func (*CreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSnapshotDefault

type CreateSnapshotDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

CreateSnapshotDefault handles this case with default header values.

An unexpected error response.

func NewCreateSnapshotDefault

func NewCreateSnapshotDefault(code int) *CreateSnapshotDefault

NewCreateSnapshotDefault creates a CreateSnapshotDefault with default headers values

func (*CreateSnapshotDefault) Code

func (o *CreateSnapshotDefault) Code() int

Code gets the status code for the create snapshot default response

func (*CreateSnapshotDefault) Error

func (o *CreateSnapshotDefault) Error() string

func (*CreateSnapshotDefault) GetPayload

type CreateSnapshotOK

type CreateSnapshotOK struct {
	Payload *models.HashicorpCloudVault20201125CreateSnapshotResponse
}

CreateSnapshotOK handles this case with default header values.

A successful response.

func NewCreateSnapshotOK

func NewCreateSnapshotOK() *CreateSnapshotOK

NewCreateSnapshotOK creates a CreateSnapshotOK with default headers values

func (*CreateSnapshotOK) Error

func (o *CreateSnapshotOK) Error() string

type CreateSnapshotParams

type CreateSnapshotParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125CreateSnapshotRequest
	/*ResourceLocationOrganizationID
	  organization_id is the id of the organization.

	*/
	ResourceLocationOrganizationID string
	/*ResourceLocationProjectID
	  project_id is the projects id.

	*/
	ResourceLocationProjectID string

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

CreateSnapshotParams contains all the parameters to send to the API endpoint for the create snapshot operation typically these are written to a http.Request

func NewCreateSnapshotParams

func NewCreateSnapshotParams() *CreateSnapshotParams

NewCreateSnapshotParams creates a new CreateSnapshotParams object with the default values initialized.

func NewCreateSnapshotParamsWithContext

func NewCreateSnapshotParamsWithContext(ctx context.Context) *CreateSnapshotParams

NewCreateSnapshotParamsWithContext creates a new CreateSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewCreateSnapshotParamsWithHTTPClient

func NewCreateSnapshotParamsWithHTTPClient(client *http.Client) *CreateSnapshotParams

NewCreateSnapshotParamsWithHTTPClient creates a new CreateSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateSnapshotParamsWithTimeout

func NewCreateSnapshotParamsWithTimeout(timeout time.Duration) *CreateSnapshotParams

NewCreateSnapshotParamsWithTimeout creates a new CreateSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateSnapshotParams) SetBody

SetBody adds the body to the create snapshot params

func (*CreateSnapshotParams) SetContext

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

SetContext adds the context to the create snapshot params

func (*CreateSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create snapshot params

func (*CreateSnapshotParams) SetResourceLocationOrganizationID

func (o *CreateSnapshotParams) SetResourceLocationOrganizationID(resourceLocationOrganizationID string)

SetResourceLocationOrganizationID adds the resourceLocationOrganizationId to the create snapshot params

func (*CreateSnapshotParams) SetResourceLocationProjectID

func (o *CreateSnapshotParams) SetResourceLocationProjectID(resourceLocationProjectID string)

SetResourceLocationProjectID adds the resourceLocationProjectId to the create snapshot params

func (*CreateSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the create snapshot params

func (*CreateSnapshotParams) WithBody

WithBody adds the body to the create snapshot params

func (*CreateSnapshotParams) WithContext

WithContext adds the context to the create snapshot params

func (*CreateSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create snapshot params

func (*CreateSnapshotParams) WithResourceLocationOrganizationID

func (o *CreateSnapshotParams) WithResourceLocationOrganizationID(resourceLocationOrganizationID string) *CreateSnapshotParams

WithResourceLocationOrganizationID adds the resourceLocationOrganizationID to the create snapshot params

func (*CreateSnapshotParams) WithResourceLocationProjectID

func (o *CreateSnapshotParams) WithResourceLocationProjectID(resourceLocationProjectID string) *CreateSnapshotParams

WithResourceLocationProjectID adds the resourceLocationProjectID to the create snapshot params

func (*CreateSnapshotParams) WithTimeout

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

WithTimeout adds the timeout to the create snapshot params

func (*CreateSnapshotParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateSnapshotReader

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

CreateSnapshotReader is a Reader for the CreateSnapshot structure.

func (*CreateSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDefault

type DeleteDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

DeleteDefault handles this case with default header values.

An unexpected error response.

func NewDeleteDefault

func NewDeleteDefault(code int) *DeleteDefault

NewDeleteDefault creates a DeleteDefault with default headers values

func (*DeleteDefault) Code

func (o *DeleteDefault) Code() int

Code gets the status code for the delete default response

func (*DeleteDefault) Error

func (o *DeleteDefault) Error() string

func (*DeleteDefault) GetPayload

func (o *DeleteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError

type DeleteOK

type DeleteOK struct {
	Payload *models.HashicorpCloudVault20201125DeleteResponse
}

DeleteOK handles this case with default header values.

A successful response.

func NewDeleteOK

func NewDeleteOK() *DeleteOK

NewDeleteOK creates a DeleteOK with default headers values

func (*DeleteOK) Error

func (o *DeleteOK) Error() string

func (*DeleteOK) GetPayload

type DeleteParams

type DeleteParams struct {

	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

DeleteParams contains all the parameters to send to the API endpoint for the delete operation typically these are written to a http.Request

func NewDeleteParams

func NewDeleteParams() *DeleteParams

NewDeleteParams creates a new DeleteParams object with the default values initialized.

func NewDeleteParamsWithContext

func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams

NewDeleteParamsWithContext creates a new DeleteParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteParamsWithHTTPClient

func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams

NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteParamsWithTimeout

func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams

NewDeleteParamsWithTimeout creates a new DeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteParams) SetClusterID

func (o *DeleteParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete params

func (*DeleteParams) SetContext

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

SetContext adds the context to the delete params

func (*DeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) SetLocationOrganizationID

func (o *DeleteParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the delete params

func (*DeleteParams) SetLocationProjectID

func (o *DeleteParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the delete params

func (*DeleteParams) SetLocationRegionProvider

func (o *DeleteParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the delete params

func (*DeleteParams) SetLocationRegionRegion

func (o *DeleteParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the delete params

func (*DeleteParams) SetTimeout

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

SetTimeout adds the timeout to the delete params

func (*DeleteParams) WithClusterID

func (o *DeleteParams) WithClusterID(clusterID string) *DeleteParams

WithClusterID adds the clusterID to the delete params

func (*DeleteParams) WithContext

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

WithContext adds the context to the delete params

func (*DeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) WithLocationOrganizationID

func (o *DeleteParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteParams

WithLocationOrganizationID adds the locationOrganizationID to the delete params

func (*DeleteParams) WithLocationProjectID

func (o *DeleteParams) WithLocationProjectID(locationProjectID string) *DeleteParams

WithLocationProjectID adds the locationProjectID to the delete params

func (*DeleteParams) WithLocationRegionProvider

func (o *DeleteParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteParams

WithLocationRegionProvider adds the locationRegionProvider to the delete params

func (*DeleteParams) WithLocationRegionRegion

func (o *DeleteParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteParams

WithLocationRegionRegion adds the locationRegionRegion to the delete params

func (*DeleteParams) WithTimeout

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

WithTimeout adds the timeout to the delete params

func (*DeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteReader

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

DeleteReader is a Reader for the Delete structure.

func (*DeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSnapshotDefault

type DeleteSnapshotDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

DeleteSnapshotDefault handles this case with default header values.

An unexpected error response.

func NewDeleteSnapshotDefault

func NewDeleteSnapshotDefault(code int) *DeleteSnapshotDefault

NewDeleteSnapshotDefault creates a DeleteSnapshotDefault with default headers values

func (*DeleteSnapshotDefault) Code

func (o *DeleteSnapshotDefault) Code() int

Code gets the status code for the delete snapshot default response

func (*DeleteSnapshotDefault) Error

func (o *DeleteSnapshotDefault) Error() string

func (*DeleteSnapshotDefault) GetPayload

type DeleteSnapshotOK

type DeleteSnapshotOK struct {
	Payload *models.HashicorpCloudVault20201125DeleteSnapshotResponse
}

DeleteSnapshotOK handles this case with default header values.

A successful response.

func NewDeleteSnapshotOK

func NewDeleteSnapshotOK() *DeleteSnapshotOK

NewDeleteSnapshotOK creates a DeleteSnapshotOK with default headers values

func (*DeleteSnapshotOK) Error

func (o *DeleteSnapshotOK) Error() string

type DeleteSnapshotParams

type DeleteSnapshotParams struct {

	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*SnapshotID
	  snapshot_id represents the snapshot to delete.

	*/
	SnapshotID string

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

DeleteSnapshotParams contains all the parameters to send to the API endpoint for the delete snapshot operation typically these are written to a http.Request

func NewDeleteSnapshotParams

func NewDeleteSnapshotParams() *DeleteSnapshotParams

NewDeleteSnapshotParams creates a new DeleteSnapshotParams object with the default values initialized.

func NewDeleteSnapshotParamsWithContext

func NewDeleteSnapshotParamsWithContext(ctx context.Context) *DeleteSnapshotParams

NewDeleteSnapshotParamsWithContext creates a new DeleteSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteSnapshotParamsWithHTTPClient

func NewDeleteSnapshotParamsWithHTTPClient(client *http.Client) *DeleteSnapshotParams

NewDeleteSnapshotParamsWithHTTPClient creates a new DeleteSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteSnapshotParamsWithTimeout

func NewDeleteSnapshotParamsWithTimeout(timeout time.Duration) *DeleteSnapshotParams

NewDeleteSnapshotParamsWithTimeout creates a new DeleteSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteSnapshotParams) SetContext

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

SetContext adds the context to the delete snapshot params

func (*DeleteSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete snapshot params

func (*DeleteSnapshotParams) SetLocationOrganizationID

func (o *DeleteSnapshotParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the delete snapshot params

func (*DeleteSnapshotParams) SetLocationProjectID

func (o *DeleteSnapshotParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the delete snapshot params

func (*DeleteSnapshotParams) SetLocationRegionProvider

func (o *DeleteSnapshotParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the delete snapshot params

func (*DeleteSnapshotParams) SetLocationRegionRegion

func (o *DeleteSnapshotParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the delete snapshot params

func (*DeleteSnapshotParams) SetSnapshotID

func (o *DeleteSnapshotParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the delete snapshot params

func (*DeleteSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the delete snapshot params

func (*DeleteSnapshotParams) WithContext

WithContext adds the context to the delete snapshot params

func (*DeleteSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete snapshot params

func (*DeleteSnapshotParams) WithLocationOrganizationID

func (o *DeleteSnapshotParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteSnapshotParams

WithLocationOrganizationID adds the locationOrganizationID to the delete snapshot params

func (*DeleteSnapshotParams) WithLocationProjectID

func (o *DeleteSnapshotParams) WithLocationProjectID(locationProjectID string) *DeleteSnapshotParams

WithLocationProjectID adds the locationProjectID to the delete snapshot params

func (*DeleteSnapshotParams) WithLocationRegionProvider

func (o *DeleteSnapshotParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteSnapshotParams

WithLocationRegionProvider adds the locationRegionProvider to the delete snapshot params

func (*DeleteSnapshotParams) WithLocationRegionRegion

func (o *DeleteSnapshotParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteSnapshotParams

WithLocationRegionRegion adds the locationRegionRegion to the delete snapshot params

func (*DeleteSnapshotParams) WithSnapshotID

func (o *DeleteSnapshotParams) WithSnapshotID(snapshotID string) *DeleteSnapshotParams

WithSnapshotID adds the snapshotID to the delete snapshot params

func (*DeleteSnapshotParams) WithTimeout

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

WithTimeout adds the timeout to the delete snapshot params

func (*DeleteSnapshotParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSnapshotReader

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

DeleteSnapshotReader is a Reader for the DeleteSnapshot structure.

func (*DeleteSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableCORSDefault

type DisableCORSDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

DisableCORSDefault handles this case with default header values.

An unexpected error response.

func NewDisableCORSDefault

func NewDisableCORSDefault(code int) *DisableCORSDefault

NewDisableCORSDefault creates a DisableCORSDefault with default headers values

func (*DisableCORSDefault) Code

func (o *DisableCORSDefault) Code() int

Code gets the status code for the disable c o r s default response

func (*DisableCORSDefault) Error

func (o *DisableCORSDefault) Error() string

func (*DisableCORSDefault) GetPayload

type DisableCORSOK

type DisableCORSOK struct {
	Payload models.HashicorpCloudVault20201125DisableCORSResponse
}

DisableCORSOK handles this case with default header values.

A successful response.

func NewDisableCORSOK

func NewDisableCORSOK() *DisableCORSOK

NewDisableCORSOK creates a DisableCORSOK with default headers values

func (*DisableCORSOK) Error

func (o *DisableCORSOK) Error() string

type DisableCORSParams

type DisableCORSParams struct {

	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

DisableCORSParams contains all the parameters to send to the API endpoint for the disable c o r s operation typically these are written to a http.Request

func NewDisableCORSParams

func NewDisableCORSParams() *DisableCORSParams

NewDisableCORSParams creates a new DisableCORSParams object with the default values initialized.

func NewDisableCORSParamsWithContext

func NewDisableCORSParamsWithContext(ctx context.Context) *DisableCORSParams

NewDisableCORSParamsWithContext creates a new DisableCORSParams object with the default values initialized, and the ability to set a context for a request

func NewDisableCORSParamsWithHTTPClient

func NewDisableCORSParamsWithHTTPClient(client *http.Client) *DisableCORSParams

NewDisableCORSParamsWithHTTPClient creates a new DisableCORSParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDisableCORSParamsWithTimeout

func NewDisableCORSParamsWithTimeout(timeout time.Duration) *DisableCORSParams

NewDisableCORSParamsWithTimeout creates a new DisableCORSParams object with the default values initialized, and the ability to set a timeout on a request

func (*DisableCORSParams) SetClusterID

func (o *DisableCORSParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the disable c o r s params

func (*DisableCORSParams) SetContext

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

SetContext adds the context to the disable c o r s params

func (*DisableCORSParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable c o r s params

func (*DisableCORSParams) SetLocationOrganizationID

func (o *DisableCORSParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the disable c o r s params

func (*DisableCORSParams) SetLocationProjectID

func (o *DisableCORSParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the disable c o r s params

func (*DisableCORSParams) SetLocationRegionProvider

func (o *DisableCORSParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the disable c o r s params

func (*DisableCORSParams) SetLocationRegionRegion

func (o *DisableCORSParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the disable c o r s params

func (*DisableCORSParams) SetTimeout

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

SetTimeout adds the timeout to the disable c o r s params

func (*DisableCORSParams) WithClusterID

func (o *DisableCORSParams) WithClusterID(clusterID string) *DisableCORSParams

WithClusterID adds the clusterID to the disable c o r s params

func (*DisableCORSParams) WithContext

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

WithContext adds the context to the disable c o r s params

func (*DisableCORSParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable c o r s params

func (*DisableCORSParams) WithLocationOrganizationID

func (o *DisableCORSParams) WithLocationOrganizationID(locationOrganizationID string) *DisableCORSParams

WithLocationOrganizationID adds the locationOrganizationID to the disable c o r s params

func (*DisableCORSParams) WithLocationProjectID

func (o *DisableCORSParams) WithLocationProjectID(locationProjectID string) *DisableCORSParams

WithLocationProjectID adds the locationProjectID to the disable c o r s params

func (*DisableCORSParams) WithLocationRegionProvider

func (o *DisableCORSParams) WithLocationRegionProvider(locationRegionProvider *string) *DisableCORSParams

WithLocationRegionProvider adds the locationRegionProvider to the disable c o r s params

func (*DisableCORSParams) WithLocationRegionRegion

func (o *DisableCORSParams) WithLocationRegionRegion(locationRegionRegion *string) *DisableCORSParams

WithLocationRegionRegion adds the locationRegionRegion to the disable c o r s params

func (*DisableCORSParams) WithTimeout

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

WithTimeout adds the timeout to the disable c o r s params

func (*DisableCORSParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DisableCORSReader

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

DisableCORSReader is a Reader for the DisableCORS structure.

func (*DisableCORSReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchAuditLogDefault

type FetchAuditLogDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

FetchAuditLogDefault handles this case with default header values.

An unexpected error response.

func NewFetchAuditLogDefault

func NewFetchAuditLogDefault(code int) *FetchAuditLogDefault

NewFetchAuditLogDefault creates a FetchAuditLogDefault with default headers values

func (*FetchAuditLogDefault) Code

func (o *FetchAuditLogDefault) Code() int

Code gets the status code for the fetch audit log default response

func (*FetchAuditLogDefault) Error

func (o *FetchAuditLogDefault) Error() string

func (*FetchAuditLogDefault) GetPayload

type FetchAuditLogOK

type FetchAuditLogOK struct {
	Payload *models.HashicorpCloudVault20201125FetchAuditLogResponse
}

FetchAuditLogOK handles this case with default header values.

A successful response.

func NewFetchAuditLogOK

func NewFetchAuditLogOK() *FetchAuditLogOK

NewFetchAuditLogOK creates a FetchAuditLogOK with default headers values

func (*FetchAuditLogOK) Error

func (o *FetchAuditLogOK) Error() string

func (*FetchAuditLogOK) GetPayload

type FetchAuditLogParams

type FetchAuditLogParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125FetchAuditLogRequest
	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

FetchAuditLogParams contains all the parameters to send to the API endpoint for the fetch audit log operation typically these are written to a http.Request

func NewFetchAuditLogParams

func NewFetchAuditLogParams() *FetchAuditLogParams

NewFetchAuditLogParams creates a new FetchAuditLogParams object with the default values initialized.

func NewFetchAuditLogParamsWithContext

func NewFetchAuditLogParamsWithContext(ctx context.Context) *FetchAuditLogParams

NewFetchAuditLogParamsWithContext creates a new FetchAuditLogParams object with the default values initialized, and the ability to set a context for a request

func NewFetchAuditLogParamsWithHTTPClient

func NewFetchAuditLogParamsWithHTTPClient(client *http.Client) *FetchAuditLogParams

NewFetchAuditLogParamsWithHTTPClient creates a new FetchAuditLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFetchAuditLogParamsWithTimeout

func NewFetchAuditLogParamsWithTimeout(timeout time.Duration) *FetchAuditLogParams

NewFetchAuditLogParamsWithTimeout creates a new FetchAuditLogParams object with the default values initialized, and the ability to set a timeout on a request

func (*FetchAuditLogParams) SetBody

SetBody adds the body to the fetch audit log params

func (*FetchAuditLogParams) SetClusterID

func (o *FetchAuditLogParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the fetch audit log params

func (*FetchAuditLogParams) SetContext

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

SetContext adds the context to the fetch audit log params

func (*FetchAuditLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fetch audit log params

func (*FetchAuditLogParams) SetLocationOrganizationID

func (o *FetchAuditLogParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the fetch audit log params

func (*FetchAuditLogParams) SetLocationProjectID

func (o *FetchAuditLogParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the fetch audit log params

func (*FetchAuditLogParams) SetTimeout

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

SetTimeout adds the timeout to the fetch audit log params

func (*FetchAuditLogParams) WithBody

WithBody adds the body to the fetch audit log params

func (*FetchAuditLogParams) WithClusterID

func (o *FetchAuditLogParams) WithClusterID(clusterID string) *FetchAuditLogParams

WithClusterID adds the clusterID to the fetch audit log params

func (*FetchAuditLogParams) WithContext

WithContext adds the context to the fetch audit log params

func (*FetchAuditLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fetch audit log params

func (*FetchAuditLogParams) WithLocationOrganizationID

func (o *FetchAuditLogParams) WithLocationOrganizationID(locationOrganizationID string) *FetchAuditLogParams

WithLocationOrganizationID adds the locationOrganizationID to the fetch audit log params

func (*FetchAuditLogParams) WithLocationProjectID

func (o *FetchAuditLogParams) WithLocationProjectID(locationProjectID string) *FetchAuditLogParams

WithLocationProjectID adds the locationProjectID to the fetch audit log params

func (*FetchAuditLogParams) WithTimeout

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

WithTimeout adds the timeout to the fetch audit log params

func (*FetchAuditLogParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FetchAuditLogReader

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

FetchAuditLogReader is a Reader for the FetchAuditLog structure.

func (*FetchAuditLogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAdminTokenDefault

type GetAdminTokenDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GetAdminTokenDefault handles this case with default header values.

An unexpected error response.

func NewGetAdminTokenDefault

func NewGetAdminTokenDefault(code int) *GetAdminTokenDefault

NewGetAdminTokenDefault creates a GetAdminTokenDefault with default headers values

func (*GetAdminTokenDefault) Code

func (o *GetAdminTokenDefault) Code() int

Code gets the status code for the get admin token default response

func (*GetAdminTokenDefault) Error

func (o *GetAdminTokenDefault) Error() string

func (*GetAdminTokenDefault) GetPayload

type GetAdminTokenOK

type GetAdminTokenOK struct {
	Payload *models.HashicorpCloudVault20201125GetAdminTokenResponse
}

GetAdminTokenOK handles this case with default header values.

A successful response.

func NewGetAdminTokenOK

func NewGetAdminTokenOK() *GetAdminTokenOK

NewGetAdminTokenOK creates a GetAdminTokenOK with default headers values

func (*GetAdminTokenOK) Error

func (o *GetAdminTokenOK) Error() string

func (*GetAdminTokenOK) GetPayload

type GetAdminTokenParams

type GetAdminTokenParams struct {

	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

GetAdminTokenParams contains all the parameters to send to the API endpoint for the get admin token operation typically these are written to a http.Request

func NewGetAdminTokenParams

func NewGetAdminTokenParams() *GetAdminTokenParams

NewGetAdminTokenParams creates a new GetAdminTokenParams object with the default values initialized.

func NewGetAdminTokenParamsWithContext

func NewGetAdminTokenParamsWithContext(ctx context.Context) *GetAdminTokenParams

NewGetAdminTokenParamsWithContext creates a new GetAdminTokenParams object with the default values initialized, and the ability to set a context for a request

func NewGetAdminTokenParamsWithHTTPClient

func NewGetAdminTokenParamsWithHTTPClient(client *http.Client) *GetAdminTokenParams

NewGetAdminTokenParamsWithHTTPClient creates a new GetAdminTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAdminTokenParamsWithTimeout

func NewGetAdminTokenParamsWithTimeout(timeout time.Duration) *GetAdminTokenParams

NewGetAdminTokenParamsWithTimeout creates a new GetAdminTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAdminTokenParams) SetClusterID

func (o *GetAdminTokenParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get admin token params

func (*GetAdminTokenParams) SetContext

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

SetContext adds the context to the get admin token params

func (*GetAdminTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get admin token params

func (*GetAdminTokenParams) SetLocationOrganizationID

func (o *GetAdminTokenParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get admin token params

func (*GetAdminTokenParams) SetLocationProjectID

func (o *GetAdminTokenParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get admin token params

func (*GetAdminTokenParams) SetLocationRegionProvider

func (o *GetAdminTokenParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get admin token params

func (*GetAdminTokenParams) SetLocationRegionRegion

func (o *GetAdminTokenParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get admin token params

func (*GetAdminTokenParams) SetTimeout

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

SetTimeout adds the timeout to the get admin token params

func (*GetAdminTokenParams) WithClusterID

func (o *GetAdminTokenParams) WithClusterID(clusterID string) *GetAdminTokenParams

WithClusterID adds the clusterID to the get admin token params

func (*GetAdminTokenParams) WithContext

WithContext adds the context to the get admin token params

func (*GetAdminTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get admin token params

func (*GetAdminTokenParams) WithLocationOrganizationID

func (o *GetAdminTokenParams) WithLocationOrganizationID(locationOrganizationID string) *GetAdminTokenParams

WithLocationOrganizationID adds the locationOrganizationID to the get admin token params

func (*GetAdminTokenParams) WithLocationProjectID

func (o *GetAdminTokenParams) WithLocationProjectID(locationProjectID string) *GetAdminTokenParams

WithLocationProjectID adds the locationProjectID to the get admin token params

func (*GetAdminTokenParams) WithLocationRegionProvider

func (o *GetAdminTokenParams) WithLocationRegionProvider(locationRegionProvider *string) *GetAdminTokenParams

WithLocationRegionProvider adds the locationRegionProvider to the get admin token params

func (*GetAdminTokenParams) WithLocationRegionRegion

func (o *GetAdminTokenParams) WithLocationRegionRegion(locationRegionRegion *string) *GetAdminTokenParams

WithLocationRegionRegion adds the locationRegionRegion to the get admin token params

func (*GetAdminTokenParams) WithTimeout

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

WithTimeout adds the timeout to the get admin token params

func (*GetAdminTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAdminTokenReader

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

GetAdminTokenReader is a Reader for the GetAdminToken structure.

func (*GetAdminTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditLogStatusDefault

type GetAuditLogStatusDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GetAuditLogStatusDefault handles this case with default header values.

An unexpected error response.

func NewGetAuditLogStatusDefault

func NewGetAuditLogStatusDefault(code int) *GetAuditLogStatusDefault

NewGetAuditLogStatusDefault creates a GetAuditLogStatusDefault with default headers values

func (*GetAuditLogStatusDefault) Code

func (o *GetAuditLogStatusDefault) Code() int

Code gets the status code for the get audit log status default response

func (*GetAuditLogStatusDefault) Error

func (o *GetAuditLogStatusDefault) Error() string

func (*GetAuditLogStatusDefault) GetPayload

type GetAuditLogStatusOK

type GetAuditLogStatusOK struct {
	Payload *models.HashicorpCloudVault20201125GetAuditLogStatusResponse
}

GetAuditLogStatusOK handles this case with default header values.

A successful response.

func NewGetAuditLogStatusOK

func NewGetAuditLogStatusOK() *GetAuditLogStatusOK

NewGetAuditLogStatusOK creates a GetAuditLogStatusOK with default headers values

func (*GetAuditLogStatusOK) Error

func (o *GetAuditLogStatusOK) Error() string

type GetAuditLogStatusParams

type GetAuditLogStatusParams struct {

	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*LogID*/
	LogID string

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

GetAuditLogStatusParams contains all the parameters to send to the API endpoint for the get audit log status operation typically these are written to a http.Request

func NewGetAuditLogStatusParams

func NewGetAuditLogStatusParams() *GetAuditLogStatusParams

NewGetAuditLogStatusParams creates a new GetAuditLogStatusParams object with the default values initialized.

func NewGetAuditLogStatusParamsWithContext

func NewGetAuditLogStatusParamsWithContext(ctx context.Context) *GetAuditLogStatusParams

NewGetAuditLogStatusParamsWithContext creates a new GetAuditLogStatusParams object with the default values initialized, and the ability to set a context for a request

func NewGetAuditLogStatusParamsWithHTTPClient

func NewGetAuditLogStatusParamsWithHTTPClient(client *http.Client) *GetAuditLogStatusParams

NewGetAuditLogStatusParamsWithHTTPClient creates a new GetAuditLogStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAuditLogStatusParamsWithTimeout

func NewGetAuditLogStatusParamsWithTimeout(timeout time.Duration) *GetAuditLogStatusParams

NewGetAuditLogStatusParamsWithTimeout creates a new GetAuditLogStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAuditLogStatusParams) SetClusterID

func (o *GetAuditLogStatusParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get audit log status params

func (*GetAuditLogStatusParams) SetContext

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

SetContext adds the context to the get audit log status params

func (*GetAuditLogStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit log status params

func (*GetAuditLogStatusParams) SetLocationOrganizationID

func (o *GetAuditLogStatusParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get audit log status params

func (*GetAuditLogStatusParams) SetLocationProjectID

func (o *GetAuditLogStatusParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get audit log status params

func (*GetAuditLogStatusParams) SetLocationRegionProvider

func (o *GetAuditLogStatusParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get audit log status params

func (*GetAuditLogStatusParams) SetLocationRegionRegion

func (o *GetAuditLogStatusParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get audit log status params

func (*GetAuditLogStatusParams) SetLogID

func (o *GetAuditLogStatusParams) SetLogID(logID string)

SetLogID adds the logId to the get audit log status params

func (*GetAuditLogStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get audit log status params

func (*GetAuditLogStatusParams) WithClusterID

func (o *GetAuditLogStatusParams) WithClusterID(clusterID string) *GetAuditLogStatusParams

WithClusterID adds the clusterID to the get audit log status params

func (*GetAuditLogStatusParams) WithContext

WithContext adds the context to the get audit log status params

func (*GetAuditLogStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get audit log status params

func (*GetAuditLogStatusParams) WithLocationOrganizationID

func (o *GetAuditLogStatusParams) WithLocationOrganizationID(locationOrganizationID string) *GetAuditLogStatusParams

WithLocationOrganizationID adds the locationOrganizationID to the get audit log status params

func (*GetAuditLogStatusParams) WithLocationProjectID

func (o *GetAuditLogStatusParams) WithLocationProjectID(locationProjectID string) *GetAuditLogStatusParams

WithLocationProjectID adds the locationProjectID to the get audit log status params

func (*GetAuditLogStatusParams) WithLocationRegionProvider

func (o *GetAuditLogStatusParams) WithLocationRegionProvider(locationRegionProvider *string) *GetAuditLogStatusParams

WithLocationRegionProvider adds the locationRegionProvider to the get audit log status params

func (*GetAuditLogStatusParams) WithLocationRegionRegion

func (o *GetAuditLogStatusParams) WithLocationRegionRegion(locationRegionRegion *string) *GetAuditLogStatusParams

WithLocationRegionRegion adds the locationRegionRegion to the get audit log status params

func (*GetAuditLogStatusParams) WithLogID

WithLogID adds the logID to the get audit log status params

func (*GetAuditLogStatusParams) WithTimeout

WithTimeout adds the timeout to the get audit log status params

func (*GetAuditLogStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditLogStatusReader

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

GetAuditLogStatusReader is a Reader for the GetAuditLogStatus structure.

func (*GetAuditLogStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCORSConfigDefault

type GetCORSConfigDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GetCORSConfigDefault handles this case with default header values.

An unexpected error response.

func NewGetCORSConfigDefault

func NewGetCORSConfigDefault(code int) *GetCORSConfigDefault

NewGetCORSConfigDefault creates a GetCORSConfigDefault with default headers values

func (*GetCORSConfigDefault) Code

func (o *GetCORSConfigDefault) Code() int

Code gets the status code for the get c o r s config default response

func (*GetCORSConfigDefault) Error

func (o *GetCORSConfigDefault) Error() string

func (*GetCORSConfigDefault) GetPayload

type GetCORSConfigOK

type GetCORSConfigOK struct {
	Payload *models.HashicorpCloudVault20201125GetCORSConfigResponse
}

GetCORSConfigOK handles this case with default header values.

A successful response.

func NewGetCORSConfigOK

func NewGetCORSConfigOK() *GetCORSConfigOK

NewGetCORSConfigOK creates a GetCORSConfigOK with default headers values

func (*GetCORSConfigOK) Error

func (o *GetCORSConfigOK) Error() string

func (*GetCORSConfigOK) GetPayload

type GetCORSConfigParams

type GetCORSConfigParams struct {

	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

GetCORSConfigParams contains all the parameters to send to the API endpoint for the get c o r s config operation typically these are written to a http.Request

func NewGetCORSConfigParams

func NewGetCORSConfigParams() *GetCORSConfigParams

NewGetCORSConfigParams creates a new GetCORSConfigParams object with the default values initialized.

func NewGetCORSConfigParamsWithContext

func NewGetCORSConfigParamsWithContext(ctx context.Context) *GetCORSConfigParams

NewGetCORSConfigParamsWithContext creates a new GetCORSConfigParams object with the default values initialized, and the ability to set a context for a request

func NewGetCORSConfigParamsWithHTTPClient

func NewGetCORSConfigParamsWithHTTPClient(client *http.Client) *GetCORSConfigParams

NewGetCORSConfigParamsWithHTTPClient creates a new GetCORSConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCORSConfigParamsWithTimeout

func NewGetCORSConfigParamsWithTimeout(timeout time.Duration) *GetCORSConfigParams

NewGetCORSConfigParamsWithTimeout creates a new GetCORSConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCORSConfigParams) SetClusterID

func (o *GetCORSConfigParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get c o r s config params

func (*GetCORSConfigParams) SetContext

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

SetContext adds the context to the get c o r s config params

func (*GetCORSConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get c o r s config params

func (*GetCORSConfigParams) SetLocationOrganizationID

func (o *GetCORSConfigParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get c o r s config params

func (*GetCORSConfigParams) SetLocationProjectID

func (o *GetCORSConfigParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get c o r s config params

func (*GetCORSConfigParams) SetLocationRegionProvider

func (o *GetCORSConfigParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get c o r s config params

func (*GetCORSConfigParams) SetLocationRegionRegion

func (o *GetCORSConfigParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get c o r s config params

func (*GetCORSConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get c o r s config params

func (*GetCORSConfigParams) WithClusterID

func (o *GetCORSConfigParams) WithClusterID(clusterID string) *GetCORSConfigParams

WithClusterID adds the clusterID to the get c o r s config params

func (*GetCORSConfigParams) WithContext

WithContext adds the context to the get c o r s config params

func (*GetCORSConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get c o r s config params

func (*GetCORSConfigParams) WithLocationOrganizationID

func (o *GetCORSConfigParams) WithLocationOrganizationID(locationOrganizationID string) *GetCORSConfigParams

WithLocationOrganizationID adds the locationOrganizationID to the get c o r s config params

func (*GetCORSConfigParams) WithLocationProjectID

func (o *GetCORSConfigParams) WithLocationProjectID(locationProjectID string) *GetCORSConfigParams

WithLocationProjectID adds the locationProjectID to the get c o r s config params

func (*GetCORSConfigParams) WithLocationRegionProvider

func (o *GetCORSConfigParams) WithLocationRegionProvider(locationRegionProvider *string) *GetCORSConfigParams

WithLocationRegionProvider adds the locationRegionProvider to the get c o r s config params

func (*GetCORSConfigParams) WithLocationRegionRegion

func (o *GetCORSConfigParams) WithLocationRegionRegion(locationRegionRegion *string) *GetCORSConfigParams

WithLocationRegionRegion adds the locationRegionRegion to the get c o r s config params

func (*GetCORSConfigParams) WithTimeout

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

WithTimeout adds the timeout to the get c o r s config params

func (*GetCORSConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCORSConfigReader

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

GetCORSConfigReader is a Reader for the GetCORSConfig structure.

func (*GetCORSConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClientCountsDefault

type GetClientCountsDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GetClientCountsDefault handles this case with default header values.

An unexpected error response.

func NewGetClientCountsDefault

func NewGetClientCountsDefault(code int) *GetClientCountsDefault

NewGetClientCountsDefault creates a GetClientCountsDefault with default headers values

func (*GetClientCountsDefault) Code

func (o *GetClientCountsDefault) Code() int

Code gets the status code for the get client counts default response

func (*GetClientCountsDefault) Error

func (o *GetClientCountsDefault) Error() string

func (*GetClientCountsDefault) GetPayload

type GetClientCountsOK

type GetClientCountsOK struct {
	Payload *models.HashicorpCloudVault20201125GetClientCountsResponse
}

GetClientCountsOK handles this case with default header values.

A successful response.

func NewGetClientCountsOK

func NewGetClientCountsOK() *GetClientCountsOK

NewGetClientCountsOK creates a GetClientCountsOK with default headers values

func (*GetClientCountsOK) Error

func (o *GetClientCountsOK) Error() string

type GetClientCountsParams

type GetClientCountsParams struct {

	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

GetClientCountsParams contains all the parameters to send to the API endpoint for the get client counts operation typically these are written to a http.Request

func NewGetClientCountsParams

func NewGetClientCountsParams() *GetClientCountsParams

NewGetClientCountsParams creates a new GetClientCountsParams object with the default values initialized.

func NewGetClientCountsParamsWithContext

func NewGetClientCountsParamsWithContext(ctx context.Context) *GetClientCountsParams

NewGetClientCountsParamsWithContext creates a new GetClientCountsParams object with the default values initialized, and the ability to set a context for a request

func NewGetClientCountsParamsWithHTTPClient

func NewGetClientCountsParamsWithHTTPClient(client *http.Client) *GetClientCountsParams

NewGetClientCountsParamsWithHTTPClient creates a new GetClientCountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetClientCountsParamsWithTimeout

func NewGetClientCountsParamsWithTimeout(timeout time.Duration) *GetClientCountsParams

NewGetClientCountsParamsWithTimeout creates a new GetClientCountsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetClientCountsParams) SetClusterID

func (o *GetClientCountsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get client counts params

func (*GetClientCountsParams) SetContext

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

SetContext adds the context to the get client counts params

func (*GetClientCountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get client counts params

func (*GetClientCountsParams) SetLocationOrganizationID

func (o *GetClientCountsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get client counts params

func (*GetClientCountsParams) SetLocationProjectID

func (o *GetClientCountsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get client counts params

func (*GetClientCountsParams) SetLocationRegionProvider

func (o *GetClientCountsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get client counts params

func (*GetClientCountsParams) SetLocationRegionRegion

func (o *GetClientCountsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get client counts params

func (*GetClientCountsParams) SetTimeout

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

SetTimeout adds the timeout to the get client counts params

func (*GetClientCountsParams) WithClusterID

func (o *GetClientCountsParams) WithClusterID(clusterID string) *GetClientCountsParams

WithClusterID adds the clusterID to the get client counts params

func (*GetClientCountsParams) WithContext

WithContext adds the context to the get client counts params

func (*GetClientCountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get client counts params

func (*GetClientCountsParams) WithLocationOrganizationID

func (o *GetClientCountsParams) WithLocationOrganizationID(locationOrganizationID string) *GetClientCountsParams

WithLocationOrganizationID adds the locationOrganizationID to the get client counts params

func (*GetClientCountsParams) WithLocationProjectID

func (o *GetClientCountsParams) WithLocationProjectID(locationProjectID string) *GetClientCountsParams

WithLocationProjectID adds the locationProjectID to the get client counts params

func (*GetClientCountsParams) WithLocationRegionProvider

func (o *GetClientCountsParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClientCountsParams

WithLocationRegionProvider adds the locationRegionProvider to the get client counts params

func (*GetClientCountsParams) WithLocationRegionRegion

func (o *GetClientCountsParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClientCountsParams

WithLocationRegionRegion adds the locationRegionRegion to the get client counts params

func (*GetClientCountsParams) WithTimeout

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

WithTimeout adds the timeout to the get client counts params

func (*GetClientCountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClientCountsReader

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

GetClientCountsReader is a Reader for the GetClientCounts structure.

func (*GetClientCountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDefault

type GetDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GetDefault handles this case with default header values.

An unexpected error response.

func NewGetDefault

func NewGetDefault(code int) *GetDefault

NewGetDefault creates a GetDefault with default headers values

func (*GetDefault) Code

func (o *GetDefault) Code() int

Code gets the status code for the get default response

func (*GetDefault) Error

func (o *GetDefault) Error() string

func (*GetDefault) GetPayload

func (o *GetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError

type GetOK

type GetOK struct {
	Payload *models.HashicorpCloudVault20201125GetResponse
}

GetOK handles this case with default header values.

A successful response.

func NewGetOK

func NewGetOK() *GetOK

NewGetOK creates a GetOK with default headers values

func (*GetOK) Error

func (o *GetOK) Error() string

func (*GetOK) GetPayload

type GetParams

type GetParams struct {

	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string

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

GetParams contains all the parameters to send to the API endpoint for the get operation typically these are written to a http.Request

func NewGetParams

func NewGetParams() *GetParams

NewGetParams creates a new GetParams object with the default values initialized.

func NewGetParamsWithContext

func NewGetParamsWithContext(ctx context.Context) *GetParams

NewGetParamsWithContext creates a new GetParams object with the default values initialized, and the ability to set a context for a request

func NewGetParamsWithHTTPClient

func NewGetParamsWithHTTPClient(client *http.Client) *GetParams

NewGetParamsWithHTTPClient creates a new GetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetParamsWithTimeout

func NewGetParamsWithTimeout(timeout time.Duration) *GetParams

NewGetParamsWithTimeout creates a new GetParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetParams) SetClusterID

func (o *GetParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get params

func (*GetParams) SetContext

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

SetContext adds the context to the get params

func (*GetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get params

func (*GetParams) SetLocationOrganizationID

func (o *GetParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get params

func (*GetParams) SetLocationProjectID

func (o *GetParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get params

func (*GetParams) SetLocationRegionProvider

func (o *GetParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get params

func (*GetParams) SetLocationRegionRegion

func (o *GetParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get params

func (*GetParams) SetTimeout

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

SetTimeout adds the timeout to the get params

func (*GetParams) WithClusterID

func (o *GetParams) WithClusterID(clusterID string) *GetParams

WithClusterID adds the clusterID to the get params

func (*GetParams) WithContext

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

WithContext adds the context to the get params

func (*GetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get params

func (*GetParams) WithLocationOrganizationID

func (o *GetParams) WithLocationOrganizationID(locationOrganizationID string) *GetParams

WithLocationOrganizationID adds the locationOrganizationID to the get params

func (*GetParams) WithLocationProjectID

func (o *GetParams) WithLocationProjectID(locationProjectID string) *GetParams

WithLocationProjectID adds the locationProjectID to the get params

func (*GetParams) WithLocationRegionProvider

func (o *GetParams) WithLocationRegionProvider(locationRegionProvider *string) *GetParams

WithLocationRegionProvider adds the locationRegionProvider to the get params

func (*GetParams) WithLocationRegionRegion

func (o *GetParams) WithLocationRegionRegion(locationRegionRegion *string) *GetParams

WithLocationRegionRegion adds the locationRegionRegion to the get params

func (*GetParams) WithTimeout

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

WithTimeout adds the timeout to the get params

func (*GetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetReader

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

GetReader is a Reader for the Get structure.

func (*GetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSnapshotDefault

type GetSnapshotDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

GetSnapshotDefault handles this case with default header values.

An unexpected error response.

func NewGetSnapshotDefault

func NewGetSnapshotDefault(code int) *GetSnapshotDefault

NewGetSnapshotDefault creates a GetSnapshotDefault with default headers values

func (*GetSnapshotDefault) Code

func (o *GetSnapshotDefault) Code() int

Code gets the status code for the get snapshot default response

func (*GetSnapshotDefault) Error

func (o *GetSnapshotDefault) Error() string

func (*GetSnapshotDefault) GetPayload

type GetSnapshotOK

type GetSnapshotOK struct {
	Payload *models.HashicorpCloudVault20201125GetSnapshotResponse
}

GetSnapshotOK handles this case with default header values.

A successful response.

func NewGetSnapshotOK

func NewGetSnapshotOK() *GetSnapshotOK

NewGetSnapshotOK creates a GetSnapshotOK with default headers values

func (*GetSnapshotOK) Error

func (o *GetSnapshotOK) Error() string

func (*GetSnapshotOK) GetPayload

type GetSnapshotParams

type GetSnapshotParams struct {

	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*SnapshotID
	  snapshot_id represents the snapshot to get.

	*/
	SnapshotID string

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

GetSnapshotParams contains all the parameters to send to the API endpoint for the get snapshot operation typically these are written to a http.Request

func NewGetSnapshotParams

func NewGetSnapshotParams() *GetSnapshotParams

NewGetSnapshotParams creates a new GetSnapshotParams object with the default values initialized.

func NewGetSnapshotParamsWithContext

func NewGetSnapshotParamsWithContext(ctx context.Context) *GetSnapshotParams

NewGetSnapshotParamsWithContext creates a new GetSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewGetSnapshotParamsWithHTTPClient

func NewGetSnapshotParamsWithHTTPClient(client *http.Client) *GetSnapshotParams

NewGetSnapshotParamsWithHTTPClient creates a new GetSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSnapshotParamsWithTimeout

func NewGetSnapshotParamsWithTimeout(timeout time.Duration) *GetSnapshotParams

NewGetSnapshotParamsWithTimeout creates a new GetSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSnapshotParams) SetContext

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

SetContext adds the context to the get snapshot params

func (*GetSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get snapshot params

func (*GetSnapshotParams) SetLocationOrganizationID

func (o *GetSnapshotParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get snapshot params

func (*GetSnapshotParams) SetLocationProjectID

func (o *GetSnapshotParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get snapshot params

func (*GetSnapshotParams) SetLocationRegionProvider

func (o *GetSnapshotParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get snapshot params

func (*GetSnapshotParams) SetLocationRegionRegion

func (o *GetSnapshotParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get snapshot params

func (*GetSnapshotParams) SetSnapshotID

func (o *GetSnapshotParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the get snapshot params

func (*GetSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the get snapshot params

func (*GetSnapshotParams) WithContext

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

WithContext adds the context to the get snapshot params

func (*GetSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get snapshot params

func (*GetSnapshotParams) WithLocationOrganizationID

func (o *GetSnapshotParams) WithLocationOrganizationID(locationOrganizationID string) *GetSnapshotParams

WithLocationOrganizationID adds the locationOrganizationID to the get snapshot params

func (*GetSnapshotParams) WithLocationProjectID

func (o *GetSnapshotParams) WithLocationProjectID(locationProjectID string) *GetSnapshotParams

WithLocationProjectID adds the locationProjectID to the get snapshot params

func (*GetSnapshotParams) WithLocationRegionProvider

func (o *GetSnapshotParams) WithLocationRegionProvider(locationRegionProvider *string) *GetSnapshotParams

WithLocationRegionProvider adds the locationRegionProvider to the get snapshot params

func (*GetSnapshotParams) WithLocationRegionRegion

func (o *GetSnapshotParams) WithLocationRegionRegion(locationRegionRegion *string) *GetSnapshotParams

WithLocationRegionRegion adds the locationRegionRegion to the get snapshot params

func (*GetSnapshotParams) WithSnapshotID

func (o *GetSnapshotParams) WithSnapshotID(snapshotID string) *GetSnapshotParams

WithSnapshotID adds the snapshotID to the get snapshot params

func (*GetSnapshotParams) WithTimeout

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

WithTimeout adds the timeout to the get snapshot params

func (*GetSnapshotParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSnapshotReader

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

GetSnapshotReader is a Reader for the GetSnapshot structure.

func (*GetSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListDefault

type ListDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

ListDefault handles this case with default header values.

An unexpected error response.

func NewListDefault

func NewListDefault(code int) *ListDefault

NewListDefault creates a ListDefault with default headers values

func (*ListDefault) Code

func (o *ListDefault) Code() int

Code gets the status code for the list default response

func (*ListDefault) Error

func (o *ListDefault) Error() string

func (*ListDefault) GetPayload

func (o *ListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError

type ListOK

type ListOK struct {
	Payload *models.HashicorpCloudVault20201125ListResponse
}

ListOK handles this case with default header values.

A successful response.

func NewListOK

func NewListOK() *ListOK

NewListOK creates a ListOK with default headers values

func (*ListOK) Error

func (o *ListOK) Error() string

func (*ListOK) GetPayload

type ListParams

type ListParams struct {

	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string
	/*LocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	LocationRegionProvider *string
	/*LocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	LocationRegionRegion *string
	/*PaginationNextPageToken
	  Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.

	*/
	PaginationNextPageToken *string
	/*PaginationPageSize
	  The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	*/
	PaginationPageSize *int64
	/*PaginationPreviousPageToken
	  Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.

	*/
	PaginationPreviousPageToken *string

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

ListParams contains all the parameters to send to the API endpoint for the list operation typically these are written to a http.Request

func NewListParams

func NewListParams() *ListParams

NewListParams creates a new ListParams object with the default values initialized.

func NewListParamsWithContext

func NewListParamsWithContext(ctx context.Context) *ListParams

NewListParamsWithContext creates a new ListParams object with the default values initialized, and the ability to set a context for a request

func NewListParamsWithHTTPClient

func NewListParamsWithHTTPClient(client *http.Client) *ListParams

NewListParamsWithHTTPClient creates a new ListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListParamsWithTimeout

func NewListParamsWithTimeout(timeout time.Duration) *ListParams

NewListParamsWithTimeout creates a new ListParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListParams) SetContext

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

SetContext adds the context to the list params

func (*ListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list params

func (*ListParams) SetLocationOrganizationID

func (o *ListParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the list params

func (*ListParams) SetLocationProjectID

func (o *ListParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the list params

func (*ListParams) SetLocationRegionProvider

func (o *ListParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list params

func (*ListParams) SetLocationRegionRegion

func (o *ListParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list params

func (*ListParams) SetPaginationNextPageToken

func (o *ListParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list params

func (*ListParams) SetPaginationPageSize

func (o *ListParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list params

func (*ListParams) SetPaginationPreviousPageToken

func (o *ListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list params

func (*ListParams) SetTimeout

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

SetTimeout adds the timeout to the list params

func (*ListParams) WithContext

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

WithContext adds the context to the list params

func (*ListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list params

func (*ListParams) WithLocationOrganizationID

func (o *ListParams) WithLocationOrganizationID(locationOrganizationID string) *ListParams

WithLocationOrganizationID adds the locationOrganizationID to the list params

func (*ListParams) WithLocationProjectID

func (o *ListParams) WithLocationProjectID(locationProjectID string) *ListParams

WithLocationProjectID adds the locationProjectID to the list params

func (*ListParams) WithLocationRegionProvider

func (o *ListParams) WithLocationRegionProvider(locationRegionProvider *string) *ListParams

WithLocationRegionProvider adds the locationRegionProvider to the list params

func (*ListParams) WithLocationRegionRegion

func (o *ListParams) WithLocationRegionRegion(locationRegionRegion *string) *ListParams

WithLocationRegionRegion adds the locationRegionRegion to the list params

func (*ListParams) WithPaginationNextPageToken

func (o *ListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list params

func (*ListParams) WithPaginationPageSize

func (o *ListParams) WithPaginationPageSize(paginationPageSize *int64) *ListParams

WithPaginationPageSize adds the paginationPageSize to the list params

func (*ListParams) WithPaginationPreviousPageToken

func (o *ListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list params

func (*ListParams) WithTimeout

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

WithTimeout adds the timeout to the list params

func (*ListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListReader

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

ListReader is a Reader for the List structure.

func (*ListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSnapshotsDefault

type ListSnapshotsDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

ListSnapshotsDefault handles this case with default header values.

An unexpected error response.

func NewListSnapshotsDefault

func NewListSnapshotsDefault(code int) *ListSnapshotsDefault

NewListSnapshotsDefault creates a ListSnapshotsDefault with default headers values

func (*ListSnapshotsDefault) Code

func (o *ListSnapshotsDefault) Code() int

Code gets the status code for the list snapshots default response

func (*ListSnapshotsDefault) Error

func (o *ListSnapshotsDefault) Error() string

func (*ListSnapshotsDefault) GetPayload

type ListSnapshotsOK

type ListSnapshotsOK struct {
	Payload *models.HashicorpCloudVault20201125ListSnapshotsResponse
}

ListSnapshotsOK handles this case with default header values.

A successful response.

func NewListSnapshotsOK

func NewListSnapshotsOK() *ListSnapshotsOK

NewListSnapshotsOK creates a ListSnapshotsOK with default headers values

func (*ListSnapshotsOK) Error

func (o *ListSnapshotsOK) Error() string

func (*ListSnapshotsOK) GetPayload

type ListSnapshotsParams

type ListSnapshotsParams struct {

	/*PaginationNextPageToken
	  Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.

	*/
	PaginationNextPageToken *string
	/*PaginationPageSize
	  The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	*/
	PaginationPageSize *int64
	/*PaginationPreviousPageToken
	  Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.

	*/
	PaginationPreviousPageToken *string
	/*ResourceDescription
	  description is a human-friendly description for this link. This is
	used primarily for informational purposes such as error messages.

	*/
	ResourceDescription *string
	/*ResourceID
	  id is the identifier for this resource.

	*/
	ResourceID *string
	/*ResourceLocationOrganizationID
	  organization_id is the id of the organization.

	*/
	ResourceLocationOrganizationID string
	/*ResourceLocationProjectID
	  project_id is the projects id.

	*/
	ResourceLocationProjectID string
	/*ResourceLocationRegionProvider
	  provider is the named cloud provider ("aws", "gcp", "azure").

	*/
	ResourceLocationRegionProvider *string
	/*ResourceLocationRegionRegion
	  region is the cloud region ("us-west1", "us-east1").

	*/
	ResourceLocationRegionRegion *string
	/*ResourceType
	  type is the unique type of the resource. Each service publishes a
	unique set of types. The type value is recommended to be formatted
	in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts
	in the future, but any string value will work.

	*/
	ResourceType *string
	/*ResourceUUID
	  uuid is the unique UUID for this resource.

	*/
	ResourceUUID *string

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

ListSnapshotsParams contains all the parameters to send to the API endpoint for the list snapshots operation typically these are written to a http.Request

func NewListSnapshotsParams

func NewListSnapshotsParams() *ListSnapshotsParams

NewListSnapshotsParams creates a new ListSnapshotsParams object with the default values initialized.

func NewListSnapshotsParamsWithContext

func NewListSnapshotsParamsWithContext(ctx context.Context) *ListSnapshotsParams

NewListSnapshotsParamsWithContext creates a new ListSnapshotsParams object with the default values initialized, and the ability to set a context for a request

func NewListSnapshotsParamsWithHTTPClient

func NewListSnapshotsParamsWithHTTPClient(client *http.Client) *ListSnapshotsParams

NewListSnapshotsParamsWithHTTPClient creates a new ListSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListSnapshotsParamsWithTimeout

func NewListSnapshotsParamsWithTimeout(timeout time.Duration) *ListSnapshotsParams

NewListSnapshotsParamsWithTimeout creates a new ListSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListSnapshotsParams) SetContext

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

SetContext adds the context to the list snapshots params

func (*ListSnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list snapshots params

func (*ListSnapshotsParams) SetPaginationNextPageToken

func (o *ListSnapshotsParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list snapshots params

func (*ListSnapshotsParams) SetPaginationPageSize

func (o *ListSnapshotsParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list snapshots params

func (*ListSnapshotsParams) SetPaginationPreviousPageToken

func (o *ListSnapshotsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list snapshots params

func (*ListSnapshotsParams) SetResourceDescription

func (o *ListSnapshotsParams) SetResourceDescription(resourceDescription *string)

SetResourceDescription adds the resourceDescription to the list snapshots params

func (*ListSnapshotsParams) SetResourceID

func (o *ListSnapshotsParams) SetResourceID(resourceID *string)

SetResourceID adds the resourceId to the list snapshots params

func (*ListSnapshotsParams) SetResourceLocationOrganizationID

func (o *ListSnapshotsParams) SetResourceLocationOrganizationID(resourceLocationOrganizationID string)

SetResourceLocationOrganizationID adds the resourceLocationOrganizationId to the list snapshots params

func (*ListSnapshotsParams) SetResourceLocationProjectID

func (o *ListSnapshotsParams) SetResourceLocationProjectID(resourceLocationProjectID string)

SetResourceLocationProjectID adds the resourceLocationProjectId to the list snapshots params

func (*ListSnapshotsParams) SetResourceLocationRegionProvider

func (o *ListSnapshotsParams) SetResourceLocationRegionProvider(resourceLocationRegionProvider *string)

SetResourceLocationRegionProvider adds the resourceLocationRegionProvider to the list snapshots params

func (*ListSnapshotsParams) SetResourceLocationRegionRegion

func (o *ListSnapshotsParams) SetResourceLocationRegionRegion(resourceLocationRegionRegion *string)

SetResourceLocationRegionRegion adds the resourceLocationRegionRegion to the list snapshots params

func (*ListSnapshotsParams) SetResourceType

func (o *ListSnapshotsParams) SetResourceType(resourceType *string)

SetResourceType adds the resourceType to the list snapshots params

func (*ListSnapshotsParams) SetResourceUUID

func (o *ListSnapshotsParams) SetResourceUUID(resourceUUID *string)

SetResourceUUID adds the resourceUuid to the list snapshots params

func (*ListSnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the list snapshots params

func (*ListSnapshotsParams) WithContext

WithContext adds the context to the list snapshots params

func (*ListSnapshotsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list snapshots params

func (*ListSnapshotsParams) WithPaginationNextPageToken

func (o *ListSnapshotsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListSnapshotsParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list snapshots params

func (*ListSnapshotsParams) WithPaginationPageSize

func (o *ListSnapshotsParams) WithPaginationPageSize(paginationPageSize *int64) *ListSnapshotsParams

WithPaginationPageSize adds the paginationPageSize to the list snapshots params

func (*ListSnapshotsParams) WithPaginationPreviousPageToken

func (o *ListSnapshotsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListSnapshotsParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list snapshots params

func (*ListSnapshotsParams) WithResourceDescription

func (o *ListSnapshotsParams) WithResourceDescription(resourceDescription *string) *ListSnapshotsParams

WithResourceDescription adds the resourceDescription to the list snapshots params

func (*ListSnapshotsParams) WithResourceID

func (o *ListSnapshotsParams) WithResourceID(resourceID *string) *ListSnapshotsParams

WithResourceID adds the resourceID to the list snapshots params

func (*ListSnapshotsParams) WithResourceLocationOrganizationID

func (o *ListSnapshotsParams) WithResourceLocationOrganizationID(resourceLocationOrganizationID string) *ListSnapshotsParams

WithResourceLocationOrganizationID adds the resourceLocationOrganizationID to the list snapshots params

func (*ListSnapshotsParams) WithResourceLocationProjectID

func (o *ListSnapshotsParams) WithResourceLocationProjectID(resourceLocationProjectID string) *ListSnapshotsParams

WithResourceLocationProjectID adds the resourceLocationProjectID to the list snapshots params

func (*ListSnapshotsParams) WithResourceLocationRegionProvider

func (o *ListSnapshotsParams) WithResourceLocationRegionProvider(resourceLocationRegionProvider *string) *ListSnapshotsParams

WithResourceLocationRegionProvider adds the resourceLocationRegionProvider to the list snapshots params

func (*ListSnapshotsParams) WithResourceLocationRegionRegion

func (o *ListSnapshotsParams) WithResourceLocationRegionRegion(resourceLocationRegionRegion *string) *ListSnapshotsParams

WithResourceLocationRegionRegion adds the resourceLocationRegionRegion to the list snapshots params

func (*ListSnapshotsParams) WithResourceType

func (o *ListSnapshotsParams) WithResourceType(resourceType *string) *ListSnapshotsParams

WithResourceType adds the resourceType to the list snapshots params

func (*ListSnapshotsParams) WithResourceUUID

func (o *ListSnapshotsParams) WithResourceUUID(resourceUUID *string) *ListSnapshotsParams

WithResourceUUID adds the resourceUUID to the list snapshots params

func (*ListSnapshotsParams) WithTimeout

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

WithTimeout adds the timeout to the list snapshots params

func (*ListSnapshotsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSnapshotsReader

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

ListSnapshotsReader is a Reader for the ListSnapshots structure.

func (*ListSnapshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreSnapshotDefault

type RestoreSnapshotDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

RestoreSnapshotDefault handles this case with default header values.

An unexpected error response.

func NewRestoreSnapshotDefault

func NewRestoreSnapshotDefault(code int) *RestoreSnapshotDefault

NewRestoreSnapshotDefault creates a RestoreSnapshotDefault with default headers values

func (*RestoreSnapshotDefault) Code

func (o *RestoreSnapshotDefault) Code() int

Code gets the status code for the restore snapshot default response

func (*RestoreSnapshotDefault) Error

func (o *RestoreSnapshotDefault) Error() string

func (*RestoreSnapshotDefault) GetPayload

type RestoreSnapshotOK

type RestoreSnapshotOK struct {
	Payload *models.HashicorpCloudVault20201125RestoreSnapshotResponse
}

RestoreSnapshotOK handles this case with default header values.

A successful response.

func NewRestoreSnapshotOK

func NewRestoreSnapshotOK() *RestoreSnapshotOK

NewRestoreSnapshotOK creates a RestoreSnapshotOK with default headers values

func (*RestoreSnapshotOK) Error

func (o *RestoreSnapshotOK) Error() string

type RestoreSnapshotParams

type RestoreSnapshotParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125RestoreSnapshotRequest
	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

RestoreSnapshotParams contains all the parameters to send to the API endpoint for the restore snapshot operation typically these are written to a http.Request

func NewRestoreSnapshotParams

func NewRestoreSnapshotParams() *RestoreSnapshotParams

NewRestoreSnapshotParams creates a new RestoreSnapshotParams object with the default values initialized.

func NewRestoreSnapshotParamsWithContext

func NewRestoreSnapshotParamsWithContext(ctx context.Context) *RestoreSnapshotParams

NewRestoreSnapshotParamsWithContext creates a new RestoreSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewRestoreSnapshotParamsWithHTTPClient

func NewRestoreSnapshotParamsWithHTTPClient(client *http.Client) *RestoreSnapshotParams

NewRestoreSnapshotParamsWithHTTPClient creates a new RestoreSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRestoreSnapshotParamsWithTimeout

func NewRestoreSnapshotParamsWithTimeout(timeout time.Duration) *RestoreSnapshotParams

NewRestoreSnapshotParamsWithTimeout creates a new RestoreSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*RestoreSnapshotParams) SetBody

SetBody adds the body to the restore snapshot params

func (*RestoreSnapshotParams) SetClusterID

func (o *RestoreSnapshotParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the restore snapshot params

func (*RestoreSnapshotParams) SetContext

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

SetContext adds the context to the restore snapshot params

func (*RestoreSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore snapshot params

func (*RestoreSnapshotParams) SetLocationOrganizationID

func (o *RestoreSnapshotParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the restore snapshot params

func (*RestoreSnapshotParams) SetLocationProjectID

func (o *RestoreSnapshotParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the restore snapshot params

func (*RestoreSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the restore snapshot params

func (*RestoreSnapshotParams) WithBody

WithBody adds the body to the restore snapshot params

func (*RestoreSnapshotParams) WithClusterID

func (o *RestoreSnapshotParams) WithClusterID(clusterID string) *RestoreSnapshotParams

WithClusterID adds the clusterID to the restore snapshot params

func (*RestoreSnapshotParams) WithContext

WithContext adds the context to the restore snapshot params

func (*RestoreSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore snapshot params

func (*RestoreSnapshotParams) WithLocationOrganizationID

func (o *RestoreSnapshotParams) WithLocationOrganizationID(locationOrganizationID string) *RestoreSnapshotParams

WithLocationOrganizationID adds the locationOrganizationID to the restore snapshot params

func (*RestoreSnapshotParams) WithLocationProjectID

func (o *RestoreSnapshotParams) WithLocationProjectID(locationProjectID string) *RestoreSnapshotParams

WithLocationProjectID adds the locationProjectID to the restore snapshot params

func (*RestoreSnapshotParams) WithTimeout

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

WithTimeout adds the timeout to the restore snapshot params

func (*RestoreSnapshotParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RestoreSnapshotReader

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

RestoreSnapshotReader is a Reader for the RestoreSnapshot structure.

func (*RestoreSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SealDefault

type SealDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

SealDefault handles this case with default header values.

An unexpected error response.

func NewSealDefault

func NewSealDefault(code int) *SealDefault

NewSealDefault creates a SealDefault with default headers values

func (*SealDefault) Code

func (o *SealDefault) Code() int

Code gets the status code for the seal default response

func (*SealDefault) Error

func (o *SealDefault) Error() string

func (*SealDefault) GetPayload

func (o *SealDefault) GetPayload() *cloud.GrpcGatewayRuntimeError

type SealOK

type SealOK struct {
	Payload *models.HashicorpCloudVault20201125SealResponse
}

SealOK handles this case with default header values.

A successful response.

func NewSealOK

func NewSealOK() *SealOK

NewSealOK creates a SealOK with default headers values

func (*SealOK) Error

func (o *SealOK) Error() string

func (*SealOK) GetPayload

type SealParams

type SealParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125SealRequest
	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

SealParams contains all the parameters to send to the API endpoint for the seal operation typically these are written to a http.Request

func NewSealParams

func NewSealParams() *SealParams

NewSealParams creates a new SealParams object with the default values initialized.

func NewSealParamsWithContext

func NewSealParamsWithContext(ctx context.Context) *SealParams

NewSealParamsWithContext creates a new SealParams object with the default values initialized, and the ability to set a context for a request

func NewSealParamsWithHTTPClient

func NewSealParamsWithHTTPClient(client *http.Client) *SealParams

NewSealParamsWithHTTPClient creates a new SealParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSealParamsWithTimeout

func NewSealParamsWithTimeout(timeout time.Duration) *SealParams

NewSealParamsWithTimeout creates a new SealParams object with the default values initialized, and the ability to set a timeout on a request

func (*SealParams) SetBody

SetBody adds the body to the seal params

func (*SealParams) SetClusterID

func (o *SealParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the seal params

func (*SealParams) SetContext

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

SetContext adds the context to the seal params

func (*SealParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the seal params

func (*SealParams) SetLocationOrganizationID

func (o *SealParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the seal params

func (*SealParams) SetLocationProjectID

func (o *SealParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the seal params

func (*SealParams) SetTimeout

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

SetTimeout adds the timeout to the seal params

func (*SealParams) WithBody

WithBody adds the body to the seal params

func (*SealParams) WithClusterID

func (o *SealParams) WithClusterID(clusterID string) *SealParams

WithClusterID adds the clusterID to the seal params

func (*SealParams) WithContext

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

WithContext adds the context to the seal params

func (*SealParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the seal params

func (*SealParams) WithLocationOrganizationID

func (o *SealParams) WithLocationOrganizationID(locationOrganizationID string) *SealParams

WithLocationOrganizationID adds the locationOrganizationID to the seal params

func (*SealParams) WithLocationProjectID

func (o *SealParams) WithLocationProjectID(locationProjectID string) *SealParams

WithLocationProjectID adds the locationProjectID to the seal params

func (*SealParams) WithTimeout

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

WithTimeout adds the timeout to the seal params

func (*SealParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SealReader

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

SealReader is a Reader for the Seal structure.

func (*SealReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnsealDefault

type UnsealDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

UnsealDefault handles this case with default header values.

An unexpected error response.

func NewUnsealDefault

func NewUnsealDefault(code int) *UnsealDefault

NewUnsealDefault creates a UnsealDefault with default headers values

func (*UnsealDefault) Code

func (o *UnsealDefault) Code() int

Code gets the status code for the unseal default response

func (*UnsealDefault) Error

func (o *UnsealDefault) Error() string

func (*UnsealDefault) GetPayload

func (o *UnsealDefault) GetPayload() *cloud.GrpcGatewayRuntimeError

type UnsealOK

type UnsealOK struct {
	Payload *models.HashicorpCloudVault20201125UnsealResponse
}

UnsealOK handles this case with default header values.

A successful response.

func NewUnsealOK

func NewUnsealOK() *UnsealOK

NewUnsealOK creates a UnsealOK with default headers values

func (*UnsealOK) Error

func (o *UnsealOK) Error() string

func (*UnsealOK) GetPayload

type UnsealParams

type UnsealParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125UnsealRequest
	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

UnsealParams contains all the parameters to send to the API endpoint for the unseal operation typically these are written to a http.Request

func NewUnsealParams

func NewUnsealParams() *UnsealParams

NewUnsealParams creates a new UnsealParams object with the default values initialized.

func NewUnsealParamsWithContext

func NewUnsealParamsWithContext(ctx context.Context) *UnsealParams

NewUnsealParamsWithContext creates a new UnsealParams object with the default values initialized, and the ability to set a context for a request

func NewUnsealParamsWithHTTPClient

func NewUnsealParamsWithHTTPClient(client *http.Client) *UnsealParams

NewUnsealParamsWithHTTPClient creates a new UnsealParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUnsealParamsWithTimeout

func NewUnsealParamsWithTimeout(timeout time.Duration) *UnsealParams

NewUnsealParamsWithTimeout creates a new UnsealParams object with the default values initialized, and the ability to set a timeout on a request

func (*UnsealParams) SetBody

SetBody adds the body to the unseal params

func (*UnsealParams) SetClusterID

func (o *UnsealParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the unseal params

func (*UnsealParams) SetContext

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

SetContext adds the context to the unseal params

func (*UnsealParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unseal params

func (*UnsealParams) SetLocationOrganizationID

func (o *UnsealParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the unseal params

func (*UnsealParams) SetLocationProjectID

func (o *UnsealParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the unseal params

func (*UnsealParams) SetTimeout

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

SetTimeout adds the timeout to the unseal params

func (*UnsealParams) WithBody

WithBody adds the body to the unseal params

func (*UnsealParams) WithClusterID

func (o *UnsealParams) WithClusterID(clusterID string) *UnsealParams

WithClusterID adds the clusterID to the unseal params

func (*UnsealParams) WithContext

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

WithContext adds the context to the unseal params

func (*UnsealParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the unseal params

func (*UnsealParams) WithLocationOrganizationID

func (o *UnsealParams) WithLocationOrganizationID(locationOrganizationID string) *UnsealParams

WithLocationOrganizationID adds the locationOrganizationID to the unseal params

func (*UnsealParams) WithLocationProjectID

func (o *UnsealParams) WithLocationProjectID(locationProjectID string) *UnsealParams

WithLocationProjectID adds the locationProjectID to the unseal params

func (*UnsealParams) WithTimeout

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

WithTimeout adds the timeout to the unseal params

func (*UnsealParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UnsealReader

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

UnsealReader is a Reader for the Unseal structure.

func (*UnsealReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCORSConfigDefault

type UpdateCORSConfigDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

UpdateCORSConfigDefault handles this case with default header values.

An unexpected error response.

func NewUpdateCORSConfigDefault

func NewUpdateCORSConfigDefault(code int) *UpdateCORSConfigDefault

NewUpdateCORSConfigDefault creates a UpdateCORSConfigDefault with default headers values

func (*UpdateCORSConfigDefault) Code

func (o *UpdateCORSConfigDefault) Code() int

Code gets the status code for the update c o r s config default response

func (*UpdateCORSConfigDefault) Error

func (o *UpdateCORSConfigDefault) Error() string

func (*UpdateCORSConfigDefault) GetPayload

type UpdateCORSConfigOK

type UpdateCORSConfigOK struct {
	Payload models.HashicorpCloudVault20201125UpdateCORSConfigResponse
}

UpdateCORSConfigOK handles this case with default header values.

A successful response.

func NewUpdateCORSConfigOK

func NewUpdateCORSConfigOK() *UpdateCORSConfigOK

NewUpdateCORSConfigOK creates a UpdateCORSConfigOK with default headers values

func (*UpdateCORSConfigOK) Error

func (o *UpdateCORSConfigOK) Error() string

type UpdateCORSConfigParams

type UpdateCORSConfigParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125UpdateCORSConfigRequest
	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

UpdateCORSConfigParams contains all the parameters to send to the API endpoint for the update c o r s config operation typically these are written to a http.Request

func NewUpdateCORSConfigParams

func NewUpdateCORSConfigParams() *UpdateCORSConfigParams

NewUpdateCORSConfigParams creates a new UpdateCORSConfigParams object with the default values initialized.

func NewUpdateCORSConfigParamsWithContext

func NewUpdateCORSConfigParamsWithContext(ctx context.Context) *UpdateCORSConfigParams

NewUpdateCORSConfigParamsWithContext creates a new UpdateCORSConfigParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateCORSConfigParamsWithHTTPClient

func NewUpdateCORSConfigParamsWithHTTPClient(client *http.Client) *UpdateCORSConfigParams

NewUpdateCORSConfigParamsWithHTTPClient creates a new UpdateCORSConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateCORSConfigParamsWithTimeout

func NewUpdateCORSConfigParamsWithTimeout(timeout time.Duration) *UpdateCORSConfigParams

NewUpdateCORSConfigParamsWithTimeout creates a new UpdateCORSConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateCORSConfigParams) SetBody

SetBody adds the body to the update c o r s config params

func (*UpdateCORSConfigParams) SetClusterID

func (o *UpdateCORSConfigParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update c o r s config params

func (*UpdateCORSConfigParams) SetContext

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

SetContext adds the context to the update c o r s config params

func (*UpdateCORSConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update c o r s config params

func (*UpdateCORSConfigParams) SetLocationOrganizationID

func (o *UpdateCORSConfigParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the update c o r s config params

func (*UpdateCORSConfigParams) SetLocationProjectID

func (o *UpdateCORSConfigParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the update c o r s config params

func (*UpdateCORSConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update c o r s config params

func (*UpdateCORSConfigParams) WithBody

WithBody adds the body to the update c o r s config params

func (*UpdateCORSConfigParams) WithClusterID

func (o *UpdateCORSConfigParams) WithClusterID(clusterID string) *UpdateCORSConfigParams

WithClusterID adds the clusterID to the update c o r s config params

func (*UpdateCORSConfigParams) WithContext

WithContext adds the context to the update c o r s config params

func (*UpdateCORSConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update c o r s config params

func (*UpdateCORSConfigParams) WithLocationOrganizationID

func (o *UpdateCORSConfigParams) WithLocationOrganizationID(locationOrganizationID string) *UpdateCORSConfigParams

WithLocationOrganizationID adds the locationOrganizationID to the update c o r s config params

func (*UpdateCORSConfigParams) WithLocationProjectID

func (o *UpdateCORSConfigParams) WithLocationProjectID(locationProjectID string) *UpdateCORSConfigParams

WithLocationProjectID adds the locationProjectID to the update c o r s config params

func (*UpdateCORSConfigParams) WithTimeout

WithTimeout adds the timeout to the update c o r s config params

func (*UpdateCORSConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCORSConfigReader

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

UpdateCORSConfigReader is a Reader for the UpdateCORSConfig structure.

func (*UpdateCORSConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePublicIpsDefault

type UpdatePublicIpsDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

UpdatePublicIpsDefault handles this case with default header values.

An unexpected error response.

func NewUpdatePublicIpsDefault

func NewUpdatePublicIpsDefault(code int) *UpdatePublicIpsDefault

NewUpdatePublicIpsDefault creates a UpdatePublicIpsDefault with default headers values

func (*UpdatePublicIpsDefault) Code

func (o *UpdatePublicIpsDefault) Code() int

Code gets the status code for the update public ips default response

func (*UpdatePublicIpsDefault) Error

func (o *UpdatePublicIpsDefault) Error() string

func (*UpdatePublicIpsDefault) GetPayload

type UpdatePublicIpsOK

type UpdatePublicIpsOK struct {
	Payload *models.HashicorpCloudVault20201125UpdatePublicIpsResponse
}

UpdatePublicIpsOK handles this case with default header values.

A successful response.

func NewUpdatePublicIpsOK

func NewUpdatePublicIpsOK() *UpdatePublicIpsOK

NewUpdatePublicIpsOK creates a UpdatePublicIpsOK with default headers values

func (*UpdatePublicIpsOK) Error

func (o *UpdatePublicIpsOK) Error() string

type UpdatePublicIpsParams

type UpdatePublicIpsParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125UpdatePublicIpsRequest
	/*ClusterID*/
	ClusterID string
	/*LocationOrganizationID
	  organization_id is the id of the organization.

	*/
	LocationOrganizationID string
	/*LocationProjectID
	  project_id is the projects id.

	*/
	LocationProjectID string

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

UpdatePublicIpsParams contains all the parameters to send to the API endpoint for the update public ips operation typically these are written to a http.Request

func NewUpdatePublicIpsParams

func NewUpdatePublicIpsParams() *UpdatePublicIpsParams

NewUpdatePublicIpsParams creates a new UpdatePublicIpsParams object with the default values initialized.

func NewUpdatePublicIpsParamsWithContext

func NewUpdatePublicIpsParamsWithContext(ctx context.Context) *UpdatePublicIpsParams

NewUpdatePublicIpsParamsWithContext creates a new UpdatePublicIpsParams object with the default values initialized, and the ability to set a context for a request

func NewUpdatePublicIpsParamsWithHTTPClient

func NewUpdatePublicIpsParamsWithHTTPClient(client *http.Client) *UpdatePublicIpsParams

NewUpdatePublicIpsParamsWithHTTPClient creates a new UpdatePublicIpsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdatePublicIpsParamsWithTimeout

func NewUpdatePublicIpsParamsWithTimeout(timeout time.Duration) *UpdatePublicIpsParams

NewUpdatePublicIpsParamsWithTimeout creates a new UpdatePublicIpsParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdatePublicIpsParams) SetBody

SetBody adds the body to the update public ips params

func (*UpdatePublicIpsParams) SetClusterID

func (o *UpdatePublicIpsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update public ips params

func (*UpdatePublicIpsParams) SetContext

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

SetContext adds the context to the update public ips params

func (*UpdatePublicIpsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update public ips params

func (*UpdatePublicIpsParams) SetLocationOrganizationID

func (o *UpdatePublicIpsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the update public ips params

func (*UpdatePublicIpsParams) SetLocationProjectID

func (o *UpdatePublicIpsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the update public ips params

func (*UpdatePublicIpsParams) SetTimeout

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

SetTimeout adds the timeout to the update public ips params

func (*UpdatePublicIpsParams) WithBody

WithBody adds the body to the update public ips params

func (*UpdatePublicIpsParams) WithClusterID

func (o *UpdatePublicIpsParams) WithClusterID(clusterID string) *UpdatePublicIpsParams

WithClusterID adds the clusterID to the update public ips params

func (*UpdatePublicIpsParams) WithContext

WithContext adds the context to the update public ips params

func (*UpdatePublicIpsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update public ips params

func (*UpdatePublicIpsParams) WithLocationOrganizationID

func (o *UpdatePublicIpsParams) WithLocationOrganizationID(locationOrganizationID string) *UpdatePublicIpsParams

WithLocationOrganizationID adds the locationOrganizationID to the update public ips params

func (*UpdatePublicIpsParams) WithLocationProjectID

func (o *UpdatePublicIpsParams) WithLocationProjectID(locationProjectID string) *UpdatePublicIpsParams

WithLocationProjectID adds the locationProjectID to the update public ips params

func (*UpdatePublicIpsParams) WithTimeout

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

WithTimeout adds the timeout to the update public ips params

func (*UpdatePublicIpsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePublicIpsReader

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

UpdatePublicIpsReader is a Reader for the UpdatePublicIps structure.

func (*UpdatePublicIpsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSnapshotDefault

type UpdateSnapshotDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// contains filtered or unexported fields
}

UpdateSnapshotDefault handles this case with default header values.

An unexpected error response.

func NewUpdateSnapshotDefault

func NewUpdateSnapshotDefault(code int) *UpdateSnapshotDefault

NewUpdateSnapshotDefault creates a UpdateSnapshotDefault with default headers values

func (*UpdateSnapshotDefault) Code

func (o *UpdateSnapshotDefault) Code() int

Code gets the status code for the update snapshot default response

func (*UpdateSnapshotDefault) Error

func (o *UpdateSnapshotDefault) Error() string

func (*UpdateSnapshotDefault) GetPayload

type UpdateSnapshotOK

type UpdateSnapshotOK struct {
	Payload *models.HashicorpCloudVault20201125UpdateSnapshotResponse
}

UpdateSnapshotOK handles this case with default header values.

A successful response.

func NewUpdateSnapshotOK

func NewUpdateSnapshotOK() *UpdateSnapshotOK

NewUpdateSnapshotOK creates a UpdateSnapshotOK with default headers values

func (*UpdateSnapshotOK) Error

func (o *UpdateSnapshotOK) Error() string

type UpdateSnapshotParams

type UpdateSnapshotParams struct {

	/*Body*/
	Body *models.HashicorpCloudVault20201125UpdateSnapshotRequest
	/*SnapshotLocationOrganizationID
	  organization_id is the id of the organization.

	*/
	SnapshotLocationOrganizationID string
	/*SnapshotLocationProjectID
	  project_id is the projects id.

	*/
	SnapshotLocationProjectID string
	/*SnapshotSnapshotID
	  snapshot_id is the snapshots UUID.

	*/
	SnapshotSnapshotID string

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

UpdateSnapshotParams contains all the parameters to send to the API endpoint for the update snapshot operation typically these are written to a http.Request

func NewUpdateSnapshotParams

func NewUpdateSnapshotParams() *UpdateSnapshotParams

NewUpdateSnapshotParams creates a new UpdateSnapshotParams object with the default values initialized.

func NewUpdateSnapshotParamsWithContext

func NewUpdateSnapshotParamsWithContext(ctx context.Context) *UpdateSnapshotParams

NewUpdateSnapshotParamsWithContext creates a new UpdateSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateSnapshotParamsWithHTTPClient

func NewUpdateSnapshotParamsWithHTTPClient(client *http.Client) *UpdateSnapshotParams

NewUpdateSnapshotParamsWithHTTPClient creates a new UpdateSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateSnapshotParamsWithTimeout

func NewUpdateSnapshotParamsWithTimeout(timeout time.Duration) *UpdateSnapshotParams

NewUpdateSnapshotParamsWithTimeout creates a new UpdateSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateSnapshotParams) SetBody

SetBody adds the body to the update snapshot params

func (*UpdateSnapshotParams) SetContext

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

SetContext adds the context to the update snapshot params

func (*UpdateSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update snapshot params

func (*UpdateSnapshotParams) SetSnapshotLocationOrganizationID

func (o *UpdateSnapshotParams) SetSnapshotLocationOrganizationID(snapshotLocationOrganizationID string)

SetSnapshotLocationOrganizationID adds the snapshotLocationOrganizationId to the update snapshot params

func (*UpdateSnapshotParams) SetSnapshotLocationProjectID

func (o *UpdateSnapshotParams) SetSnapshotLocationProjectID(snapshotLocationProjectID string)

SetSnapshotLocationProjectID adds the snapshotLocationProjectId to the update snapshot params

func (*UpdateSnapshotParams) SetSnapshotSnapshotID

func (o *UpdateSnapshotParams) SetSnapshotSnapshotID(snapshotSnapshotID string)

SetSnapshotSnapshotID adds the snapshotSnapshotId to the update snapshot params

func (*UpdateSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the update snapshot params

func (*UpdateSnapshotParams) WithBody

WithBody adds the body to the update snapshot params

func (*UpdateSnapshotParams) WithContext

WithContext adds the context to the update snapshot params

func (*UpdateSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update snapshot params

func (*UpdateSnapshotParams) WithSnapshotLocationOrganizationID

func (o *UpdateSnapshotParams) WithSnapshotLocationOrganizationID(snapshotLocationOrganizationID string) *UpdateSnapshotParams

WithSnapshotLocationOrganizationID adds the snapshotLocationOrganizationID to the update snapshot params

func (*UpdateSnapshotParams) WithSnapshotLocationProjectID

func (o *UpdateSnapshotParams) WithSnapshotLocationProjectID(snapshotLocationProjectID string) *UpdateSnapshotParams

WithSnapshotLocationProjectID adds the snapshotLocationProjectID to the update snapshot params

func (*UpdateSnapshotParams) WithSnapshotSnapshotID

func (o *UpdateSnapshotParams) WithSnapshotSnapshotID(snapshotSnapshotID string) *UpdateSnapshotParams

WithSnapshotSnapshotID adds the snapshotSnapshotID to the update snapshot params

func (*UpdateSnapshotParams) WithTimeout

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

WithTimeout adds the timeout to the update snapshot params

func (*UpdateSnapshotParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateSnapshotReader

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

UpdateSnapshotReader is a Reader for the UpdateSnapshot structure.

func (*UpdateSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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