Documentation ¶
Index ¶
- type Client
- func (a *Client) CloneSnapshotGroup(params *CloneSnapshotGroupParams, opts ...ClientOption) (*CloneSnapshotGroupOK, error)
- func (a *Client) DeleteSnapshotGroup(params *DeleteSnapshotGroupParams, opts ...ClientOption) (*DeleteSnapshotGroupOK, error)
- func (a *Client) GetSnapshotGroups(params *GetSnapshotGroupsParams, opts ...ClientOption) (*GetSnapshotGroupsOK, error)
- func (a *Client) GetSnapshotGroupsConnection(params *GetSnapshotGroupsConnectionParams, opts ...ClientOption) (*GetSnapshotGroupsConnectionOK, error)
- func (a *Client) KeepSnapshotGroup(params *KeepSnapshotGroupParams, opts ...ClientOption) (*KeepSnapshotGroupOK, error)
- func (a *Client) RollbackSnapshotGroup(params *RollbackSnapshotGroupParams, opts ...ClientOption) (*RollbackSnapshotGroupOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CloneSnapshotGroupBadRequest
- type CloneSnapshotGroupOK
- type CloneSnapshotGroupParams
- func NewCloneSnapshotGroupParams() *CloneSnapshotGroupParams
- func NewCloneSnapshotGroupParamsWithContext(ctx context.Context) *CloneSnapshotGroupParams
- func NewCloneSnapshotGroupParamsWithHTTPClient(client *http.Client) *CloneSnapshotGroupParams
- func NewCloneSnapshotGroupParamsWithTimeout(timeout time.Duration) *CloneSnapshotGroupParams
- func (o *CloneSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *CloneSnapshotGroupParams) SetContext(ctx context.Context)
- func (o *CloneSnapshotGroupParams) SetDefaults()
- func (o *CloneSnapshotGroupParams) SetHTTPClient(client *http.Client)
- func (o *CloneSnapshotGroupParams) SetRequestBody(requestBody []*models.SnapshotGroupCloneParams)
- func (o *CloneSnapshotGroupParams) SetTimeout(timeout time.Duration)
- func (o *CloneSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *CloneSnapshotGroupParams
- func (o *CloneSnapshotGroupParams) WithContext(ctx context.Context) *CloneSnapshotGroupParams
- func (o *CloneSnapshotGroupParams) WithDefaults() *CloneSnapshotGroupParams
- func (o *CloneSnapshotGroupParams) WithHTTPClient(client *http.Client) *CloneSnapshotGroupParams
- func (o *CloneSnapshotGroupParams) WithRequestBody(requestBody []*models.SnapshotGroupCloneParams) *CloneSnapshotGroupParams
- func (o *CloneSnapshotGroupParams) WithTimeout(timeout time.Duration) *CloneSnapshotGroupParams
- func (o *CloneSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneSnapshotGroupReader
- type DeleteSnapshotGroupBadRequest
- type DeleteSnapshotGroupOK
- type DeleteSnapshotGroupParams
- func NewDeleteSnapshotGroupParams() *DeleteSnapshotGroupParams
- func NewDeleteSnapshotGroupParamsWithContext(ctx context.Context) *DeleteSnapshotGroupParams
- func NewDeleteSnapshotGroupParamsWithHTTPClient(client *http.Client) *DeleteSnapshotGroupParams
- func NewDeleteSnapshotGroupParamsWithTimeout(timeout time.Duration) *DeleteSnapshotGroupParams
- func (o *DeleteSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteSnapshotGroupParams) SetContext(ctx context.Context)
- func (o *DeleteSnapshotGroupParams) SetDefaults()
- func (o *DeleteSnapshotGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupDeletionParams)
- func (o *DeleteSnapshotGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *DeleteSnapshotGroupParams
- func (o *DeleteSnapshotGroupParams) WithContext(ctx context.Context) *DeleteSnapshotGroupParams
- func (o *DeleteSnapshotGroupParams) WithDefaults() *DeleteSnapshotGroupParams
- func (o *DeleteSnapshotGroupParams) WithHTTPClient(client *http.Client) *DeleteSnapshotGroupParams
- func (o *DeleteSnapshotGroupParams) WithRequestBody(requestBody *models.SnapshotGroupDeletionParams) *DeleteSnapshotGroupParams
- func (o *DeleteSnapshotGroupParams) WithTimeout(timeout time.Duration) *DeleteSnapshotGroupParams
- func (o *DeleteSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSnapshotGroupReader
- type GetSnapshotGroupsBadRequest
- type GetSnapshotGroupsConnectionBadRequest
- type GetSnapshotGroupsConnectionOK
- type GetSnapshotGroupsConnectionParams
- func NewGetSnapshotGroupsConnectionParams() *GetSnapshotGroupsConnectionParams
- func NewGetSnapshotGroupsConnectionParamsWithContext(ctx context.Context) *GetSnapshotGroupsConnectionParams
- func NewGetSnapshotGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetSnapshotGroupsConnectionParams
- func NewGetSnapshotGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetSnapshotGroupsConnectionParams
- func (o *GetSnapshotGroupsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSnapshotGroupsConnectionParams) SetContext(ctx context.Context)
- func (o *GetSnapshotGroupsConnectionParams) SetDefaults()
- func (o *GetSnapshotGroupsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotGroupsConnectionParams) SetRequestBody(requestBody *models.GetSnapshotGroupsConnectionRequestBody)
- func (o *GetSnapshotGroupsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnapshotGroupsConnectionParams
- func (o *GetSnapshotGroupsConnectionParams) WithContext(ctx context.Context) *GetSnapshotGroupsConnectionParams
- func (o *GetSnapshotGroupsConnectionParams) WithDefaults() *GetSnapshotGroupsConnectionParams
- func (o *GetSnapshotGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetSnapshotGroupsConnectionParams
- func (o *GetSnapshotGroupsConnectionParams) WithRequestBody(requestBody *models.GetSnapshotGroupsConnectionRequestBody) *GetSnapshotGroupsConnectionParams
- func (o *GetSnapshotGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetSnapshotGroupsConnectionParams
- func (o *GetSnapshotGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotGroupsConnectionReader
- type GetSnapshotGroupsOK
- type GetSnapshotGroupsParams
- func NewGetSnapshotGroupsParams() *GetSnapshotGroupsParams
- func NewGetSnapshotGroupsParamsWithContext(ctx context.Context) *GetSnapshotGroupsParams
- func NewGetSnapshotGroupsParamsWithHTTPClient(client *http.Client) *GetSnapshotGroupsParams
- func NewGetSnapshotGroupsParamsWithTimeout(timeout time.Duration) *GetSnapshotGroupsParams
- func (o *GetSnapshotGroupsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSnapshotGroupsParams) SetContext(ctx context.Context)
- func (o *GetSnapshotGroupsParams) SetDefaults()
- func (o *GetSnapshotGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotGroupsParams) SetRequestBody(requestBody *models.GetSnapshotGroupsRequestBody)
- func (o *GetSnapshotGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotGroupsParams) WithContentLanguage(contentLanguage *string) *GetSnapshotGroupsParams
- func (o *GetSnapshotGroupsParams) WithContext(ctx context.Context) *GetSnapshotGroupsParams
- func (o *GetSnapshotGroupsParams) WithDefaults() *GetSnapshotGroupsParams
- func (o *GetSnapshotGroupsParams) WithHTTPClient(client *http.Client) *GetSnapshotGroupsParams
- func (o *GetSnapshotGroupsParams) WithRequestBody(requestBody *models.GetSnapshotGroupsRequestBody) *GetSnapshotGroupsParams
- func (o *GetSnapshotGroupsParams) WithTimeout(timeout time.Duration) *GetSnapshotGroupsParams
- func (o *GetSnapshotGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotGroupsReader
- type KeepSnapshotGroupBadRequest
- type KeepSnapshotGroupOK
- type KeepSnapshotGroupParams
- func NewKeepSnapshotGroupParams() *KeepSnapshotGroupParams
- func NewKeepSnapshotGroupParamsWithContext(ctx context.Context) *KeepSnapshotGroupParams
- func NewKeepSnapshotGroupParamsWithHTTPClient(client *http.Client) *KeepSnapshotGroupParams
- func NewKeepSnapshotGroupParamsWithTimeout(timeout time.Duration) *KeepSnapshotGroupParams
- func (o *KeepSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *KeepSnapshotGroupParams) SetContext(ctx context.Context)
- func (o *KeepSnapshotGroupParams) SetDefaults()
- func (o *KeepSnapshotGroupParams) SetHTTPClient(client *http.Client)
- func (o *KeepSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupKeepParams)
- func (o *KeepSnapshotGroupParams) SetTimeout(timeout time.Duration)
- func (o *KeepSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *KeepSnapshotGroupParams
- func (o *KeepSnapshotGroupParams) WithContext(ctx context.Context) *KeepSnapshotGroupParams
- func (o *KeepSnapshotGroupParams) WithDefaults() *KeepSnapshotGroupParams
- func (o *KeepSnapshotGroupParams) WithHTTPClient(client *http.Client) *KeepSnapshotGroupParams
- func (o *KeepSnapshotGroupParams) WithRequestBody(requestBody *models.SnapshotGroupKeepParams) *KeepSnapshotGroupParams
- func (o *KeepSnapshotGroupParams) WithTimeout(timeout time.Duration) *KeepSnapshotGroupParams
- func (o *KeepSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeepSnapshotGroupReader
- type RollbackSnapshotGroupBadRequest
- type RollbackSnapshotGroupOK
- type RollbackSnapshotGroupParams
- func NewRollbackSnapshotGroupParams() *RollbackSnapshotGroupParams
- func NewRollbackSnapshotGroupParamsWithContext(ctx context.Context) *RollbackSnapshotGroupParams
- func NewRollbackSnapshotGroupParamsWithHTTPClient(client *http.Client) *RollbackSnapshotGroupParams
- func NewRollbackSnapshotGroupParamsWithTimeout(timeout time.Duration) *RollbackSnapshotGroupParams
- func (o *RollbackSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *RollbackSnapshotGroupParams) SetContext(ctx context.Context)
- func (o *RollbackSnapshotGroupParams) SetDefaults()
- func (o *RollbackSnapshotGroupParams) SetHTTPClient(client *http.Client)
- func (o *RollbackSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupRollbackParams)
- func (o *RollbackSnapshotGroupParams) SetTimeout(timeout time.Duration)
- func (o *RollbackSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *RollbackSnapshotGroupParams
- func (o *RollbackSnapshotGroupParams) WithContext(ctx context.Context) *RollbackSnapshotGroupParams
- func (o *RollbackSnapshotGroupParams) WithDefaults() *RollbackSnapshotGroupParams
- func (o *RollbackSnapshotGroupParams) WithHTTPClient(client *http.Client) *RollbackSnapshotGroupParams
- func (o *RollbackSnapshotGroupParams) WithRequestBody(requestBody *models.SnapshotGroupRollbackParams) *RollbackSnapshotGroupParams
- func (o *RollbackSnapshotGroupParams) WithTimeout(timeout time.Duration) *RollbackSnapshotGroupParams
- func (o *RollbackSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackSnapshotGroupReader
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 snapshot group API
func (*Client) CloneSnapshotGroup ¶
func (a *Client) CloneSnapshotGroup(params *CloneSnapshotGroupParams, opts ...ClientOption) (*CloneSnapshotGroupOK, error)
CloneSnapshotGroup clone snapshot group API
func (*Client) DeleteSnapshotGroup ¶
func (a *Client) DeleteSnapshotGroup(params *DeleteSnapshotGroupParams, opts ...ClientOption) (*DeleteSnapshotGroupOK, error)
DeleteSnapshotGroup delete snapshot group API
func (*Client) GetSnapshotGroups ¶
func (a *Client) GetSnapshotGroups(params *GetSnapshotGroupsParams, opts ...ClientOption) (*GetSnapshotGroupsOK, error)
GetSnapshotGroups get snapshot groups API
func (*Client) GetSnapshotGroupsConnection ¶
func (a *Client) GetSnapshotGroupsConnection(params *GetSnapshotGroupsConnectionParams, opts ...ClientOption) (*GetSnapshotGroupsConnectionOK, error)
GetSnapshotGroupsConnection get snapshot groups connection API
func (*Client) KeepSnapshotGroup ¶
func (a *Client) KeepSnapshotGroup(params *KeepSnapshotGroupParams, opts ...ClientOption) (*KeepSnapshotGroupOK, error)
KeepSnapshotGroup keep snapshot group API
func (*Client) RollbackSnapshotGroup ¶
func (a *Client) RollbackSnapshotGroup(params *RollbackSnapshotGroupParams, opts ...ClientOption) (*RollbackSnapshotGroupOK, error)
RollbackSnapshotGroup rollback snapshot group API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CloneSnapshotGroup(params *CloneSnapshotGroupParams, opts ...ClientOption) (*CloneSnapshotGroupOK, error) DeleteSnapshotGroup(params *DeleteSnapshotGroupParams, opts ...ClientOption) (*DeleteSnapshotGroupOK, error) GetSnapshotGroups(params *GetSnapshotGroupsParams, opts ...ClientOption) (*GetSnapshotGroupsOK, error) GetSnapshotGroupsConnection(params *GetSnapshotGroupsConnectionParams, opts ...ClientOption) (*GetSnapshotGroupsConnectionOK, error) KeepSnapshotGroup(params *KeepSnapshotGroupParams, opts ...ClientOption) (*KeepSnapshotGroupOK, error) RollbackSnapshotGroup(params *RollbackSnapshotGroupParams, opts ...ClientOption) (*RollbackSnapshotGroupOK, 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 snapshot group API client.
type CloneSnapshotGroupBadRequest ¶
type CloneSnapshotGroupBadRequest struct {
Payload string
}
CloneSnapshotGroupBadRequest describes a response with status code 400, with default header values.
CloneSnapshotGroupBadRequest clone snapshot group bad request
func NewCloneSnapshotGroupBadRequest ¶
func NewCloneSnapshotGroupBadRequest() *CloneSnapshotGroupBadRequest
NewCloneSnapshotGroupBadRequest creates a CloneSnapshotGroupBadRequest with default headers values
func (*CloneSnapshotGroupBadRequest) Error ¶
func (o *CloneSnapshotGroupBadRequest) Error() string
func (*CloneSnapshotGroupBadRequest) GetPayload ¶
func (o *CloneSnapshotGroupBadRequest) GetPayload() string
type CloneSnapshotGroupOK ¶
type CloneSnapshotGroupOK struct {
Payload []*models.WithTaskSnapshotGroup
}
CloneSnapshotGroupOK describes a response with status code 200, with default header values.
Ok
func NewCloneSnapshotGroupOK ¶
func NewCloneSnapshotGroupOK() *CloneSnapshotGroupOK
NewCloneSnapshotGroupOK creates a CloneSnapshotGroupOK with default headers values
func (*CloneSnapshotGroupOK) Error ¶
func (o *CloneSnapshotGroupOK) Error() string
func (*CloneSnapshotGroupOK) GetPayload ¶
func (o *CloneSnapshotGroupOK) GetPayload() []*models.WithTaskSnapshotGroup
type CloneSnapshotGroupParams ¶
type CloneSnapshotGroupParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.SnapshotGroupCloneParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneSnapshotGroupParams contains all the parameters to send to the API endpoint
for the clone snapshot group operation. Typically these are written to a http.Request.
func NewCloneSnapshotGroupParams ¶
func NewCloneSnapshotGroupParams() *CloneSnapshotGroupParams
NewCloneSnapshotGroupParams creates a new CloneSnapshotGroupParams 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 NewCloneSnapshotGroupParamsWithContext ¶
func NewCloneSnapshotGroupParamsWithContext(ctx context.Context) *CloneSnapshotGroupParams
NewCloneSnapshotGroupParamsWithContext creates a new CloneSnapshotGroupParams object with the ability to set a context for a request.
func NewCloneSnapshotGroupParamsWithHTTPClient ¶
func NewCloneSnapshotGroupParamsWithHTTPClient(client *http.Client) *CloneSnapshotGroupParams
NewCloneSnapshotGroupParamsWithHTTPClient creates a new CloneSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCloneSnapshotGroupParamsWithTimeout ¶
func NewCloneSnapshotGroupParamsWithTimeout(timeout time.Duration) *CloneSnapshotGroupParams
NewCloneSnapshotGroupParamsWithTimeout creates a new CloneSnapshotGroupParams object with the ability to set a timeout on a request.
func (*CloneSnapshotGroupParams) SetContentLanguage ¶
func (o *CloneSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the clone snapshot group params
func (*CloneSnapshotGroupParams) SetContext ¶
func (o *CloneSnapshotGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the clone snapshot group params
func (*CloneSnapshotGroupParams) SetDefaults ¶
func (o *CloneSnapshotGroupParams) SetDefaults()
SetDefaults hydrates default values in the clone snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*CloneSnapshotGroupParams) SetHTTPClient ¶
func (o *CloneSnapshotGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone snapshot group params
func (*CloneSnapshotGroupParams) SetRequestBody ¶
func (o *CloneSnapshotGroupParams) SetRequestBody(requestBody []*models.SnapshotGroupCloneParams)
SetRequestBody adds the requestBody to the clone snapshot group params
func (*CloneSnapshotGroupParams) SetTimeout ¶
func (o *CloneSnapshotGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone snapshot group params
func (*CloneSnapshotGroupParams) WithContentLanguage ¶
func (o *CloneSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *CloneSnapshotGroupParams
WithContentLanguage adds the contentLanguage to the clone snapshot group params
func (*CloneSnapshotGroupParams) WithContext ¶
func (o *CloneSnapshotGroupParams) WithContext(ctx context.Context) *CloneSnapshotGroupParams
WithContext adds the context to the clone snapshot group params
func (*CloneSnapshotGroupParams) WithDefaults ¶
func (o *CloneSnapshotGroupParams) WithDefaults() *CloneSnapshotGroupParams
WithDefaults hydrates default values in the clone snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*CloneSnapshotGroupParams) WithHTTPClient ¶
func (o *CloneSnapshotGroupParams) WithHTTPClient(client *http.Client) *CloneSnapshotGroupParams
WithHTTPClient adds the HTTPClient to the clone snapshot group params
func (*CloneSnapshotGroupParams) WithRequestBody ¶
func (o *CloneSnapshotGroupParams) WithRequestBody(requestBody []*models.SnapshotGroupCloneParams) *CloneSnapshotGroupParams
WithRequestBody adds the requestBody to the clone snapshot group params
func (*CloneSnapshotGroupParams) WithTimeout ¶
func (o *CloneSnapshotGroupParams) WithTimeout(timeout time.Duration) *CloneSnapshotGroupParams
WithTimeout adds the timeout to the clone snapshot group params
func (*CloneSnapshotGroupParams) WriteToRequest ¶
func (o *CloneSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneSnapshotGroupReader ¶
type CloneSnapshotGroupReader struct {
// contains filtered or unexported fields
}
CloneSnapshotGroupReader is a Reader for the CloneSnapshotGroup structure.
func (*CloneSnapshotGroupReader) ReadResponse ¶
func (o *CloneSnapshotGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSnapshotGroupBadRequest ¶
type DeleteSnapshotGroupBadRequest struct {
Payload string
}
DeleteSnapshotGroupBadRequest describes a response with status code 400, with default header values.
DeleteSnapshotGroupBadRequest delete snapshot group bad request
func NewDeleteSnapshotGroupBadRequest ¶
func NewDeleteSnapshotGroupBadRequest() *DeleteSnapshotGroupBadRequest
NewDeleteSnapshotGroupBadRequest creates a DeleteSnapshotGroupBadRequest with default headers values
func (*DeleteSnapshotGroupBadRequest) Error ¶
func (o *DeleteSnapshotGroupBadRequest) Error() string
func (*DeleteSnapshotGroupBadRequest) GetPayload ¶
func (o *DeleteSnapshotGroupBadRequest) GetPayload() string
type DeleteSnapshotGroupOK ¶
type DeleteSnapshotGroupOK struct {
Payload []*models.WithTaskDeleteSnapshotGroup
}
DeleteSnapshotGroupOK describes a response with status code 200, with default header values.
Ok
func NewDeleteSnapshotGroupOK ¶
func NewDeleteSnapshotGroupOK() *DeleteSnapshotGroupOK
NewDeleteSnapshotGroupOK creates a DeleteSnapshotGroupOK with default headers values
func (*DeleteSnapshotGroupOK) Error ¶
func (o *DeleteSnapshotGroupOK) Error() string
func (*DeleteSnapshotGroupOK) GetPayload ¶
func (o *DeleteSnapshotGroupOK) GetPayload() []*models.WithTaskDeleteSnapshotGroup
type DeleteSnapshotGroupParams ¶
type DeleteSnapshotGroupParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotGroupDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSnapshotGroupParams contains all the parameters to send to the API endpoint
for the delete snapshot group operation. Typically these are written to a http.Request.
func NewDeleteSnapshotGroupParams ¶
func NewDeleteSnapshotGroupParams() *DeleteSnapshotGroupParams
NewDeleteSnapshotGroupParams creates a new DeleteSnapshotGroupParams 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 NewDeleteSnapshotGroupParamsWithContext ¶
func NewDeleteSnapshotGroupParamsWithContext(ctx context.Context) *DeleteSnapshotGroupParams
NewDeleteSnapshotGroupParamsWithContext creates a new DeleteSnapshotGroupParams object with the ability to set a context for a request.
func NewDeleteSnapshotGroupParamsWithHTTPClient ¶
func NewDeleteSnapshotGroupParamsWithHTTPClient(client *http.Client) *DeleteSnapshotGroupParams
NewDeleteSnapshotGroupParamsWithHTTPClient creates a new DeleteSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSnapshotGroupParamsWithTimeout ¶
func NewDeleteSnapshotGroupParamsWithTimeout(timeout time.Duration) *DeleteSnapshotGroupParams
NewDeleteSnapshotGroupParamsWithTimeout creates a new DeleteSnapshotGroupParams object with the ability to set a timeout on a request.
func (*DeleteSnapshotGroupParams) SetContentLanguage ¶
func (o *DeleteSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete snapshot group params
func (*DeleteSnapshotGroupParams) SetContext ¶
func (o *DeleteSnapshotGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete snapshot group params
func (*DeleteSnapshotGroupParams) SetDefaults ¶
func (o *DeleteSnapshotGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotGroupParams) SetHTTPClient ¶
func (o *DeleteSnapshotGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete snapshot group params
func (*DeleteSnapshotGroupParams) SetRequestBody ¶
func (o *DeleteSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupDeletionParams)
SetRequestBody adds the requestBody to the delete snapshot group params
func (*DeleteSnapshotGroupParams) SetTimeout ¶
func (o *DeleteSnapshotGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete snapshot group params
func (*DeleteSnapshotGroupParams) WithContentLanguage ¶
func (o *DeleteSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *DeleteSnapshotGroupParams
WithContentLanguage adds the contentLanguage to the delete snapshot group params
func (*DeleteSnapshotGroupParams) WithContext ¶
func (o *DeleteSnapshotGroupParams) WithContext(ctx context.Context) *DeleteSnapshotGroupParams
WithContext adds the context to the delete snapshot group params
func (*DeleteSnapshotGroupParams) WithDefaults ¶
func (o *DeleteSnapshotGroupParams) WithDefaults() *DeleteSnapshotGroupParams
WithDefaults hydrates default values in the delete snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotGroupParams) WithHTTPClient ¶
func (o *DeleteSnapshotGroupParams) WithHTTPClient(client *http.Client) *DeleteSnapshotGroupParams
WithHTTPClient adds the HTTPClient to the delete snapshot group params
func (*DeleteSnapshotGroupParams) WithRequestBody ¶
func (o *DeleteSnapshotGroupParams) WithRequestBody(requestBody *models.SnapshotGroupDeletionParams) *DeleteSnapshotGroupParams
WithRequestBody adds the requestBody to the delete snapshot group params
func (*DeleteSnapshotGroupParams) WithTimeout ¶
func (o *DeleteSnapshotGroupParams) WithTimeout(timeout time.Duration) *DeleteSnapshotGroupParams
WithTimeout adds the timeout to the delete snapshot group params
func (*DeleteSnapshotGroupParams) WriteToRequest ¶
func (o *DeleteSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSnapshotGroupReader ¶
type DeleteSnapshotGroupReader struct {
// contains filtered or unexported fields
}
DeleteSnapshotGroupReader is a Reader for the DeleteSnapshotGroup structure.
func (*DeleteSnapshotGroupReader) ReadResponse ¶
func (o *DeleteSnapshotGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnapshotGroupsBadRequest ¶
type GetSnapshotGroupsBadRequest struct {
Payload string
}
GetSnapshotGroupsBadRequest describes a response with status code 400, with default header values.
GetSnapshotGroupsBadRequest get snapshot groups bad request
func NewGetSnapshotGroupsBadRequest ¶
func NewGetSnapshotGroupsBadRequest() *GetSnapshotGroupsBadRequest
NewGetSnapshotGroupsBadRequest creates a GetSnapshotGroupsBadRequest with default headers values
func (*GetSnapshotGroupsBadRequest) Error ¶
func (o *GetSnapshotGroupsBadRequest) Error() string
func (*GetSnapshotGroupsBadRequest) GetPayload ¶
func (o *GetSnapshotGroupsBadRequest) GetPayload() string
type GetSnapshotGroupsConnectionBadRequest ¶
type GetSnapshotGroupsConnectionBadRequest struct {
Payload string
}
GetSnapshotGroupsConnectionBadRequest describes a response with status code 400, with default header values.
GetSnapshotGroupsConnectionBadRequest get snapshot groups connection bad request
func NewGetSnapshotGroupsConnectionBadRequest ¶
func NewGetSnapshotGroupsConnectionBadRequest() *GetSnapshotGroupsConnectionBadRequest
NewGetSnapshotGroupsConnectionBadRequest creates a GetSnapshotGroupsConnectionBadRequest with default headers values
func (*GetSnapshotGroupsConnectionBadRequest) Error ¶
func (o *GetSnapshotGroupsConnectionBadRequest) Error() string
func (*GetSnapshotGroupsConnectionBadRequest) GetPayload ¶
func (o *GetSnapshotGroupsConnectionBadRequest) GetPayload() string
type GetSnapshotGroupsConnectionOK ¶
type GetSnapshotGroupsConnectionOK struct {
Payload *models.SnapshotGroupConnection
}
GetSnapshotGroupsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetSnapshotGroupsConnectionOK ¶
func NewGetSnapshotGroupsConnectionOK() *GetSnapshotGroupsConnectionOK
NewGetSnapshotGroupsConnectionOK creates a GetSnapshotGroupsConnectionOK with default headers values
func (*GetSnapshotGroupsConnectionOK) Error ¶
func (o *GetSnapshotGroupsConnectionOK) Error() string
func (*GetSnapshotGroupsConnectionOK) GetPayload ¶
func (o *GetSnapshotGroupsConnectionOK) GetPayload() *models.SnapshotGroupConnection
type GetSnapshotGroupsConnectionParams ¶
type GetSnapshotGroupsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSnapshotGroupsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnapshotGroupsConnectionParams contains all the parameters to send to the API endpoint
for the get snapshot groups connection operation. Typically these are written to a http.Request.
func NewGetSnapshotGroupsConnectionParams ¶
func NewGetSnapshotGroupsConnectionParams() *GetSnapshotGroupsConnectionParams
NewGetSnapshotGroupsConnectionParams creates a new GetSnapshotGroupsConnectionParams 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 NewGetSnapshotGroupsConnectionParamsWithContext ¶
func NewGetSnapshotGroupsConnectionParamsWithContext(ctx context.Context) *GetSnapshotGroupsConnectionParams
NewGetSnapshotGroupsConnectionParamsWithContext creates a new GetSnapshotGroupsConnectionParams object with the ability to set a context for a request.
func NewGetSnapshotGroupsConnectionParamsWithHTTPClient ¶
func NewGetSnapshotGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetSnapshotGroupsConnectionParams
NewGetSnapshotGroupsConnectionParamsWithHTTPClient creates a new GetSnapshotGroupsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnapshotGroupsConnectionParamsWithTimeout ¶
func NewGetSnapshotGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetSnapshotGroupsConnectionParams
NewGetSnapshotGroupsConnectionParamsWithTimeout creates a new GetSnapshotGroupsConnectionParams object with the ability to set a timeout on a request.
func (*GetSnapshotGroupsConnectionParams) SetContentLanguage ¶
func (o *GetSnapshotGroupsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) SetContext ¶
func (o *GetSnapshotGroupsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) SetDefaults ¶
func (o *GetSnapshotGroupsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot groups connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotGroupsConnectionParams) SetHTTPClient ¶
func (o *GetSnapshotGroupsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) SetRequestBody ¶
func (o *GetSnapshotGroupsConnectionParams) SetRequestBody(requestBody *models.GetSnapshotGroupsConnectionRequestBody)
SetRequestBody adds the requestBody to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) SetTimeout ¶
func (o *GetSnapshotGroupsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) WithContentLanguage ¶
func (o *GetSnapshotGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnapshotGroupsConnectionParams
WithContentLanguage adds the contentLanguage to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) WithContext ¶
func (o *GetSnapshotGroupsConnectionParams) WithContext(ctx context.Context) *GetSnapshotGroupsConnectionParams
WithContext adds the context to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) WithDefaults ¶
func (o *GetSnapshotGroupsConnectionParams) WithDefaults() *GetSnapshotGroupsConnectionParams
WithDefaults hydrates default values in the get snapshot groups connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotGroupsConnectionParams) WithHTTPClient ¶
func (o *GetSnapshotGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetSnapshotGroupsConnectionParams
WithHTTPClient adds the HTTPClient to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) WithRequestBody ¶
func (o *GetSnapshotGroupsConnectionParams) WithRequestBody(requestBody *models.GetSnapshotGroupsConnectionRequestBody) *GetSnapshotGroupsConnectionParams
WithRequestBody adds the requestBody to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) WithTimeout ¶
func (o *GetSnapshotGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetSnapshotGroupsConnectionParams
WithTimeout adds the timeout to the get snapshot groups connection params
func (*GetSnapshotGroupsConnectionParams) WriteToRequest ¶
func (o *GetSnapshotGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnapshotGroupsConnectionReader ¶
type GetSnapshotGroupsConnectionReader struct {
// contains filtered or unexported fields
}
GetSnapshotGroupsConnectionReader is a Reader for the GetSnapshotGroupsConnection structure.
func (*GetSnapshotGroupsConnectionReader) ReadResponse ¶
func (o *GetSnapshotGroupsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnapshotGroupsOK ¶
type GetSnapshotGroupsOK struct {
Payload []*models.SnapshotGroup
}
GetSnapshotGroupsOK describes a response with status code 200, with default header values.
Ok
func NewGetSnapshotGroupsOK ¶
func NewGetSnapshotGroupsOK() *GetSnapshotGroupsOK
NewGetSnapshotGroupsOK creates a GetSnapshotGroupsOK with default headers values
func (*GetSnapshotGroupsOK) Error ¶
func (o *GetSnapshotGroupsOK) Error() string
func (*GetSnapshotGroupsOK) GetPayload ¶
func (o *GetSnapshotGroupsOK) GetPayload() []*models.SnapshotGroup
type GetSnapshotGroupsParams ¶
type GetSnapshotGroupsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSnapshotGroupsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnapshotGroupsParams contains all the parameters to send to the API endpoint
for the get snapshot groups operation. Typically these are written to a http.Request.
func NewGetSnapshotGroupsParams ¶
func NewGetSnapshotGroupsParams() *GetSnapshotGroupsParams
NewGetSnapshotGroupsParams creates a new GetSnapshotGroupsParams 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 NewGetSnapshotGroupsParamsWithContext ¶
func NewGetSnapshotGroupsParamsWithContext(ctx context.Context) *GetSnapshotGroupsParams
NewGetSnapshotGroupsParamsWithContext creates a new GetSnapshotGroupsParams object with the ability to set a context for a request.
func NewGetSnapshotGroupsParamsWithHTTPClient ¶
func NewGetSnapshotGroupsParamsWithHTTPClient(client *http.Client) *GetSnapshotGroupsParams
NewGetSnapshotGroupsParamsWithHTTPClient creates a new GetSnapshotGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnapshotGroupsParamsWithTimeout ¶
func NewGetSnapshotGroupsParamsWithTimeout(timeout time.Duration) *GetSnapshotGroupsParams
NewGetSnapshotGroupsParamsWithTimeout creates a new GetSnapshotGroupsParams object with the ability to set a timeout on a request.
func (*GetSnapshotGroupsParams) SetContentLanguage ¶
func (o *GetSnapshotGroupsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get snapshot groups params
func (*GetSnapshotGroupsParams) SetContext ¶
func (o *GetSnapshotGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get snapshot groups params
func (*GetSnapshotGroupsParams) SetDefaults ¶
func (o *GetSnapshotGroupsParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotGroupsParams) SetHTTPClient ¶
func (o *GetSnapshotGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snapshot groups params
func (*GetSnapshotGroupsParams) SetRequestBody ¶
func (o *GetSnapshotGroupsParams) SetRequestBody(requestBody *models.GetSnapshotGroupsRequestBody)
SetRequestBody adds the requestBody to the get snapshot groups params
func (*GetSnapshotGroupsParams) SetTimeout ¶
func (o *GetSnapshotGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snapshot groups params
func (*GetSnapshotGroupsParams) WithContentLanguage ¶
func (o *GetSnapshotGroupsParams) WithContentLanguage(contentLanguage *string) *GetSnapshotGroupsParams
WithContentLanguage adds the contentLanguage to the get snapshot groups params
func (*GetSnapshotGroupsParams) WithContext ¶
func (o *GetSnapshotGroupsParams) WithContext(ctx context.Context) *GetSnapshotGroupsParams
WithContext adds the context to the get snapshot groups params
func (*GetSnapshotGroupsParams) WithDefaults ¶
func (o *GetSnapshotGroupsParams) WithDefaults() *GetSnapshotGroupsParams
WithDefaults hydrates default values in the get snapshot groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotGroupsParams) WithHTTPClient ¶
func (o *GetSnapshotGroupsParams) WithHTTPClient(client *http.Client) *GetSnapshotGroupsParams
WithHTTPClient adds the HTTPClient to the get snapshot groups params
func (*GetSnapshotGroupsParams) WithRequestBody ¶
func (o *GetSnapshotGroupsParams) WithRequestBody(requestBody *models.GetSnapshotGroupsRequestBody) *GetSnapshotGroupsParams
WithRequestBody adds the requestBody to the get snapshot groups params
func (*GetSnapshotGroupsParams) WithTimeout ¶
func (o *GetSnapshotGroupsParams) WithTimeout(timeout time.Duration) *GetSnapshotGroupsParams
WithTimeout adds the timeout to the get snapshot groups params
func (*GetSnapshotGroupsParams) WriteToRequest ¶
func (o *GetSnapshotGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnapshotGroupsReader ¶
type GetSnapshotGroupsReader struct {
// contains filtered or unexported fields
}
GetSnapshotGroupsReader is a Reader for the GetSnapshotGroups structure.
func (*GetSnapshotGroupsReader) ReadResponse ¶
func (o *GetSnapshotGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeepSnapshotGroupBadRequest ¶
type KeepSnapshotGroupBadRequest struct {
Payload string
}
KeepSnapshotGroupBadRequest describes a response with status code 400, with default header values.
KeepSnapshotGroupBadRequest keep snapshot group bad request
func NewKeepSnapshotGroupBadRequest ¶
func NewKeepSnapshotGroupBadRequest() *KeepSnapshotGroupBadRequest
NewKeepSnapshotGroupBadRequest creates a KeepSnapshotGroupBadRequest with default headers values
func (*KeepSnapshotGroupBadRequest) Error ¶
func (o *KeepSnapshotGroupBadRequest) Error() string
func (*KeepSnapshotGroupBadRequest) GetPayload ¶
func (o *KeepSnapshotGroupBadRequest) GetPayload() string
type KeepSnapshotGroupOK ¶
type KeepSnapshotGroupOK struct {
Payload []*models.WithTaskSnapshotGroup
}
KeepSnapshotGroupOK describes a response with status code 200, with default header values.
Ok
func NewKeepSnapshotGroupOK ¶
func NewKeepSnapshotGroupOK() *KeepSnapshotGroupOK
NewKeepSnapshotGroupOK creates a KeepSnapshotGroupOK with default headers values
func (*KeepSnapshotGroupOK) Error ¶
func (o *KeepSnapshotGroupOK) Error() string
func (*KeepSnapshotGroupOK) GetPayload ¶
func (o *KeepSnapshotGroupOK) GetPayload() []*models.WithTaskSnapshotGroup
type KeepSnapshotGroupParams ¶
type KeepSnapshotGroupParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotGroupKeepParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeepSnapshotGroupParams contains all the parameters to send to the API endpoint
for the keep snapshot group operation. Typically these are written to a http.Request.
func NewKeepSnapshotGroupParams ¶
func NewKeepSnapshotGroupParams() *KeepSnapshotGroupParams
NewKeepSnapshotGroupParams creates a new KeepSnapshotGroupParams 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 NewKeepSnapshotGroupParamsWithContext ¶
func NewKeepSnapshotGroupParamsWithContext(ctx context.Context) *KeepSnapshotGroupParams
NewKeepSnapshotGroupParamsWithContext creates a new KeepSnapshotGroupParams object with the ability to set a context for a request.
func NewKeepSnapshotGroupParamsWithHTTPClient ¶
func NewKeepSnapshotGroupParamsWithHTTPClient(client *http.Client) *KeepSnapshotGroupParams
NewKeepSnapshotGroupParamsWithHTTPClient creates a new KeepSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.
func NewKeepSnapshotGroupParamsWithTimeout ¶
func NewKeepSnapshotGroupParamsWithTimeout(timeout time.Duration) *KeepSnapshotGroupParams
NewKeepSnapshotGroupParamsWithTimeout creates a new KeepSnapshotGroupParams object with the ability to set a timeout on a request.
func (*KeepSnapshotGroupParams) SetContentLanguage ¶
func (o *KeepSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the keep snapshot group params
func (*KeepSnapshotGroupParams) SetContext ¶
func (o *KeepSnapshotGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the keep snapshot group params
func (*KeepSnapshotGroupParams) SetDefaults ¶
func (o *KeepSnapshotGroupParams) SetDefaults()
SetDefaults hydrates default values in the keep snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*KeepSnapshotGroupParams) SetHTTPClient ¶
func (o *KeepSnapshotGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the keep snapshot group params
func (*KeepSnapshotGroupParams) SetRequestBody ¶
func (o *KeepSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupKeepParams)
SetRequestBody adds the requestBody to the keep snapshot group params
func (*KeepSnapshotGroupParams) SetTimeout ¶
func (o *KeepSnapshotGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the keep snapshot group params
func (*KeepSnapshotGroupParams) WithContentLanguage ¶
func (o *KeepSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *KeepSnapshotGroupParams
WithContentLanguage adds the contentLanguage to the keep snapshot group params
func (*KeepSnapshotGroupParams) WithContext ¶
func (o *KeepSnapshotGroupParams) WithContext(ctx context.Context) *KeepSnapshotGroupParams
WithContext adds the context to the keep snapshot group params
func (*KeepSnapshotGroupParams) WithDefaults ¶
func (o *KeepSnapshotGroupParams) WithDefaults() *KeepSnapshotGroupParams
WithDefaults hydrates default values in the keep snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*KeepSnapshotGroupParams) WithHTTPClient ¶
func (o *KeepSnapshotGroupParams) WithHTTPClient(client *http.Client) *KeepSnapshotGroupParams
WithHTTPClient adds the HTTPClient to the keep snapshot group params
func (*KeepSnapshotGroupParams) WithRequestBody ¶
func (o *KeepSnapshotGroupParams) WithRequestBody(requestBody *models.SnapshotGroupKeepParams) *KeepSnapshotGroupParams
WithRequestBody adds the requestBody to the keep snapshot group params
func (*KeepSnapshotGroupParams) WithTimeout ¶
func (o *KeepSnapshotGroupParams) WithTimeout(timeout time.Duration) *KeepSnapshotGroupParams
WithTimeout adds the timeout to the keep snapshot group params
func (*KeepSnapshotGroupParams) WriteToRequest ¶
func (o *KeepSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeepSnapshotGroupReader ¶
type KeepSnapshotGroupReader struct {
// contains filtered or unexported fields
}
KeepSnapshotGroupReader is a Reader for the KeepSnapshotGroup structure.
func (*KeepSnapshotGroupReader) ReadResponse ¶
func (o *KeepSnapshotGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackSnapshotGroupBadRequest ¶
type RollbackSnapshotGroupBadRequest struct {
Payload string
}
RollbackSnapshotGroupBadRequest describes a response with status code 400, with default header values.
RollbackSnapshotGroupBadRequest rollback snapshot group bad request
func NewRollbackSnapshotGroupBadRequest ¶
func NewRollbackSnapshotGroupBadRequest() *RollbackSnapshotGroupBadRequest
NewRollbackSnapshotGroupBadRequest creates a RollbackSnapshotGroupBadRequest with default headers values
func (*RollbackSnapshotGroupBadRequest) Error ¶
func (o *RollbackSnapshotGroupBadRequest) Error() string
func (*RollbackSnapshotGroupBadRequest) GetPayload ¶
func (o *RollbackSnapshotGroupBadRequest) GetPayload() string
type RollbackSnapshotGroupOK ¶
type RollbackSnapshotGroupOK struct {
Payload []*models.WithTaskSnapshotGroup
}
RollbackSnapshotGroupOK describes a response with status code 200, with default header values.
Ok
func NewRollbackSnapshotGroupOK ¶
func NewRollbackSnapshotGroupOK() *RollbackSnapshotGroupOK
NewRollbackSnapshotGroupOK creates a RollbackSnapshotGroupOK with default headers values
func (*RollbackSnapshotGroupOK) Error ¶
func (o *RollbackSnapshotGroupOK) Error() string
func (*RollbackSnapshotGroupOK) GetPayload ¶
func (o *RollbackSnapshotGroupOK) GetPayload() []*models.WithTaskSnapshotGroup
type RollbackSnapshotGroupParams ¶
type RollbackSnapshotGroupParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotGroupRollbackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RollbackSnapshotGroupParams contains all the parameters to send to the API endpoint
for the rollback snapshot group operation. Typically these are written to a http.Request.
func NewRollbackSnapshotGroupParams ¶
func NewRollbackSnapshotGroupParams() *RollbackSnapshotGroupParams
NewRollbackSnapshotGroupParams creates a new RollbackSnapshotGroupParams 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 NewRollbackSnapshotGroupParamsWithContext ¶
func NewRollbackSnapshotGroupParamsWithContext(ctx context.Context) *RollbackSnapshotGroupParams
NewRollbackSnapshotGroupParamsWithContext creates a new RollbackSnapshotGroupParams object with the ability to set a context for a request.
func NewRollbackSnapshotGroupParamsWithHTTPClient ¶
func NewRollbackSnapshotGroupParamsWithHTTPClient(client *http.Client) *RollbackSnapshotGroupParams
NewRollbackSnapshotGroupParamsWithHTTPClient creates a new RollbackSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.
func NewRollbackSnapshotGroupParamsWithTimeout ¶
func NewRollbackSnapshotGroupParamsWithTimeout(timeout time.Duration) *RollbackSnapshotGroupParams
NewRollbackSnapshotGroupParamsWithTimeout creates a new RollbackSnapshotGroupParams object with the ability to set a timeout on a request.
func (*RollbackSnapshotGroupParams) SetContentLanguage ¶
func (o *RollbackSnapshotGroupParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) SetContext ¶
func (o *RollbackSnapshotGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) SetDefaults ¶
func (o *RollbackSnapshotGroupParams) SetDefaults()
SetDefaults hydrates default values in the rollback snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackSnapshotGroupParams) SetHTTPClient ¶
func (o *RollbackSnapshotGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) SetRequestBody ¶
func (o *RollbackSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupRollbackParams)
SetRequestBody adds the requestBody to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) SetTimeout ¶
func (o *RollbackSnapshotGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) WithContentLanguage ¶
func (o *RollbackSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *RollbackSnapshotGroupParams
WithContentLanguage adds the contentLanguage to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) WithContext ¶
func (o *RollbackSnapshotGroupParams) WithContext(ctx context.Context) *RollbackSnapshotGroupParams
WithContext adds the context to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) WithDefaults ¶
func (o *RollbackSnapshotGroupParams) WithDefaults() *RollbackSnapshotGroupParams
WithDefaults hydrates default values in the rollback snapshot group params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackSnapshotGroupParams) WithHTTPClient ¶
func (o *RollbackSnapshotGroupParams) WithHTTPClient(client *http.Client) *RollbackSnapshotGroupParams
WithHTTPClient adds the HTTPClient to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) WithRequestBody ¶
func (o *RollbackSnapshotGroupParams) WithRequestBody(requestBody *models.SnapshotGroupRollbackParams) *RollbackSnapshotGroupParams
WithRequestBody adds the requestBody to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) WithTimeout ¶
func (o *RollbackSnapshotGroupParams) WithTimeout(timeout time.Duration) *RollbackSnapshotGroupParams
WithTimeout adds the timeout to the rollback snapshot group params
func (*RollbackSnapshotGroupParams) WriteToRequest ¶
func (o *RollbackSnapshotGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackSnapshotGroupReader ¶
type RollbackSnapshotGroupReader struct {
// contains filtered or unexported fields
}
RollbackSnapshotGroupReader is a Reader for the RollbackSnapshotGroup structure.
func (*RollbackSnapshotGroupReader) ReadResponse ¶
func (o *RollbackSnapshotGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clone_snapshot_group_parameters.go
- clone_snapshot_group_responses.go
- delete_snapshot_group_parameters.go
- delete_snapshot_group_responses.go
- get_snapshot_groups_connection_parameters.go
- get_snapshot_groups_connection_responses.go
- get_snapshot_groups_parameters.go
- get_snapshot_groups_responses.go
- keep_snapshot_group_parameters.go
- keep_snapshot_group_responses.go
- rollback_snapshot_group_parameters.go
- rollback_snapshot_group_responses.go
- snapshot_group_client.go