Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConsistencyGroupSnapshot(params *CreateConsistencyGroupSnapshotParams, opts ...ClientOption) (*CreateConsistencyGroupSnapshotOK, error)
- func (a *Client) DeleteConsistencyGroupSnapshot(params *DeleteConsistencyGroupSnapshotParams, opts ...ClientOption) (*DeleteConsistencyGroupSnapshotOK, error)
- func (a *Client) GetConsistencyGroupSnapshots(params *GetConsistencyGroupSnapshotsParams, opts ...ClientOption) (*GetConsistencyGroupSnapshotsOK, error)
- func (a *Client) GetConsistencyGroupSnapshotsConnection(params *GetConsistencyGroupSnapshotsConnectionParams, opts ...ClientOption) (*GetConsistencyGroupSnapshotsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConsistencyGroupSnapshot(params *UpdateConsistencyGroupSnapshotParams, opts ...ClientOption) (*UpdateConsistencyGroupSnapshotOK, error)
- type ClientOption
- type ClientService
- type CreateConsistencyGroupSnapshotBadRequest
- type CreateConsistencyGroupSnapshotInternalServerError
- type CreateConsistencyGroupSnapshotNotFound
- type CreateConsistencyGroupSnapshotOK
- type CreateConsistencyGroupSnapshotParams
- func NewCreateConsistencyGroupSnapshotParams() *CreateConsistencyGroupSnapshotParams
- func NewCreateConsistencyGroupSnapshotParamsWithContext(ctx context.Context) *CreateConsistencyGroupSnapshotParams
- func NewCreateConsistencyGroupSnapshotParamsWithHTTPClient(client *http.Client) *CreateConsistencyGroupSnapshotParams
- func NewCreateConsistencyGroupSnapshotParamsWithTimeout(timeout time.Duration) *CreateConsistencyGroupSnapshotParams
- func (o *CreateConsistencyGroupSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateConsistencyGroupSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateConsistencyGroupSnapshotParams) SetDefaults()
- func (o *CreateConsistencyGroupSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateConsistencyGroupSnapshotParams) SetRequestBody(requestBody []*models.ConsistencyGroupSnapshotCreationParams)
- func (o *CreateConsistencyGroupSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateConsistencyGroupSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateConsistencyGroupSnapshotParams
- func (o *CreateConsistencyGroupSnapshotParams) WithContext(ctx context.Context) *CreateConsistencyGroupSnapshotParams
- func (o *CreateConsistencyGroupSnapshotParams) WithDefaults() *CreateConsistencyGroupSnapshotParams
- func (o *CreateConsistencyGroupSnapshotParams) WithHTTPClient(client *http.Client) *CreateConsistencyGroupSnapshotParams
- func (o *CreateConsistencyGroupSnapshotParams) WithRequestBody(requestBody []*models.ConsistencyGroupSnapshotCreationParams) *CreateConsistencyGroupSnapshotParams
- func (o *CreateConsistencyGroupSnapshotParams) WithTimeout(timeout time.Duration) *CreateConsistencyGroupSnapshotParams
- func (o *CreateConsistencyGroupSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConsistencyGroupSnapshotReader
- type DeleteConsistencyGroupSnapshotBadRequest
- type DeleteConsistencyGroupSnapshotInternalServerError
- type DeleteConsistencyGroupSnapshotNotFound
- type DeleteConsistencyGroupSnapshotOK
- type DeleteConsistencyGroupSnapshotParams
- func NewDeleteConsistencyGroupSnapshotParams() *DeleteConsistencyGroupSnapshotParams
- func NewDeleteConsistencyGroupSnapshotParamsWithContext(ctx context.Context) *DeleteConsistencyGroupSnapshotParams
- func NewDeleteConsistencyGroupSnapshotParamsWithHTTPClient(client *http.Client) *DeleteConsistencyGroupSnapshotParams
- func NewDeleteConsistencyGroupSnapshotParamsWithTimeout(timeout time.Duration) *DeleteConsistencyGroupSnapshotParams
- func (o *DeleteConsistencyGroupSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteConsistencyGroupSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteConsistencyGroupSnapshotParams) SetDefaults()
- func (o *DeleteConsistencyGroupSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConsistencyGroupSnapshotParams) SetRequestBody(requestBody *models.ConsistencyGroupSnapshotDeletionParams)
- func (o *DeleteConsistencyGroupSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConsistencyGroupSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteConsistencyGroupSnapshotParams
- func (o *DeleteConsistencyGroupSnapshotParams) WithContext(ctx context.Context) *DeleteConsistencyGroupSnapshotParams
- func (o *DeleteConsistencyGroupSnapshotParams) WithDefaults() *DeleteConsistencyGroupSnapshotParams
- func (o *DeleteConsistencyGroupSnapshotParams) WithHTTPClient(client *http.Client) *DeleteConsistencyGroupSnapshotParams
- func (o *DeleteConsistencyGroupSnapshotParams) WithRequestBody(requestBody *models.ConsistencyGroupSnapshotDeletionParams) *DeleteConsistencyGroupSnapshotParams
- func (o *DeleteConsistencyGroupSnapshotParams) WithTimeout(timeout time.Duration) *DeleteConsistencyGroupSnapshotParams
- func (o *DeleteConsistencyGroupSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConsistencyGroupSnapshotReader
- type GetConsistencyGroupSnapshotsBadRequest
- type GetConsistencyGroupSnapshotsConnectionBadRequest
- type GetConsistencyGroupSnapshotsConnectionInternalServerError
- type GetConsistencyGroupSnapshotsConnectionNotFound
- type GetConsistencyGroupSnapshotsConnectionOK
- type GetConsistencyGroupSnapshotsConnectionParams
- func NewGetConsistencyGroupSnapshotsConnectionParams() *GetConsistencyGroupSnapshotsConnectionParams
- func NewGetConsistencyGroupSnapshotsConnectionParamsWithContext(ctx context.Context) *GetConsistencyGroupSnapshotsConnectionParams
- func NewGetConsistencyGroupSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsConnectionParams
- func NewGetConsistencyGroupSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsConnectionParams
- func (o *GetConsistencyGroupSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetConsistencyGroupSnapshotsConnectionParams) SetContext(ctx context.Context)
- func (o *GetConsistencyGroupSnapshotsConnectionParams) SetDefaults()
- func (o *GetConsistencyGroupSnapshotsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetConsistencyGroupSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetConsistencyGroupSnapshotsConnectionRequestBody)
- func (o *GetConsistencyGroupSnapshotsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetConsistencyGroupSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetConsistencyGroupSnapshotsConnectionParams
- func (o *GetConsistencyGroupSnapshotsConnectionParams) WithContext(ctx context.Context) *GetConsistencyGroupSnapshotsConnectionParams
- func (o *GetConsistencyGroupSnapshotsConnectionParams) WithDefaults() *GetConsistencyGroupSnapshotsConnectionParams
- func (o *GetConsistencyGroupSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsConnectionParams
- func (o *GetConsistencyGroupSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetConsistencyGroupSnapshotsConnectionRequestBody) *GetConsistencyGroupSnapshotsConnectionParams
- func (o *GetConsistencyGroupSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsConnectionParams
- func (o *GetConsistencyGroupSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsistencyGroupSnapshotsConnectionReader
- type GetConsistencyGroupSnapshotsInternalServerError
- type GetConsistencyGroupSnapshotsNotFound
- type GetConsistencyGroupSnapshotsOK
- type GetConsistencyGroupSnapshotsParams
- func NewGetConsistencyGroupSnapshotsParams() *GetConsistencyGroupSnapshotsParams
- func NewGetConsistencyGroupSnapshotsParamsWithContext(ctx context.Context) *GetConsistencyGroupSnapshotsParams
- func NewGetConsistencyGroupSnapshotsParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsParams
- func NewGetConsistencyGroupSnapshotsParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsParams
- func (o *GetConsistencyGroupSnapshotsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetConsistencyGroupSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetConsistencyGroupSnapshotsParams) SetDefaults()
- func (o *GetConsistencyGroupSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetConsistencyGroupSnapshotsParams) SetRequestBody(requestBody *models.GetConsistencyGroupSnapshotsRequestBody)
- func (o *GetConsistencyGroupSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetConsistencyGroupSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetConsistencyGroupSnapshotsParams
- func (o *GetConsistencyGroupSnapshotsParams) WithContext(ctx context.Context) *GetConsistencyGroupSnapshotsParams
- func (o *GetConsistencyGroupSnapshotsParams) WithDefaults() *GetConsistencyGroupSnapshotsParams
- func (o *GetConsistencyGroupSnapshotsParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsParams
- func (o *GetConsistencyGroupSnapshotsParams) WithRequestBody(requestBody *models.GetConsistencyGroupSnapshotsRequestBody) *GetConsistencyGroupSnapshotsParams
- func (o *GetConsistencyGroupSnapshotsParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsParams
- func (o *GetConsistencyGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsistencyGroupSnapshotsReader
- type UpdateConsistencyGroupSnapshotBadRequest
- type UpdateConsistencyGroupSnapshotInternalServerError
- type UpdateConsistencyGroupSnapshotNotFound
- type UpdateConsistencyGroupSnapshotOK
- type UpdateConsistencyGroupSnapshotParams
- func NewUpdateConsistencyGroupSnapshotParams() *UpdateConsistencyGroupSnapshotParams
- func NewUpdateConsistencyGroupSnapshotParamsWithContext(ctx context.Context) *UpdateConsistencyGroupSnapshotParams
- func NewUpdateConsistencyGroupSnapshotParamsWithHTTPClient(client *http.Client) *UpdateConsistencyGroupSnapshotParams
- func NewUpdateConsistencyGroupSnapshotParamsWithTimeout(timeout time.Duration) *UpdateConsistencyGroupSnapshotParams
- func (o *UpdateConsistencyGroupSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateConsistencyGroupSnapshotParams) SetContext(ctx context.Context)
- func (o *UpdateConsistencyGroupSnapshotParams) SetDefaults()
- func (o *UpdateConsistencyGroupSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConsistencyGroupSnapshotParams) SetRequestBody(requestBody *models.ConsistencyGroupSnapshotUpdationParams)
- func (o *UpdateConsistencyGroupSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConsistencyGroupSnapshotParams) WithContentLanguage(contentLanguage *string) *UpdateConsistencyGroupSnapshotParams
- func (o *UpdateConsistencyGroupSnapshotParams) WithContext(ctx context.Context) *UpdateConsistencyGroupSnapshotParams
- func (o *UpdateConsistencyGroupSnapshotParams) WithDefaults() *UpdateConsistencyGroupSnapshotParams
- func (o *UpdateConsistencyGroupSnapshotParams) WithHTTPClient(client *http.Client) *UpdateConsistencyGroupSnapshotParams
- func (o *UpdateConsistencyGroupSnapshotParams) WithRequestBody(requestBody *models.ConsistencyGroupSnapshotUpdationParams) *UpdateConsistencyGroupSnapshotParams
- func (o *UpdateConsistencyGroupSnapshotParams) WithTimeout(timeout time.Duration) *UpdateConsistencyGroupSnapshotParams
- func (o *UpdateConsistencyGroupSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConsistencyGroupSnapshotReader
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 consistency group snapshot API
func (*Client) CreateConsistencyGroupSnapshot ¶
func (a *Client) CreateConsistencyGroupSnapshot(params *CreateConsistencyGroupSnapshotParams, opts ...ClientOption) (*CreateConsistencyGroupSnapshotOK, error)
CreateConsistencyGroupSnapshot create consistency group snapshot API
func (*Client) DeleteConsistencyGroupSnapshot ¶
func (a *Client) DeleteConsistencyGroupSnapshot(params *DeleteConsistencyGroupSnapshotParams, opts ...ClientOption) (*DeleteConsistencyGroupSnapshotOK, error)
DeleteConsistencyGroupSnapshot delete consistency group snapshot API
func (*Client) GetConsistencyGroupSnapshots ¶
func (a *Client) GetConsistencyGroupSnapshots(params *GetConsistencyGroupSnapshotsParams, opts ...ClientOption) (*GetConsistencyGroupSnapshotsOK, error)
GetConsistencyGroupSnapshots get consistency group snapshots API
func (*Client) GetConsistencyGroupSnapshotsConnection ¶
func (a *Client) GetConsistencyGroupSnapshotsConnection(params *GetConsistencyGroupSnapshotsConnectionParams, opts ...ClientOption) (*GetConsistencyGroupSnapshotsConnectionOK, error)
GetConsistencyGroupSnapshotsConnection get consistency group snapshots connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConsistencyGroupSnapshot ¶
func (a *Client) UpdateConsistencyGroupSnapshot(params *UpdateConsistencyGroupSnapshotParams, opts ...ClientOption) (*UpdateConsistencyGroupSnapshotOK, error)
UpdateConsistencyGroupSnapshot update consistency group snapshot API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateConsistencyGroupSnapshot(params *CreateConsistencyGroupSnapshotParams, opts ...ClientOption) (*CreateConsistencyGroupSnapshotOK, error) DeleteConsistencyGroupSnapshot(params *DeleteConsistencyGroupSnapshotParams, opts ...ClientOption) (*DeleteConsistencyGroupSnapshotOK, error) GetConsistencyGroupSnapshots(params *GetConsistencyGroupSnapshotsParams, opts ...ClientOption) (*GetConsistencyGroupSnapshotsOK, error) GetConsistencyGroupSnapshotsConnection(params *GetConsistencyGroupSnapshotsConnectionParams, opts ...ClientOption) (*GetConsistencyGroupSnapshotsConnectionOK, error) UpdateConsistencyGroupSnapshot(params *UpdateConsistencyGroupSnapshotParams, opts ...ClientOption) (*UpdateConsistencyGroupSnapshotOK, 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 consistency group snapshot API client.
type CreateConsistencyGroupSnapshotBadRequest ¶
type CreateConsistencyGroupSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
CreateConsistencyGroupSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateConsistencyGroupSnapshotBadRequest ¶
func NewCreateConsistencyGroupSnapshotBadRequest() *CreateConsistencyGroupSnapshotBadRequest
NewCreateConsistencyGroupSnapshotBadRequest creates a CreateConsistencyGroupSnapshotBadRequest with default headers values
func (*CreateConsistencyGroupSnapshotBadRequest) Error ¶
func (o *CreateConsistencyGroupSnapshotBadRequest) Error() string
func (*CreateConsistencyGroupSnapshotBadRequest) GetPayload ¶
func (o *CreateConsistencyGroupSnapshotBadRequest) GetPayload() *models.ErrorBody
type CreateConsistencyGroupSnapshotInternalServerError ¶
type CreateConsistencyGroupSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateConsistencyGroupSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateConsistencyGroupSnapshotInternalServerError ¶
func NewCreateConsistencyGroupSnapshotInternalServerError() *CreateConsistencyGroupSnapshotInternalServerError
NewCreateConsistencyGroupSnapshotInternalServerError creates a CreateConsistencyGroupSnapshotInternalServerError with default headers values
func (*CreateConsistencyGroupSnapshotInternalServerError) Error ¶
func (o *CreateConsistencyGroupSnapshotInternalServerError) Error() string
func (*CreateConsistencyGroupSnapshotInternalServerError) GetPayload ¶
func (o *CreateConsistencyGroupSnapshotInternalServerError) GetPayload() *models.ErrorBody
type CreateConsistencyGroupSnapshotNotFound ¶
type CreateConsistencyGroupSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
CreateConsistencyGroupSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateConsistencyGroupSnapshotNotFound ¶
func NewCreateConsistencyGroupSnapshotNotFound() *CreateConsistencyGroupSnapshotNotFound
NewCreateConsistencyGroupSnapshotNotFound creates a CreateConsistencyGroupSnapshotNotFound with default headers values
func (*CreateConsistencyGroupSnapshotNotFound) Error ¶
func (o *CreateConsistencyGroupSnapshotNotFound) Error() string
func (*CreateConsistencyGroupSnapshotNotFound) GetPayload ¶
func (o *CreateConsistencyGroupSnapshotNotFound) GetPayload() *models.ErrorBody
type CreateConsistencyGroupSnapshotOK ¶
type CreateConsistencyGroupSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskConsistencyGroupSnapshot }
CreateConsistencyGroupSnapshotOK describes a response with status code 200, with default header values.
CreateConsistencyGroupSnapshotOK create consistency group snapshot o k
func NewCreateConsistencyGroupSnapshotOK ¶
func NewCreateConsistencyGroupSnapshotOK() *CreateConsistencyGroupSnapshotOK
NewCreateConsistencyGroupSnapshotOK creates a CreateConsistencyGroupSnapshotOK with default headers values
func (*CreateConsistencyGroupSnapshotOK) Error ¶
func (o *CreateConsistencyGroupSnapshotOK) Error() string
func (*CreateConsistencyGroupSnapshotOK) GetPayload ¶
func (o *CreateConsistencyGroupSnapshotOK) GetPayload() []*models.WithTaskConsistencyGroupSnapshot
type CreateConsistencyGroupSnapshotParams ¶
type CreateConsistencyGroupSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.ConsistencyGroupSnapshotCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConsistencyGroupSnapshotParams contains all the parameters to send to the API endpoint
for the create consistency group snapshot operation. Typically these are written to a http.Request.
func NewCreateConsistencyGroupSnapshotParams ¶
func NewCreateConsistencyGroupSnapshotParams() *CreateConsistencyGroupSnapshotParams
NewCreateConsistencyGroupSnapshotParams creates a new CreateConsistencyGroupSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateConsistencyGroupSnapshotParamsWithContext ¶
func NewCreateConsistencyGroupSnapshotParamsWithContext(ctx context.Context) *CreateConsistencyGroupSnapshotParams
NewCreateConsistencyGroupSnapshotParamsWithContext creates a new CreateConsistencyGroupSnapshotParams object with the ability to set a context for a request.
func NewCreateConsistencyGroupSnapshotParamsWithHTTPClient ¶
func NewCreateConsistencyGroupSnapshotParamsWithHTTPClient(client *http.Client) *CreateConsistencyGroupSnapshotParams
NewCreateConsistencyGroupSnapshotParamsWithHTTPClient creates a new CreateConsistencyGroupSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateConsistencyGroupSnapshotParamsWithTimeout ¶
func NewCreateConsistencyGroupSnapshotParamsWithTimeout(timeout time.Duration) *CreateConsistencyGroupSnapshotParams
NewCreateConsistencyGroupSnapshotParamsWithTimeout creates a new CreateConsistencyGroupSnapshotParams object with the ability to set a timeout on a request.
func (*CreateConsistencyGroupSnapshotParams) SetContentLanguage ¶
func (o *CreateConsistencyGroupSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) SetContext ¶
func (o *CreateConsistencyGroupSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) SetDefaults ¶
func (o *CreateConsistencyGroupSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create consistency group snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConsistencyGroupSnapshotParams) SetHTTPClient ¶
func (o *CreateConsistencyGroupSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) SetRequestBody ¶
func (o *CreateConsistencyGroupSnapshotParams) SetRequestBody(requestBody []*models.ConsistencyGroupSnapshotCreationParams)
SetRequestBody adds the requestBody to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) SetTimeout ¶
func (o *CreateConsistencyGroupSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) WithContentLanguage ¶
func (o *CreateConsistencyGroupSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateConsistencyGroupSnapshotParams
WithContentLanguage adds the contentLanguage to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) WithContext ¶
func (o *CreateConsistencyGroupSnapshotParams) WithContext(ctx context.Context) *CreateConsistencyGroupSnapshotParams
WithContext adds the context to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) WithDefaults ¶
func (o *CreateConsistencyGroupSnapshotParams) WithDefaults() *CreateConsistencyGroupSnapshotParams
WithDefaults hydrates default values in the create consistency group snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConsistencyGroupSnapshotParams) WithHTTPClient ¶
func (o *CreateConsistencyGroupSnapshotParams) WithHTTPClient(client *http.Client) *CreateConsistencyGroupSnapshotParams
WithHTTPClient adds the HTTPClient to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) WithRequestBody ¶
func (o *CreateConsistencyGroupSnapshotParams) WithRequestBody(requestBody []*models.ConsistencyGroupSnapshotCreationParams) *CreateConsistencyGroupSnapshotParams
WithRequestBody adds the requestBody to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) WithTimeout ¶
func (o *CreateConsistencyGroupSnapshotParams) WithTimeout(timeout time.Duration) *CreateConsistencyGroupSnapshotParams
WithTimeout adds the timeout to the create consistency group snapshot params
func (*CreateConsistencyGroupSnapshotParams) WriteToRequest ¶
func (o *CreateConsistencyGroupSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConsistencyGroupSnapshotReader ¶
type CreateConsistencyGroupSnapshotReader struct {
// contains filtered or unexported fields
}
CreateConsistencyGroupSnapshotReader is a Reader for the CreateConsistencyGroupSnapshot structure.
func (*CreateConsistencyGroupSnapshotReader) ReadResponse ¶
func (o *CreateConsistencyGroupSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConsistencyGroupSnapshotBadRequest ¶
type DeleteConsistencyGroupSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteConsistencyGroupSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteConsistencyGroupSnapshotBadRequest ¶
func NewDeleteConsistencyGroupSnapshotBadRequest() *DeleteConsistencyGroupSnapshotBadRequest
NewDeleteConsistencyGroupSnapshotBadRequest creates a DeleteConsistencyGroupSnapshotBadRequest with default headers values
func (*DeleteConsistencyGroupSnapshotBadRequest) Error ¶
func (o *DeleteConsistencyGroupSnapshotBadRequest) Error() string
func (*DeleteConsistencyGroupSnapshotBadRequest) GetPayload ¶
func (o *DeleteConsistencyGroupSnapshotBadRequest) GetPayload() *models.ErrorBody
type DeleteConsistencyGroupSnapshotInternalServerError ¶
type DeleteConsistencyGroupSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteConsistencyGroupSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteConsistencyGroupSnapshotInternalServerError ¶
func NewDeleteConsistencyGroupSnapshotInternalServerError() *DeleteConsistencyGroupSnapshotInternalServerError
NewDeleteConsistencyGroupSnapshotInternalServerError creates a DeleteConsistencyGroupSnapshotInternalServerError with default headers values
func (*DeleteConsistencyGroupSnapshotInternalServerError) Error ¶
func (o *DeleteConsistencyGroupSnapshotInternalServerError) Error() string
func (*DeleteConsistencyGroupSnapshotInternalServerError) GetPayload ¶
func (o *DeleteConsistencyGroupSnapshotInternalServerError) GetPayload() *models.ErrorBody
type DeleteConsistencyGroupSnapshotNotFound ¶
type DeleteConsistencyGroupSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteConsistencyGroupSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteConsistencyGroupSnapshotNotFound ¶
func NewDeleteConsistencyGroupSnapshotNotFound() *DeleteConsistencyGroupSnapshotNotFound
NewDeleteConsistencyGroupSnapshotNotFound creates a DeleteConsistencyGroupSnapshotNotFound with default headers values
func (*DeleteConsistencyGroupSnapshotNotFound) Error ¶
func (o *DeleteConsistencyGroupSnapshotNotFound) Error() string
func (*DeleteConsistencyGroupSnapshotNotFound) GetPayload ¶
func (o *DeleteConsistencyGroupSnapshotNotFound) GetPayload() *models.ErrorBody
type DeleteConsistencyGroupSnapshotOK ¶
type DeleteConsistencyGroupSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteConsistencyGroupSnapshot }
DeleteConsistencyGroupSnapshotOK describes a response with status code 200, with default header values.
DeleteConsistencyGroupSnapshotOK delete consistency group snapshot o k
func NewDeleteConsistencyGroupSnapshotOK ¶
func NewDeleteConsistencyGroupSnapshotOK() *DeleteConsistencyGroupSnapshotOK
NewDeleteConsistencyGroupSnapshotOK creates a DeleteConsistencyGroupSnapshotOK with default headers values
func (*DeleteConsistencyGroupSnapshotOK) Error ¶
func (o *DeleteConsistencyGroupSnapshotOK) Error() string
func (*DeleteConsistencyGroupSnapshotOK) GetPayload ¶
func (o *DeleteConsistencyGroupSnapshotOK) GetPayload() []*models.WithTaskDeleteConsistencyGroupSnapshot
type DeleteConsistencyGroupSnapshotParams ¶
type DeleteConsistencyGroupSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ConsistencyGroupSnapshotDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConsistencyGroupSnapshotParams contains all the parameters to send to the API endpoint
for the delete consistency group snapshot operation. Typically these are written to a http.Request.
func NewDeleteConsistencyGroupSnapshotParams ¶
func NewDeleteConsistencyGroupSnapshotParams() *DeleteConsistencyGroupSnapshotParams
NewDeleteConsistencyGroupSnapshotParams creates a new DeleteConsistencyGroupSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteConsistencyGroupSnapshotParamsWithContext ¶
func NewDeleteConsistencyGroupSnapshotParamsWithContext(ctx context.Context) *DeleteConsistencyGroupSnapshotParams
NewDeleteConsistencyGroupSnapshotParamsWithContext creates a new DeleteConsistencyGroupSnapshotParams object with the ability to set a context for a request.
func NewDeleteConsistencyGroupSnapshotParamsWithHTTPClient ¶
func NewDeleteConsistencyGroupSnapshotParamsWithHTTPClient(client *http.Client) *DeleteConsistencyGroupSnapshotParams
NewDeleteConsistencyGroupSnapshotParamsWithHTTPClient creates a new DeleteConsistencyGroupSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteConsistencyGroupSnapshotParamsWithTimeout ¶
func NewDeleteConsistencyGroupSnapshotParamsWithTimeout(timeout time.Duration) *DeleteConsistencyGroupSnapshotParams
NewDeleteConsistencyGroupSnapshotParamsWithTimeout creates a new DeleteConsistencyGroupSnapshotParams object with the ability to set a timeout on a request.
func (*DeleteConsistencyGroupSnapshotParams) SetContentLanguage ¶
func (o *DeleteConsistencyGroupSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) SetContext ¶
func (o *DeleteConsistencyGroupSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) SetDefaults ¶
func (o *DeleteConsistencyGroupSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the delete consistency group snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConsistencyGroupSnapshotParams) SetHTTPClient ¶
func (o *DeleteConsistencyGroupSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) SetRequestBody ¶
func (o *DeleteConsistencyGroupSnapshotParams) SetRequestBody(requestBody *models.ConsistencyGroupSnapshotDeletionParams)
SetRequestBody adds the requestBody to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) SetTimeout ¶
func (o *DeleteConsistencyGroupSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) WithContentLanguage ¶
func (o *DeleteConsistencyGroupSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteConsistencyGroupSnapshotParams
WithContentLanguage adds the contentLanguage to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) WithContext ¶
func (o *DeleteConsistencyGroupSnapshotParams) WithContext(ctx context.Context) *DeleteConsistencyGroupSnapshotParams
WithContext adds the context to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) WithDefaults ¶
func (o *DeleteConsistencyGroupSnapshotParams) WithDefaults() *DeleteConsistencyGroupSnapshotParams
WithDefaults hydrates default values in the delete consistency group snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConsistencyGroupSnapshotParams) WithHTTPClient ¶
func (o *DeleteConsistencyGroupSnapshotParams) WithHTTPClient(client *http.Client) *DeleteConsistencyGroupSnapshotParams
WithHTTPClient adds the HTTPClient to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) WithRequestBody ¶
func (o *DeleteConsistencyGroupSnapshotParams) WithRequestBody(requestBody *models.ConsistencyGroupSnapshotDeletionParams) *DeleteConsistencyGroupSnapshotParams
WithRequestBody adds the requestBody to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) WithTimeout ¶
func (o *DeleteConsistencyGroupSnapshotParams) WithTimeout(timeout time.Duration) *DeleteConsistencyGroupSnapshotParams
WithTimeout adds the timeout to the delete consistency group snapshot params
func (*DeleteConsistencyGroupSnapshotParams) WriteToRequest ¶
func (o *DeleteConsistencyGroupSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConsistencyGroupSnapshotReader ¶
type DeleteConsistencyGroupSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteConsistencyGroupSnapshotReader is a Reader for the DeleteConsistencyGroupSnapshot structure.
func (*DeleteConsistencyGroupSnapshotReader) ReadResponse ¶
func (o *DeleteConsistencyGroupSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConsistencyGroupSnapshotsBadRequest ¶
type GetConsistencyGroupSnapshotsBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupSnapshotsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetConsistencyGroupSnapshotsBadRequest ¶
func NewGetConsistencyGroupSnapshotsBadRequest() *GetConsistencyGroupSnapshotsBadRequest
NewGetConsistencyGroupSnapshotsBadRequest creates a GetConsistencyGroupSnapshotsBadRequest with default headers values
func (*GetConsistencyGroupSnapshotsBadRequest) Error ¶
func (o *GetConsistencyGroupSnapshotsBadRequest) Error() string
func (*GetConsistencyGroupSnapshotsBadRequest) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsBadRequest) GetPayload() *models.ErrorBody
type GetConsistencyGroupSnapshotsConnectionBadRequest ¶
type GetConsistencyGroupSnapshotsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupSnapshotsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetConsistencyGroupSnapshotsConnectionBadRequest ¶
func NewGetConsistencyGroupSnapshotsConnectionBadRequest() *GetConsistencyGroupSnapshotsConnectionBadRequest
NewGetConsistencyGroupSnapshotsConnectionBadRequest creates a GetConsistencyGroupSnapshotsConnectionBadRequest with default headers values
func (*GetConsistencyGroupSnapshotsConnectionBadRequest) Error ¶
func (o *GetConsistencyGroupSnapshotsConnectionBadRequest) Error() string
func (*GetConsistencyGroupSnapshotsConnectionBadRequest) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetConsistencyGroupSnapshotsConnectionInternalServerError ¶
type GetConsistencyGroupSnapshotsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupSnapshotsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetConsistencyGroupSnapshotsConnectionInternalServerError ¶
func NewGetConsistencyGroupSnapshotsConnectionInternalServerError() *GetConsistencyGroupSnapshotsConnectionInternalServerError
NewGetConsistencyGroupSnapshotsConnectionInternalServerError creates a GetConsistencyGroupSnapshotsConnectionInternalServerError with default headers values
func (*GetConsistencyGroupSnapshotsConnectionInternalServerError) Error ¶
func (o *GetConsistencyGroupSnapshotsConnectionInternalServerError) Error() string
func (*GetConsistencyGroupSnapshotsConnectionInternalServerError) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetConsistencyGroupSnapshotsConnectionNotFound ¶
type GetConsistencyGroupSnapshotsConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupSnapshotsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetConsistencyGroupSnapshotsConnectionNotFound ¶
func NewGetConsistencyGroupSnapshotsConnectionNotFound() *GetConsistencyGroupSnapshotsConnectionNotFound
NewGetConsistencyGroupSnapshotsConnectionNotFound creates a GetConsistencyGroupSnapshotsConnectionNotFound with default headers values
func (*GetConsistencyGroupSnapshotsConnectionNotFound) Error ¶
func (o *GetConsistencyGroupSnapshotsConnectionNotFound) Error() string
func (*GetConsistencyGroupSnapshotsConnectionNotFound) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsConnectionNotFound) GetPayload() *models.ErrorBody
type GetConsistencyGroupSnapshotsConnectionOK ¶
type GetConsistencyGroupSnapshotsConnectionOK struct { XTowerRequestID string Payload *models.ConsistencyGroupSnapshotConnection }
GetConsistencyGroupSnapshotsConnectionOK describes a response with status code 200, with default header values.
GetConsistencyGroupSnapshotsConnectionOK get consistency group snapshots connection o k
func NewGetConsistencyGroupSnapshotsConnectionOK ¶
func NewGetConsistencyGroupSnapshotsConnectionOK() *GetConsistencyGroupSnapshotsConnectionOK
NewGetConsistencyGroupSnapshotsConnectionOK creates a GetConsistencyGroupSnapshotsConnectionOK with default headers values
func (*GetConsistencyGroupSnapshotsConnectionOK) Error ¶
func (o *GetConsistencyGroupSnapshotsConnectionOK) Error() string
func (*GetConsistencyGroupSnapshotsConnectionOK) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsConnectionOK) GetPayload() *models.ConsistencyGroupSnapshotConnection
type GetConsistencyGroupSnapshotsConnectionParams ¶
type GetConsistencyGroupSnapshotsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetConsistencyGroupSnapshotsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConsistencyGroupSnapshotsConnectionParams contains all the parameters to send to the API endpoint
for the get consistency group snapshots connection operation. Typically these are written to a http.Request.
func NewGetConsistencyGroupSnapshotsConnectionParams ¶
func NewGetConsistencyGroupSnapshotsConnectionParams() *GetConsistencyGroupSnapshotsConnectionParams
NewGetConsistencyGroupSnapshotsConnectionParams creates a new GetConsistencyGroupSnapshotsConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetConsistencyGroupSnapshotsConnectionParamsWithContext ¶
func NewGetConsistencyGroupSnapshotsConnectionParamsWithContext(ctx context.Context) *GetConsistencyGroupSnapshotsConnectionParams
NewGetConsistencyGroupSnapshotsConnectionParamsWithContext creates a new GetConsistencyGroupSnapshotsConnectionParams object with the ability to set a context for a request.
func NewGetConsistencyGroupSnapshotsConnectionParamsWithHTTPClient ¶
func NewGetConsistencyGroupSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsConnectionParams
NewGetConsistencyGroupSnapshotsConnectionParamsWithHTTPClient creates a new GetConsistencyGroupSnapshotsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetConsistencyGroupSnapshotsConnectionParamsWithTimeout ¶
func NewGetConsistencyGroupSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsConnectionParams
NewGetConsistencyGroupSnapshotsConnectionParamsWithTimeout creates a new GetConsistencyGroupSnapshotsConnectionParams object with the ability to set a timeout on a request.
func (*GetConsistencyGroupSnapshotsConnectionParams) SetContentLanguage ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) SetContext ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) SetDefaults ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get consistency group snapshots connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetConsistencyGroupSnapshotsConnectionParams) SetHTTPClient ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) SetRequestBody ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetConsistencyGroupSnapshotsConnectionRequestBody)
SetRequestBody adds the requestBody to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) SetTimeout ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) WithContentLanguage ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetConsistencyGroupSnapshotsConnectionParams
WithContentLanguage adds the contentLanguage to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) WithContext ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) WithContext(ctx context.Context) *GetConsistencyGroupSnapshotsConnectionParams
WithContext adds the context to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) WithDefaults ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) WithDefaults() *GetConsistencyGroupSnapshotsConnectionParams
WithDefaults hydrates default values in the get consistency group snapshots connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetConsistencyGroupSnapshotsConnectionParams) WithHTTPClient ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsConnectionParams
WithHTTPClient adds the HTTPClient to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) WithRequestBody ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetConsistencyGroupSnapshotsConnectionRequestBody) *GetConsistencyGroupSnapshotsConnectionParams
WithRequestBody adds the requestBody to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) WithTimeout ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsConnectionParams
WithTimeout adds the timeout to the get consistency group snapshots connection params
func (*GetConsistencyGroupSnapshotsConnectionParams) WriteToRequest ¶
func (o *GetConsistencyGroupSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConsistencyGroupSnapshotsConnectionReader ¶
type GetConsistencyGroupSnapshotsConnectionReader struct {
// contains filtered or unexported fields
}
GetConsistencyGroupSnapshotsConnectionReader is a Reader for the GetConsistencyGroupSnapshotsConnection structure.
func (*GetConsistencyGroupSnapshotsConnectionReader) ReadResponse ¶
func (o *GetConsistencyGroupSnapshotsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConsistencyGroupSnapshotsInternalServerError ¶
type GetConsistencyGroupSnapshotsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupSnapshotsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetConsistencyGroupSnapshotsInternalServerError ¶
func NewGetConsistencyGroupSnapshotsInternalServerError() *GetConsistencyGroupSnapshotsInternalServerError
NewGetConsistencyGroupSnapshotsInternalServerError creates a GetConsistencyGroupSnapshotsInternalServerError with default headers values
func (*GetConsistencyGroupSnapshotsInternalServerError) Error ¶
func (o *GetConsistencyGroupSnapshotsInternalServerError) Error() string
func (*GetConsistencyGroupSnapshotsInternalServerError) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsInternalServerError) GetPayload() *models.ErrorBody
type GetConsistencyGroupSnapshotsNotFound ¶
type GetConsistencyGroupSnapshotsNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupSnapshotsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetConsistencyGroupSnapshotsNotFound ¶
func NewGetConsistencyGroupSnapshotsNotFound() *GetConsistencyGroupSnapshotsNotFound
NewGetConsistencyGroupSnapshotsNotFound creates a GetConsistencyGroupSnapshotsNotFound with default headers values
func (*GetConsistencyGroupSnapshotsNotFound) Error ¶
func (o *GetConsistencyGroupSnapshotsNotFound) Error() string
func (*GetConsistencyGroupSnapshotsNotFound) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsNotFound) GetPayload() *models.ErrorBody
type GetConsistencyGroupSnapshotsOK ¶
type GetConsistencyGroupSnapshotsOK struct { XTowerRequestID string Payload []*models.ConsistencyGroupSnapshot }
GetConsistencyGroupSnapshotsOK describes a response with status code 200, with default header values.
GetConsistencyGroupSnapshotsOK get consistency group snapshots o k
func NewGetConsistencyGroupSnapshotsOK ¶
func NewGetConsistencyGroupSnapshotsOK() *GetConsistencyGroupSnapshotsOK
NewGetConsistencyGroupSnapshotsOK creates a GetConsistencyGroupSnapshotsOK with default headers values
func (*GetConsistencyGroupSnapshotsOK) Error ¶
func (o *GetConsistencyGroupSnapshotsOK) Error() string
func (*GetConsistencyGroupSnapshotsOK) GetPayload ¶
func (o *GetConsistencyGroupSnapshotsOK) GetPayload() []*models.ConsistencyGroupSnapshot
type GetConsistencyGroupSnapshotsParams ¶
type GetConsistencyGroupSnapshotsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetConsistencyGroupSnapshotsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConsistencyGroupSnapshotsParams contains all the parameters to send to the API endpoint
for the get consistency group snapshots operation. Typically these are written to a http.Request.
func NewGetConsistencyGroupSnapshotsParams ¶
func NewGetConsistencyGroupSnapshotsParams() *GetConsistencyGroupSnapshotsParams
NewGetConsistencyGroupSnapshotsParams creates a new GetConsistencyGroupSnapshotsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetConsistencyGroupSnapshotsParamsWithContext ¶
func NewGetConsistencyGroupSnapshotsParamsWithContext(ctx context.Context) *GetConsistencyGroupSnapshotsParams
NewGetConsistencyGroupSnapshotsParamsWithContext creates a new GetConsistencyGroupSnapshotsParams object with the ability to set a context for a request.
func NewGetConsistencyGroupSnapshotsParamsWithHTTPClient ¶
func NewGetConsistencyGroupSnapshotsParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsParams
NewGetConsistencyGroupSnapshotsParamsWithHTTPClient creates a new GetConsistencyGroupSnapshotsParams object with the ability to set a custom HTTPClient for a request.
func NewGetConsistencyGroupSnapshotsParamsWithTimeout ¶
func NewGetConsistencyGroupSnapshotsParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsParams
NewGetConsistencyGroupSnapshotsParamsWithTimeout creates a new GetConsistencyGroupSnapshotsParams object with the ability to set a timeout on a request.
func (*GetConsistencyGroupSnapshotsParams) SetContentLanguage ¶
func (o *GetConsistencyGroupSnapshotsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) SetContext ¶
func (o *GetConsistencyGroupSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) SetDefaults ¶
func (o *GetConsistencyGroupSnapshotsParams) SetDefaults()
SetDefaults hydrates default values in the get consistency group snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*GetConsistencyGroupSnapshotsParams) SetHTTPClient ¶
func (o *GetConsistencyGroupSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) SetRequestBody ¶
func (o *GetConsistencyGroupSnapshotsParams) SetRequestBody(requestBody *models.GetConsistencyGroupSnapshotsRequestBody)
SetRequestBody adds the requestBody to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) SetTimeout ¶
func (o *GetConsistencyGroupSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) WithContentLanguage ¶
func (o *GetConsistencyGroupSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetConsistencyGroupSnapshotsParams
WithContentLanguage adds the contentLanguage to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) WithContext ¶
func (o *GetConsistencyGroupSnapshotsParams) WithContext(ctx context.Context) *GetConsistencyGroupSnapshotsParams
WithContext adds the context to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) WithDefaults ¶
func (o *GetConsistencyGroupSnapshotsParams) WithDefaults() *GetConsistencyGroupSnapshotsParams
WithDefaults hydrates default values in the get consistency group snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*GetConsistencyGroupSnapshotsParams) WithHTTPClient ¶
func (o *GetConsistencyGroupSnapshotsParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupSnapshotsParams
WithHTTPClient adds the HTTPClient to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) WithRequestBody ¶
func (o *GetConsistencyGroupSnapshotsParams) WithRequestBody(requestBody *models.GetConsistencyGroupSnapshotsRequestBody) *GetConsistencyGroupSnapshotsParams
WithRequestBody adds the requestBody to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) WithTimeout ¶
func (o *GetConsistencyGroupSnapshotsParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupSnapshotsParams
WithTimeout adds the timeout to the get consistency group snapshots params
func (*GetConsistencyGroupSnapshotsParams) WriteToRequest ¶
func (o *GetConsistencyGroupSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConsistencyGroupSnapshotsReader ¶
type GetConsistencyGroupSnapshotsReader struct {
// contains filtered or unexported fields
}
GetConsistencyGroupSnapshotsReader is a Reader for the GetConsistencyGroupSnapshots structure.
func (*GetConsistencyGroupSnapshotsReader) ReadResponse ¶
func (o *GetConsistencyGroupSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConsistencyGroupSnapshotBadRequest ¶
type UpdateConsistencyGroupSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateConsistencyGroupSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateConsistencyGroupSnapshotBadRequest ¶
func NewUpdateConsistencyGroupSnapshotBadRequest() *UpdateConsistencyGroupSnapshotBadRequest
NewUpdateConsistencyGroupSnapshotBadRequest creates a UpdateConsistencyGroupSnapshotBadRequest with default headers values
func (*UpdateConsistencyGroupSnapshotBadRequest) Error ¶
func (o *UpdateConsistencyGroupSnapshotBadRequest) Error() string
func (*UpdateConsistencyGroupSnapshotBadRequest) GetPayload ¶
func (o *UpdateConsistencyGroupSnapshotBadRequest) GetPayload() *models.ErrorBody
type UpdateConsistencyGroupSnapshotInternalServerError ¶
type UpdateConsistencyGroupSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateConsistencyGroupSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateConsistencyGroupSnapshotInternalServerError ¶
func NewUpdateConsistencyGroupSnapshotInternalServerError() *UpdateConsistencyGroupSnapshotInternalServerError
NewUpdateConsistencyGroupSnapshotInternalServerError creates a UpdateConsistencyGroupSnapshotInternalServerError with default headers values
func (*UpdateConsistencyGroupSnapshotInternalServerError) Error ¶
func (o *UpdateConsistencyGroupSnapshotInternalServerError) Error() string
func (*UpdateConsistencyGroupSnapshotInternalServerError) GetPayload ¶
func (o *UpdateConsistencyGroupSnapshotInternalServerError) GetPayload() *models.ErrorBody
type UpdateConsistencyGroupSnapshotNotFound ¶
type UpdateConsistencyGroupSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateConsistencyGroupSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateConsistencyGroupSnapshotNotFound ¶
func NewUpdateConsistencyGroupSnapshotNotFound() *UpdateConsistencyGroupSnapshotNotFound
NewUpdateConsistencyGroupSnapshotNotFound creates a UpdateConsistencyGroupSnapshotNotFound with default headers values
func (*UpdateConsistencyGroupSnapshotNotFound) Error ¶
func (o *UpdateConsistencyGroupSnapshotNotFound) Error() string
func (*UpdateConsistencyGroupSnapshotNotFound) GetPayload ¶
func (o *UpdateConsistencyGroupSnapshotNotFound) GetPayload() *models.ErrorBody
type UpdateConsistencyGroupSnapshotOK ¶
type UpdateConsistencyGroupSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskConsistencyGroupSnapshot }
UpdateConsistencyGroupSnapshotOK describes a response with status code 200, with default header values.
UpdateConsistencyGroupSnapshotOK update consistency group snapshot o k
func NewUpdateConsistencyGroupSnapshotOK ¶
func NewUpdateConsistencyGroupSnapshotOK() *UpdateConsistencyGroupSnapshotOK
NewUpdateConsistencyGroupSnapshotOK creates a UpdateConsistencyGroupSnapshotOK with default headers values
func (*UpdateConsistencyGroupSnapshotOK) Error ¶
func (o *UpdateConsistencyGroupSnapshotOK) Error() string
func (*UpdateConsistencyGroupSnapshotOK) GetPayload ¶
func (o *UpdateConsistencyGroupSnapshotOK) GetPayload() []*models.WithTaskConsistencyGroupSnapshot
type UpdateConsistencyGroupSnapshotParams ¶
type UpdateConsistencyGroupSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ConsistencyGroupSnapshotUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateConsistencyGroupSnapshotParams contains all the parameters to send to the API endpoint
for the update consistency group snapshot operation. Typically these are written to a http.Request.
func NewUpdateConsistencyGroupSnapshotParams ¶
func NewUpdateConsistencyGroupSnapshotParams() *UpdateConsistencyGroupSnapshotParams
NewUpdateConsistencyGroupSnapshotParams creates a new UpdateConsistencyGroupSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateConsistencyGroupSnapshotParamsWithContext ¶
func NewUpdateConsistencyGroupSnapshotParamsWithContext(ctx context.Context) *UpdateConsistencyGroupSnapshotParams
NewUpdateConsistencyGroupSnapshotParamsWithContext creates a new UpdateConsistencyGroupSnapshotParams object with the ability to set a context for a request.
func NewUpdateConsistencyGroupSnapshotParamsWithHTTPClient ¶
func NewUpdateConsistencyGroupSnapshotParamsWithHTTPClient(client *http.Client) *UpdateConsistencyGroupSnapshotParams
NewUpdateConsistencyGroupSnapshotParamsWithHTTPClient creates a new UpdateConsistencyGroupSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateConsistencyGroupSnapshotParamsWithTimeout ¶
func NewUpdateConsistencyGroupSnapshotParamsWithTimeout(timeout time.Duration) *UpdateConsistencyGroupSnapshotParams
NewUpdateConsistencyGroupSnapshotParamsWithTimeout creates a new UpdateConsistencyGroupSnapshotParams object with the ability to set a timeout on a request.
func (*UpdateConsistencyGroupSnapshotParams) SetContentLanguage ¶
func (o *UpdateConsistencyGroupSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) SetContext ¶
func (o *UpdateConsistencyGroupSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) SetDefaults ¶
func (o *UpdateConsistencyGroupSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the update consistency group snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConsistencyGroupSnapshotParams) SetHTTPClient ¶
func (o *UpdateConsistencyGroupSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) SetRequestBody ¶
func (o *UpdateConsistencyGroupSnapshotParams) SetRequestBody(requestBody *models.ConsistencyGroupSnapshotUpdationParams)
SetRequestBody adds the requestBody to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) SetTimeout ¶
func (o *UpdateConsistencyGroupSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) WithContentLanguage ¶
func (o *UpdateConsistencyGroupSnapshotParams) WithContentLanguage(contentLanguage *string) *UpdateConsistencyGroupSnapshotParams
WithContentLanguage adds the contentLanguage to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) WithContext ¶
func (o *UpdateConsistencyGroupSnapshotParams) WithContext(ctx context.Context) *UpdateConsistencyGroupSnapshotParams
WithContext adds the context to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) WithDefaults ¶
func (o *UpdateConsistencyGroupSnapshotParams) WithDefaults() *UpdateConsistencyGroupSnapshotParams
WithDefaults hydrates default values in the update consistency group snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConsistencyGroupSnapshotParams) WithHTTPClient ¶
func (o *UpdateConsistencyGroupSnapshotParams) WithHTTPClient(client *http.Client) *UpdateConsistencyGroupSnapshotParams
WithHTTPClient adds the HTTPClient to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) WithRequestBody ¶
func (o *UpdateConsistencyGroupSnapshotParams) WithRequestBody(requestBody *models.ConsistencyGroupSnapshotUpdationParams) *UpdateConsistencyGroupSnapshotParams
WithRequestBody adds the requestBody to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) WithTimeout ¶
func (o *UpdateConsistencyGroupSnapshotParams) WithTimeout(timeout time.Duration) *UpdateConsistencyGroupSnapshotParams
WithTimeout adds the timeout to the update consistency group snapshot params
func (*UpdateConsistencyGroupSnapshotParams) WriteToRequest ¶
func (o *UpdateConsistencyGroupSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConsistencyGroupSnapshotReader ¶
type UpdateConsistencyGroupSnapshotReader struct {
// contains filtered or unexported fields
}
UpdateConsistencyGroupSnapshotReader is a Reader for the UpdateConsistencyGroupSnapshot structure.
func (*UpdateConsistencyGroupSnapshotReader) ReadResponse ¶
func (o *UpdateConsistencyGroupSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- consistency_group_snapshot_client.go
- create_consistency_group_snapshot_parameters.go
- create_consistency_group_snapshot_responses.go
- delete_consistency_group_snapshot_parameters.go
- delete_consistency_group_snapshot_responses.go
- get_consistency_group_snapshots_connection_parameters.go
- get_consistency_group_snapshots_connection_responses.go
- get_consistency_group_snapshots_parameters.go
- get_consistency_group_snapshots_responses.go
- update_consistency_group_snapshot_parameters.go
- update_consistency_group_snapshot_responses.go