Documentation ¶
Index ¶
- type Client
- func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOK, error)
- func (a *Client) CreateSnapshot(params *CreateSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSnapshotOK, error)
- func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOK, error)
- func (a *Client) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSnapshotOK, error)
- func (a *Client) DisableCORS(params *DisableCORSParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DisableCORSOK, error)
- func (a *Client) FetchAuditLog(params *FetchAuditLogParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FetchAuditLogOK, error)
- func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)
- func (a *Client) GetAdminToken(params *GetAdminTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAdminTokenOK, error)
- func (a *Client) GetAuditLogStatus(params *GetAuditLogStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAuditLogStatusOK, error)
- func (a *Client) GetCORSConfig(params *GetCORSConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCORSConfigOK, error)
- func (a *Client) GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSnapshotOK, error)
- func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOK, error)
- func (a *Client) ListSnapshots(params *ListSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSnapshotsOK, error)
- func (a *Client) RestoreSnapshot(params *RestoreSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestoreSnapshotOK, error)
- func (a *Client) Seal(params *SealParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SealOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Unseal(params *UnsealParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnsealOK, error)
- func (a *Client) UpdateCORSConfig(params *UpdateCORSConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCORSConfigOK, error)
- func (a *Client) UpdatePublicIps(params *UpdatePublicIpsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePublicIpsOK, error)
- func (a *Client) UpdateSnapshot(params *UpdateSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSnapshotOK, error)
- type ClientOption
- type ClientService
- type CreateDefault
- func (o *CreateDefault) Code() int
- func (o *CreateDefault) Error() string
- func (o *CreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateDefault) IsClientError() bool
- func (o *CreateDefault) IsCode(code int) bool
- func (o *CreateDefault) IsRedirect() bool
- func (o *CreateDefault) IsServerError() bool
- func (o *CreateDefault) IsSuccess() bool
- func (o *CreateDefault) String() string
- type CreateOK
- func (o *CreateOK) Error() string
- func (o *CreateOK) GetPayload() *models.HashicorpCloudVault20200420CreateResponse
- func (o *CreateOK) IsClientError() bool
- func (o *CreateOK) IsCode(code int) bool
- func (o *CreateOK) IsRedirect() bool
- func (o *CreateOK) IsServerError() bool
- func (o *CreateOK) IsSuccess() bool
- func (o *CreateOK) String() string
- type CreateParams
- func (o *CreateParams) SetBody(body *models.HashicorpCloudVault20200420CreateRequest)
- func (o *CreateParams) SetClusterLocationOrganizationID(clusterLocationOrganizationID string)
- func (o *CreateParams) SetClusterLocationProjectID(clusterLocationProjectID string)
- func (o *CreateParams) SetContext(ctx context.Context)
- func (o *CreateParams) SetDefaults()
- func (o *CreateParams) SetHTTPClient(client *http.Client)
- func (o *CreateParams) SetTimeout(timeout time.Duration)
- func (o *CreateParams) WithBody(body *models.HashicorpCloudVault20200420CreateRequest) *CreateParams
- func (o *CreateParams) WithClusterLocationOrganizationID(clusterLocationOrganizationID string) *CreateParams
- func (o *CreateParams) WithClusterLocationProjectID(clusterLocationProjectID string) *CreateParams
- func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
- func (o *CreateParams) WithDefaults() *CreateParams
- func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
- func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
- func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReader
- type CreateSnapshotDefault
- func (o *CreateSnapshotDefault) Code() int
- func (o *CreateSnapshotDefault) Error() string
- func (o *CreateSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateSnapshotDefault) IsClientError() bool
- func (o *CreateSnapshotDefault) IsCode(code int) bool
- func (o *CreateSnapshotDefault) IsRedirect() bool
- func (o *CreateSnapshotDefault) IsServerError() bool
- func (o *CreateSnapshotDefault) IsSuccess() bool
- func (o *CreateSnapshotDefault) String() string
- type CreateSnapshotOK
- func (o *CreateSnapshotOK) Error() string
- func (o *CreateSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420CreateSnapshotResponse
- func (o *CreateSnapshotOK) IsClientError() bool
- func (o *CreateSnapshotOK) IsCode(code int) bool
- func (o *CreateSnapshotOK) IsRedirect() bool
- func (o *CreateSnapshotOK) IsServerError() bool
- func (o *CreateSnapshotOK) IsSuccess() bool
- func (o *CreateSnapshotOK) String() string
- type CreateSnapshotParams
- func NewCreateSnapshotParams() *CreateSnapshotParams
- func NewCreateSnapshotParamsWithContext(ctx context.Context) *CreateSnapshotParams
- func NewCreateSnapshotParamsWithHTTPClient(client *http.Client) *CreateSnapshotParams
- func NewCreateSnapshotParamsWithTimeout(timeout time.Duration) *CreateSnapshotParams
- func (o *CreateSnapshotParams) SetBody(body *models.HashicorpCloudVault20200420CreateSnapshotRequest)
- func (o *CreateSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateSnapshotParams) SetDefaults()
- func (o *CreateSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateSnapshotParams) SetResourceLocationOrganizationID(resourceLocationOrganizationID string)
- func (o *CreateSnapshotParams) SetResourceLocationProjectID(resourceLocationProjectID string)
- func (o *CreateSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateSnapshotParams) WithBody(body *models.HashicorpCloudVault20200420CreateSnapshotRequest) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithContext(ctx context.Context) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithDefaults() *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithHTTPClient(client *http.Client) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithResourceLocationOrganizationID(resourceLocationOrganizationID string) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithResourceLocationProjectID(resourceLocationProjectID string) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithTimeout(timeout time.Duration) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSnapshotReader
- type DeleteDefault
- func (o *DeleteDefault) Code() int
- func (o *DeleteDefault) Error() string
- func (o *DeleteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeleteDefault) IsClientError() bool
- func (o *DeleteDefault) IsCode(code int) bool
- func (o *DeleteDefault) IsRedirect() bool
- func (o *DeleteDefault) IsServerError() bool
- func (o *DeleteDefault) IsSuccess() bool
- func (o *DeleteDefault) String() string
- type DeleteOK
- func (o *DeleteOK) Error() string
- func (o *DeleteOK) GetPayload() *models.HashicorpCloudVault20200420DeleteResponse
- func (o *DeleteOK) IsClientError() bool
- func (o *DeleteOK) IsCode(code int) bool
- func (o *DeleteOK) IsRedirect() bool
- func (o *DeleteOK) IsServerError() bool
- func (o *DeleteOK) IsSuccess() bool
- func (o *DeleteOK) String() string
- type DeleteParams
- func (o *DeleteParams) SetClusterID(clusterID string)
- func (o *DeleteParams) SetContext(ctx context.Context)
- func (o *DeleteParams) SetDefaults()
- func (o *DeleteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DeleteParams) SetLocationProjectID(locationProjectID string)
- func (o *DeleteParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeleteParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeleteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteParams) WithClusterID(clusterID string) *DeleteParams
- func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
- func (o *DeleteParams) WithDefaults() *DeleteParams
- func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
- func (o *DeleteParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteParams
- func (o *DeleteParams) WithLocationProjectID(locationProjectID string) *DeleteParams
- func (o *DeleteParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteParams
- func (o *DeleteParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteParams
- func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
- func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReader
- type DeleteSnapshotDefault
- func (o *DeleteSnapshotDefault) Code() int
- func (o *DeleteSnapshotDefault) Error() string
- func (o *DeleteSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeleteSnapshotDefault) IsClientError() bool
- func (o *DeleteSnapshotDefault) IsCode(code int) bool
- func (o *DeleteSnapshotDefault) IsRedirect() bool
- func (o *DeleteSnapshotDefault) IsServerError() bool
- func (o *DeleteSnapshotDefault) IsSuccess() bool
- func (o *DeleteSnapshotDefault) String() string
- type DeleteSnapshotOK
- func (o *DeleteSnapshotOK) Error() string
- func (o *DeleteSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420DeleteSnapshotResponse
- func (o *DeleteSnapshotOK) IsClientError() bool
- func (o *DeleteSnapshotOK) IsCode(code int) bool
- func (o *DeleteSnapshotOK) IsRedirect() bool
- func (o *DeleteSnapshotOK) IsServerError() bool
- func (o *DeleteSnapshotOK) IsSuccess() bool
- func (o *DeleteSnapshotOK) String() string
- type DeleteSnapshotParams
- func NewDeleteSnapshotParams() *DeleteSnapshotParams
- func NewDeleteSnapshotParamsWithContext(ctx context.Context) *DeleteSnapshotParams
- func NewDeleteSnapshotParamsWithHTTPClient(client *http.Client) *DeleteSnapshotParams
- func NewDeleteSnapshotParamsWithTimeout(timeout time.Duration) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteSnapshotParams) SetDefaults()
- func (o *DeleteSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSnapshotParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DeleteSnapshotParams) SetLocationProjectID(locationProjectID string)
- func (o *DeleteSnapshotParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeleteSnapshotParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeleteSnapshotParams) SetSnapshotID(snapshotID string)
- func (o *DeleteSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSnapshotParams) WithContext(ctx context.Context) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithDefaults() *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithHTTPClient(client *http.Client) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithLocationProjectID(locationProjectID string) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithSnapshotID(snapshotID string) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WithTimeout(timeout time.Duration) *DeleteSnapshotParams
- func (o *DeleteSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSnapshotReader
- type DisableCORSDefault
- func (o *DisableCORSDefault) Code() int
- func (o *DisableCORSDefault) Error() string
- func (o *DisableCORSDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DisableCORSDefault) IsClientError() bool
- func (o *DisableCORSDefault) IsCode(code int) bool
- func (o *DisableCORSDefault) IsRedirect() bool
- func (o *DisableCORSDefault) IsServerError() bool
- func (o *DisableCORSDefault) IsSuccess() bool
- func (o *DisableCORSDefault) String() string
- type DisableCORSOK
- func (o *DisableCORSOK) Error() string
- func (o *DisableCORSOK) GetPayload() models.HashicorpCloudVault20200420DisableCORSResponse
- func (o *DisableCORSOK) IsClientError() bool
- func (o *DisableCORSOK) IsCode(code int) bool
- func (o *DisableCORSOK) IsRedirect() bool
- func (o *DisableCORSOK) IsServerError() bool
- func (o *DisableCORSOK) IsSuccess() bool
- func (o *DisableCORSOK) String() string
- type DisableCORSParams
- func (o *DisableCORSParams) SetClusterID(clusterID string)
- func (o *DisableCORSParams) SetContext(ctx context.Context)
- func (o *DisableCORSParams) SetDefaults()
- func (o *DisableCORSParams) SetHTTPClient(client *http.Client)
- func (o *DisableCORSParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DisableCORSParams) SetLocationProjectID(locationProjectID string)
- func (o *DisableCORSParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DisableCORSParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DisableCORSParams) SetTimeout(timeout time.Duration)
- func (o *DisableCORSParams) WithClusterID(clusterID string) *DisableCORSParams
- func (o *DisableCORSParams) WithContext(ctx context.Context) *DisableCORSParams
- func (o *DisableCORSParams) WithDefaults() *DisableCORSParams
- func (o *DisableCORSParams) WithHTTPClient(client *http.Client) *DisableCORSParams
- func (o *DisableCORSParams) WithLocationOrganizationID(locationOrganizationID string) *DisableCORSParams
- func (o *DisableCORSParams) WithLocationProjectID(locationProjectID string) *DisableCORSParams
- func (o *DisableCORSParams) WithLocationRegionProvider(locationRegionProvider *string) *DisableCORSParams
- func (o *DisableCORSParams) WithLocationRegionRegion(locationRegionRegion *string) *DisableCORSParams
- func (o *DisableCORSParams) WithTimeout(timeout time.Duration) *DisableCORSParams
- func (o *DisableCORSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableCORSReader
- type FetchAuditLogDefault
- func (o *FetchAuditLogDefault) Code() int
- func (o *FetchAuditLogDefault) Error() string
- func (o *FetchAuditLogDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *FetchAuditLogDefault) IsClientError() bool
- func (o *FetchAuditLogDefault) IsCode(code int) bool
- func (o *FetchAuditLogDefault) IsRedirect() bool
- func (o *FetchAuditLogDefault) IsServerError() bool
- func (o *FetchAuditLogDefault) IsSuccess() bool
- func (o *FetchAuditLogDefault) String() string
- type FetchAuditLogOK
- func (o *FetchAuditLogOK) Error() string
- func (o *FetchAuditLogOK) GetPayload() *models.HashicorpCloudVault20200420FetchAuditLogResponse
- func (o *FetchAuditLogOK) IsClientError() bool
- func (o *FetchAuditLogOK) IsCode(code int) bool
- func (o *FetchAuditLogOK) IsRedirect() bool
- func (o *FetchAuditLogOK) IsServerError() bool
- func (o *FetchAuditLogOK) IsSuccess() bool
- func (o *FetchAuditLogOK) String() string
- type FetchAuditLogParams
- func (o *FetchAuditLogParams) SetBody(body *models.HashicorpCloudVault20200420FetchAuditLogRequest)
- func (o *FetchAuditLogParams) SetClusterID(clusterID string)
- func (o *FetchAuditLogParams) SetContext(ctx context.Context)
- func (o *FetchAuditLogParams) SetDefaults()
- func (o *FetchAuditLogParams) SetHTTPClient(client *http.Client)
- func (o *FetchAuditLogParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *FetchAuditLogParams) SetLocationProjectID(locationProjectID string)
- func (o *FetchAuditLogParams) SetTimeout(timeout time.Duration)
- func (o *FetchAuditLogParams) WithBody(body *models.HashicorpCloudVault20200420FetchAuditLogRequest) *FetchAuditLogParams
- func (o *FetchAuditLogParams) WithClusterID(clusterID string) *FetchAuditLogParams
- func (o *FetchAuditLogParams) WithContext(ctx context.Context) *FetchAuditLogParams
- func (o *FetchAuditLogParams) WithDefaults() *FetchAuditLogParams
- func (o *FetchAuditLogParams) WithHTTPClient(client *http.Client) *FetchAuditLogParams
- func (o *FetchAuditLogParams) WithLocationOrganizationID(locationOrganizationID string) *FetchAuditLogParams
- func (o *FetchAuditLogParams) WithLocationProjectID(locationProjectID string) *FetchAuditLogParams
- func (o *FetchAuditLogParams) WithTimeout(timeout time.Duration) *FetchAuditLogParams
- func (o *FetchAuditLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FetchAuditLogReader
- type GetAdminTokenDefault
- func (o *GetAdminTokenDefault) Code() int
- func (o *GetAdminTokenDefault) Error() string
- func (o *GetAdminTokenDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetAdminTokenDefault) IsClientError() bool
- func (o *GetAdminTokenDefault) IsCode(code int) bool
- func (o *GetAdminTokenDefault) IsRedirect() bool
- func (o *GetAdminTokenDefault) IsServerError() bool
- func (o *GetAdminTokenDefault) IsSuccess() bool
- func (o *GetAdminTokenDefault) String() string
- type GetAdminTokenOK
- func (o *GetAdminTokenOK) Error() string
- func (o *GetAdminTokenOK) GetPayload() *models.HashicorpCloudVault20200420GetAdminTokenResponse
- func (o *GetAdminTokenOK) IsClientError() bool
- func (o *GetAdminTokenOK) IsCode(code int) bool
- func (o *GetAdminTokenOK) IsRedirect() bool
- func (o *GetAdminTokenOK) IsServerError() bool
- func (o *GetAdminTokenOK) IsSuccess() bool
- func (o *GetAdminTokenOK) String() string
- type GetAdminTokenParams
- func (o *GetAdminTokenParams) SetClusterID(clusterID string)
- func (o *GetAdminTokenParams) SetContext(ctx context.Context)
- func (o *GetAdminTokenParams) SetDefaults()
- func (o *GetAdminTokenParams) SetHTTPClient(client *http.Client)
- func (o *GetAdminTokenParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetAdminTokenParams) SetLocationProjectID(locationProjectID string)
- func (o *GetAdminTokenParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetAdminTokenParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetAdminTokenParams) SetTimeout(timeout time.Duration)
- func (o *GetAdminTokenParams) WithClusterID(clusterID string) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithContext(ctx context.Context) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithDefaults() *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithHTTPClient(client *http.Client) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithLocationOrganizationID(locationOrganizationID string) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithLocationProjectID(locationProjectID string) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithLocationRegionProvider(locationRegionProvider *string) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithLocationRegionRegion(locationRegionRegion *string) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WithTimeout(timeout time.Duration) *GetAdminTokenParams
- func (o *GetAdminTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAdminTokenReader
- type GetAuditLogStatusDefault
- func (o *GetAuditLogStatusDefault) Code() int
- func (o *GetAuditLogStatusDefault) Error() string
- func (o *GetAuditLogStatusDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetAuditLogStatusDefault) IsClientError() bool
- func (o *GetAuditLogStatusDefault) IsCode(code int) bool
- func (o *GetAuditLogStatusDefault) IsRedirect() bool
- func (o *GetAuditLogStatusDefault) IsServerError() bool
- func (o *GetAuditLogStatusDefault) IsSuccess() bool
- func (o *GetAuditLogStatusDefault) String() string
- type GetAuditLogStatusOK
- func (o *GetAuditLogStatusOK) Error() string
- func (o *GetAuditLogStatusOK) GetPayload() *models.HashicorpCloudVault20200420GetAuditLogStatusResponse
- func (o *GetAuditLogStatusOK) IsClientError() bool
- func (o *GetAuditLogStatusOK) IsCode(code int) bool
- func (o *GetAuditLogStatusOK) IsRedirect() bool
- func (o *GetAuditLogStatusOK) IsServerError() bool
- func (o *GetAuditLogStatusOK) IsSuccess() bool
- func (o *GetAuditLogStatusOK) String() string
- type GetAuditLogStatusParams
- func NewGetAuditLogStatusParams() *GetAuditLogStatusParams
- func NewGetAuditLogStatusParamsWithContext(ctx context.Context) *GetAuditLogStatusParams
- func NewGetAuditLogStatusParamsWithHTTPClient(client *http.Client) *GetAuditLogStatusParams
- func NewGetAuditLogStatusParamsWithTimeout(timeout time.Duration) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) SetClusterID(clusterID string)
- func (o *GetAuditLogStatusParams) SetContext(ctx context.Context)
- func (o *GetAuditLogStatusParams) SetDefaults()
- func (o *GetAuditLogStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetAuditLogStatusParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetAuditLogStatusParams) SetLocationProjectID(locationProjectID string)
- func (o *GetAuditLogStatusParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetAuditLogStatusParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetAuditLogStatusParams) SetLogID(logID string)
- func (o *GetAuditLogStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetAuditLogStatusParams) WithClusterID(clusterID string) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithContext(ctx context.Context) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithDefaults() *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithHTTPClient(client *http.Client) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithLocationOrganizationID(locationOrganizationID string) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithLocationProjectID(locationProjectID string) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithLocationRegionProvider(locationRegionProvider *string) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithLocationRegionRegion(locationRegionRegion *string) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithLogID(logID string) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WithTimeout(timeout time.Duration) *GetAuditLogStatusParams
- func (o *GetAuditLogStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuditLogStatusReader
- type GetCORSConfigDefault
- func (o *GetCORSConfigDefault) Code() int
- func (o *GetCORSConfigDefault) Error() string
- func (o *GetCORSConfigDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetCORSConfigDefault) IsClientError() bool
- func (o *GetCORSConfigDefault) IsCode(code int) bool
- func (o *GetCORSConfigDefault) IsRedirect() bool
- func (o *GetCORSConfigDefault) IsServerError() bool
- func (o *GetCORSConfigDefault) IsSuccess() bool
- func (o *GetCORSConfigDefault) String() string
- type GetCORSConfigOK
- func (o *GetCORSConfigOK) Error() string
- func (o *GetCORSConfigOK) GetPayload() *models.HashicorpCloudVault20200420GetCORSConfigResponse
- func (o *GetCORSConfigOK) IsClientError() bool
- func (o *GetCORSConfigOK) IsCode(code int) bool
- func (o *GetCORSConfigOK) IsRedirect() bool
- func (o *GetCORSConfigOK) IsServerError() bool
- func (o *GetCORSConfigOK) IsSuccess() bool
- func (o *GetCORSConfigOK) String() string
- type GetCORSConfigParams
- func (o *GetCORSConfigParams) SetClusterID(clusterID string)
- func (o *GetCORSConfigParams) SetContext(ctx context.Context)
- func (o *GetCORSConfigParams) SetDefaults()
- func (o *GetCORSConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetCORSConfigParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetCORSConfigParams) SetLocationProjectID(locationProjectID string)
- func (o *GetCORSConfigParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetCORSConfigParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetCORSConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetCORSConfigParams) WithClusterID(clusterID string) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithContext(ctx context.Context) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithDefaults() *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithHTTPClient(client *http.Client) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithLocationOrganizationID(locationOrganizationID string) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithLocationProjectID(locationProjectID string) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithLocationRegionProvider(locationRegionProvider *string) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithLocationRegionRegion(locationRegionRegion *string) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WithTimeout(timeout time.Duration) *GetCORSConfigParams
- func (o *GetCORSConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCORSConfigReader
- type GetDefault
- func (o *GetDefault) Code() int
- func (o *GetDefault) Error() string
- func (o *GetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetDefault) IsClientError() bool
- func (o *GetDefault) IsCode(code int) bool
- func (o *GetDefault) IsRedirect() bool
- func (o *GetDefault) IsServerError() bool
- func (o *GetDefault) IsSuccess() bool
- func (o *GetDefault) String() string
- type GetOK
- func (o *GetOK) Error() string
- func (o *GetOK) GetPayload() *models.HashicorpCloudVault20200420GetResponse
- func (o *GetOK) IsClientError() bool
- func (o *GetOK) IsCode(code int) bool
- func (o *GetOK) IsRedirect() bool
- func (o *GetOK) IsServerError() bool
- func (o *GetOK) IsSuccess() bool
- func (o *GetOK) String() string
- type GetParams
- func (o *GetParams) SetClusterID(clusterID string)
- func (o *GetParams) SetContext(ctx context.Context)
- func (o *GetParams) SetDefaults()
- func (o *GetParams) SetHTTPClient(client *http.Client)
- func (o *GetParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetParams) SetLocationProjectID(locationProjectID string)
- func (o *GetParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetParams) SetTimeout(timeout time.Duration)
- func (o *GetParams) WithClusterID(clusterID string) *GetParams
- func (o *GetParams) WithContext(ctx context.Context) *GetParams
- func (o *GetParams) WithDefaults() *GetParams
- func (o *GetParams) WithHTTPClient(client *http.Client) *GetParams
- func (o *GetParams) WithLocationOrganizationID(locationOrganizationID string) *GetParams
- func (o *GetParams) WithLocationProjectID(locationProjectID string) *GetParams
- func (o *GetParams) WithLocationRegionProvider(locationRegionProvider *string) *GetParams
- func (o *GetParams) WithLocationRegionRegion(locationRegionRegion *string) *GetParams
- func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams
- func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReader
- type GetSnapshotDefault
- func (o *GetSnapshotDefault) Code() int
- func (o *GetSnapshotDefault) Error() string
- func (o *GetSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetSnapshotDefault) IsClientError() bool
- func (o *GetSnapshotDefault) IsCode(code int) bool
- func (o *GetSnapshotDefault) IsRedirect() bool
- func (o *GetSnapshotDefault) IsServerError() bool
- func (o *GetSnapshotDefault) IsSuccess() bool
- func (o *GetSnapshotDefault) String() string
- type GetSnapshotOK
- func (o *GetSnapshotOK) Error() string
- func (o *GetSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420GetSnapshotResponse
- func (o *GetSnapshotOK) IsClientError() bool
- func (o *GetSnapshotOK) IsCode(code int) bool
- func (o *GetSnapshotOK) IsRedirect() bool
- func (o *GetSnapshotOK) IsServerError() bool
- func (o *GetSnapshotOK) IsSuccess() bool
- func (o *GetSnapshotOK) String() string
- type GetSnapshotParams
- func (o *GetSnapshotParams) SetContext(ctx context.Context)
- func (o *GetSnapshotParams) SetDefaults()
- func (o *GetSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetSnapshotParams) SetLocationProjectID(locationProjectID string)
- func (o *GetSnapshotParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetSnapshotParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetSnapshotParams) SetSnapshotID(snapshotID string)
- func (o *GetSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotParams) WithContext(ctx context.Context) *GetSnapshotParams
- func (o *GetSnapshotParams) WithDefaults() *GetSnapshotParams
- func (o *GetSnapshotParams) WithHTTPClient(client *http.Client) *GetSnapshotParams
- func (o *GetSnapshotParams) WithLocationOrganizationID(locationOrganizationID string) *GetSnapshotParams
- func (o *GetSnapshotParams) WithLocationProjectID(locationProjectID string) *GetSnapshotParams
- func (o *GetSnapshotParams) WithLocationRegionProvider(locationRegionProvider *string) *GetSnapshotParams
- func (o *GetSnapshotParams) WithLocationRegionRegion(locationRegionRegion *string) *GetSnapshotParams
- func (o *GetSnapshotParams) WithSnapshotID(snapshotID string) *GetSnapshotParams
- func (o *GetSnapshotParams) WithTimeout(timeout time.Duration) *GetSnapshotParams
- func (o *GetSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotReader
- type ListDefault
- func (o *ListDefault) Code() int
- func (o *ListDefault) Error() string
- func (o *ListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListDefault) IsClientError() bool
- func (o *ListDefault) IsCode(code int) bool
- func (o *ListDefault) IsRedirect() bool
- func (o *ListDefault) IsServerError() bool
- func (o *ListDefault) IsSuccess() bool
- func (o *ListDefault) String() string
- type ListOK
- func (o *ListOK) Error() string
- func (o *ListOK) GetPayload() *models.HashicorpCloudVault20200420ListResponse
- func (o *ListOK) IsClientError() bool
- func (o *ListOK) IsCode(code int) bool
- func (o *ListOK) IsRedirect() bool
- func (o *ListOK) IsServerError() bool
- func (o *ListOK) IsSuccess() bool
- func (o *ListOK) String() string
- type ListParams
- func (o *ListParams) SetContext(ctx context.Context)
- func (o *ListParams) SetDefaults()
- func (o *ListParams) SetHTTPClient(client *http.Client)
- func (o *ListParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListParams) SetLocationProjectID(locationProjectID string)
- func (o *ListParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListParams) SetTimeout(timeout time.Duration)
- func (o *ListParams) WithContext(ctx context.Context) *ListParams
- func (o *ListParams) WithDefaults() *ListParams
- func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
- func (o *ListParams) WithLocationOrganizationID(locationOrganizationID string) *ListParams
- func (o *ListParams) WithLocationProjectID(locationProjectID string) *ListParams
- func (o *ListParams) WithLocationRegionProvider(locationRegionProvider *string) *ListParams
- func (o *ListParams) WithLocationRegionRegion(locationRegionRegion *string) *ListParams
- func (o *ListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListParams
- func (o *ListParams) WithPaginationPageSize(paginationPageSize *int64) *ListParams
- func (o *ListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListParams
- func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
- func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReader
- type ListSnapshotsDefault
- func (o *ListSnapshotsDefault) Code() int
- func (o *ListSnapshotsDefault) Error() string
- func (o *ListSnapshotsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListSnapshotsDefault) IsClientError() bool
- func (o *ListSnapshotsDefault) IsCode(code int) bool
- func (o *ListSnapshotsDefault) IsRedirect() bool
- func (o *ListSnapshotsDefault) IsServerError() bool
- func (o *ListSnapshotsDefault) IsSuccess() bool
- func (o *ListSnapshotsDefault) String() string
- type ListSnapshotsOK
- func (o *ListSnapshotsOK) Error() string
- func (o *ListSnapshotsOK) GetPayload() *models.HashicorpCloudVault20200420ListSnapshotsResponse
- func (o *ListSnapshotsOK) IsClientError() bool
- func (o *ListSnapshotsOK) IsCode(code int) bool
- func (o *ListSnapshotsOK) IsRedirect() bool
- func (o *ListSnapshotsOK) IsServerError() bool
- func (o *ListSnapshotsOK) IsSuccess() bool
- func (o *ListSnapshotsOK) String() string
- type ListSnapshotsParams
- func (o *ListSnapshotsParams) SetContext(ctx context.Context)
- func (o *ListSnapshotsParams) SetDefaults()
- func (o *ListSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *ListSnapshotsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListSnapshotsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListSnapshotsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListSnapshotsParams) SetResourceDescription(resourceDescription *string)
- func (o *ListSnapshotsParams) SetResourceID(resourceID *string)
- func (o *ListSnapshotsParams) SetResourceLocationOrganizationID(resourceLocationOrganizationID string)
- func (o *ListSnapshotsParams) SetResourceLocationProjectID(resourceLocationProjectID string)
- func (o *ListSnapshotsParams) SetResourceLocationRegionProvider(resourceLocationRegionProvider *string)
- func (o *ListSnapshotsParams) SetResourceLocationRegionRegion(resourceLocationRegionRegion *string)
- func (o *ListSnapshotsParams) SetResourceType(resourceType *string)
- func (o *ListSnapshotsParams) SetResourceUUID(resourceUUID *string)
- func (o *ListSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *ListSnapshotsParams) WithContext(ctx context.Context) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithDefaults() *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithHTTPClient(client *http.Client) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithPaginationPageSize(paginationPageSize *int64) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceDescription(resourceDescription *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceID(resourceID *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceLocationOrganizationID(resourceLocationOrganizationID string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceLocationProjectID(resourceLocationProjectID string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceLocationRegionProvider(resourceLocationRegionProvider *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceLocationRegionRegion(resourceLocationRegionRegion *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceType(resourceType *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithResourceUUID(resourceUUID *string) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WithTimeout(timeout time.Duration) *ListSnapshotsParams
- func (o *ListSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSnapshotsReader
- type RestoreSnapshotDefault
- func (o *RestoreSnapshotDefault) Code() int
- func (o *RestoreSnapshotDefault) Error() string
- func (o *RestoreSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *RestoreSnapshotDefault) IsClientError() bool
- func (o *RestoreSnapshotDefault) IsCode(code int) bool
- func (o *RestoreSnapshotDefault) IsRedirect() bool
- func (o *RestoreSnapshotDefault) IsServerError() bool
- func (o *RestoreSnapshotDefault) IsSuccess() bool
- func (o *RestoreSnapshotDefault) String() string
- type RestoreSnapshotOK
- func (o *RestoreSnapshotOK) Error() string
- func (o *RestoreSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420RestoreSnapshotResponse
- func (o *RestoreSnapshotOK) IsClientError() bool
- func (o *RestoreSnapshotOK) IsCode(code int) bool
- func (o *RestoreSnapshotOK) IsRedirect() bool
- func (o *RestoreSnapshotOK) IsServerError() bool
- func (o *RestoreSnapshotOK) IsSuccess() bool
- func (o *RestoreSnapshotOK) String() string
- type RestoreSnapshotParams
- func NewRestoreSnapshotParams() *RestoreSnapshotParams
- func NewRestoreSnapshotParamsWithContext(ctx context.Context) *RestoreSnapshotParams
- func NewRestoreSnapshotParamsWithHTTPClient(client *http.Client) *RestoreSnapshotParams
- func NewRestoreSnapshotParamsWithTimeout(timeout time.Duration) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) SetBody(body *models.HashicorpCloudVault20200420RestoreSnapshotRequest)
- func (o *RestoreSnapshotParams) SetClusterID(clusterID string)
- func (o *RestoreSnapshotParams) SetContext(ctx context.Context)
- func (o *RestoreSnapshotParams) SetDefaults()
- func (o *RestoreSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *RestoreSnapshotParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *RestoreSnapshotParams) SetLocationProjectID(locationProjectID string)
- func (o *RestoreSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *RestoreSnapshotParams) WithBody(body *models.HashicorpCloudVault20200420RestoreSnapshotRequest) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WithClusterID(clusterID string) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WithContext(ctx context.Context) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WithDefaults() *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WithHTTPClient(client *http.Client) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WithLocationOrganizationID(locationOrganizationID string) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WithLocationProjectID(locationProjectID string) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WithTimeout(timeout time.Duration) *RestoreSnapshotParams
- func (o *RestoreSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreSnapshotReader
- type SealDefault
- func (o *SealDefault) Code() int
- func (o *SealDefault) Error() string
- func (o *SealDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *SealDefault) IsClientError() bool
- func (o *SealDefault) IsCode(code int) bool
- func (o *SealDefault) IsRedirect() bool
- func (o *SealDefault) IsServerError() bool
- func (o *SealDefault) IsSuccess() bool
- func (o *SealDefault) String() string
- type SealOK
- func (o *SealOK) Error() string
- func (o *SealOK) GetPayload() *models.HashicorpCloudVault20200420SealResponse
- func (o *SealOK) IsClientError() bool
- func (o *SealOK) IsCode(code int) bool
- func (o *SealOK) IsRedirect() bool
- func (o *SealOK) IsServerError() bool
- func (o *SealOK) IsSuccess() bool
- func (o *SealOK) String() string
- type SealParams
- func (o *SealParams) SetBody(body *models.HashicorpCloudVault20200420SealRequest)
- func (o *SealParams) SetClusterID(clusterID string)
- func (o *SealParams) SetContext(ctx context.Context)
- func (o *SealParams) SetDefaults()
- func (o *SealParams) SetHTTPClient(client *http.Client)
- func (o *SealParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *SealParams) SetLocationProjectID(locationProjectID string)
- func (o *SealParams) SetTimeout(timeout time.Duration)
- func (o *SealParams) WithBody(body *models.HashicorpCloudVault20200420SealRequest) *SealParams
- func (o *SealParams) WithClusterID(clusterID string) *SealParams
- func (o *SealParams) WithContext(ctx context.Context) *SealParams
- func (o *SealParams) WithDefaults() *SealParams
- func (o *SealParams) WithHTTPClient(client *http.Client) *SealParams
- func (o *SealParams) WithLocationOrganizationID(locationOrganizationID string) *SealParams
- func (o *SealParams) WithLocationProjectID(locationProjectID string) *SealParams
- func (o *SealParams) WithTimeout(timeout time.Duration) *SealParams
- func (o *SealParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SealReader
- type UnsealDefault
- func (o *UnsealDefault) Code() int
- func (o *UnsealDefault) Error() string
- func (o *UnsealDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *UnsealDefault) IsClientError() bool
- func (o *UnsealDefault) IsCode(code int) bool
- func (o *UnsealDefault) IsRedirect() bool
- func (o *UnsealDefault) IsServerError() bool
- func (o *UnsealDefault) IsSuccess() bool
- func (o *UnsealDefault) String() string
- type UnsealOK
- func (o *UnsealOK) Error() string
- func (o *UnsealOK) GetPayload() *models.HashicorpCloudVault20200420UnsealResponse
- func (o *UnsealOK) IsClientError() bool
- func (o *UnsealOK) IsCode(code int) bool
- func (o *UnsealOK) IsRedirect() bool
- func (o *UnsealOK) IsServerError() bool
- func (o *UnsealOK) IsSuccess() bool
- func (o *UnsealOK) String() string
- type UnsealParams
- func (o *UnsealParams) SetBody(body *models.HashicorpCloudVault20200420UnsealRequest)
- func (o *UnsealParams) SetClusterID(clusterID string)
- func (o *UnsealParams) SetContext(ctx context.Context)
- func (o *UnsealParams) SetDefaults()
- func (o *UnsealParams) SetHTTPClient(client *http.Client)
- func (o *UnsealParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *UnsealParams) SetLocationProjectID(locationProjectID string)
- func (o *UnsealParams) SetTimeout(timeout time.Duration)
- func (o *UnsealParams) WithBody(body *models.HashicorpCloudVault20200420UnsealRequest) *UnsealParams
- func (o *UnsealParams) WithClusterID(clusterID string) *UnsealParams
- func (o *UnsealParams) WithContext(ctx context.Context) *UnsealParams
- func (o *UnsealParams) WithDefaults() *UnsealParams
- func (o *UnsealParams) WithHTTPClient(client *http.Client) *UnsealParams
- func (o *UnsealParams) WithLocationOrganizationID(locationOrganizationID string) *UnsealParams
- func (o *UnsealParams) WithLocationProjectID(locationProjectID string) *UnsealParams
- func (o *UnsealParams) WithTimeout(timeout time.Duration) *UnsealParams
- func (o *UnsealParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnsealReader
- type UpdateCORSConfigDefault
- func (o *UpdateCORSConfigDefault) Code() int
- func (o *UpdateCORSConfigDefault) Error() string
- func (o *UpdateCORSConfigDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *UpdateCORSConfigDefault) IsClientError() bool
- func (o *UpdateCORSConfigDefault) IsCode(code int) bool
- func (o *UpdateCORSConfigDefault) IsRedirect() bool
- func (o *UpdateCORSConfigDefault) IsServerError() bool
- func (o *UpdateCORSConfigDefault) IsSuccess() bool
- func (o *UpdateCORSConfigDefault) String() string
- type UpdateCORSConfigOK
- func (o *UpdateCORSConfigOK) Error() string
- func (o *UpdateCORSConfigOK) GetPayload() models.HashicorpCloudVault20200420UpdateCORSConfigResponse
- func (o *UpdateCORSConfigOK) IsClientError() bool
- func (o *UpdateCORSConfigOK) IsCode(code int) bool
- func (o *UpdateCORSConfigOK) IsRedirect() bool
- func (o *UpdateCORSConfigOK) IsServerError() bool
- func (o *UpdateCORSConfigOK) IsSuccess() bool
- func (o *UpdateCORSConfigOK) String() string
- type UpdateCORSConfigParams
- func NewUpdateCORSConfigParams() *UpdateCORSConfigParams
- func NewUpdateCORSConfigParamsWithContext(ctx context.Context) *UpdateCORSConfigParams
- func NewUpdateCORSConfigParamsWithHTTPClient(client *http.Client) *UpdateCORSConfigParams
- func NewUpdateCORSConfigParamsWithTimeout(timeout time.Duration) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) SetBody(body *models.HashicorpCloudVault20200420UpdateCORSConfigRequest)
- func (o *UpdateCORSConfigParams) SetClusterID(clusterID string)
- func (o *UpdateCORSConfigParams) SetContext(ctx context.Context)
- func (o *UpdateCORSConfigParams) SetDefaults()
- func (o *UpdateCORSConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCORSConfigParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *UpdateCORSConfigParams) SetLocationProjectID(locationProjectID string)
- func (o *UpdateCORSConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCORSConfigParams) WithBody(body *models.HashicorpCloudVault20200420UpdateCORSConfigRequest) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WithClusterID(clusterID string) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WithContext(ctx context.Context) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WithDefaults() *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WithHTTPClient(client *http.Client) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WithLocationOrganizationID(locationOrganizationID string) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WithLocationProjectID(locationProjectID string) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WithTimeout(timeout time.Duration) *UpdateCORSConfigParams
- func (o *UpdateCORSConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCORSConfigReader
- type UpdatePublicIpsDefault
- func (o *UpdatePublicIpsDefault) Code() int
- func (o *UpdatePublicIpsDefault) Error() string
- func (o *UpdatePublicIpsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *UpdatePublicIpsDefault) IsClientError() bool
- func (o *UpdatePublicIpsDefault) IsCode(code int) bool
- func (o *UpdatePublicIpsDefault) IsRedirect() bool
- func (o *UpdatePublicIpsDefault) IsServerError() bool
- func (o *UpdatePublicIpsDefault) IsSuccess() bool
- func (o *UpdatePublicIpsDefault) String() string
- type UpdatePublicIpsOK
- func (o *UpdatePublicIpsOK) Error() string
- func (o *UpdatePublicIpsOK) GetPayload() *models.HashicorpCloudVault20200420UpdatePublicIpsResponse
- func (o *UpdatePublicIpsOK) IsClientError() bool
- func (o *UpdatePublicIpsOK) IsCode(code int) bool
- func (o *UpdatePublicIpsOK) IsRedirect() bool
- func (o *UpdatePublicIpsOK) IsServerError() bool
- func (o *UpdatePublicIpsOK) IsSuccess() bool
- func (o *UpdatePublicIpsOK) String() string
- type UpdatePublicIpsParams
- func NewUpdatePublicIpsParams() *UpdatePublicIpsParams
- func NewUpdatePublicIpsParamsWithContext(ctx context.Context) *UpdatePublicIpsParams
- func NewUpdatePublicIpsParamsWithHTTPClient(client *http.Client) *UpdatePublicIpsParams
- func NewUpdatePublicIpsParamsWithTimeout(timeout time.Duration) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) SetBody(body *models.HashicorpCloudVault20200420UpdatePublicIpsRequest)
- func (o *UpdatePublicIpsParams) SetClusterID(clusterID string)
- func (o *UpdatePublicIpsParams) SetContext(ctx context.Context)
- func (o *UpdatePublicIpsParams) SetDefaults()
- func (o *UpdatePublicIpsParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePublicIpsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *UpdatePublicIpsParams) SetLocationProjectID(locationProjectID string)
- func (o *UpdatePublicIpsParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePublicIpsParams) WithBody(body *models.HashicorpCloudVault20200420UpdatePublicIpsRequest) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WithClusterID(clusterID string) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WithContext(ctx context.Context) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WithDefaults() *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WithHTTPClient(client *http.Client) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WithLocationOrganizationID(locationOrganizationID string) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WithLocationProjectID(locationProjectID string) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WithTimeout(timeout time.Duration) *UpdatePublicIpsParams
- func (o *UpdatePublicIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePublicIpsReader
- type UpdateSnapshotDefault
- func (o *UpdateSnapshotDefault) Code() int
- func (o *UpdateSnapshotDefault) Error() string
- func (o *UpdateSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *UpdateSnapshotDefault) IsClientError() bool
- func (o *UpdateSnapshotDefault) IsCode(code int) bool
- func (o *UpdateSnapshotDefault) IsRedirect() bool
- func (o *UpdateSnapshotDefault) IsServerError() bool
- func (o *UpdateSnapshotDefault) IsSuccess() bool
- func (o *UpdateSnapshotDefault) String() string
- type UpdateSnapshotOK
- func (o *UpdateSnapshotOK) Error() string
- func (o *UpdateSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420UpdateSnapshotResponse
- func (o *UpdateSnapshotOK) IsClientError() bool
- func (o *UpdateSnapshotOK) IsCode(code int) bool
- func (o *UpdateSnapshotOK) IsRedirect() bool
- func (o *UpdateSnapshotOK) IsServerError() bool
- func (o *UpdateSnapshotOK) IsSuccess() bool
- func (o *UpdateSnapshotOK) String() string
- type UpdateSnapshotParams
- func NewUpdateSnapshotParams() *UpdateSnapshotParams
- func NewUpdateSnapshotParamsWithContext(ctx context.Context) *UpdateSnapshotParams
- func NewUpdateSnapshotParamsWithHTTPClient(client *http.Client) *UpdateSnapshotParams
- func NewUpdateSnapshotParamsWithTimeout(timeout time.Duration) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) SetBody(body *models.HashicorpCloudVault20200420UpdateSnapshotRequest)
- func (o *UpdateSnapshotParams) SetContext(ctx context.Context)
- func (o *UpdateSnapshotParams) SetDefaults()
- func (o *UpdateSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSnapshotParams) SetSnapshotLocationOrganizationID(snapshotLocationOrganizationID string)
- func (o *UpdateSnapshotParams) SetSnapshotLocationProjectID(snapshotLocationProjectID string)
- func (o *UpdateSnapshotParams) SetSnapshotSnapshotID(snapshotSnapshotID string)
- func (o *UpdateSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSnapshotParams) WithBody(body *models.HashicorpCloudVault20200420UpdateSnapshotRequest) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WithContext(ctx context.Context) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WithDefaults() *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WithHTTPClient(client *http.Client) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WithSnapshotLocationOrganizationID(snapshotLocationOrganizationID string) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WithSnapshotLocationProjectID(snapshotLocationProjectID string) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WithSnapshotSnapshotID(snapshotSnapshotID string) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WithTimeout(timeout time.Duration) *UpdateSnapshotParams
- func (o *UpdateSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSnapshotReader
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, opts ...ClientOption) (*CreateOK, error)
Create create API
func (*Client) CreateSnapshot ¶
func (a *Client) CreateSnapshot(params *CreateSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSnapshotOK, error)
CreateSnapshot create snapshot API
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error)
Delete delete API
func (*Client) DeleteSnapshot ¶
func (a *Client) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSnapshotOK, error)
DeleteSnapshot delete snapshot API
func (*Client) DisableCORS ¶
func (a *Client) DisableCORS(params *DisableCORSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableCORSOK, error)
DisableCORS disable c o r s API
func (*Client) FetchAuditLog ¶
func (a *Client) FetchAuditLog(params *FetchAuditLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FetchAuditLogOK, error)
FetchAuditLog fetch audit log API
func (*Client) Get ¶
func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)
Get get API
func (*Client) GetAdminToken ¶
func (a *Client) GetAdminToken(params *GetAdminTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminTokenOK, error)
GetAdminToken get admin token API
func (*Client) GetAuditLogStatus ¶
func (a *Client) GetAuditLogStatus(params *GetAuditLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuditLogStatusOK, error)
GetAuditLogStatus get audit log status API
func (*Client) GetCORSConfig ¶
func (a *Client) GetCORSConfig(params *GetCORSConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCORSConfigOK, error)
GetCORSConfig get c o r s config API
func (*Client) GetSnapshot ¶
func (a *Client) GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotOK, error)
GetSnapshot get snapshot API
func (*Client) List ¶
func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error)
List list API
func (*Client) ListSnapshots ¶
func (a *Client) ListSnapshots(params *ListSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSnapshotsOK, error)
ListSnapshots list snapshots API
func (*Client) RestoreSnapshot ¶
func (a *Client) RestoreSnapshot(params *RestoreSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreSnapshotOK, error)
RestoreSnapshot restore snapshot API
func (*Client) Seal ¶
func (a *Client) Seal(params *SealParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*UnsealOK, error)
Unseal unseal API
func (*Client) UpdateCORSConfig ¶
func (a *Client) UpdateCORSConfig(params *UpdateCORSConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCORSConfigOK, error)
UpdateCORSConfig update c o r s config API
func (*Client) UpdatePublicIps ¶
func (a *Client) UpdatePublicIps(params *UpdatePublicIpsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePublicIpsOK, error)
UpdatePublicIps update public ips API
func (*Client) UpdateSnapshot ¶
func (a *Client) UpdateSnapshot(params *UpdateSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSnapshotOK, error)
UpdateSnapshot update snapshot API
type ClientOption ¶ added in v0.23.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOK, error) CreateSnapshot(params *CreateSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSnapshotOK, error) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSnapshotOK, error) DisableCORS(params *DisableCORSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableCORSOK, error) FetchAuditLog(params *FetchAuditLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FetchAuditLogOK, error) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error) GetAdminToken(params *GetAdminTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminTokenOK, error) GetAuditLogStatus(params *GetAuditLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuditLogStatusOK, error) GetCORSConfig(params *GetCORSConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCORSConfigOK, error) GetSnapshot(params *GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotOK, error) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error) ListSnapshots(params *ListSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSnapshotsOK, error) RestoreSnapshot(params *RestoreSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreSnapshotOK, error) Seal(params *SealParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SealOK, error) Unseal(params *UnsealParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnsealOK, error) UpdateCORSConfig(params *UpdateCORSConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCORSConfigOK, error) UpdatePublicIps(params *UpdatePublicIpsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePublicIpsOK, error) UpdateSnapshot(params *UpdateSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code -1, 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
func (*CreateDefault) IsClientError ¶ added in v0.23.0
func (o *CreateDefault) IsClientError() bool
IsClientError returns true when this create default response has a 4xx status code
func (*CreateDefault) IsCode ¶ added in v0.23.0
func (o *CreateDefault) IsCode(code int) bool
IsCode returns true when this create default response a status code equal to that given
func (*CreateDefault) IsRedirect ¶ added in v0.23.0
func (o *CreateDefault) IsRedirect() bool
IsRedirect returns true when this create default response has a 3xx status code
func (*CreateDefault) IsServerError ¶ added in v0.23.0
func (o *CreateDefault) IsServerError() bool
IsServerError returns true when this create default response has a 5xx status code
func (*CreateDefault) IsSuccess ¶ added in v0.23.0
func (o *CreateDefault) IsSuccess() bool
IsSuccess returns true when this create default response has a 2xx status code
func (*CreateDefault) String ¶ added in v0.23.0
func (o *CreateDefault) String() string
type CreateOK ¶
type CreateOK struct {
Payload *models.HashicorpCloudVault20200420CreateResponse
}
CreateOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateOK ¶
func NewCreateOK() *CreateOK
NewCreateOK creates a CreateOK with default headers values
func (*CreateOK) GetPayload ¶
func (o *CreateOK) GetPayload() *models.HashicorpCloudVault20200420CreateResponse
func (*CreateOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this create o k response has a 4xx status code
func (*CreateOK) IsCode ¶ added in v0.23.0
IsCode returns true when this create o k response a status code equal to that given
func (*CreateOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this create o k response has a 3xx status code
func (*CreateOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this create o k response has a 5xx status code
type CreateParams ¶
type CreateParams struct { // Body. Body *models.HashicorpCloudVault20200420CreateRequest /* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateParamsWithContext ¶
func NewCreateParamsWithContext(ctx context.Context) *CreateParams
NewCreateParamsWithContext creates a new CreateParams object with 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 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 ability to set a timeout on a request.
func (*CreateParams) SetBody ¶
func (o *CreateParams) SetBody(body *models.HashicorpCloudVault20200420CreateRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *CreateParams) SetDefaults()
SetDefaults hydrates default values in the create params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *CreateParams) WithBody(body *models.HashicorpCloudVault20200420CreateRequest) *CreateParams
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) WithDefaults ¶ added in v0.23.0
func (o *CreateParams) WithDefaults() *CreateParams
WithDefaults hydrates default values in the create params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *CreateSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*CreateSnapshotDefault) IsClientError ¶ added in v0.23.0
func (o *CreateSnapshotDefault) IsClientError() bool
IsClientError returns true when this create snapshot default response has a 4xx status code
func (*CreateSnapshotDefault) IsCode ¶ added in v0.23.0
func (o *CreateSnapshotDefault) IsCode(code int) bool
IsCode returns true when this create snapshot default response a status code equal to that given
func (*CreateSnapshotDefault) IsRedirect ¶ added in v0.23.0
func (o *CreateSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this create snapshot default response has a 3xx status code
func (*CreateSnapshotDefault) IsServerError ¶ added in v0.23.0
func (o *CreateSnapshotDefault) IsServerError() bool
IsServerError returns true when this create snapshot default response has a 5xx status code
func (*CreateSnapshotDefault) IsSuccess ¶ added in v0.23.0
func (o *CreateSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this create snapshot default response has a 2xx status code
func (*CreateSnapshotDefault) String ¶ added in v0.23.0
func (o *CreateSnapshotDefault) String() string
type CreateSnapshotOK ¶
type CreateSnapshotOK struct {
Payload *models.HashicorpCloudVault20200420CreateSnapshotResponse
}
CreateSnapshotOK describes a response with status code 200, 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
func (*CreateSnapshotOK) GetPayload ¶
func (o *CreateSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420CreateSnapshotResponse
func (*CreateSnapshotOK) IsClientError ¶ added in v0.23.0
func (o *CreateSnapshotOK) IsClientError() bool
IsClientError returns true when this create snapshot o k response has a 4xx status code
func (*CreateSnapshotOK) IsCode ¶ added in v0.23.0
func (o *CreateSnapshotOK) IsCode(code int) bool
IsCode returns true when this create snapshot o k response a status code equal to that given
func (*CreateSnapshotOK) IsRedirect ¶ added in v0.23.0
func (o *CreateSnapshotOK) IsRedirect() bool
IsRedirect returns true when this create snapshot o k response has a 3xx status code
func (*CreateSnapshotOK) IsServerError ¶ added in v0.23.0
func (o *CreateSnapshotOK) IsServerError() bool
IsServerError returns true when this create snapshot o k response has a 5xx status code
func (*CreateSnapshotOK) IsSuccess ¶ added in v0.23.0
func (o *CreateSnapshotOK) IsSuccess() bool
IsSuccess returns true when this create snapshot o k response has a 2xx status code
func (*CreateSnapshotOK) String ¶ added in v0.23.0
func (o *CreateSnapshotOK) String() string
type CreateSnapshotParams ¶
type CreateSnapshotParams struct { // Body. Body *models.HashicorpCloudVault20200420CreateSnapshotRequest /* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSnapshotParamsWithContext ¶
func NewCreateSnapshotParamsWithContext(ctx context.Context) *CreateSnapshotParams
NewCreateSnapshotParamsWithContext creates a new CreateSnapshotParams object with 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 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 ability to set a timeout on a request.
func (*CreateSnapshotParams) SetBody ¶
func (o *CreateSnapshotParams) SetBody(body *models.HashicorpCloudVault20200420CreateSnapshotRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *CreateSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create snapshot params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *CreateSnapshotParams) WithBody(body *models.HashicorpCloudVault20200420CreateSnapshotRequest) *CreateSnapshotParams
WithBody adds the body to the create snapshot params
func (*CreateSnapshotParams) WithContext ¶
func (o *CreateSnapshotParams) WithContext(ctx context.Context) *CreateSnapshotParams
WithContext adds the context to the create snapshot params
func (*CreateSnapshotParams) WithDefaults ¶ added in v0.23.0
func (o *CreateSnapshotParams) WithDefaults() *CreateSnapshotParams
WithDefaults hydrates default values in the create snapshot params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*DeleteDefault) IsClientError ¶ added in v0.23.0
func (o *DeleteDefault) IsClientError() bool
IsClientError returns true when this delete default response has a 4xx status code
func (*DeleteDefault) IsCode ¶ added in v0.23.0
func (o *DeleteDefault) IsCode(code int) bool
IsCode returns true when this delete default response a status code equal to that given
func (*DeleteDefault) IsRedirect ¶ added in v0.23.0
func (o *DeleteDefault) IsRedirect() bool
IsRedirect returns true when this delete default response has a 3xx status code
func (*DeleteDefault) IsServerError ¶ added in v0.23.0
func (o *DeleteDefault) IsServerError() bool
IsServerError returns true when this delete default response has a 5xx status code
func (*DeleteDefault) IsSuccess ¶ added in v0.23.0
func (o *DeleteDefault) IsSuccess() bool
IsSuccess returns true when this delete default response has a 2xx status code
func (*DeleteDefault) String ¶ added in v0.23.0
func (o *DeleteDefault) String() string
type DeleteOK ¶
type DeleteOK struct {
Payload *models.HashicorpCloudVault20200420DeleteResponse
}
DeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOK ¶
func NewDeleteOK() *DeleteOK
NewDeleteOK creates a DeleteOK with default headers values
func (*DeleteOK) GetPayload ¶
func (o *DeleteOK) GetPayload() *models.HashicorpCloudVault20200420DeleteResponse
func (*DeleteOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this delete o k response has a 4xx status code
func (*DeleteOK) IsCode ¶ added in v0.23.0
IsCode returns true when this delete o k response a status code equal to that given
func (*DeleteOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this delete o k response has a 3xx status code
func (*DeleteOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this delete o k response has a 5xx status code
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteParamsWithContext ¶
func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams
NewDeleteParamsWithContext creates a new DeleteParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *DeleteParams) SetDefaults()
SetDefaults hydrates default values in the delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.23.0
func (o *DeleteParams) WithDefaults() *DeleteParams
WithDefaults hydrates default values in the delete params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *DeleteSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*DeleteSnapshotDefault) IsClientError ¶ added in v0.23.0
func (o *DeleteSnapshotDefault) IsClientError() bool
IsClientError returns true when this delete snapshot default response has a 4xx status code
func (*DeleteSnapshotDefault) IsCode ¶ added in v0.23.0
func (o *DeleteSnapshotDefault) IsCode(code int) bool
IsCode returns true when this delete snapshot default response a status code equal to that given
func (*DeleteSnapshotDefault) IsRedirect ¶ added in v0.23.0
func (o *DeleteSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this delete snapshot default response has a 3xx status code
func (*DeleteSnapshotDefault) IsServerError ¶ added in v0.23.0
func (o *DeleteSnapshotDefault) IsServerError() bool
IsServerError returns true when this delete snapshot default response has a 5xx status code
func (*DeleteSnapshotDefault) IsSuccess ¶ added in v0.23.0
func (o *DeleteSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this delete snapshot default response has a 2xx status code
func (*DeleteSnapshotDefault) String ¶ added in v0.23.0
func (o *DeleteSnapshotDefault) String() string
type DeleteSnapshotOK ¶
type DeleteSnapshotOK struct {
Payload *models.HashicorpCloudVault20200420DeleteSnapshotResponse
}
DeleteSnapshotOK describes a response with status code 200, 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
func (*DeleteSnapshotOK) GetPayload ¶
func (o *DeleteSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420DeleteSnapshotResponse
func (*DeleteSnapshotOK) IsClientError ¶ added in v0.23.0
func (o *DeleteSnapshotOK) IsClientError() bool
IsClientError returns true when this delete snapshot o k response has a 4xx status code
func (*DeleteSnapshotOK) IsCode ¶ added in v0.23.0
func (o *DeleteSnapshotOK) IsCode(code int) bool
IsCode returns true when this delete snapshot o k response a status code equal to that given
func (*DeleteSnapshotOK) IsRedirect ¶ added in v0.23.0
func (o *DeleteSnapshotOK) IsRedirect() bool
IsRedirect returns true when this delete snapshot o k response has a 3xx status code
func (*DeleteSnapshotOK) IsServerError ¶ added in v0.23.0
func (o *DeleteSnapshotOK) IsServerError() bool
IsServerError returns true when this delete snapshot o k response has a 5xx status code
func (*DeleteSnapshotOK) IsSuccess ¶ added in v0.23.0
func (o *DeleteSnapshotOK) IsSuccess() bool
IsSuccess returns true when this delete snapshot o k response has a 2xx status code
func (*DeleteSnapshotOK) String ¶ added in v0.23.0
func (o *DeleteSnapshotOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSnapshotParamsWithContext ¶
func NewDeleteSnapshotParamsWithContext(ctx context.Context) *DeleteSnapshotParams
NewDeleteSnapshotParamsWithContext creates a new DeleteSnapshotParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *DeleteSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the delete snapshot params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *DeleteSnapshotParams) WithContext(ctx context.Context) *DeleteSnapshotParams
WithContext adds the context to the delete snapshot params
func (*DeleteSnapshotParams) WithDefaults ¶ added in v0.23.0
func (o *DeleteSnapshotParams) WithDefaults() *DeleteSnapshotParams
WithDefaults hydrates default values in the delete snapshot params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *DisableCORSDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*DisableCORSDefault) IsClientError ¶ added in v0.23.0
func (o *DisableCORSDefault) IsClientError() bool
IsClientError returns true when this disable c o r s default response has a 4xx status code
func (*DisableCORSDefault) IsCode ¶ added in v0.23.0
func (o *DisableCORSDefault) IsCode(code int) bool
IsCode returns true when this disable c o r s default response a status code equal to that given
func (*DisableCORSDefault) IsRedirect ¶ added in v0.23.0
func (o *DisableCORSDefault) IsRedirect() bool
IsRedirect returns true when this disable c o r s default response has a 3xx status code
func (*DisableCORSDefault) IsServerError ¶ added in v0.23.0
func (o *DisableCORSDefault) IsServerError() bool
IsServerError returns true when this disable c o r s default response has a 5xx status code
func (*DisableCORSDefault) IsSuccess ¶ added in v0.23.0
func (o *DisableCORSDefault) IsSuccess() bool
IsSuccess returns true when this disable c o r s default response has a 2xx status code
func (*DisableCORSDefault) String ¶ added in v0.23.0
func (o *DisableCORSDefault) String() string
type DisableCORSOK ¶
type DisableCORSOK struct {
Payload models.HashicorpCloudVault20200420DisableCORSResponse
}
DisableCORSOK describes a response with status code 200, 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
func (*DisableCORSOK) GetPayload ¶
func (o *DisableCORSOK) GetPayload() models.HashicorpCloudVault20200420DisableCORSResponse
func (*DisableCORSOK) IsClientError ¶ added in v0.23.0
func (o *DisableCORSOK) IsClientError() bool
IsClientError returns true when this disable c o r s o k response has a 4xx status code
func (*DisableCORSOK) IsCode ¶ added in v0.23.0
func (o *DisableCORSOK) IsCode(code int) bool
IsCode returns true when this disable c o r s o k response a status code equal to that given
func (*DisableCORSOK) IsRedirect ¶ added in v0.23.0
func (o *DisableCORSOK) IsRedirect() bool
IsRedirect returns true when this disable c o r s o k response has a 3xx status code
func (*DisableCORSOK) IsServerError ¶ added in v0.23.0
func (o *DisableCORSOK) IsServerError() bool
IsServerError returns true when this disable c o r s o k response has a 5xx status code
func (*DisableCORSOK) IsSuccess ¶ added in v0.23.0
func (o *DisableCORSOK) IsSuccess() bool
IsSuccess returns true when this disable c o r s o k response has a 2xx status code
func (*DisableCORSOK) String ¶ added in v0.23.0
func (o *DisableCORSOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDisableCORSParamsWithContext ¶
func NewDisableCORSParamsWithContext(ctx context.Context) *DisableCORSParams
NewDisableCORSParamsWithContext creates a new DisableCORSParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *DisableCORSParams) SetDefaults()
SetDefaults hydrates default values in the disable c o r s params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.23.0
func (o *DisableCORSParams) WithDefaults() *DisableCORSParams
WithDefaults hydrates default values in the disable c o r s params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *FetchAuditLogDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*FetchAuditLogDefault) IsClientError ¶ added in v0.23.0
func (o *FetchAuditLogDefault) IsClientError() bool
IsClientError returns true when this fetch audit log default response has a 4xx status code
func (*FetchAuditLogDefault) IsCode ¶ added in v0.23.0
func (o *FetchAuditLogDefault) IsCode(code int) bool
IsCode returns true when this fetch audit log default response a status code equal to that given
func (*FetchAuditLogDefault) IsRedirect ¶ added in v0.23.0
func (o *FetchAuditLogDefault) IsRedirect() bool
IsRedirect returns true when this fetch audit log default response has a 3xx status code
func (*FetchAuditLogDefault) IsServerError ¶ added in v0.23.0
func (o *FetchAuditLogDefault) IsServerError() bool
IsServerError returns true when this fetch audit log default response has a 5xx status code
func (*FetchAuditLogDefault) IsSuccess ¶ added in v0.23.0
func (o *FetchAuditLogDefault) IsSuccess() bool
IsSuccess returns true when this fetch audit log default response has a 2xx status code
func (*FetchAuditLogDefault) String ¶ added in v0.23.0
func (o *FetchAuditLogDefault) String() string
type FetchAuditLogOK ¶
type FetchAuditLogOK struct {
Payload *models.HashicorpCloudVault20200420FetchAuditLogResponse
}
FetchAuditLogOK describes a response with status code 200, 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 ¶
func (o *FetchAuditLogOK) GetPayload() *models.HashicorpCloudVault20200420FetchAuditLogResponse
func (*FetchAuditLogOK) IsClientError ¶ added in v0.23.0
func (o *FetchAuditLogOK) IsClientError() bool
IsClientError returns true when this fetch audit log o k response has a 4xx status code
func (*FetchAuditLogOK) IsCode ¶ added in v0.23.0
func (o *FetchAuditLogOK) IsCode(code int) bool
IsCode returns true when this fetch audit log o k response a status code equal to that given
func (*FetchAuditLogOK) IsRedirect ¶ added in v0.23.0
func (o *FetchAuditLogOK) IsRedirect() bool
IsRedirect returns true when this fetch audit log o k response has a 3xx status code
func (*FetchAuditLogOK) IsServerError ¶ added in v0.23.0
func (o *FetchAuditLogOK) IsServerError() bool
IsServerError returns true when this fetch audit log o k response has a 5xx status code
func (*FetchAuditLogOK) IsSuccess ¶ added in v0.23.0
func (o *FetchAuditLogOK) IsSuccess() bool
IsSuccess returns true when this fetch audit log o k response has a 2xx status code
func (*FetchAuditLogOK) String ¶ added in v0.23.0
func (o *FetchAuditLogOK) String() string
type FetchAuditLogParams ¶
type FetchAuditLogParams struct { // Body. Body *models.HashicorpCloudVault20200420FetchAuditLogRequest // 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFetchAuditLogParamsWithContext ¶
func NewFetchAuditLogParamsWithContext(ctx context.Context) *FetchAuditLogParams
NewFetchAuditLogParamsWithContext creates a new FetchAuditLogParams object with 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 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 ability to set a timeout on a request.
func (*FetchAuditLogParams) SetBody ¶
func (o *FetchAuditLogParams) SetBody(body *models.HashicorpCloudVault20200420FetchAuditLogRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *FetchAuditLogParams) SetDefaults()
SetDefaults hydrates default values in the fetch audit log params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *FetchAuditLogParams) WithBody(body *models.HashicorpCloudVault20200420FetchAuditLogRequest) *FetchAuditLogParams
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 ¶
func (o *FetchAuditLogParams) WithContext(ctx context.Context) *FetchAuditLogParams
WithContext adds the context to the fetch audit log params
func (*FetchAuditLogParams) WithDefaults ¶ added in v0.23.0
func (o *FetchAuditLogParams) WithDefaults() *FetchAuditLogParams
WithDefaults hydrates default values in the fetch audit log params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *GetAdminTokenDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetAdminTokenDefault) IsClientError ¶ added in v0.23.0
func (o *GetAdminTokenDefault) IsClientError() bool
IsClientError returns true when this get admin token default response has a 4xx status code
func (*GetAdminTokenDefault) IsCode ¶ added in v0.23.0
func (o *GetAdminTokenDefault) IsCode(code int) bool
IsCode returns true when this get admin token default response a status code equal to that given
func (*GetAdminTokenDefault) IsRedirect ¶ added in v0.23.0
func (o *GetAdminTokenDefault) IsRedirect() bool
IsRedirect returns true when this get admin token default response has a 3xx status code
func (*GetAdminTokenDefault) IsServerError ¶ added in v0.23.0
func (o *GetAdminTokenDefault) IsServerError() bool
IsServerError returns true when this get admin token default response has a 5xx status code
func (*GetAdminTokenDefault) IsSuccess ¶ added in v0.23.0
func (o *GetAdminTokenDefault) IsSuccess() bool
IsSuccess returns true when this get admin token default response has a 2xx status code
func (*GetAdminTokenDefault) String ¶ added in v0.23.0
func (o *GetAdminTokenDefault) String() string
type GetAdminTokenOK ¶
type GetAdminTokenOK struct {
Payload *models.HashicorpCloudVault20200420GetAdminTokenResponse
}
GetAdminTokenOK describes a response with status code 200, 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 ¶
func (o *GetAdminTokenOK) GetPayload() *models.HashicorpCloudVault20200420GetAdminTokenResponse
func (*GetAdminTokenOK) IsClientError ¶ added in v0.23.0
func (o *GetAdminTokenOK) IsClientError() bool
IsClientError returns true when this get admin token o k response has a 4xx status code
func (*GetAdminTokenOK) IsCode ¶ added in v0.23.0
func (o *GetAdminTokenOK) IsCode(code int) bool
IsCode returns true when this get admin token o k response a status code equal to that given
func (*GetAdminTokenOK) IsRedirect ¶ added in v0.23.0
func (o *GetAdminTokenOK) IsRedirect() bool
IsRedirect returns true when this get admin token o k response has a 3xx status code
func (*GetAdminTokenOK) IsServerError ¶ added in v0.23.0
func (o *GetAdminTokenOK) IsServerError() bool
IsServerError returns true when this get admin token o k response has a 5xx status code
func (*GetAdminTokenOK) IsSuccess ¶ added in v0.23.0
func (o *GetAdminTokenOK) IsSuccess() bool
IsSuccess returns true when this get admin token o k response has a 2xx status code
func (*GetAdminTokenOK) String ¶ added in v0.23.0
func (o *GetAdminTokenOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAdminTokenParamsWithContext ¶
func NewGetAdminTokenParamsWithContext(ctx context.Context) *GetAdminTokenParams
NewGetAdminTokenParamsWithContext creates a new GetAdminTokenParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *GetAdminTokenParams) SetDefaults()
SetDefaults hydrates default values in the get admin token params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *GetAdminTokenParams) WithContext(ctx context.Context) *GetAdminTokenParams
WithContext adds the context to the get admin token params
func (*GetAdminTokenParams) WithDefaults ¶ added in v0.23.0
func (o *GetAdminTokenParams) WithDefaults() *GetAdminTokenParams
WithDefaults hydrates default values in the get admin token params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *GetAuditLogStatusDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetAuditLogStatusDefault) IsClientError ¶ added in v0.23.0
func (o *GetAuditLogStatusDefault) IsClientError() bool
IsClientError returns true when this get audit log status default response has a 4xx status code
func (*GetAuditLogStatusDefault) IsCode ¶ added in v0.23.0
func (o *GetAuditLogStatusDefault) IsCode(code int) bool
IsCode returns true when this get audit log status default response a status code equal to that given
func (*GetAuditLogStatusDefault) IsRedirect ¶ added in v0.23.0
func (o *GetAuditLogStatusDefault) IsRedirect() bool
IsRedirect returns true when this get audit log status default response has a 3xx status code
func (*GetAuditLogStatusDefault) IsServerError ¶ added in v0.23.0
func (o *GetAuditLogStatusDefault) IsServerError() bool
IsServerError returns true when this get audit log status default response has a 5xx status code
func (*GetAuditLogStatusDefault) IsSuccess ¶ added in v0.23.0
func (o *GetAuditLogStatusDefault) IsSuccess() bool
IsSuccess returns true when this get audit log status default response has a 2xx status code
func (*GetAuditLogStatusDefault) String ¶ added in v0.23.0
func (o *GetAuditLogStatusDefault) String() string
type GetAuditLogStatusOK ¶
type GetAuditLogStatusOK struct {
Payload *models.HashicorpCloudVault20200420GetAuditLogStatusResponse
}
GetAuditLogStatusOK describes a response with status code 200, 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
func (*GetAuditLogStatusOK) GetPayload ¶
func (o *GetAuditLogStatusOK) GetPayload() *models.HashicorpCloudVault20200420GetAuditLogStatusResponse
func (*GetAuditLogStatusOK) IsClientError ¶ added in v0.23.0
func (o *GetAuditLogStatusOK) IsClientError() bool
IsClientError returns true when this get audit log status o k response has a 4xx status code
func (*GetAuditLogStatusOK) IsCode ¶ added in v0.23.0
func (o *GetAuditLogStatusOK) IsCode(code int) bool
IsCode returns true when this get audit log status o k response a status code equal to that given
func (*GetAuditLogStatusOK) IsRedirect ¶ added in v0.23.0
func (o *GetAuditLogStatusOK) IsRedirect() bool
IsRedirect returns true when this get audit log status o k response has a 3xx status code
func (*GetAuditLogStatusOK) IsServerError ¶ added in v0.23.0
func (o *GetAuditLogStatusOK) IsServerError() bool
IsServerError returns true when this get audit log status o k response has a 5xx status code
func (*GetAuditLogStatusOK) IsSuccess ¶ added in v0.23.0
func (o *GetAuditLogStatusOK) IsSuccess() bool
IsSuccess returns true when this get audit log status o k response has a 2xx status code
func (*GetAuditLogStatusOK) String ¶ added in v0.23.0
func (o *GetAuditLogStatusOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAuditLogStatusParamsWithContext ¶
func NewGetAuditLogStatusParamsWithContext(ctx context.Context) *GetAuditLogStatusParams
NewGetAuditLogStatusParamsWithContext creates a new GetAuditLogStatusParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *GetAuditLogStatusParams) SetDefaults()
SetDefaults hydrates default values in the get audit log status params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *GetAuditLogStatusParams) WithContext(ctx context.Context) *GetAuditLogStatusParams
WithContext adds the context to the get audit log status params
func (*GetAuditLogStatusParams) WithDefaults ¶ added in v0.23.0
func (o *GetAuditLogStatusParams) WithDefaults() *GetAuditLogStatusParams
WithDefaults hydrates default values in the get audit log status params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *GetAuditLogStatusParams) WithLogID(logID string) *GetAuditLogStatusParams
WithLogID adds the logID to the get audit log status params
func (*GetAuditLogStatusParams) WithTimeout ¶
func (o *GetAuditLogStatusParams) WithTimeout(timeout time.Duration) *GetAuditLogStatusParams
WithTimeout adds the timeout to the get audit log status params
func (*GetAuditLogStatusParams) WriteToRequest ¶
func (o *GetAuditLogStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code -1, 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 ¶
func (o *GetCORSConfigDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetCORSConfigDefault) IsClientError ¶ added in v0.23.0
func (o *GetCORSConfigDefault) IsClientError() bool
IsClientError returns true when this get c o r s config default response has a 4xx status code
func (*GetCORSConfigDefault) IsCode ¶ added in v0.23.0
func (o *GetCORSConfigDefault) IsCode(code int) bool
IsCode returns true when this get c o r s config default response a status code equal to that given
func (*GetCORSConfigDefault) IsRedirect ¶ added in v0.23.0
func (o *GetCORSConfigDefault) IsRedirect() bool
IsRedirect returns true when this get c o r s config default response has a 3xx status code
func (*GetCORSConfigDefault) IsServerError ¶ added in v0.23.0
func (o *GetCORSConfigDefault) IsServerError() bool
IsServerError returns true when this get c o r s config default response has a 5xx status code
func (*GetCORSConfigDefault) IsSuccess ¶ added in v0.23.0
func (o *GetCORSConfigDefault) IsSuccess() bool
IsSuccess returns true when this get c o r s config default response has a 2xx status code
func (*GetCORSConfigDefault) String ¶ added in v0.23.0
func (o *GetCORSConfigDefault) String() string
type GetCORSConfigOK ¶
type GetCORSConfigOK struct {
Payload *models.HashicorpCloudVault20200420GetCORSConfigResponse
}
GetCORSConfigOK describes a response with status code 200, 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 ¶
func (o *GetCORSConfigOK) GetPayload() *models.HashicorpCloudVault20200420GetCORSConfigResponse
func (*GetCORSConfigOK) IsClientError ¶ added in v0.23.0
func (o *GetCORSConfigOK) IsClientError() bool
IsClientError returns true when this get c o r s config o k response has a 4xx status code
func (*GetCORSConfigOK) IsCode ¶ added in v0.23.0
func (o *GetCORSConfigOK) IsCode(code int) bool
IsCode returns true when this get c o r s config o k response a status code equal to that given
func (*GetCORSConfigOK) IsRedirect ¶ added in v0.23.0
func (o *GetCORSConfigOK) IsRedirect() bool
IsRedirect returns true when this get c o r s config o k response has a 3xx status code
func (*GetCORSConfigOK) IsServerError ¶ added in v0.23.0
func (o *GetCORSConfigOK) IsServerError() bool
IsServerError returns true when this get c o r s config o k response has a 5xx status code
func (*GetCORSConfigOK) IsSuccess ¶ added in v0.23.0
func (o *GetCORSConfigOK) IsSuccess() bool
IsSuccess returns true when this get c o r s config o k response has a 2xx status code
func (*GetCORSConfigOK) String ¶ added in v0.23.0
func (o *GetCORSConfigOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCORSConfigParamsWithContext ¶
func NewGetCORSConfigParamsWithContext(ctx context.Context) *GetCORSConfigParams
NewGetCORSConfigParamsWithContext creates a new GetCORSConfigParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *GetCORSConfigParams) SetDefaults()
SetDefaults hydrates default values in the get c o r s config params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *GetCORSConfigParams) WithContext(ctx context.Context) *GetCORSConfigParams
WithContext adds the context to the get c o r s config params
func (*GetCORSConfigParams) WithDefaults ¶ added in v0.23.0
func (o *GetCORSConfigParams) WithDefaults() *GetCORSConfigParams
WithDefaults hydrates default values in the get c o r s config params (not the query body).
All values with no default are reset to their zero value.
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 GetDefault ¶
type GetDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
GetDefault describes a response with status code -1, 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
func (*GetDefault) IsClientError ¶ added in v0.23.0
func (o *GetDefault) IsClientError() bool
IsClientError returns true when this get default response has a 4xx status code
func (*GetDefault) IsCode ¶ added in v0.23.0
func (o *GetDefault) IsCode(code int) bool
IsCode returns true when this get default response a status code equal to that given
func (*GetDefault) IsRedirect ¶ added in v0.23.0
func (o *GetDefault) IsRedirect() bool
IsRedirect returns true when this get default response has a 3xx status code
func (*GetDefault) IsServerError ¶ added in v0.23.0
func (o *GetDefault) IsServerError() bool
IsServerError returns true when this get default response has a 5xx status code
func (*GetDefault) IsSuccess ¶ added in v0.23.0
func (o *GetDefault) IsSuccess() bool
IsSuccess returns true when this get default response has a 2xx status code
func (*GetDefault) String ¶ added in v0.23.0
func (o *GetDefault) String() string
type GetOK ¶
type GetOK struct {
Payload *models.HashicorpCloudVault20200420GetResponse
}
GetOK describes a response with status code 200, with default header values.
A successful response.
func (*GetOK) GetPayload ¶
func (o *GetOK) GetPayload() *models.HashicorpCloudVault20200420GetResponse
func (*GetOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this get o k response has a 4xx status code
func (*GetOK) IsCode ¶ added in v0.23.0
IsCode returns true when this get o k response a status code equal to that given
func (*GetOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this get o k response has a 3xx status code
func (*GetOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this get o k response has a 5xx status code
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetParamsWithContext ¶
NewGetParamsWithContext creates a new GetParams object with the ability to set a context for a request.
func NewGetParamsWithHTTPClient ¶
NewGetParamsWithHTTPClient creates a new GetParams object with the ability to set a custom HTTPClient for a request.
func NewGetParamsWithTimeout ¶
NewGetParamsWithTimeout creates a new GetParams object with the ability to set a timeout on a request.
func (*GetParams) SetClusterID ¶
SetClusterID adds the clusterId to the get params
func (*GetParams) SetContext ¶
SetContext adds the context to the get params
func (*GetParams) SetDefaults ¶ added in v0.23.0
func (o *GetParams) SetDefaults()
SetDefaults hydrates default values in the get params (not the query body).
All values with no default are reset to their zero value.
func (*GetParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the get params
func (*GetParams) SetLocationOrganizationID ¶
SetLocationOrganizationID adds the locationOrganizationId to the get params
func (*GetParams) SetLocationProjectID ¶
SetLocationProjectID adds the locationProjectId to the get params
func (*GetParams) SetLocationRegionProvider ¶
SetLocationRegionProvider adds the locationRegionProvider to the get params
func (*GetParams) SetLocationRegionRegion ¶
SetLocationRegionRegion adds the locationRegionRegion to the get params
func (*GetParams) SetTimeout ¶
SetTimeout adds the timeout to the get params
func (*GetParams) WithClusterID ¶
WithClusterID adds the clusterID to the get params
func (*GetParams) WithContext ¶
WithContext adds the context to the get params
func (*GetParams) WithDefaults ¶ added in v0.23.0
WithDefaults hydrates default values in the get params (not the query body).
All values with no default are reset to their zero value.
func (*GetParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the get params
func (*GetParams) WithLocationOrganizationID ¶
WithLocationOrganizationID adds the locationOrganizationID to the get params
func (*GetParams) WithLocationProjectID ¶
WithLocationProjectID adds the locationProjectID to the get params
func (*GetParams) WithLocationRegionProvider ¶
WithLocationRegionProvider adds the locationRegionProvider to the get params
func (*GetParams) WithLocationRegionRegion ¶
WithLocationRegionRegion adds the locationRegionRegion to the get params
func (*GetParams) WithTimeout ¶
WithTimeout adds the timeout to the get params
func (*GetParams) WriteToRequest ¶
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 describes a response with status code -1, 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 ¶
func (o *GetSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetSnapshotDefault) IsClientError ¶ added in v0.23.0
func (o *GetSnapshotDefault) IsClientError() bool
IsClientError returns true when this get snapshot default response has a 4xx status code
func (*GetSnapshotDefault) IsCode ¶ added in v0.23.0
func (o *GetSnapshotDefault) IsCode(code int) bool
IsCode returns true when this get snapshot default response a status code equal to that given
func (*GetSnapshotDefault) IsRedirect ¶ added in v0.23.0
func (o *GetSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this get snapshot default response has a 3xx status code
func (*GetSnapshotDefault) IsServerError ¶ added in v0.23.0
func (o *GetSnapshotDefault) IsServerError() bool
IsServerError returns true when this get snapshot default response has a 5xx status code
func (*GetSnapshotDefault) IsSuccess ¶ added in v0.23.0
func (o *GetSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this get snapshot default response has a 2xx status code
func (*GetSnapshotDefault) String ¶ added in v0.23.0
func (o *GetSnapshotDefault) String() string
type GetSnapshotOK ¶
type GetSnapshotOK struct {
Payload *models.HashicorpCloudVault20200420GetSnapshotResponse
}
GetSnapshotOK describes a response with status code 200, 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 ¶
func (o *GetSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420GetSnapshotResponse
func (*GetSnapshotOK) IsClientError ¶ added in v0.23.0
func (o *GetSnapshotOK) IsClientError() bool
IsClientError returns true when this get snapshot o k response has a 4xx status code
func (*GetSnapshotOK) IsCode ¶ added in v0.23.0
func (o *GetSnapshotOK) IsCode(code int) bool
IsCode returns true when this get snapshot o k response a status code equal to that given
func (*GetSnapshotOK) IsRedirect ¶ added in v0.23.0
func (o *GetSnapshotOK) IsRedirect() bool
IsRedirect returns true when this get snapshot o k response has a 3xx status code
func (*GetSnapshotOK) IsServerError ¶ added in v0.23.0
func (o *GetSnapshotOK) IsServerError() bool
IsServerError returns true when this get snapshot o k response has a 5xx status code
func (*GetSnapshotOK) IsSuccess ¶ added in v0.23.0
func (o *GetSnapshotOK) IsSuccess() bool
IsSuccess returns true when this get snapshot o k response has a 2xx status code
func (*GetSnapshotOK) String ¶ added in v0.23.0
func (o *GetSnapshotOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSnapshotParamsWithContext ¶
func NewGetSnapshotParamsWithContext(ctx context.Context) *GetSnapshotParams
NewGetSnapshotParamsWithContext creates a new GetSnapshotParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *GetSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.23.0
func (o *GetSnapshotParams) WithDefaults() *GetSnapshotParams
WithDefaults hydrates default values in the get snapshot params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*ListDefault) IsClientError ¶ added in v0.23.0
func (o *ListDefault) IsClientError() bool
IsClientError returns true when this list default response has a 4xx status code
func (*ListDefault) IsCode ¶ added in v0.23.0
func (o *ListDefault) IsCode(code int) bool
IsCode returns true when this list default response a status code equal to that given
func (*ListDefault) IsRedirect ¶ added in v0.23.0
func (o *ListDefault) IsRedirect() bool
IsRedirect returns true when this list default response has a 3xx status code
func (*ListDefault) IsServerError ¶ added in v0.23.0
func (o *ListDefault) IsServerError() bool
IsServerError returns true when this list default response has a 5xx status code
func (*ListDefault) IsSuccess ¶ added in v0.23.0
func (o *ListDefault) IsSuccess() bool
IsSuccess returns true when this list default response has a 2xx status code
func (*ListDefault) String ¶ added in v0.23.0
func (o *ListDefault) String() string
type ListOK ¶
type ListOK struct {
Payload *models.HashicorpCloudVault20200420ListResponse
}
ListOK describes a response with status code 200, with default header values.
A successful response.
func (*ListOK) GetPayload ¶
func (o *ListOK) GetPayload() *models.HashicorpCloudVault20200420ListResponse
func (*ListOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this list o k response has a 4xx status code
func (*ListOK) IsCode ¶ added in v0.23.0
IsCode returns true when this list o k response a status code equal to that given
func (*ListOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this list o k response has a 3xx status code
func (*ListOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this list o k response has a 5xx status code
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. Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListParamsWithContext ¶
func NewListParamsWithContext(ctx context.Context) *ListParams
NewListParamsWithContext creates a new ListParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *ListParams) SetDefaults()
SetDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.23.0
func (o *ListParams) WithDefaults() *ListParams
WithDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *ListSnapshotsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ListSnapshotsDefault) IsClientError ¶ added in v0.23.0
func (o *ListSnapshotsDefault) IsClientError() bool
IsClientError returns true when this list snapshots default response has a 4xx status code
func (*ListSnapshotsDefault) IsCode ¶ added in v0.23.0
func (o *ListSnapshotsDefault) IsCode(code int) bool
IsCode returns true when this list snapshots default response a status code equal to that given
func (*ListSnapshotsDefault) IsRedirect ¶ added in v0.23.0
func (o *ListSnapshotsDefault) IsRedirect() bool
IsRedirect returns true when this list snapshots default response has a 3xx status code
func (*ListSnapshotsDefault) IsServerError ¶ added in v0.23.0
func (o *ListSnapshotsDefault) IsServerError() bool
IsServerError returns true when this list snapshots default response has a 5xx status code
func (*ListSnapshotsDefault) IsSuccess ¶ added in v0.23.0
func (o *ListSnapshotsDefault) IsSuccess() bool
IsSuccess returns true when this list snapshots default response has a 2xx status code
func (*ListSnapshotsDefault) String ¶ added in v0.23.0
func (o *ListSnapshotsDefault) String() string
type ListSnapshotsOK ¶
type ListSnapshotsOK struct {
Payload *models.HashicorpCloudVault20200420ListSnapshotsResponse
}
ListSnapshotsOK describes a response with status code 200, 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 ¶
func (o *ListSnapshotsOK) GetPayload() *models.HashicorpCloudVault20200420ListSnapshotsResponse
func (*ListSnapshotsOK) IsClientError ¶ added in v0.23.0
func (o *ListSnapshotsOK) IsClientError() bool
IsClientError returns true when this list snapshots o k response has a 4xx status code
func (*ListSnapshotsOK) IsCode ¶ added in v0.23.0
func (o *ListSnapshotsOK) IsCode(code int) bool
IsCode returns true when this list snapshots o k response a status code equal to that given
func (*ListSnapshotsOK) IsRedirect ¶ added in v0.23.0
func (o *ListSnapshotsOK) IsRedirect() bool
IsRedirect returns true when this list snapshots o k response has a 3xx status code
func (*ListSnapshotsOK) IsServerError ¶ added in v0.23.0
func (o *ListSnapshotsOK) IsServerError() bool
IsServerError returns true when this list snapshots o k response has a 5xx status code
func (*ListSnapshotsOK) IsSuccess ¶ added in v0.23.0
func (o *ListSnapshotsOK) IsSuccess() bool
IsSuccess returns true when this list snapshots o k response has a 2xx status code
func (*ListSnapshotsOK) String ¶ added in v0.23.0
func (o *ListSnapshotsOK) String() string
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. Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListSnapshotsParamsWithContext ¶
func NewListSnapshotsParamsWithContext(ctx context.Context) *ListSnapshotsParams
NewListSnapshotsParamsWithContext creates a new ListSnapshotsParams object with 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 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 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) SetDefaults ¶ added in v0.23.0
func (o *ListSnapshotsParams) SetDefaults()
SetDefaults hydrates default values in the list snapshots params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListSnapshotsParams) WithContext(ctx context.Context) *ListSnapshotsParams
WithContext adds the context to the list snapshots params
func (*ListSnapshotsParams) WithDefaults ¶ added in v0.23.0
func (o *ListSnapshotsParams) WithDefaults() *ListSnapshotsParams
WithDefaults hydrates default values in the list snapshots params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *RestoreSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*RestoreSnapshotDefault) IsClientError ¶ added in v0.23.0
func (o *RestoreSnapshotDefault) IsClientError() bool
IsClientError returns true when this restore snapshot default response has a 4xx status code
func (*RestoreSnapshotDefault) IsCode ¶ added in v0.23.0
func (o *RestoreSnapshotDefault) IsCode(code int) bool
IsCode returns true when this restore snapshot default response a status code equal to that given
func (*RestoreSnapshotDefault) IsRedirect ¶ added in v0.23.0
func (o *RestoreSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this restore snapshot default response has a 3xx status code
func (*RestoreSnapshotDefault) IsServerError ¶ added in v0.23.0
func (o *RestoreSnapshotDefault) IsServerError() bool
IsServerError returns true when this restore snapshot default response has a 5xx status code
func (*RestoreSnapshotDefault) IsSuccess ¶ added in v0.23.0
func (o *RestoreSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this restore snapshot default response has a 2xx status code
func (*RestoreSnapshotDefault) String ¶ added in v0.23.0
func (o *RestoreSnapshotDefault) String() string
type RestoreSnapshotOK ¶
type RestoreSnapshotOK struct {
Payload *models.HashicorpCloudVault20200420RestoreSnapshotResponse
}
RestoreSnapshotOK describes a response with status code 200, 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
func (*RestoreSnapshotOK) GetPayload ¶
func (o *RestoreSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420RestoreSnapshotResponse
func (*RestoreSnapshotOK) IsClientError ¶ added in v0.23.0
func (o *RestoreSnapshotOK) IsClientError() bool
IsClientError returns true when this restore snapshot o k response has a 4xx status code
func (*RestoreSnapshotOK) IsCode ¶ added in v0.23.0
func (o *RestoreSnapshotOK) IsCode(code int) bool
IsCode returns true when this restore snapshot o k response a status code equal to that given
func (*RestoreSnapshotOK) IsRedirect ¶ added in v0.23.0
func (o *RestoreSnapshotOK) IsRedirect() bool
IsRedirect returns true when this restore snapshot o k response has a 3xx status code
func (*RestoreSnapshotOK) IsServerError ¶ added in v0.23.0
func (o *RestoreSnapshotOK) IsServerError() bool
IsServerError returns true when this restore snapshot o k response has a 5xx status code
func (*RestoreSnapshotOK) IsSuccess ¶ added in v0.23.0
func (o *RestoreSnapshotOK) IsSuccess() bool
IsSuccess returns true when this restore snapshot o k response has a 2xx status code
func (*RestoreSnapshotOK) String ¶ added in v0.23.0
func (o *RestoreSnapshotOK) String() string
type RestoreSnapshotParams ¶
type RestoreSnapshotParams struct { // Body. Body *models.HashicorpCloudVault20200420RestoreSnapshotRequest // 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRestoreSnapshotParamsWithContext ¶
func NewRestoreSnapshotParamsWithContext(ctx context.Context) *RestoreSnapshotParams
NewRestoreSnapshotParamsWithContext creates a new RestoreSnapshotParams object with 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 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 ability to set a timeout on a request.
func (*RestoreSnapshotParams) SetBody ¶
func (o *RestoreSnapshotParams) SetBody(body *models.HashicorpCloudVault20200420RestoreSnapshotRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *RestoreSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the restore snapshot params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *RestoreSnapshotParams) WithBody(body *models.HashicorpCloudVault20200420RestoreSnapshotRequest) *RestoreSnapshotParams
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 ¶
func (o *RestoreSnapshotParams) WithContext(ctx context.Context) *RestoreSnapshotParams
WithContext adds the context to the restore snapshot params
func (*RestoreSnapshotParams) WithDefaults ¶ added in v0.23.0
func (o *RestoreSnapshotParams) WithDefaults() *RestoreSnapshotParams
WithDefaults hydrates default values in the restore snapshot params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*SealDefault) IsClientError ¶ added in v0.23.0
func (o *SealDefault) IsClientError() bool
IsClientError returns true when this seal default response has a 4xx status code
func (*SealDefault) IsCode ¶ added in v0.23.0
func (o *SealDefault) IsCode(code int) bool
IsCode returns true when this seal default response a status code equal to that given
func (*SealDefault) IsRedirect ¶ added in v0.23.0
func (o *SealDefault) IsRedirect() bool
IsRedirect returns true when this seal default response has a 3xx status code
func (*SealDefault) IsServerError ¶ added in v0.23.0
func (o *SealDefault) IsServerError() bool
IsServerError returns true when this seal default response has a 5xx status code
func (*SealDefault) IsSuccess ¶ added in v0.23.0
func (o *SealDefault) IsSuccess() bool
IsSuccess returns true when this seal default response has a 2xx status code
func (*SealDefault) String ¶ added in v0.23.0
func (o *SealDefault) String() string
type SealOK ¶
type SealOK struct {
Payload *models.HashicorpCloudVault20200420SealResponse
}
SealOK describes a response with status code 200, with default header values.
A successful response.
func (*SealOK) GetPayload ¶
func (o *SealOK) GetPayload() *models.HashicorpCloudVault20200420SealResponse
func (*SealOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this seal o k response has a 4xx status code
func (*SealOK) IsCode ¶ added in v0.23.0
IsCode returns true when this seal o k response a status code equal to that given
func (*SealOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this seal o k response has a 3xx status code
func (*SealOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this seal o k response has a 5xx status code
type SealParams ¶
type SealParams struct { // Body. Body *models.HashicorpCloudVault20200420SealRequest // 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSealParamsWithContext ¶
func NewSealParamsWithContext(ctx context.Context) *SealParams
NewSealParamsWithContext creates a new SealParams object with 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 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 ability to set a timeout on a request.
func (*SealParams) SetBody ¶
func (o *SealParams) SetBody(body *models.HashicorpCloudVault20200420SealRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *SealParams) SetDefaults()
SetDefaults hydrates default values in the seal params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *SealParams) WithBody(body *models.HashicorpCloudVault20200420SealRequest) *SealParams
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) WithDefaults ¶ added in v0.23.0
func (o *SealParams) WithDefaults() *SealParams
WithDefaults hydrates default values in the seal params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*UnsealDefault) IsClientError ¶ added in v0.23.0
func (o *UnsealDefault) IsClientError() bool
IsClientError returns true when this unseal default response has a 4xx status code
func (*UnsealDefault) IsCode ¶ added in v0.23.0
func (o *UnsealDefault) IsCode(code int) bool
IsCode returns true when this unseal default response a status code equal to that given
func (*UnsealDefault) IsRedirect ¶ added in v0.23.0
func (o *UnsealDefault) IsRedirect() bool
IsRedirect returns true when this unseal default response has a 3xx status code
func (*UnsealDefault) IsServerError ¶ added in v0.23.0
func (o *UnsealDefault) IsServerError() bool
IsServerError returns true when this unseal default response has a 5xx status code
func (*UnsealDefault) IsSuccess ¶ added in v0.23.0
func (o *UnsealDefault) IsSuccess() bool
IsSuccess returns true when this unseal default response has a 2xx status code
func (*UnsealDefault) String ¶ added in v0.23.0
func (o *UnsealDefault) String() string
type UnsealOK ¶
type UnsealOK struct {
Payload *models.HashicorpCloudVault20200420UnsealResponse
}
UnsealOK describes a response with status code 200, with default header values.
A successful response.
func NewUnsealOK ¶
func NewUnsealOK() *UnsealOK
NewUnsealOK creates a UnsealOK with default headers values
func (*UnsealOK) GetPayload ¶
func (o *UnsealOK) GetPayload() *models.HashicorpCloudVault20200420UnsealResponse
func (*UnsealOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this unseal o k response has a 4xx status code
func (*UnsealOK) IsCode ¶ added in v0.23.0
IsCode returns true when this unseal o k response a status code equal to that given
func (*UnsealOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this unseal o k response has a 3xx status code
func (*UnsealOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this unseal o k response has a 5xx status code
type UnsealParams ¶
type UnsealParams struct { // Body. Body *models.HashicorpCloudVault20200420UnsealRequest // 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUnsealParamsWithContext ¶
func NewUnsealParamsWithContext(ctx context.Context) *UnsealParams
NewUnsealParamsWithContext creates a new UnsealParams object with 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 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 ability to set a timeout on a request.
func (*UnsealParams) SetBody ¶
func (o *UnsealParams) SetBody(body *models.HashicorpCloudVault20200420UnsealRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *UnsealParams) SetDefaults()
SetDefaults hydrates default values in the unseal params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *UnsealParams) WithBody(body *models.HashicorpCloudVault20200420UnsealRequest) *UnsealParams
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) WithDefaults ¶ added in v0.23.0
func (o *UnsealParams) WithDefaults() *UnsealParams
WithDefaults hydrates default values in the unseal params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *UpdateCORSConfigDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*UpdateCORSConfigDefault) IsClientError ¶ added in v0.23.0
func (o *UpdateCORSConfigDefault) IsClientError() bool
IsClientError returns true when this update c o r s config default response has a 4xx status code
func (*UpdateCORSConfigDefault) IsCode ¶ added in v0.23.0
func (o *UpdateCORSConfigDefault) IsCode(code int) bool
IsCode returns true when this update c o r s config default response a status code equal to that given
func (*UpdateCORSConfigDefault) IsRedirect ¶ added in v0.23.0
func (o *UpdateCORSConfigDefault) IsRedirect() bool
IsRedirect returns true when this update c o r s config default response has a 3xx status code
func (*UpdateCORSConfigDefault) IsServerError ¶ added in v0.23.0
func (o *UpdateCORSConfigDefault) IsServerError() bool
IsServerError returns true when this update c o r s config default response has a 5xx status code
func (*UpdateCORSConfigDefault) IsSuccess ¶ added in v0.23.0
func (o *UpdateCORSConfigDefault) IsSuccess() bool
IsSuccess returns true when this update c o r s config default response has a 2xx status code
func (*UpdateCORSConfigDefault) String ¶ added in v0.23.0
func (o *UpdateCORSConfigDefault) String() string
type UpdateCORSConfigOK ¶
type UpdateCORSConfigOK struct {
Payload models.HashicorpCloudVault20200420UpdateCORSConfigResponse
}
UpdateCORSConfigOK describes a response with status code 200, 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
func (*UpdateCORSConfigOK) GetPayload ¶
func (o *UpdateCORSConfigOK) GetPayload() models.HashicorpCloudVault20200420UpdateCORSConfigResponse
func (*UpdateCORSConfigOK) IsClientError ¶ added in v0.23.0
func (o *UpdateCORSConfigOK) IsClientError() bool
IsClientError returns true when this update c o r s config o k response has a 4xx status code
func (*UpdateCORSConfigOK) IsCode ¶ added in v0.23.0
func (o *UpdateCORSConfigOK) IsCode(code int) bool
IsCode returns true when this update c o r s config o k response a status code equal to that given
func (*UpdateCORSConfigOK) IsRedirect ¶ added in v0.23.0
func (o *UpdateCORSConfigOK) IsRedirect() bool
IsRedirect returns true when this update c o r s config o k response has a 3xx status code
func (*UpdateCORSConfigOK) IsServerError ¶ added in v0.23.0
func (o *UpdateCORSConfigOK) IsServerError() bool
IsServerError returns true when this update c o r s config o k response has a 5xx status code
func (*UpdateCORSConfigOK) IsSuccess ¶ added in v0.23.0
func (o *UpdateCORSConfigOK) IsSuccess() bool
IsSuccess returns true when this update c o r s config o k response has a 2xx status code
func (*UpdateCORSConfigOK) String ¶ added in v0.23.0
func (o *UpdateCORSConfigOK) String() string
type UpdateCORSConfigParams ¶
type UpdateCORSConfigParams struct { // Body. Body *models.HashicorpCloudVault20200420UpdateCORSConfigRequest // 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateCORSConfigParamsWithContext ¶
func NewUpdateCORSConfigParamsWithContext(ctx context.Context) *UpdateCORSConfigParams
NewUpdateCORSConfigParamsWithContext creates a new UpdateCORSConfigParams object with 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 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 ability to set a timeout on a request.
func (*UpdateCORSConfigParams) SetBody ¶
func (o *UpdateCORSConfigParams) SetBody(body *models.HashicorpCloudVault20200420UpdateCORSConfigRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *UpdateCORSConfigParams) SetDefaults()
SetDefaults hydrates default values in the update c o r s config params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *UpdateCORSConfigParams) WithBody(body *models.HashicorpCloudVault20200420UpdateCORSConfigRequest) *UpdateCORSConfigParams
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 ¶
func (o *UpdateCORSConfigParams) WithContext(ctx context.Context) *UpdateCORSConfigParams
WithContext adds the context to the update c o r s config params
func (*UpdateCORSConfigParams) WithDefaults ¶ added in v0.23.0
func (o *UpdateCORSConfigParams) WithDefaults() *UpdateCORSConfigParams
WithDefaults hydrates default values in the update c o r s config params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *UpdateCORSConfigParams) WithTimeout(timeout time.Duration) *UpdateCORSConfigParams
WithTimeout adds the timeout to the update c o r s config params
func (*UpdateCORSConfigParams) WriteToRequest ¶
func (o *UpdateCORSConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code -1, 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 ¶
func (o *UpdatePublicIpsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*UpdatePublicIpsDefault) IsClientError ¶ added in v0.23.0
func (o *UpdatePublicIpsDefault) IsClientError() bool
IsClientError returns true when this update public ips default response has a 4xx status code
func (*UpdatePublicIpsDefault) IsCode ¶ added in v0.23.0
func (o *UpdatePublicIpsDefault) IsCode(code int) bool
IsCode returns true when this update public ips default response a status code equal to that given
func (*UpdatePublicIpsDefault) IsRedirect ¶ added in v0.23.0
func (o *UpdatePublicIpsDefault) IsRedirect() bool
IsRedirect returns true when this update public ips default response has a 3xx status code
func (*UpdatePublicIpsDefault) IsServerError ¶ added in v0.23.0
func (o *UpdatePublicIpsDefault) IsServerError() bool
IsServerError returns true when this update public ips default response has a 5xx status code
func (*UpdatePublicIpsDefault) IsSuccess ¶ added in v0.23.0
func (o *UpdatePublicIpsDefault) IsSuccess() bool
IsSuccess returns true when this update public ips default response has a 2xx status code
func (*UpdatePublicIpsDefault) String ¶ added in v0.23.0
func (o *UpdatePublicIpsDefault) String() string
type UpdatePublicIpsOK ¶
type UpdatePublicIpsOK struct {
Payload *models.HashicorpCloudVault20200420UpdatePublicIpsResponse
}
UpdatePublicIpsOK describes a response with status code 200, 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
func (*UpdatePublicIpsOK) GetPayload ¶
func (o *UpdatePublicIpsOK) GetPayload() *models.HashicorpCloudVault20200420UpdatePublicIpsResponse
func (*UpdatePublicIpsOK) IsClientError ¶ added in v0.23.0
func (o *UpdatePublicIpsOK) IsClientError() bool
IsClientError returns true when this update public ips o k response has a 4xx status code
func (*UpdatePublicIpsOK) IsCode ¶ added in v0.23.0
func (o *UpdatePublicIpsOK) IsCode(code int) bool
IsCode returns true when this update public ips o k response a status code equal to that given
func (*UpdatePublicIpsOK) IsRedirect ¶ added in v0.23.0
func (o *UpdatePublicIpsOK) IsRedirect() bool
IsRedirect returns true when this update public ips o k response has a 3xx status code
func (*UpdatePublicIpsOK) IsServerError ¶ added in v0.23.0
func (o *UpdatePublicIpsOK) IsServerError() bool
IsServerError returns true when this update public ips o k response has a 5xx status code
func (*UpdatePublicIpsOK) IsSuccess ¶ added in v0.23.0
func (o *UpdatePublicIpsOK) IsSuccess() bool
IsSuccess returns true when this update public ips o k response has a 2xx status code
func (*UpdatePublicIpsOK) String ¶ added in v0.23.0
func (o *UpdatePublicIpsOK) String() string
type UpdatePublicIpsParams ¶
type UpdatePublicIpsParams struct { // Body. Body *models.HashicorpCloudVault20200420UpdatePublicIpsRequest // 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdatePublicIpsParamsWithContext ¶
func NewUpdatePublicIpsParamsWithContext(ctx context.Context) *UpdatePublicIpsParams
NewUpdatePublicIpsParamsWithContext creates a new UpdatePublicIpsParams object with 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 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 ability to set a timeout on a request.
func (*UpdatePublicIpsParams) SetBody ¶
func (o *UpdatePublicIpsParams) SetBody(body *models.HashicorpCloudVault20200420UpdatePublicIpsRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *UpdatePublicIpsParams) SetDefaults()
SetDefaults hydrates default values in the update public ips params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *UpdatePublicIpsParams) WithBody(body *models.HashicorpCloudVault20200420UpdatePublicIpsRequest) *UpdatePublicIpsParams
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 ¶
func (o *UpdatePublicIpsParams) WithContext(ctx context.Context) *UpdatePublicIpsParams
WithContext adds the context to the update public ips params
func (*UpdatePublicIpsParams) WithDefaults ¶ added in v0.23.0
func (o *UpdatePublicIpsParams) WithDefaults() *UpdatePublicIpsParams
WithDefaults hydrates default values in the update public ips params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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 ¶
func (o *UpdateSnapshotDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*UpdateSnapshotDefault) IsClientError ¶ added in v0.23.0
func (o *UpdateSnapshotDefault) IsClientError() bool
IsClientError returns true when this update snapshot default response has a 4xx status code
func (*UpdateSnapshotDefault) IsCode ¶ added in v0.23.0
func (o *UpdateSnapshotDefault) IsCode(code int) bool
IsCode returns true when this update snapshot default response a status code equal to that given
func (*UpdateSnapshotDefault) IsRedirect ¶ added in v0.23.0
func (o *UpdateSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this update snapshot default response has a 3xx status code
func (*UpdateSnapshotDefault) IsServerError ¶ added in v0.23.0
func (o *UpdateSnapshotDefault) IsServerError() bool
IsServerError returns true when this update snapshot default response has a 5xx status code
func (*UpdateSnapshotDefault) IsSuccess ¶ added in v0.23.0
func (o *UpdateSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this update snapshot default response has a 2xx status code
func (*UpdateSnapshotDefault) String ¶ added in v0.23.0
func (o *UpdateSnapshotDefault) String() string
type UpdateSnapshotOK ¶
type UpdateSnapshotOK struct {
Payload *models.HashicorpCloudVault20200420UpdateSnapshotResponse
}
UpdateSnapshotOK describes a response with status code 200, 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
func (*UpdateSnapshotOK) GetPayload ¶
func (o *UpdateSnapshotOK) GetPayload() *models.HashicorpCloudVault20200420UpdateSnapshotResponse
func (*UpdateSnapshotOK) IsClientError ¶ added in v0.23.0
func (o *UpdateSnapshotOK) IsClientError() bool
IsClientError returns true when this update snapshot o k response has a 4xx status code
func (*UpdateSnapshotOK) IsCode ¶ added in v0.23.0
func (o *UpdateSnapshotOK) IsCode(code int) bool
IsCode returns true when this update snapshot o k response a status code equal to that given
func (*UpdateSnapshotOK) IsRedirect ¶ added in v0.23.0
func (o *UpdateSnapshotOK) IsRedirect() bool
IsRedirect returns true when this update snapshot o k response has a 3xx status code
func (*UpdateSnapshotOK) IsServerError ¶ added in v0.23.0
func (o *UpdateSnapshotOK) IsServerError() bool
IsServerError returns true when this update snapshot o k response has a 5xx status code
func (*UpdateSnapshotOK) IsSuccess ¶ added in v0.23.0
func (o *UpdateSnapshotOK) IsSuccess() bool
IsSuccess returns true when this update snapshot o k response has a 2xx status code
func (*UpdateSnapshotOK) String ¶ added in v0.23.0
func (o *UpdateSnapshotOK) String() string
type UpdateSnapshotParams ¶
type UpdateSnapshotParams struct { // Body. Body *models.HashicorpCloudVault20200420UpdateSnapshotRequest /* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSnapshotParamsWithContext ¶
func NewUpdateSnapshotParamsWithContext(ctx context.Context) *UpdateSnapshotParams
NewUpdateSnapshotParamsWithContext creates a new UpdateSnapshotParams object with 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 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 ability to set a timeout on a request.
func (*UpdateSnapshotParams) SetBody ¶
func (o *UpdateSnapshotParams) SetBody(body *models.HashicorpCloudVault20200420UpdateSnapshotRequest)
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) SetDefaults ¶ added in v0.23.0
func (o *UpdateSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the update snapshot params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *UpdateSnapshotParams) WithBody(body *models.HashicorpCloudVault20200420UpdateSnapshotRequest) *UpdateSnapshotParams
WithBody adds the body to the update snapshot params
func (*UpdateSnapshotParams) WithContext ¶
func (o *UpdateSnapshotParams) WithContext(ctx context.Context) *UpdateSnapshotParams
WithContext adds the context to the update snapshot params
func (*UpdateSnapshotParams) WithDefaults ¶ added in v0.23.0
func (o *UpdateSnapshotParams) WithDefaults() *UpdateSnapshotParams
WithDefaults hydrates default values in the update snapshot params (not the query body).
All values with no default are reset to their zero value.
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.
Source Files ¶
- create_parameters.go
- create_responses.go
- create_snapshot_parameters.go
- create_snapshot_responses.go
- delete_parameters.go
- delete_responses.go
- delete_snapshot_parameters.go
- delete_snapshot_responses.go
- disable_c_o_r_s_parameters.go
- disable_c_o_r_s_responses.go
- fetch_audit_log_parameters.go
- fetch_audit_log_responses.go
- get_admin_token_parameters.go
- get_admin_token_responses.go
- get_audit_log_status_parameters.go
- get_audit_log_status_responses.go
- get_c_o_r_s_config_parameters.go
- get_c_o_r_s_config_responses.go
- get_parameters.go
- get_responses.go
- get_snapshot_parameters.go
- get_snapshot_responses.go
- list_parameters.go
- list_responses.go
- list_snapshots_parameters.go
- list_snapshots_responses.go
- restore_snapshot_parameters.go
- restore_snapshot_responses.go
- seal_parameters.go
- seal_responses.go
- unseal_parameters.go
- unseal_responses.go
- update_c_o_r_s_config_parameters.go
- update_c_o_r_s_config_responses.go
- update_public_ips_parameters.go
- update_public_ips_responses.go
- update_snapshot_parameters.go
- update_snapshot_responses.go
- vault_service_client.go