Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24ProtectionGroupSnapshots(params *DeleteAPI24ProtectionGroupSnapshotsParams) (*DeleteApi24ProtectionGroupSnapshotsOK, error)
- func (a *Client) GetAPI24ProtectionGroupSnapshots(params *GetAPI24ProtectionGroupSnapshotsParams) (*GetApi24ProtectionGroupSnapshotsOK, error)
- func (a *Client) GetAPI24ProtectionGroupSnapshotsTransfer(params *GetAPI24ProtectionGroupSnapshotsTransferParams) (*GetApi24ProtectionGroupSnapshotsTransferOK, error)
- func (a *Client) PatchAPI24ProtectionGroupSnapshots(params *PatchAPI24ProtectionGroupSnapshotsParams) (*PatchApi24ProtectionGroupSnapshotsOK, error)
- func (a *Client) PostAPI24ProtectionGroupSnapshots(params *PostAPI24ProtectionGroupSnapshotsParams) (*PostApi24ProtectionGroupSnapshotsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24ProtectionGroupSnapshotsParams
- func NewDeleteAPI24ProtectionGroupSnapshotsParams() *DeleteAPI24ProtectionGroupSnapshotsParams
- func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *DeleteAPI24ProtectionGroupSnapshotsParams
- func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *DeleteAPI24ProtectionGroupSnapshotsParams
- func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *DeleteAPI24ProtectionGroupSnapshotsParams
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetNames(names []string)
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *DeleteAPI24ProtectionGroupSnapshotsParams
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *DeleteAPI24ProtectionGroupSnapshotsParams
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *DeleteAPI24ProtectionGroupSnapshotsParams
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithNames(names []string) *DeleteAPI24ProtectionGroupSnapshotsParams
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *DeleteAPI24ProtectionGroupSnapshotsParams
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *DeleteAPI24ProtectionGroupSnapshotsParams
- func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24ProtectionGroupSnapshotsReader
- type DeleteApi24ProtectionGroupSnapshotsBadRequest
- type DeleteApi24ProtectionGroupSnapshotsOK
- type GetAPI24ProtectionGroupSnapshotsParams
- func NewGetAPI24ProtectionGroupSnapshotsParams() *GetAPI24ProtectionGroupSnapshotsParams
- func NewGetAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsParams
- func NewGetAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsParams
- func NewGetAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetDestroyed(destroyed *bool)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetFilter(filter *string)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetLimit(limit *int32)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetNames(names []string)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetOffset(offset *int32)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetSort(sort []string)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetSourceNames(sourceNames []string)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetTotalOnly(totalOnly *bool)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithContinuationToken(continuationToken *string) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithDestroyed(destroyed *bool) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithFilter(filter *string) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithLimit(limit *int32) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithNames(names []string) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithOffset(offset *int32) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithSort(sort []string) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithSourceNames(sourceNames []string) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithTotalOnly(totalOnly *bool) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *GetAPI24ProtectionGroupSnapshotsParams
- func (o *GetAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24ProtectionGroupSnapshotsReader
- type GetAPI24ProtectionGroupSnapshotsTransferParams
- func NewGetAPI24ProtectionGroupSnapshotsTransferParams() *GetAPI24ProtectionGroupSnapshotsTransferParams
- func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetAuthorization(authorization *string)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetContext(ctx context.Context)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetDestroyed(destroyed *bool)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetFilter(filter *string)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetLimit(limit *int32)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetNames(names []string)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetOffset(offset *int32)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetSort(sort []string)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetSourceNames(sourceNames []string)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetTotalOnly(totalOnly *bool)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithAuthorization(authorization *string) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithDestroyed(destroyed *bool) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithFilter(filter *string) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithLimit(limit *int32) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithNames(names []string) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithOffset(offset *int32) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithSort(sort []string) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithSourceNames(sourceNames []string) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithTotalOnly(totalOnly *bool) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithXRequestID(xRequestID *string) *GetAPI24ProtectionGroupSnapshotsTransferParams
- func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24ProtectionGroupSnapshotsTransferReader
- type GetApi24ProtectionGroupSnapshotsBadRequest
- type GetApi24ProtectionGroupSnapshotsOK
- type GetApi24ProtectionGroupSnapshotsTransferBadRequest
- type GetApi24ProtectionGroupSnapshotsTransferOK
- type PatchAPI24ProtectionGroupSnapshotsParams
- func NewPatchAPI24ProtectionGroupSnapshotsParams() *PatchAPI24ProtectionGroupSnapshotsParams
- func NewPatchAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *PatchAPI24ProtectionGroupSnapshotsParams
- func NewPatchAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *PatchAPI24ProtectionGroupSnapshotsParams
- func NewPatchAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetNames(names []string)
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPatch)
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithNames(names []string) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPatch) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *PatchAPI24ProtectionGroupSnapshotsParams
- func (o *PatchAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24ProtectionGroupSnapshotsReader
- type PatchApi24ProtectionGroupSnapshotsBadRequest
- type PatchApi24ProtectionGroupSnapshotsOK
- type PostAPI24ProtectionGroupSnapshotsParams
- func NewPostAPI24ProtectionGroupSnapshotsParams() *PostAPI24ProtectionGroupSnapshotsParams
- func NewPostAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *PostAPI24ProtectionGroupSnapshotsParams
- func NewPostAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *PostAPI24ProtectionGroupSnapshotsParams
- func NewPostAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetApplyRetention(applyRetention *bool)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetForReplication(forReplication *bool)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPost)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetReplicate(replicate *bool)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetReplicateNow(replicateNow *bool)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetSourceNames(sourceNames []string)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithApplyRetention(applyRetention *bool) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithForReplication(forReplication *bool) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPost) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithReplicate(replicate *bool) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithReplicateNow(replicateNow *bool) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithSourceNames(sourceNames []string) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *PostAPI24ProtectionGroupSnapshotsParams
- func (o *PostAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24ProtectionGroupSnapshotsReader
- type PostApi24ProtectionGroupSnapshotsBadRequest
- type PostApi24ProtectionGroupSnapshotsOK
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 protection group snapshots API
func (*Client) DeleteAPI24ProtectionGroupSnapshots ¶
func (a *Client) DeleteAPI24ProtectionGroupSnapshots(params *DeleteAPI24ProtectionGroupSnapshotsParams) (*DeleteApi24ProtectionGroupSnapshotsOK, error)
DeleteAPI24ProtectionGroupSnapshots deletes a protection group snapshot
Deletes a protection group snapshot that has been destroyed and is pending eradication. Eradicating a protection group snapshot eradicates all of its protection group snapshots. Eradicated protection group snapshots cannot be recovered. Protection group snapshots are destroyed through the `PATCH` method. The `ids` or `names` parameter is required, but cannot be set together.
func (*Client) GetAPI24ProtectionGroupSnapshots ¶
func (a *Client) GetAPI24ProtectionGroupSnapshots(params *GetAPI24ProtectionGroupSnapshotsParams) (*GetApi24ProtectionGroupSnapshotsOK, error)
GetAPI24ProtectionGroupSnapshots lists protection group snapshots
Displays a list of protection group snapshots, including those pending eradication.
func (*Client) GetAPI24ProtectionGroupSnapshotsTransfer ¶
func (a *Client) GetAPI24ProtectionGroupSnapshotsTransfer(params *GetAPI24ProtectionGroupSnapshotsTransferParams) (*GetApi24ProtectionGroupSnapshotsTransferOK, error)
GetAPI24ProtectionGroupSnapshotsTransfer lists protection group snapshots with transfer statistics
Returns a list of protection group snapshots and their transfer statistics.
func (*Client) PatchAPI24ProtectionGroupSnapshots ¶
func (a *Client) PatchAPI24ProtectionGroupSnapshots(params *PatchAPI24ProtectionGroupSnapshotsParams) (*PatchApi24ProtectionGroupSnapshotsOK, error)
PatchAPI24ProtectionGroupSnapshots modifies a protection group snapshot
Modifies a protection group snapshot so that it can be destroyed. To destroy a volume, set `destroyed=true`. To recover a volume that has been destroyed and is pending eradication, set `destroyed=false`. The `names` parameter is required.
func (*Client) PostAPI24ProtectionGroupSnapshots ¶
func (a *Client) PostAPI24ProtectionGroupSnapshots(params *PostAPI24ProtectionGroupSnapshotsParams) (*PostApi24ProtectionGroupSnapshotsOK, error)
PostAPI24ProtectionGroupSnapshots creates a protection group snapshot
Creates a point-in-time snapshot of the contents of a protection group. The `source_ids` or `source_names` parameter is required, but cannot be set together.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteAPI24ProtectionGroupSnapshots(params *DeleteAPI24ProtectionGroupSnapshotsParams) (*DeleteApi24ProtectionGroupSnapshotsOK, error) GetAPI24ProtectionGroupSnapshots(params *GetAPI24ProtectionGroupSnapshotsParams) (*GetApi24ProtectionGroupSnapshotsOK, error) GetAPI24ProtectionGroupSnapshotsTransfer(params *GetAPI24ProtectionGroupSnapshotsTransferParams) (*GetApi24ProtectionGroupSnapshotsTransferOK, error) PatchAPI24ProtectionGroupSnapshots(params *PatchAPI24ProtectionGroupSnapshotsParams) (*PatchApi24ProtectionGroupSnapshotsOK, error) PostAPI24ProtectionGroupSnapshots(params *PostAPI24ProtectionGroupSnapshotsParams) (*PostApi24ProtectionGroupSnapshotsOK, 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 protection group snapshots API client.
type DeleteAPI24ProtectionGroupSnapshotsParams ¶
type DeleteAPI24ProtectionGroupSnapshotsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPI24ProtectionGroupSnapshotsParams contains all the parameters to send to the API endpoint for the delete API 24 protection group snapshots operation typically these are written to a http.Request
func NewDeleteAPI24ProtectionGroupSnapshotsParams ¶
func NewDeleteAPI24ProtectionGroupSnapshotsParams() *DeleteAPI24ProtectionGroupSnapshotsParams
NewDeleteAPI24ProtectionGroupSnapshotsParams creates a new DeleteAPI24ProtectionGroupSnapshotsParams object with the default values initialized.
func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithContext ¶
func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *DeleteAPI24ProtectionGroupSnapshotsParams
NewDeleteAPI24ProtectionGroupSnapshotsParamsWithContext creates a new DeleteAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithHTTPClient ¶
func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *DeleteAPI24ProtectionGroupSnapshotsParams
NewDeleteAPI24ProtectionGroupSnapshotsParamsWithHTTPClient creates a new DeleteAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithTimeout ¶
func NewDeleteAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *DeleteAPI24ProtectionGroupSnapshotsParams
NewDeleteAPI24ProtectionGroupSnapshotsParamsWithTimeout creates a new DeleteAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24ProtectionGroupSnapshotsParams) SetAuthorization ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) SetContext ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) SetHTTPClient ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) SetNames ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetNames(names []string)
SetNames adds the names to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) SetTimeout ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) SetXRequestID ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) WithAuthorization ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *DeleteAPI24ProtectionGroupSnapshotsParams
WithAuthorization adds the authorization to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) WithContext ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *DeleteAPI24ProtectionGroupSnapshotsParams
WithContext adds the context to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) WithHTTPClient ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *DeleteAPI24ProtectionGroupSnapshotsParams
WithHTTPClient adds the HTTPClient to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) WithNames ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithNames(names []string) *DeleteAPI24ProtectionGroupSnapshotsParams
WithNames adds the names to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) WithTimeout ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *DeleteAPI24ProtectionGroupSnapshotsParams
WithTimeout adds the timeout to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) WithXRequestID ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *DeleteAPI24ProtectionGroupSnapshotsParams
WithXRequestID adds the xRequestID to the delete API 24 protection group snapshots params
func (*DeleteAPI24ProtectionGroupSnapshotsParams) WriteToRequest ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24ProtectionGroupSnapshotsReader ¶
type DeleteAPI24ProtectionGroupSnapshotsReader struct {
// contains filtered or unexported fields
}
DeleteAPI24ProtectionGroupSnapshotsReader is a Reader for the DeleteAPI24ProtectionGroupSnapshots structure.
func (*DeleteAPI24ProtectionGroupSnapshotsReader) ReadResponse ¶
func (o *DeleteAPI24ProtectionGroupSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24ProtectionGroupSnapshotsBadRequest ¶
DeleteApi24ProtectionGroupSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24ProtectionGroupSnapshotsBadRequest ¶
func NewDeleteApi24ProtectionGroupSnapshotsBadRequest() *DeleteApi24ProtectionGroupSnapshotsBadRequest
NewDeleteApi24ProtectionGroupSnapshotsBadRequest creates a DeleteApi24ProtectionGroupSnapshotsBadRequest with default headers values
func (*DeleteApi24ProtectionGroupSnapshotsBadRequest) Error ¶
func (o *DeleteApi24ProtectionGroupSnapshotsBadRequest) Error() string
func (*DeleteApi24ProtectionGroupSnapshotsBadRequest) GetPayload ¶
func (o *DeleteApi24ProtectionGroupSnapshotsBadRequest) GetPayload() *models.Error
type DeleteApi24ProtectionGroupSnapshotsOK ¶
type DeleteApi24ProtectionGroupSnapshotsOK struct { }
DeleteApi24ProtectionGroupSnapshotsOK handles this case with default header values.
OK
func NewDeleteApi24ProtectionGroupSnapshotsOK ¶
func NewDeleteApi24ProtectionGroupSnapshotsOK() *DeleteApi24ProtectionGroupSnapshotsOK
NewDeleteApi24ProtectionGroupSnapshotsOK creates a DeleteApi24ProtectionGroupSnapshotsOK with default headers values
func (*DeleteApi24ProtectionGroupSnapshotsOK) Error ¶
func (o *DeleteApi24ProtectionGroupSnapshotsOK) Error() string
type GetAPI24ProtectionGroupSnapshotsParams ¶
type GetAPI24ProtectionGroupSnapshotsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*ContinuationToken A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters. */ ContinuationToken *string /*Destroyed If set to `true`, lists only destroyed objects that are in the eradication pending state. If set to `false`, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds. */ Destroyed *bool /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *string /*Limit Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size. */ Limit *int32 /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*Sort Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values. */ Sort []string /*SourceNames Performs the operation on the source name specified. Enter multiple source names in comma-separated format. For example, `name01,name02`. */ SourceNames []string /*TotalItemCount If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`. */ TotalItemCount *bool /*TotalOnly If set to `true`, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If `total_only=true`, the `items` list will be empty. */ TotalOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24ProtectionGroupSnapshotsParams contains all the parameters to send to the API endpoint for the get API 24 protection group snapshots operation typically these are written to a http.Request
func NewGetAPI24ProtectionGroupSnapshotsParams ¶
func NewGetAPI24ProtectionGroupSnapshotsParams() *GetAPI24ProtectionGroupSnapshotsParams
NewGetAPI24ProtectionGroupSnapshotsParams creates a new GetAPI24ProtectionGroupSnapshotsParams object with the default values initialized.
func NewGetAPI24ProtectionGroupSnapshotsParamsWithContext ¶
func NewGetAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsParams
NewGetAPI24ProtectionGroupSnapshotsParamsWithContext creates a new GetAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24ProtectionGroupSnapshotsParamsWithHTTPClient ¶
func NewGetAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsParams
NewGetAPI24ProtectionGroupSnapshotsParamsWithHTTPClient creates a new GetAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24ProtectionGroupSnapshotsParamsWithTimeout ¶
func NewGetAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsParams
NewGetAPI24ProtectionGroupSnapshotsParamsWithTimeout creates a new GetAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24ProtectionGroupSnapshotsParams) SetAuthorization ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetContext ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetContinuationToken ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetDestroyed ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetDestroyed(destroyed *bool)
SetDestroyed adds the destroyed to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetFilter ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetHTTPClient ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetLimit ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetNames(names []string)
SetNames adds the names to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetOffset ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetSort ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetSourceNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetSourceNames(sourceNames []string)
SetSourceNames adds the sourceNames to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetTimeout ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetTotalItemCount ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetTotalOnly ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetTotalOnly(totalOnly *bool)
SetTotalOnly adds the totalOnly to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) SetXRequestID ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithAuthorization ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *GetAPI24ProtectionGroupSnapshotsParams
WithAuthorization adds the authorization to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithContext ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsParams
WithContext adds the context to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithContinuationToken ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithContinuationToken(continuationToken *string) *GetAPI24ProtectionGroupSnapshotsParams
WithContinuationToken adds the continuationToken to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithDestroyed ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithDestroyed(destroyed *bool) *GetAPI24ProtectionGroupSnapshotsParams
WithDestroyed adds the destroyed to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithFilter ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithFilter(filter *string) *GetAPI24ProtectionGroupSnapshotsParams
WithFilter adds the filter to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithHTTPClient ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsParams
WithHTTPClient adds the HTTPClient to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithLimit ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithLimit(limit *int32) *GetAPI24ProtectionGroupSnapshotsParams
WithLimit adds the limit to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithNames(names []string) *GetAPI24ProtectionGroupSnapshotsParams
WithNames adds the names to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithOffset ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithOffset(offset *int32) *GetAPI24ProtectionGroupSnapshotsParams
WithOffset adds the offset to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithSort ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithSort(sort []string) *GetAPI24ProtectionGroupSnapshotsParams
WithSort adds the sort to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithSourceNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithSourceNames(sourceNames []string) *GetAPI24ProtectionGroupSnapshotsParams
WithSourceNames adds the sourceNames to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithTimeout ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsParams
WithTimeout adds the timeout to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithTotalItemCount ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24ProtectionGroupSnapshotsParams
WithTotalItemCount adds the totalItemCount to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithTotalOnly ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithTotalOnly(totalOnly *bool) *GetAPI24ProtectionGroupSnapshotsParams
WithTotalOnly adds the totalOnly to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WithXRequestID ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *GetAPI24ProtectionGroupSnapshotsParams
WithXRequestID adds the xRequestID to the get API 24 protection group snapshots params
func (*GetAPI24ProtectionGroupSnapshotsParams) WriteToRequest ¶
func (o *GetAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24ProtectionGroupSnapshotsReader ¶
type GetAPI24ProtectionGroupSnapshotsReader struct {
// contains filtered or unexported fields
}
GetAPI24ProtectionGroupSnapshotsReader is a Reader for the GetAPI24ProtectionGroupSnapshots structure.
func (*GetAPI24ProtectionGroupSnapshotsReader) ReadResponse ¶
func (o *GetAPI24ProtectionGroupSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPI24ProtectionGroupSnapshotsTransferParams ¶
type GetAPI24ProtectionGroupSnapshotsTransferParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Destroyed If set to `true`, lists only destroyed objects that are in the eradication pending state. If set to `false`, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds. */ Destroyed *bool /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *string /*Limit Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size. */ Limit *int32 /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*Sort Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values. */ Sort []string /*SourceNames Performs the operation on the source name specified. Enter multiple source names in comma-separated format. For example, `name01,name02`. */ SourceNames []string /*TotalItemCount If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`. */ TotalItemCount *bool /*TotalOnly If set to `true`, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If `total_only=true`, the `items` list will be empty. */ TotalOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24ProtectionGroupSnapshotsTransferParams contains all the parameters to send to the API endpoint for the get API 24 protection group snapshots transfer operation typically these are written to a http.Request
func NewGetAPI24ProtectionGroupSnapshotsTransferParams ¶
func NewGetAPI24ProtectionGroupSnapshotsTransferParams() *GetAPI24ProtectionGroupSnapshotsTransferParams
NewGetAPI24ProtectionGroupSnapshotsTransferParams creates a new GetAPI24ProtectionGroupSnapshotsTransferParams object with the default values initialized.
func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithContext ¶
func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsTransferParams
NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithContext creates a new GetAPI24ProtectionGroupSnapshotsTransferParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithHTTPClient ¶
func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsTransferParams
NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithHTTPClient creates a new GetAPI24ProtectionGroupSnapshotsTransferParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithTimeout ¶
func NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsTransferParams
NewGetAPI24ProtectionGroupSnapshotsTransferParamsWithTimeout creates a new GetAPI24ProtectionGroupSnapshotsTransferParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetAuthorization ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetContext ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetDestroyed ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetDestroyed(destroyed *bool)
SetDestroyed adds the destroyed to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetFilter ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetHTTPClient ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetLimit ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetNames(names []string)
SetNames adds the names to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetOffset ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetSort ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetSourceNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetSourceNames(sourceNames []string)
SetSourceNames adds the sourceNames to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetTimeout ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetTotalItemCount ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetTotalOnly ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetTotalOnly(totalOnly *bool)
SetTotalOnly adds the totalOnly to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) SetXRequestID ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithAuthorization ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithAuthorization(authorization *string) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithAuthorization adds the authorization to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithContext ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithContext(ctx context.Context) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithContext adds the context to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithDestroyed ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithDestroyed(destroyed *bool) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithDestroyed adds the destroyed to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithFilter ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithFilter(filter *string) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithFilter adds the filter to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithHTTPClient ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithHTTPClient(client *http.Client) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithHTTPClient adds the HTTPClient to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithLimit ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithLimit(limit *int32) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithLimit adds the limit to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithNames(names []string) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithNames adds the names to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithOffset ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithOffset(offset *int32) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithOffset adds the offset to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithSort ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithSort(sort []string) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithSort adds the sort to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithSourceNames ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithSourceNames(sourceNames []string) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithSourceNames adds the sourceNames to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithTimeout ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithTimeout(timeout time.Duration) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithTimeout adds the timeout to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithTotalItemCount ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithTotalItemCount adds the totalItemCount to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithTotalOnly ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithTotalOnly(totalOnly *bool) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithTotalOnly adds the totalOnly to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WithXRequestID ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WithXRequestID(xRequestID *string) *GetAPI24ProtectionGroupSnapshotsTransferParams
WithXRequestID adds the xRequestID to the get API 24 protection group snapshots transfer params
func (*GetAPI24ProtectionGroupSnapshotsTransferParams) WriteToRequest ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24ProtectionGroupSnapshotsTransferReader ¶
type GetAPI24ProtectionGroupSnapshotsTransferReader struct {
// contains filtered or unexported fields
}
GetAPI24ProtectionGroupSnapshotsTransferReader is a Reader for the GetAPI24ProtectionGroupSnapshotsTransfer structure.
func (*GetAPI24ProtectionGroupSnapshotsTransferReader) ReadResponse ¶
func (o *GetAPI24ProtectionGroupSnapshotsTransferReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24ProtectionGroupSnapshotsBadRequest ¶
GetApi24ProtectionGroupSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24ProtectionGroupSnapshotsBadRequest ¶
func NewGetApi24ProtectionGroupSnapshotsBadRequest() *GetApi24ProtectionGroupSnapshotsBadRequest
NewGetApi24ProtectionGroupSnapshotsBadRequest creates a GetApi24ProtectionGroupSnapshotsBadRequest with default headers values
func (*GetApi24ProtectionGroupSnapshotsBadRequest) Error ¶
func (o *GetApi24ProtectionGroupSnapshotsBadRequest) Error() string
func (*GetApi24ProtectionGroupSnapshotsBadRequest) GetPayload ¶
func (o *GetApi24ProtectionGroupSnapshotsBadRequest) GetPayload() *models.Error
type GetApi24ProtectionGroupSnapshotsOK ¶
type GetApi24ProtectionGroupSnapshotsOK struct {
Payload *models.ProtectionGroupSnapshotGetResponse
}
GetApi24ProtectionGroupSnapshotsOK handles this case with default header values.
OK
func NewGetApi24ProtectionGroupSnapshotsOK ¶
func NewGetApi24ProtectionGroupSnapshotsOK() *GetApi24ProtectionGroupSnapshotsOK
NewGetApi24ProtectionGroupSnapshotsOK creates a GetApi24ProtectionGroupSnapshotsOK with default headers values
func (*GetApi24ProtectionGroupSnapshotsOK) Error ¶
func (o *GetApi24ProtectionGroupSnapshotsOK) Error() string
func (*GetApi24ProtectionGroupSnapshotsOK) GetPayload ¶
func (o *GetApi24ProtectionGroupSnapshotsOK) GetPayload() *models.ProtectionGroupSnapshotGetResponse
type GetApi24ProtectionGroupSnapshotsTransferBadRequest ¶
GetApi24ProtectionGroupSnapshotsTransferBadRequest handles this case with default header values.
BadRequest
func NewGetApi24ProtectionGroupSnapshotsTransferBadRequest ¶
func NewGetApi24ProtectionGroupSnapshotsTransferBadRequest() *GetApi24ProtectionGroupSnapshotsTransferBadRequest
NewGetApi24ProtectionGroupSnapshotsTransferBadRequest creates a GetApi24ProtectionGroupSnapshotsTransferBadRequest with default headers values
func (*GetApi24ProtectionGroupSnapshotsTransferBadRequest) Error ¶
func (o *GetApi24ProtectionGroupSnapshotsTransferBadRequest) Error() string
func (*GetApi24ProtectionGroupSnapshotsTransferBadRequest) GetPayload ¶
func (o *GetApi24ProtectionGroupSnapshotsTransferBadRequest) GetPayload() *models.Error
type GetApi24ProtectionGroupSnapshotsTransferOK ¶
type GetApi24ProtectionGroupSnapshotsTransferOK struct {
Payload *models.ProtectionGroupSnapshotTransferGetResponse
}
GetApi24ProtectionGroupSnapshotsTransferOK handles this case with default header values.
OK
func NewGetApi24ProtectionGroupSnapshotsTransferOK ¶
func NewGetApi24ProtectionGroupSnapshotsTransferOK() *GetApi24ProtectionGroupSnapshotsTransferOK
NewGetApi24ProtectionGroupSnapshotsTransferOK creates a GetApi24ProtectionGroupSnapshotsTransferOK with default headers values
func (*GetApi24ProtectionGroupSnapshotsTransferOK) Error ¶
func (o *GetApi24ProtectionGroupSnapshotsTransferOK) Error() string
func (*GetApi24ProtectionGroupSnapshotsTransferOK) GetPayload ¶
func (o *GetApi24ProtectionGroupSnapshotsTransferOK) GetPayload() *models.ProtectionGroupSnapshotTransferGetResponse
type PatchAPI24ProtectionGroupSnapshotsParams ¶
type PatchAPI24ProtectionGroupSnapshotsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*ProtectionGroupSnapshot*/ ProtectionGroupSnapshot *models.ProtectionGroupSnapshotPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24ProtectionGroupSnapshotsParams contains all the parameters to send to the API endpoint for the patch API 24 protection group snapshots operation typically these are written to a http.Request
func NewPatchAPI24ProtectionGroupSnapshotsParams ¶
func NewPatchAPI24ProtectionGroupSnapshotsParams() *PatchAPI24ProtectionGroupSnapshotsParams
NewPatchAPI24ProtectionGroupSnapshotsParams creates a new PatchAPI24ProtectionGroupSnapshotsParams object with the default values initialized.
func NewPatchAPI24ProtectionGroupSnapshotsParamsWithContext ¶
func NewPatchAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *PatchAPI24ProtectionGroupSnapshotsParams
NewPatchAPI24ProtectionGroupSnapshotsParamsWithContext creates a new PatchAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24ProtectionGroupSnapshotsParamsWithHTTPClient ¶
func NewPatchAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *PatchAPI24ProtectionGroupSnapshotsParams
NewPatchAPI24ProtectionGroupSnapshotsParamsWithHTTPClient creates a new PatchAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24ProtectionGroupSnapshotsParamsWithTimeout ¶
func NewPatchAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *PatchAPI24ProtectionGroupSnapshotsParams
NewPatchAPI24ProtectionGroupSnapshotsParamsWithTimeout creates a new PatchAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24ProtectionGroupSnapshotsParams) SetAuthorization ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) SetContext ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) SetHTTPClient ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) SetNames ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetNames(names []string)
SetNames adds the names to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) SetProtectionGroupSnapshot ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPatch)
SetProtectionGroupSnapshot adds the protectionGroupSnapshot to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) SetTimeout ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) SetXRequestID ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WithAuthorization ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *PatchAPI24ProtectionGroupSnapshotsParams
WithAuthorization adds the authorization to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WithContext ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *PatchAPI24ProtectionGroupSnapshotsParams
WithContext adds the context to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WithHTTPClient ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *PatchAPI24ProtectionGroupSnapshotsParams
WithHTTPClient adds the HTTPClient to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WithNames ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithNames(names []string) *PatchAPI24ProtectionGroupSnapshotsParams
WithNames adds the names to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WithProtectionGroupSnapshot ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPatch) *PatchAPI24ProtectionGroupSnapshotsParams
WithProtectionGroupSnapshot adds the protectionGroupSnapshot to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WithTimeout ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *PatchAPI24ProtectionGroupSnapshotsParams
WithTimeout adds the timeout to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WithXRequestID ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *PatchAPI24ProtectionGroupSnapshotsParams
WithXRequestID adds the xRequestID to the patch API 24 protection group snapshots params
func (*PatchAPI24ProtectionGroupSnapshotsParams) WriteToRequest ¶
func (o *PatchAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24ProtectionGroupSnapshotsReader ¶
type PatchAPI24ProtectionGroupSnapshotsReader struct {
// contains filtered or unexported fields
}
PatchAPI24ProtectionGroupSnapshotsReader is a Reader for the PatchAPI24ProtectionGroupSnapshots structure.
func (*PatchAPI24ProtectionGroupSnapshotsReader) ReadResponse ¶
func (o *PatchAPI24ProtectionGroupSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24ProtectionGroupSnapshotsBadRequest ¶
PatchApi24ProtectionGroupSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24ProtectionGroupSnapshotsBadRequest ¶
func NewPatchApi24ProtectionGroupSnapshotsBadRequest() *PatchApi24ProtectionGroupSnapshotsBadRequest
NewPatchApi24ProtectionGroupSnapshotsBadRequest creates a PatchApi24ProtectionGroupSnapshotsBadRequest with default headers values
func (*PatchApi24ProtectionGroupSnapshotsBadRequest) Error ¶
func (o *PatchApi24ProtectionGroupSnapshotsBadRequest) Error() string
func (*PatchApi24ProtectionGroupSnapshotsBadRequest) GetPayload ¶
func (o *PatchApi24ProtectionGroupSnapshotsBadRequest) GetPayload() *models.Error
type PatchApi24ProtectionGroupSnapshotsOK ¶
type PatchApi24ProtectionGroupSnapshotsOK struct {
Payload *models.ProtectionGroupSnapshotResponse
}
PatchApi24ProtectionGroupSnapshotsOK handles this case with default header values.
OK
func NewPatchApi24ProtectionGroupSnapshotsOK ¶
func NewPatchApi24ProtectionGroupSnapshotsOK() *PatchApi24ProtectionGroupSnapshotsOK
NewPatchApi24ProtectionGroupSnapshotsOK creates a PatchApi24ProtectionGroupSnapshotsOK with default headers values
func (*PatchApi24ProtectionGroupSnapshotsOK) Error ¶
func (o *PatchApi24ProtectionGroupSnapshotsOK) Error() string
func (*PatchApi24ProtectionGroupSnapshotsOK) GetPayload ¶
func (o *PatchApi24ProtectionGroupSnapshotsOK) GetPayload() *models.ProtectionGroupSnapshotResponse
type PostAPI24ProtectionGroupSnapshotsParams ¶
type PostAPI24ProtectionGroupSnapshotsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*ApplyRetention If `true`, applies the local and remote retention policy to the snapshots. */ ApplyRetention *bool /*ForReplication If `true`, destroys and eradicates the snapshot after 1 hour. */ ForReplication *bool /*ProtectionGroupSnapshot*/ ProtectionGroupSnapshot *models.ProtectionGroupSnapshotPost /*Replicate If set to `true`, queues up and begins replicating to each allowed target after all earlier replication sessions for the same protection group have been completed to that target. The `replicate` and `replicate_now` parameters cannot be used together. */ Replicate *bool /*ReplicateNow If set to `true`, replicates the snapshots to each allowed target. The `replicate` and `replicate_now` parameters cannot be used together. */ ReplicateNow *bool /*SourceNames Performs the operation on the source name specified. Enter multiple source names in comma-separated format. For example, `name01,name02`. */ SourceNames []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPI24ProtectionGroupSnapshotsParams contains all the parameters to send to the API endpoint for the post API 24 protection group snapshots operation typically these are written to a http.Request
func NewPostAPI24ProtectionGroupSnapshotsParams ¶
func NewPostAPI24ProtectionGroupSnapshotsParams() *PostAPI24ProtectionGroupSnapshotsParams
NewPostAPI24ProtectionGroupSnapshotsParams creates a new PostAPI24ProtectionGroupSnapshotsParams object with the default values initialized.
func NewPostAPI24ProtectionGroupSnapshotsParamsWithContext ¶
func NewPostAPI24ProtectionGroupSnapshotsParamsWithContext(ctx context.Context) *PostAPI24ProtectionGroupSnapshotsParams
NewPostAPI24ProtectionGroupSnapshotsParamsWithContext creates a new PostAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPI24ProtectionGroupSnapshotsParamsWithHTTPClient ¶
func NewPostAPI24ProtectionGroupSnapshotsParamsWithHTTPClient(client *http.Client) *PostAPI24ProtectionGroupSnapshotsParams
NewPostAPI24ProtectionGroupSnapshotsParamsWithHTTPClient creates a new PostAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPI24ProtectionGroupSnapshotsParamsWithTimeout ¶
func NewPostAPI24ProtectionGroupSnapshotsParamsWithTimeout(timeout time.Duration) *PostAPI24ProtectionGroupSnapshotsParams
NewPostAPI24ProtectionGroupSnapshotsParamsWithTimeout creates a new PostAPI24ProtectionGroupSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPI24ProtectionGroupSnapshotsParams) SetApplyRetention ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetApplyRetention(applyRetention *bool)
SetApplyRetention adds the applyRetention to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetAuthorization ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetContext ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetForReplication ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetForReplication(forReplication *bool)
SetForReplication adds the forReplication to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetHTTPClient ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetProtectionGroupSnapshot ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPost)
SetProtectionGroupSnapshot adds the protectionGroupSnapshot to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetReplicate ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetReplicate(replicate *bool)
SetReplicate adds the replicate to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetReplicateNow ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetReplicateNow(replicateNow *bool)
SetReplicateNow adds the replicateNow to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetSourceNames ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetSourceNames(sourceNames []string)
SetSourceNames adds the sourceNames to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetTimeout ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) SetXRequestID ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithApplyRetention ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithApplyRetention(applyRetention *bool) *PostAPI24ProtectionGroupSnapshotsParams
WithApplyRetention adds the applyRetention to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithAuthorization ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithAuthorization(authorization *string) *PostAPI24ProtectionGroupSnapshotsParams
WithAuthorization adds the authorization to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithContext ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithContext(ctx context.Context) *PostAPI24ProtectionGroupSnapshotsParams
WithContext adds the context to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithForReplication ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithForReplication(forReplication *bool) *PostAPI24ProtectionGroupSnapshotsParams
WithForReplication adds the forReplication to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithHTTPClient ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithHTTPClient(client *http.Client) *PostAPI24ProtectionGroupSnapshotsParams
WithHTTPClient adds the HTTPClient to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithProtectionGroupSnapshot ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithProtectionGroupSnapshot(protectionGroupSnapshot *models.ProtectionGroupSnapshotPost) *PostAPI24ProtectionGroupSnapshotsParams
WithProtectionGroupSnapshot adds the protectionGroupSnapshot to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithReplicate ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithReplicate(replicate *bool) *PostAPI24ProtectionGroupSnapshotsParams
WithReplicate adds the replicate to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithReplicateNow ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithReplicateNow(replicateNow *bool) *PostAPI24ProtectionGroupSnapshotsParams
WithReplicateNow adds the replicateNow to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithSourceNames ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithSourceNames(sourceNames []string) *PostAPI24ProtectionGroupSnapshotsParams
WithSourceNames adds the sourceNames to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithTimeout ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithTimeout(timeout time.Duration) *PostAPI24ProtectionGroupSnapshotsParams
WithTimeout adds the timeout to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WithXRequestID ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WithXRequestID(xRequestID *string) *PostAPI24ProtectionGroupSnapshotsParams
WithXRequestID adds the xRequestID to the post API 24 protection group snapshots params
func (*PostAPI24ProtectionGroupSnapshotsParams) WriteToRequest ¶
func (o *PostAPI24ProtectionGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPI24ProtectionGroupSnapshotsReader ¶
type PostAPI24ProtectionGroupSnapshotsReader struct {
// contains filtered or unexported fields
}
PostAPI24ProtectionGroupSnapshotsReader is a Reader for the PostAPI24ProtectionGroupSnapshots structure.
func (*PostAPI24ProtectionGroupSnapshotsReader) ReadResponse ¶
func (o *PostAPI24ProtectionGroupSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostApi24ProtectionGroupSnapshotsBadRequest ¶
PostApi24ProtectionGroupSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewPostApi24ProtectionGroupSnapshotsBadRequest ¶
func NewPostApi24ProtectionGroupSnapshotsBadRequest() *PostApi24ProtectionGroupSnapshotsBadRequest
NewPostApi24ProtectionGroupSnapshotsBadRequest creates a PostApi24ProtectionGroupSnapshotsBadRequest with default headers values
func (*PostApi24ProtectionGroupSnapshotsBadRequest) Error ¶
func (o *PostApi24ProtectionGroupSnapshotsBadRequest) Error() string
func (*PostApi24ProtectionGroupSnapshotsBadRequest) GetPayload ¶
func (o *PostApi24ProtectionGroupSnapshotsBadRequest) GetPayload() *models.Error
type PostApi24ProtectionGroupSnapshotsOK ¶
type PostApi24ProtectionGroupSnapshotsOK struct {
Payload *models.ProtectionGroupSnapshotResponse
}
PostApi24ProtectionGroupSnapshotsOK handles this case with default header values.
OK
func NewPostApi24ProtectionGroupSnapshotsOK ¶
func NewPostApi24ProtectionGroupSnapshotsOK() *PostApi24ProtectionGroupSnapshotsOK
NewPostApi24ProtectionGroupSnapshotsOK creates a PostApi24ProtectionGroupSnapshotsOK with default headers values
func (*PostApi24ProtectionGroupSnapshotsOK) Error ¶
func (o *PostApi24ProtectionGroupSnapshotsOK) Error() string
func (*PostApi24ProtectionGroupSnapshotsOK) GetPayload ¶
func (o *PostApi24ProtectionGroupSnapshotsOK) GetPayload() *models.ProtectionGroupSnapshotResponse
Source Files
¶
- delete_api_24_protection_group_snapshots_parameters.go
- delete_api_24_protection_group_snapshots_responses.go
- get_api_24_protection_group_snapshots_parameters.go
- get_api_24_protection_group_snapshots_responses.go
- get_api_24_protection_group_snapshots_transfer_parameters.go
- get_api_24_protection_group_snapshots_transfer_responses.go
- patch_api_24_protection_group_snapshots_parameters.go
- patch_api_24_protection_group_snapshots_responses.go
- post_api_24_protection_group_snapshots_parameters.go
- post_api_24_protection_group_snapshots_responses.go
- protection_group_snapshots_client.go