consistency_group_snapshot

package
v2.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2023 License: ISC Imports: 10 Imported by: 0

Documentation

Index

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 (*CreateConsistencyGroupSnapshotBadRequest) GetPayload

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 (*CreateConsistencyGroupSnapshotInternalServerError) GetPayload

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 (*CreateConsistencyGroupSnapshotNotFound) GetPayload

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 (*CreateConsistencyGroupSnapshotOK) GetPayload

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

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

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

WithContext adds the context to the create consistency group snapshot params

func (*CreateConsistencyGroupSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create consistency group snapshot params

func (*CreateConsistencyGroupSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the create consistency group snapshot params

func (*CreateConsistencyGroupSnapshotParams) WithTimeout

WithTimeout adds the timeout to the create consistency group snapshot params

func (*CreateConsistencyGroupSnapshotParams) WriteToRequest

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 (*DeleteConsistencyGroupSnapshotBadRequest) GetPayload

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 (*DeleteConsistencyGroupSnapshotInternalServerError) GetPayload

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 (*DeleteConsistencyGroupSnapshotNotFound) GetPayload

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 (*DeleteConsistencyGroupSnapshotOK) GetPayload

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

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

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

WithContext adds the context to the delete consistency group snapshot params

func (*DeleteConsistencyGroupSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete consistency group snapshot params

func (*DeleteConsistencyGroupSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the delete consistency group snapshot params

func (*DeleteConsistencyGroupSnapshotParams) WithTimeout

WithTimeout adds the timeout to the delete consistency group snapshot params

func (*DeleteConsistencyGroupSnapshotParams) WriteToRequest

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 (*GetConsistencyGroupSnapshotsBadRequest) GetPayload

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 (*GetConsistencyGroupSnapshotsConnectionBadRequest) GetPayload

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 (*GetConsistencyGroupSnapshotsConnectionInternalServerError) GetPayload

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 (*GetConsistencyGroupSnapshotsConnectionNotFound) GetPayload

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 (*GetConsistencyGroupSnapshotsConnectionOK) GetPayload

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

SetContext adds the context to the get consistency group snapshots connection params

func (*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

SetRequestBody adds the requestBody to the get consistency group snapshots connection params

func (*GetConsistencyGroupSnapshotsConnectionParams) SetTimeout

SetTimeout adds the timeout to the get consistency group snapshots connection params

func (*GetConsistencyGroupSnapshotsConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get consistency group snapshots connection params

func (*GetConsistencyGroupSnapshotsConnectionParams) WithContext

WithContext adds the context to the get consistency group snapshots connection params

func (*GetConsistencyGroupSnapshotsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get consistency group snapshots connection params

func (*GetConsistencyGroupSnapshotsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get consistency group snapshots connection params

func (*GetConsistencyGroupSnapshotsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get consistency group snapshots connection params

func (*GetConsistencyGroupSnapshotsConnectionParams) WriteToRequest

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 (*GetConsistencyGroupSnapshotsInternalServerError) GetPayload

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 (*GetConsistencyGroupSnapshotsNotFound) GetPayload

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 (*GetConsistencyGroupSnapshotsOK) GetPayload

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

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

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

WithContext adds the context to the get consistency group snapshots params

func (*GetConsistencyGroupSnapshotsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get consistency group snapshots params

func (*GetConsistencyGroupSnapshotsParams) WithRequestBody

WithRequestBody adds the requestBody to the get consistency group snapshots params

func (*GetConsistencyGroupSnapshotsParams) WithTimeout

WithTimeout adds the timeout to the get consistency group snapshots params

func (*GetConsistencyGroupSnapshotsParams) WriteToRequest

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 (*UpdateConsistencyGroupSnapshotBadRequest) GetPayload

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 (*UpdateConsistencyGroupSnapshotInternalServerError) GetPayload

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 (*UpdateConsistencyGroupSnapshotNotFound) GetPayload

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 (*UpdateConsistencyGroupSnapshotOK) GetPayload

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

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

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

WithContext adds the context to the update consistency group snapshot params

func (*UpdateConsistencyGroupSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update consistency group snapshot params

func (*UpdateConsistencyGroupSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the update consistency group snapshot params

func (*UpdateConsistencyGroupSnapshotParams) WithTimeout

WithTimeout adds the timeout to the update consistency group snapshot params

func (*UpdateConsistencyGroupSnapshotParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL