Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24RemoteVolumeSnapshots(params *DeleteAPI24RemoteVolumeSnapshotsParams) (*DeleteApi24RemoteVolumeSnapshotsOK, error)
- func (a *Client) GetAPI24RemoteVolumeSnapshots(params *GetAPI24RemoteVolumeSnapshotsParams) (*GetApi24RemoteVolumeSnapshotsOK, error)
- func (a *Client) GetAPI24RemoteVolumeSnapshotsTransfer(params *GetAPI24RemoteVolumeSnapshotsTransferParams) (*GetApi24RemoteVolumeSnapshotsTransferOK, error)
- func (a *Client) PatchAPI24RemoteVolumeSnapshots(params *PatchAPI24RemoteVolumeSnapshotsParams) (*PatchApi24RemoteVolumeSnapshotsOK, error)
- func (a *Client) PostAPI24RemoteVolumeSnapshots(params *PostAPI24RemoteVolumeSnapshotsParams) (*PostApi24RemoteVolumeSnapshotsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24RemoteVolumeSnapshotsParams
- func NewDeleteAPI24RemoteVolumeSnapshotsParams() *DeleteAPI24RemoteVolumeSnapshotsParams
- func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *DeleteAPI24RemoteVolumeSnapshotsParams
- func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *DeleteAPI24RemoteVolumeSnapshotsParams
- func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetNames(names []string)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetOn(on *string)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetReplicationSnapshot(replicationSnapshot *bool)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithNames(names []string) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithOn(on *string) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithReplicationSnapshot(replicationSnapshot *bool) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *DeleteAPI24RemoteVolumeSnapshotsParams
- func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24RemoteVolumeSnapshotsReader
- type DeleteApi24RemoteVolumeSnapshotsBadRequest
- type DeleteApi24RemoteVolumeSnapshotsOK
- type GetAPI24RemoteVolumeSnapshotsParams
- func NewGetAPI24RemoteVolumeSnapshotsParams() *GetAPI24RemoteVolumeSnapshotsParams
- func NewGetAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsParams
- func NewGetAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsParams
- func NewGetAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetDestroyed(destroyed *bool)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetFilter(filter *string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetIds(ids []string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetLimit(limit *int32)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetNames(names []string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetOffset(offset *int32)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetOn(on []string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetSort(sort []string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetSourceIds(sourceIds []string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetSourceNames(sourceNames []string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithDestroyed(destroyed *bool) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithFilter(filter *string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithIds(ids []string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithLimit(limit *int32) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithNames(names []string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithOffset(offset *int32) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithOn(on []string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithSort(sort []string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithSourceIds(sourceIds []string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithSourceNames(sourceNames []string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *GetAPI24RemoteVolumeSnapshotsParams
- func (o *GetAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24RemoteVolumeSnapshotsReader
- type GetAPI24RemoteVolumeSnapshotsTransferParams
- func NewGetAPI24RemoteVolumeSnapshotsTransferParams() *GetAPI24RemoteVolumeSnapshotsTransferParams
- func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetAuthorization(authorization *string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetContext(ctx context.Context)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetDestroyed(destroyed *bool)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetFilter(filter *string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetIds(ids []string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetLimit(limit *int32)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetNames(names []string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetOffset(offset *int32)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetOn(on []string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetSort(sort []string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetSourceIds(sourceIds []string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetSourceNames(sourceNames []string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetTotalOnly(totalOnly *bool)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithAuthorization(authorization *string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithDestroyed(destroyed *bool) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithFilter(filter *string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithIds(ids []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithLimit(limit *int32) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithNames(names []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithOffset(offset *int32) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithOn(on []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithSort(sort []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithSourceIds(sourceIds []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithSourceNames(sourceNames []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithTotalOnly(totalOnly *bool) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithXRequestID(xRequestID *string) *GetAPI24RemoteVolumeSnapshotsTransferParams
- func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24RemoteVolumeSnapshotsTransferReader
- type GetApi24RemoteVolumeSnapshotsBadRequest
- type GetApi24RemoteVolumeSnapshotsOK
- type GetApi24RemoteVolumeSnapshotsTransferBadRequest
- type GetApi24RemoteVolumeSnapshotsTransferOK
- type PatchAPI24RemoteVolumeSnapshotsParams
- func NewPatchAPI24RemoteVolumeSnapshotsParams() *PatchAPI24RemoteVolumeSnapshotsParams
- func NewPatchAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *PatchAPI24RemoteVolumeSnapshotsParams
- func NewPatchAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *PatchAPI24RemoteVolumeSnapshotsParams
- func NewPatchAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetNames(names []string)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetOn(on *string)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetRemoteVolumeSnapshot(remoteVolumeSnapshot *models.DestroyedPatchPost)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetReplicationSnapshot(replicationSnapshot *bool)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithNames(names []string) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithOn(on *string) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithRemoteVolumeSnapshot(remoteVolumeSnapshot *models.DestroyedPatchPost) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithReplicationSnapshot(replicationSnapshot *bool) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *PatchAPI24RemoteVolumeSnapshotsParams
- func (o *PatchAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24RemoteVolumeSnapshotsReader
- type PatchApi24RemoteVolumeSnapshotsBadRequest
- type PatchApi24RemoteVolumeSnapshotsOK
- type PostAPI24RemoteVolumeSnapshotsParams
- func NewPostAPI24RemoteVolumeSnapshotsParams() *PostAPI24RemoteVolumeSnapshotsParams
- func NewPostAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *PostAPI24RemoteVolumeSnapshotsParams
- func NewPostAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *PostAPI24RemoteVolumeSnapshotsParams
- func NewPostAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetOn(on *string)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetSourceIds(sourceIds []string)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetSourceNames(sourceNames []string)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithOn(on *string) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithSourceIds(sourceIds []string) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithSourceNames(sourceNames []string) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *PostAPI24RemoteVolumeSnapshotsParams
- func (o *PostAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24RemoteVolumeSnapshotsReader
- type PostApi24RemoteVolumeSnapshotsBadRequest
- type PostApi24RemoteVolumeSnapshotsOK
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 remote volume snapshots API
func (*Client) DeleteAPI24RemoteVolumeSnapshots ¶
func (a *Client) DeleteAPI24RemoteVolumeSnapshots(params *DeleteAPI24RemoteVolumeSnapshotsParams) (*DeleteApi24RemoteVolumeSnapshotsOK, error)
DeleteAPI24RemoteVolumeSnapshots eradicates a remote volume snapshot
Eradicates a remote volume snapshot that has been destroyed and is pending eradication. Eradicated remote volume snapshots cannot be recovered. Remote volume snapshots are destroyed through the `PATCH` method. The `names` parameter represents the name of the volume snapshot. The `on` parameter represents the name of the offload target. The `names` and `on` parameters are required and must be used together.
func (*Client) GetAPI24RemoteVolumeSnapshots ¶
func (a *Client) GetAPI24RemoteVolumeSnapshots(params *GetAPI24RemoteVolumeSnapshotsParams) (*GetApi24RemoteVolumeSnapshotsOK, error)
GetAPI24RemoteVolumeSnapshots lists remote volume snapshots
Displays a list of remote volume snapshots.
func (*Client) GetAPI24RemoteVolumeSnapshotsTransfer ¶
func (a *Client) GetAPI24RemoteVolumeSnapshotsTransfer(params *GetAPI24RemoteVolumeSnapshotsTransferParams) (*GetApi24RemoteVolumeSnapshotsTransferOK, error)
GetAPI24RemoteVolumeSnapshotsTransfer lists remote volume snapshots with transfer statistics
Returns a list of remote volume snapshots and their transfer statistics.
func (*Client) PatchAPI24RemoteVolumeSnapshots ¶
func (a *Client) PatchAPI24RemoteVolumeSnapshots(params *PatchAPI24RemoteVolumeSnapshotsParams) (*PatchApi24RemoteVolumeSnapshotsOK, error)
PatchAPI24RemoteVolumeSnapshots manages a remote volume snapshot
Destroy or recover a remote volume snapshot from the offload target. The `on` parameter represents the name of the offload target. The `names` parameter and the `on` parameter are required and must be used together.
func (*Client) PostAPI24RemoteVolumeSnapshots ¶
func (a *Client) PostAPI24RemoteVolumeSnapshots(params *PostAPI24RemoteVolumeSnapshotsParams) (*PostApi24RemoteVolumeSnapshotsOK, error)
PostAPI24RemoteVolumeSnapshots creates a volume snapshot on a connected remote target or offload target
Creates a volume snapshot on the specified connected remote target or offload target.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteAPI24RemoteVolumeSnapshots(params *DeleteAPI24RemoteVolumeSnapshotsParams) (*DeleteApi24RemoteVolumeSnapshotsOK, error) GetAPI24RemoteVolumeSnapshots(params *GetAPI24RemoteVolumeSnapshotsParams) (*GetApi24RemoteVolumeSnapshotsOK, error) GetAPI24RemoteVolumeSnapshotsTransfer(params *GetAPI24RemoteVolumeSnapshotsTransferParams) (*GetApi24RemoteVolumeSnapshotsTransferOK, error) PatchAPI24RemoteVolumeSnapshots(params *PatchAPI24RemoteVolumeSnapshotsParams) (*PatchApi24RemoteVolumeSnapshotsOK, error) PostAPI24RemoteVolumeSnapshots(params *PostAPI24RemoteVolumeSnapshotsParams) (*PostApi24RemoteVolumeSnapshotsOK, 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 remote volume snapshots API client.
type DeleteAPI24RemoteVolumeSnapshotsParams ¶
type DeleteAPI24RemoteVolumeSnapshotsParams 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 /*On Performs the operation on the target name specified. For example, `targetName01`. */ On *string /*ReplicationSnapshot If set to `true`, allow destruction/eradication of snapshots in use by replication. If set to `false`, allow destruction/eradication of snapshots not in use by replication. If not specified, defaults to `false`. */ ReplicationSnapshot *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPI24RemoteVolumeSnapshotsParams contains all the parameters to send to the API endpoint for the delete API 24 remote volume snapshots operation typically these are written to a http.Request
func NewDeleteAPI24RemoteVolumeSnapshotsParams ¶
func NewDeleteAPI24RemoteVolumeSnapshotsParams() *DeleteAPI24RemoteVolumeSnapshotsParams
NewDeleteAPI24RemoteVolumeSnapshotsParams creates a new DeleteAPI24RemoteVolumeSnapshotsParams object with the default values initialized.
func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithContext ¶
func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *DeleteAPI24RemoteVolumeSnapshotsParams
NewDeleteAPI24RemoteVolumeSnapshotsParamsWithContext creates a new DeleteAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithHTTPClient ¶
func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *DeleteAPI24RemoteVolumeSnapshotsParams
NewDeleteAPI24RemoteVolumeSnapshotsParamsWithHTTPClient creates a new DeleteAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithTimeout ¶
func NewDeleteAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *DeleteAPI24RemoteVolumeSnapshotsParams
NewDeleteAPI24RemoteVolumeSnapshotsParamsWithTimeout creates a new DeleteAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetAuthorization ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetContext ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetHTTPClient ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetNames ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetNames(names []string)
SetNames adds the names to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetOn ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetOn(on *string)
SetOn adds the on to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetReplicationSnapshot ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetReplicationSnapshot(replicationSnapshot *bool)
SetReplicationSnapshot adds the replicationSnapshot to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetTimeout ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) SetXRequestID ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithAuthorization ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *DeleteAPI24RemoteVolumeSnapshotsParams
WithAuthorization adds the authorization to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithContext ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *DeleteAPI24RemoteVolumeSnapshotsParams
WithContext adds the context to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithHTTPClient ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *DeleteAPI24RemoteVolumeSnapshotsParams
WithHTTPClient adds the HTTPClient to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithNames ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithNames(names []string) *DeleteAPI24RemoteVolumeSnapshotsParams
WithNames adds the names to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithOn ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithOn(on *string) *DeleteAPI24RemoteVolumeSnapshotsParams
WithOn adds the on to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithReplicationSnapshot ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithReplicationSnapshot(replicationSnapshot *bool) *DeleteAPI24RemoteVolumeSnapshotsParams
WithReplicationSnapshot adds the replicationSnapshot to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithTimeout ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *DeleteAPI24RemoteVolumeSnapshotsParams
WithTimeout adds the timeout to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WithXRequestID ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *DeleteAPI24RemoteVolumeSnapshotsParams
WithXRequestID adds the xRequestID to the delete API 24 remote volume snapshots params
func (*DeleteAPI24RemoteVolumeSnapshotsParams) WriteToRequest ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24RemoteVolumeSnapshotsReader ¶
type DeleteAPI24RemoteVolumeSnapshotsReader struct {
// contains filtered or unexported fields
}
DeleteAPI24RemoteVolumeSnapshotsReader is a Reader for the DeleteAPI24RemoteVolumeSnapshots structure.
func (*DeleteAPI24RemoteVolumeSnapshotsReader) ReadResponse ¶
func (o *DeleteAPI24RemoteVolumeSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24RemoteVolumeSnapshotsBadRequest ¶
DeleteApi24RemoteVolumeSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24RemoteVolumeSnapshotsBadRequest ¶
func NewDeleteApi24RemoteVolumeSnapshotsBadRequest() *DeleteApi24RemoteVolumeSnapshotsBadRequest
NewDeleteApi24RemoteVolumeSnapshotsBadRequest creates a DeleteApi24RemoteVolumeSnapshotsBadRequest with default headers values
func (*DeleteApi24RemoteVolumeSnapshotsBadRequest) Error ¶
func (o *DeleteApi24RemoteVolumeSnapshotsBadRequest) Error() string
func (*DeleteApi24RemoteVolumeSnapshotsBadRequest) GetPayload ¶
func (o *DeleteApi24RemoteVolumeSnapshotsBadRequest) GetPayload() *models.Error
type DeleteApi24RemoteVolumeSnapshotsOK ¶
type DeleteApi24RemoteVolumeSnapshotsOK struct { }
DeleteApi24RemoteVolumeSnapshotsOK handles this case with default header values.
OK
func NewDeleteApi24RemoteVolumeSnapshotsOK ¶
func NewDeleteApi24RemoteVolumeSnapshotsOK() *DeleteApi24RemoteVolumeSnapshotsOK
NewDeleteApi24RemoteVolumeSnapshotsOK creates a DeleteApi24RemoteVolumeSnapshotsOK with default headers values
func (*DeleteApi24RemoteVolumeSnapshotsOK) Error ¶
func (o *DeleteApi24RemoteVolumeSnapshotsOK) Error() string
type GetAPI24RemoteVolumeSnapshotsParams ¶
type GetAPI24RemoteVolumeSnapshotsParams 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 /*Ids Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together. */ Ids []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 /*On Performs the operation on the target name specified. Enter multiple target names in comma-separated format. For example, `targetName01,targetName02`. */ On []string /*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 /*SourceIds Performs the operation on the source ID specified. Enter multiple source IDs in comma-separated format. */ SourceIds []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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24RemoteVolumeSnapshotsParams contains all the parameters to send to the API endpoint for the get API 24 remote volume snapshots operation typically these are written to a http.Request
func NewGetAPI24RemoteVolumeSnapshotsParams ¶
func NewGetAPI24RemoteVolumeSnapshotsParams() *GetAPI24RemoteVolumeSnapshotsParams
NewGetAPI24RemoteVolumeSnapshotsParams creates a new GetAPI24RemoteVolumeSnapshotsParams object with the default values initialized.
func NewGetAPI24RemoteVolumeSnapshotsParamsWithContext ¶
func NewGetAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsParams
NewGetAPI24RemoteVolumeSnapshotsParamsWithContext creates a new GetAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24RemoteVolumeSnapshotsParamsWithHTTPClient ¶
func NewGetAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsParams
NewGetAPI24RemoteVolumeSnapshotsParamsWithHTTPClient creates a new GetAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24RemoteVolumeSnapshotsParamsWithTimeout ¶
func NewGetAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsParams
NewGetAPI24RemoteVolumeSnapshotsParamsWithTimeout creates a new GetAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24RemoteVolumeSnapshotsParams) SetAuthorization ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetContext ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetDestroyed ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetDestroyed(destroyed *bool)
SetDestroyed adds the destroyed to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetFilter ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetHTTPClient ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetIds(ids []string)
SetIds adds the ids to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetLimit ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetNames(names []string)
SetNames adds the names to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetOffset ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetOn ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetOn(on []string)
SetOn adds the on to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetSort ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetSourceIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetSourceIds(sourceIds []string)
SetSourceIds adds the sourceIds to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetSourceNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetSourceNames(sourceNames []string)
SetSourceNames adds the sourceNames to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetTimeout ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetTotalItemCount ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) SetXRequestID ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithAuthorization ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *GetAPI24RemoteVolumeSnapshotsParams
WithAuthorization adds the authorization to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithContext ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsParams
WithContext adds the context to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithDestroyed ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithDestroyed(destroyed *bool) *GetAPI24RemoteVolumeSnapshotsParams
WithDestroyed adds the destroyed to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithFilter ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithFilter(filter *string) *GetAPI24RemoteVolumeSnapshotsParams
WithFilter adds the filter to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithHTTPClient ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsParams
WithHTTPClient adds the HTTPClient to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithIds(ids []string) *GetAPI24RemoteVolumeSnapshotsParams
WithIds adds the ids to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithLimit ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithLimit(limit *int32) *GetAPI24RemoteVolumeSnapshotsParams
WithLimit adds the limit to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithNames(names []string) *GetAPI24RemoteVolumeSnapshotsParams
WithNames adds the names to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithOffset ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithOffset(offset *int32) *GetAPI24RemoteVolumeSnapshotsParams
WithOffset adds the offset to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithOn ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithOn(on []string) *GetAPI24RemoteVolumeSnapshotsParams
WithOn adds the on to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithSort ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithSort(sort []string) *GetAPI24RemoteVolumeSnapshotsParams
WithSort adds the sort to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithSourceIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithSourceIds(sourceIds []string) *GetAPI24RemoteVolumeSnapshotsParams
WithSourceIds adds the sourceIds to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithSourceNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithSourceNames(sourceNames []string) *GetAPI24RemoteVolumeSnapshotsParams
WithSourceNames adds the sourceNames to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithTimeout ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsParams
WithTimeout adds the timeout to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithTotalItemCount ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24RemoteVolumeSnapshotsParams
WithTotalItemCount adds the totalItemCount to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WithXRequestID ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *GetAPI24RemoteVolumeSnapshotsParams
WithXRequestID adds the xRequestID to the get API 24 remote volume snapshots params
func (*GetAPI24RemoteVolumeSnapshotsParams) WriteToRequest ¶
func (o *GetAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24RemoteVolumeSnapshotsReader ¶
type GetAPI24RemoteVolumeSnapshotsReader struct {
// contains filtered or unexported fields
}
GetAPI24RemoteVolumeSnapshotsReader is a Reader for the GetAPI24RemoteVolumeSnapshots structure.
func (*GetAPI24RemoteVolumeSnapshotsReader) ReadResponse ¶
func (o *GetAPI24RemoteVolumeSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPI24RemoteVolumeSnapshotsTransferParams ¶
type GetAPI24RemoteVolumeSnapshotsTransferParams 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 /*Ids Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together. */ Ids []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 /*On Performs the operation on the target name specified. Enter multiple target names in comma-separated format. For example, `targetName01,targetName02`. */ On []string /*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 /*SourceIds Performs the operation on the source ID specified. Enter multiple source IDs in comma-separated format. */ SourceIds []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 }
GetAPI24RemoteVolumeSnapshotsTransferParams contains all the parameters to send to the API endpoint for the get API 24 remote volume snapshots transfer operation typically these are written to a http.Request
func NewGetAPI24RemoteVolumeSnapshotsTransferParams ¶
func NewGetAPI24RemoteVolumeSnapshotsTransferParams() *GetAPI24RemoteVolumeSnapshotsTransferParams
NewGetAPI24RemoteVolumeSnapshotsTransferParams creates a new GetAPI24RemoteVolumeSnapshotsTransferParams object with the default values initialized.
func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithContext ¶
func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsTransferParams
NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithContext creates a new GetAPI24RemoteVolumeSnapshotsTransferParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithHTTPClient ¶
func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsTransferParams
NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithHTTPClient creates a new GetAPI24RemoteVolumeSnapshotsTransferParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithTimeout ¶
func NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsTransferParams
NewGetAPI24RemoteVolumeSnapshotsTransferParamsWithTimeout creates a new GetAPI24RemoteVolumeSnapshotsTransferParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetAuthorization ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetContext ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetDestroyed ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetDestroyed(destroyed *bool)
SetDestroyed adds the destroyed to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetFilter ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetHTTPClient ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetIds(ids []string)
SetIds adds the ids to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetLimit ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetNames(names []string)
SetNames adds the names to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetOffset ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetOn ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetOn(on []string)
SetOn adds the on to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetSort ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetSourceIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetSourceIds(sourceIds []string)
SetSourceIds adds the sourceIds to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetSourceNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetSourceNames(sourceNames []string)
SetSourceNames adds the sourceNames to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetTimeout ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetTotalItemCount ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetTotalOnly ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetTotalOnly(totalOnly *bool)
SetTotalOnly adds the totalOnly to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) SetXRequestID ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithAuthorization ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithAuthorization(authorization *string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithAuthorization adds the authorization to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithContext ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithContext(ctx context.Context) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithContext adds the context to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithDestroyed ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithDestroyed(destroyed *bool) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithDestroyed adds the destroyed to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithFilter ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithFilter(filter *string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithFilter adds the filter to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithHTTPClient ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithHTTPClient(client *http.Client) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithHTTPClient adds the HTTPClient to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithIds(ids []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithIds adds the ids to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithLimit ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithLimit(limit *int32) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithLimit adds the limit to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithNames(names []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithNames adds the names to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithOffset ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithOffset(offset *int32) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithOffset adds the offset to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithOn ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithOn(on []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithOn adds the on to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithSort ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithSort(sort []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithSort adds the sort to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithSourceIds ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithSourceIds(sourceIds []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithSourceIds adds the sourceIds to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithSourceNames ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithSourceNames(sourceNames []string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithSourceNames adds the sourceNames to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithTimeout ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithTimeout(timeout time.Duration) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithTimeout adds the timeout to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithTotalItemCount ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithTotalItemCount adds the totalItemCount to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithTotalOnly ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithTotalOnly(totalOnly *bool) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithTotalOnly adds the totalOnly to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WithXRequestID ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WithXRequestID(xRequestID *string) *GetAPI24RemoteVolumeSnapshotsTransferParams
WithXRequestID adds the xRequestID to the get API 24 remote volume snapshots transfer params
func (*GetAPI24RemoteVolumeSnapshotsTransferParams) WriteToRequest ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24RemoteVolumeSnapshotsTransferReader ¶
type GetAPI24RemoteVolumeSnapshotsTransferReader struct {
// contains filtered or unexported fields
}
GetAPI24RemoteVolumeSnapshotsTransferReader is a Reader for the GetAPI24RemoteVolumeSnapshotsTransfer structure.
func (*GetAPI24RemoteVolumeSnapshotsTransferReader) ReadResponse ¶
func (o *GetAPI24RemoteVolumeSnapshotsTransferReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24RemoteVolumeSnapshotsBadRequest ¶
GetApi24RemoteVolumeSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24RemoteVolumeSnapshotsBadRequest ¶
func NewGetApi24RemoteVolumeSnapshotsBadRequest() *GetApi24RemoteVolumeSnapshotsBadRequest
NewGetApi24RemoteVolumeSnapshotsBadRequest creates a GetApi24RemoteVolumeSnapshotsBadRequest with default headers values
func (*GetApi24RemoteVolumeSnapshotsBadRequest) Error ¶
func (o *GetApi24RemoteVolumeSnapshotsBadRequest) Error() string
func (*GetApi24RemoteVolumeSnapshotsBadRequest) GetPayload ¶
func (o *GetApi24RemoteVolumeSnapshotsBadRequest) GetPayload() *models.Error
type GetApi24RemoteVolumeSnapshotsOK ¶
type GetApi24RemoteVolumeSnapshotsOK struct {
Payload *models.RemoteVolumeSnapshotGetResponse
}
GetApi24RemoteVolumeSnapshotsOK handles this case with default header values.
OK
func NewGetApi24RemoteVolumeSnapshotsOK ¶
func NewGetApi24RemoteVolumeSnapshotsOK() *GetApi24RemoteVolumeSnapshotsOK
NewGetApi24RemoteVolumeSnapshotsOK creates a GetApi24RemoteVolumeSnapshotsOK with default headers values
func (*GetApi24RemoteVolumeSnapshotsOK) Error ¶
func (o *GetApi24RemoteVolumeSnapshotsOK) Error() string
func (*GetApi24RemoteVolumeSnapshotsOK) GetPayload ¶
func (o *GetApi24RemoteVolumeSnapshotsOK) GetPayload() *models.RemoteVolumeSnapshotGetResponse
type GetApi24RemoteVolumeSnapshotsTransferBadRequest ¶
GetApi24RemoteVolumeSnapshotsTransferBadRequest handles this case with default header values.
BadRequest
func NewGetApi24RemoteVolumeSnapshotsTransferBadRequest ¶
func NewGetApi24RemoteVolumeSnapshotsTransferBadRequest() *GetApi24RemoteVolumeSnapshotsTransferBadRequest
NewGetApi24RemoteVolumeSnapshotsTransferBadRequest creates a GetApi24RemoteVolumeSnapshotsTransferBadRequest with default headers values
func (*GetApi24RemoteVolumeSnapshotsTransferBadRequest) Error ¶
func (o *GetApi24RemoteVolumeSnapshotsTransferBadRequest) Error() string
func (*GetApi24RemoteVolumeSnapshotsTransferBadRequest) GetPayload ¶
func (o *GetApi24RemoteVolumeSnapshotsTransferBadRequest) GetPayload() *models.Error
type GetApi24RemoteVolumeSnapshotsTransferOK ¶
type GetApi24RemoteVolumeSnapshotsTransferOK struct {
Payload *models.RemoteVolumeSnapshotTransferGetResponse
}
GetApi24RemoteVolumeSnapshotsTransferOK handles this case with default header values.
OK
func NewGetApi24RemoteVolumeSnapshotsTransferOK ¶
func NewGetApi24RemoteVolumeSnapshotsTransferOK() *GetApi24RemoteVolumeSnapshotsTransferOK
NewGetApi24RemoteVolumeSnapshotsTransferOK creates a GetApi24RemoteVolumeSnapshotsTransferOK with default headers values
func (*GetApi24RemoteVolumeSnapshotsTransferOK) Error ¶
func (o *GetApi24RemoteVolumeSnapshotsTransferOK) Error() string
func (*GetApi24RemoteVolumeSnapshotsTransferOK) GetPayload ¶
func (o *GetApi24RemoteVolumeSnapshotsTransferOK) GetPayload() *models.RemoteVolumeSnapshotTransferGetResponse
type PatchAPI24RemoteVolumeSnapshotsParams ¶
type PatchAPI24RemoteVolumeSnapshotsParams 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 /*On Performs the operation on the target name specified. For example, `targetName01`. */ On *string /*RemoteVolumeSnapshot*/ RemoteVolumeSnapshot *models.DestroyedPatchPost /*ReplicationSnapshot If set to `true`, allow destruction/eradication of snapshots in use by replication. If set to `false`, allow destruction/eradication of snapshots not in use by replication. If not specified, defaults to `false`. */ ReplicationSnapshot *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24RemoteVolumeSnapshotsParams contains all the parameters to send to the API endpoint for the patch API 24 remote volume snapshots operation typically these are written to a http.Request
func NewPatchAPI24RemoteVolumeSnapshotsParams ¶
func NewPatchAPI24RemoteVolumeSnapshotsParams() *PatchAPI24RemoteVolumeSnapshotsParams
NewPatchAPI24RemoteVolumeSnapshotsParams creates a new PatchAPI24RemoteVolumeSnapshotsParams object with the default values initialized.
func NewPatchAPI24RemoteVolumeSnapshotsParamsWithContext ¶
func NewPatchAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *PatchAPI24RemoteVolumeSnapshotsParams
NewPatchAPI24RemoteVolumeSnapshotsParamsWithContext creates a new PatchAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24RemoteVolumeSnapshotsParamsWithHTTPClient ¶
func NewPatchAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *PatchAPI24RemoteVolumeSnapshotsParams
NewPatchAPI24RemoteVolumeSnapshotsParamsWithHTTPClient creates a new PatchAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24RemoteVolumeSnapshotsParamsWithTimeout ¶
func NewPatchAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *PatchAPI24RemoteVolumeSnapshotsParams
NewPatchAPI24RemoteVolumeSnapshotsParamsWithTimeout creates a new PatchAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetAuthorization ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetContext ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetHTTPClient ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetNames ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetNames(names []string)
SetNames adds the names to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetOn ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetOn(on *string)
SetOn adds the on to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetRemoteVolumeSnapshot ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetRemoteVolumeSnapshot(remoteVolumeSnapshot *models.DestroyedPatchPost)
SetRemoteVolumeSnapshot adds the remoteVolumeSnapshot to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetReplicationSnapshot ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetReplicationSnapshot(replicationSnapshot *bool)
SetReplicationSnapshot adds the replicationSnapshot to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetTimeout ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) SetXRequestID ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithAuthorization ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *PatchAPI24RemoteVolumeSnapshotsParams
WithAuthorization adds the authorization to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithContext ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *PatchAPI24RemoteVolumeSnapshotsParams
WithContext adds the context to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithHTTPClient ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *PatchAPI24RemoteVolumeSnapshotsParams
WithHTTPClient adds the HTTPClient to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithNames ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithNames(names []string) *PatchAPI24RemoteVolumeSnapshotsParams
WithNames adds the names to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithOn ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithOn(on *string) *PatchAPI24RemoteVolumeSnapshotsParams
WithOn adds the on to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithRemoteVolumeSnapshot ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithRemoteVolumeSnapshot(remoteVolumeSnapshot *models.DestroyedPatchPost) *PatchAPI24RemoteVolumeSnapshotsParams
WithRemoteVolumeSnapshot adds the remoteVolumeSnapshot to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithReplicationSnapshot ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithReplicationSnapshot(replicationSnapshot *bool) *PatchAPI24RemoteVolumeSnapshotsParams
WithReplicationSnapshot adds the replicationSnapshot to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithTimeout ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *PatchAPI24RemoteVolumeSnapshotsParams
WithTimeout adds the timeout to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WithXRequestID ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *PatchAPI24RemoteVolumeSnapshotsParams
WithXRequestID adds the xRequestID to the patch API 24 remote volume snapshots params
func (*PatchAPI24RemoteVolumeSnapshotsParams) WriteToRequest ¶
func (o *PatchAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24RemoteVolumeSnapshotsReader ¶
type PatchAPI24RemoteVolumeSnapshotsReader struct {
// contains filtered or unexported fields
}
PatchAPI24RemoteVolumeSnapshotsReader is a Reader for the PatchAPI24RemoteVolumeSnapshots structure.
func (*PatchAPI24RemoteVolumeSnapshotsReader) ReadResponse ¶
func (o *PatchAPI24RemoteVolumeSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24RemoteVolumeSnapshotsBadRequest ¶
PatchApi24RemoteVolumeSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24RemoteVolumeSnapshotsBadRequest ¶
func NewPatchApi24RemoteVolumeSnapshotsBadRequest() *PatchApi24RemoteVolumeSnapshotsBadRequest
NewPatchApi24RemoteVolumeSnapshotsBadRequest creates a PatchApi24RemoteVolumeSnapshotsBadRequest with default headers values
func (*PatchApi24RemoteVolumeSnapshotsBadRequest) Error ¶
func (o *PatchApi24RemoteVolumeSnapshotsBadRequest) Error() string
func (*PatchApi24RemoteVolumeSnapshotsBadRequest) GetPayload ¶
func (o *PatchApi24RemoteVolumeSnapshotsBadRequest) GetPayload() *models.Error
type PatchApi24RemoteVolumeSnapshotsOK ¶
type PatchApi24RemoteVolumeSnapshotsOK struct {
Payload *models.RemoteVolumeSnapshotResponse
}
PatchApi24RemoteVolumeSnapshotsOK handles this case with default header values.
OK
func NewPatchApi24RemoteVolumeSnapshotsOK ¶
func NewPatchApi24RemoteVolumeSnapshotsOK() *PatchApi24RemoteVolumeSnapshotsOK
NewPatchApi24RemoteVolumeSnapshotsOK creates a PatchApi24RemoteVolumeSnapshotsOK with default headers values
func (*PatchApi24RemoteVolumeSnapshotsOK) Error ¶
func (o *PatchApi24RemoteVolumeSnapshotsOK) Error() string
func (*PatchApi24RemoteVolumeSnapshotsOK) GetPayload ¶
func (o *PatchApi24RemoteVolumeSnapshotsOK) GetPayload() *models.RemoteVolumeSnapshotResponse
type PostAPI24RemoteVolumeSnapshotsParams ¶
type PostAPI24RemoteVolumeSnapshotsParams 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 /*On Performs the operation on the target name specified. For example, `targetName01`. */ On *string /*SourceIds Performs the operation on the source ID specified. Enter multiple source IDs in comma-separated format. */ SourceIds []string /*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 }
PostAPI24RemoteVolumeSnapshotsParams contains all the parameters to send to the API endpoint for the post API 24 remote volume snapshots operation typically these are written to a http.Request
func NewPostAPI24RemoteVolumeSnapshotsParams ¶
func NewPostAPI24RemoteVolumeSnapshotsParams() *PostAPI24RemoteVolumeSnapshotsParams
NewPostAPI24RemoteVolumeSnapshotsParams creates a new PostAPI24RemoteVolumeSnapshotsParams object with the default values initialized.
func NewPostAPI24RemoteVolumeSnapshotsParamsWithContext ¶
func NewPostAPI24RemoteVolumeSnapshotsParamsWithContext(ctx context.Context) *PostAPI24RemoteVolumeSnapshotsParams
NewPostAPI24RemoteVolumeSnapshotsParamsWithContext creates a new PostAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPI24RemoteVolumeSnapshotsParamsWithHTTPClient ¶
func NewPostAPI24RemoteVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *PostAPI24RemoteVolumeSnapshotsParams
NewPostAPI24RemoteVolumeSnapshotsParamsWithHTTPClient creates a new PostAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPI24RemoteVolumeSnapshotsParamsWithTimeout ¶
func NewPostAPI24RemoteVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *PostAPI24RemoteVolumeSnapshotsParams
NewPostAPI24RemoteVolumeSnapshotsParamsWithTimeout creates a new PostAPI24RemoteVolumeSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPI24RemoteVolumeSnapshotsParams) SetAuthorization ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) SetContext ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) SetHTTPClient ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) SetOn ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetOn(on *string)
SetOn adds the on to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) SetSourceIds ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetSourceIds(sourceIds []string)
SetSourceIds adds the sourceIds to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) SetSourceNames ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetSourceNames(sourceNames []string)
SetSourceNames adds the sourceNames to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) SetTimeout ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) SetXRequestID ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithAuthorization ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithAuthorization(authorization *string) *PostAPI24RemoteVolumeSnapshotsParams
WithAuthorization adds the authorization to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithContext ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithContext(ctx context.Context) *PostAPI24RemoteVolumeSnapshotsParams
WithContext adds the context to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithHTTPClient ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *PostAPI24RemoteVolumeSnapshotsParams
WithHTTPClient adds the HTTPClient to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithOn ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithOn(on *string) *PostAPI24RemoteVolumeSnapshotsParams
WithOn adds the on to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithSourceIds ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithSourceIds(sourceIds []string) *PostAPI24RemoteVolumeSnapshotsParams
WithSourceIds adds the sourceIds to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithSourceNames ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithSourceNames(sourceNames []string) *PostAPI24RemoteVolumeSnapshotsParams
WithSourceNames adds the sourceNames to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithTimeout ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *PostAPI24RemoteVolumeSnapshotsParams
WithTimeout adds the timeout to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WithXRequestID ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WithXRequestID(xRequestID *string) *PostAPI24RemoteVolumeSnapshotsParams
WithXRequestID adds the xRequestID to the post API 24 remote volume snapshots params
func (*PostAPI24RemoteVolumeSnapshotsParams) WriteToRequest ¶
func (o *PostAPI24RemoteVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPI24RemoteVolumeSnapshotsReader ¶
type PostAPI24RemoteVolumeSnapshotsReader struct {
// contains filtered or unexported fields
}
PostAPI24RemoteVolumeSnapshotsReader is a Reader for the PostAPI24RemoteVolumeSnapshots structure.
func (*PostAPI24RemoteVolumeSnapshotsReader) ReadResponse ¶
func (o *PostAPI24RemoteVolumeSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostApi24RemoteVolumeSnapshotsBadRequest ¶
PostApi24RemoteVolumeSnapshotsBadRequest handles this case with default header values.
BadRequest
func NewPostApi24RemoteVolumeSnapshotsBadRequest ¶
func NewPostApi24RemoteVolumeSnapshotsBadRequest() *PostApi24RemoteVolumeSnapshotsBadRequest
NewPostApi24RemoteVolumeSnapshotsBadRequest creates a PostApi24RemoteVolumeSnapshotsBadRequest with default headers values
func (*PostApi24RemoteVolumeSnapshotsBadRequest) Error ¶
func (o *PostApi24RemoteVolumeSnapshotsBadRequest) Error() string
func (*PostApi24RemoteVolumeSnapshotsBadRequest) GetPayload ¶
func (o *PostApi24RemoteVolumeSnapshotsBadRequest) GetPayload() *models.Error
type PostApi24RemoteVolumeSnapshotsOK ¶
type PostApi24RemoteVolumeSnapshotsOK struct {
Payload *models.RemoteVolumeSnapshotResponse
}
PostApi24RemoteVolumeSnapshotsOK handles this case with default header values.
OK
func NewPostApi24RemoteVolumeSnapshotsOK ¶
func NewPostApi24RemoteVolumeSnapshotsOK() *PostApi24RemoteVolumeSnapshotsOK
NewPostApi24RemoteVolumeSnapshotsOK creates a PostApi24RemoteVolumeSnapshotsOK with default headers values
func (*PostApi24RemoteVolumeSnapshotsOK) Error ¶
func (o *PostApi24RemoteVolumeSnapshotsOK) Error() string
func (*PostApi24RemoteVolumeSnapshotsOK) GetPayload ¶
func (o *PostApi24RemoteVolumeSnapshotsOK) GetPayload() *models.RemoteVolumeSnapshotResponse
Source Files
¶
- delete_api_24_remote_volume_snapshots_parameters.go
- delete_api_24_remote_volume_snapshots_responses.go
- get_api_24_remote_volume_snapshots_parameters.go
- get_api_24_remote_volume_snapshots_responses.go
- get_api_24_remote_volume_snapshots_transfer_parameters.go
- get_api_24_remote_volume_snapshots_transfer_responses.go
- patch_api_24_remote_volume_snapshots_parameters.go
- patch_api_24_remote_volume_snapshots_responses.go
- post_api_24_remote_volume_snapshots_parameters.go
- post_api_24_remote_volume_snapshots_responses.go
- remote_volume_snapshots_client.go