consistency_group_snapshot

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 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 {
	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 added in v1.10.0

type CreateConsistencyGroupSnapshotInternalServerError struct {
	Payload *models.ErrorBody
}
CreateConsistencyGroupSnapshotInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateConsistencyGroupSnapshotInternalServerError added in v1.10.0

func NewCreateConsistencyGroupSnapshotInternalServerError() *CreateConsistencyGroupSnapshotInternalServerError

NewCreateConsistencyGroupSnapshotInternalServerError creates a CreateConsistencyGroupSnapshotInternalServerError with default headers values

func (*CreateConsistencyGroupSnapshotInternalServerError) Error added in v1.10.0

func (*CreateConsistencyGroupSnapshotInternalServerError) GetPayload added in v1.10.0

type CreateConsistencyGroupSnapshotNotFound added in v1.10.0

type CreateConsistencyGroupSnapshotNotFound struct {
	Payload *models.ErrorBody
}
CreateConsistencyGroupSnapshotNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateConsistencyGroupSnapshotNotFound added in v1.10.0

func NewCreateConsistencyGroupSnapshotNotFound() *CreateConsistencyGroupSnapshotNotFound

NewCreateConsistencyGroupSnapshotNotFound creates a CreateConsistencyGroupSnapshotNotFound with default headers values

func (*CreateConsistencyGroupSnapshotNotFound) Error added in v1.10.0

func (*CreateConsistencyGroupSnapshotNotFound) GetPayload added in v1.10.0

type CreateConsistencyGroupSnapshotOK

type CreateConsistencyGroupSnapshotOK struct {
	Payload []*models.WithTaskConsistencyGroupSnapshot
}
CreateConsistencyGroupSnapshotOK describes a response with status code 200, with default header values.

Ok

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 {
	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 added in v1.10.0

type DeleteConsistencyGroupSnapshotInternalServerError struct {
	Payload *models.ErrorBody
}
DeleteConsistencyGroupSnapshotInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteConsistencyGroupSnapshotInternalServerError added in v1.10.0

func NewDeleteConsistencyGroupSnapshotInternalServerError() *DeleteConsistencyGroupSnapshotInternalServerError

NewDeleteConsistencyGroupSnapshotInternalServerError creates a DeleteConsistencyGroupSnapshotInternalServerError with default headers values

func (*DeleteConsistencyGroupSnapshotInternalServerError) Error added in v1.10.0

func (*DeleteConsistencyGroupSnapshotInternalServerError) GetPayload added in v1.10.0

type DeleteConsistencyGroupSnapshotNotFound added in v1.10.0

type DeleteConsistencyGroupSnapshotNotFound struct {
	Payload *models.ErrorBody
}
DeleteConsistencyGroupSnapshotNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteConsistencyGroupSnapshotNotFound added in v1.10.0

func NewDeleteConsistencyGroupSnapshotNotFound() *DeleteConsistencyGroupSnapshotNotFound

NewDeleteConsistencyGroupSnapshotNotFound creates a DeleteConsistencyGroupSnapshotNotFound with default headers values

func (*DeleteConsistencyGroupSnapshotNotFound) Error added in v1.10.0

func (*DeleteConsistencyGroupSnapshotNotFound) GetPayload added in v1.10.0

type DeleteConsistencyGroupSnapshotOK

type DeleteConsistencyGroupSnapshotOK struct {
	Payload []*models.WithTaskDeleteConsistencyGroupSnapshot
}
DeleteConsistencyGroupSnapshotOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 added in v1.10.0

type GetConsistencyGroupSnapshotsConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetConsistencyGroupSnapshotsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetConsistencyGroupSnapshotsConnectionInternalServerError added in v1.10.0

func NewGetConsistencyGroupSnapshotsConnectionInternalServerError() *GetConsistencyGroupSnapshotsConnectionInternalServerError

NewGetConsistencyGroupSnapshotsConnectionInternalServerError creates a GetConsistencyGroupSnapshotsConnectionInternalServerError with default headers values

func (*GetConsistencyGroupSnapshotsConnectionInternalServerError) Error added in v1.10.0

func (*GetConsistencyGroupSnapshotsConnectionInternalServerError) GetPayload added in v1.10.0

type GetConsistencyGroupSnapshotsConnectionNotFound added in v1.10.0

type GetConsistencyGroupSnapshotsConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetConsistencyGroupSnapshotsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetConsistencyGroupSnapshotsConnectionNotFound added in v1.10.0

func NewGetConsistencyGroupSnapshotsConnectionNotFound() *GetConsistencyGroupSnapshotsConnectionNotFound

NewGetConsistencyGroupSnapshotsConnectionNotFound creates a GetConsistencyGroupSnapshotsConnectionNotFound with default headers values

func (*GetConsistencyGroupSnapshotsConnectionNotFound) Error added in v1.10.0

func (*GetConsistencyGroupSnapshotsConnectionNotFound) GetPayload added in v1.10.0

type GetConsistencyGroupSnapshotsConnectionOK

type GetConsistencyGroupSnapshotsConnectionOK struct {
	Payload *models.ConsistencyGroupSnapshotConnection
}
GetConsistencyGroupSnapshotsConnectionOK describes a response with status code 200, with default header values.

Ok

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 added in v1.10.0

type GetConsistencyGroupSnapshotsInternalServerError struct {
	Payload *models.ErrorBody
}
GetConsistencyGroupSnapshotsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetConsistencyGroupSnapshotsInternalServerError added in v1.10.0

func NewGetConsistencyGroupSnapshotsInternalServerError() *GetConsistencyGroupSnapshotsInternalServerError

NewGetConsistencyGroupSnapshotsInternalServerError creates a GetConsistencyGroupSnapshotsInternalServerError with default headers values

func (*GetConsistencyGroupSnapshotsInternalServerError) Error added in v1.10.0

func (*GetConsistencyGroupSnapshotsInternalServerError) GetPayload added in v1.10.0

type GetConsistencyGroupSnapshotsNotFound added in v1.10.0

type GetConsistencyGroupSnapshotsNotFound struct {
	Payload *models.ErrorBody
}
GetConsistencyGroupSnapshotsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetConsistencyGroupSnapshotsNotFound added in v1.10.0

func NewGetConsistencyGroupSnapshotsNotFound() *GetConsistencyGroupSnapshotsNotFound

NewGetConsistencyGroupSnapshotsNotFound creates a GetConsistencyGroupSnapshotsNotFound with default headers values

func (*GetConsistencyGroupSnapshotsNotFound) Error added in v1.10.0

func (*GetConsistencyGroupSnapshotsNotFound) GetPayload added in v1.10.0

type GetConsistencyGroupSnapshotsOK

type GetConsistencyGroupSnapshotsOK struct {
	Payload []*models.ConsistencyGroupSnapshot
}
GetConsistencyGroupSnapshotsOK describes a response with status code 200, with default header values.

Ok

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 {
	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 added in v1.10.0

type UpdateConsistencyGroupSnapshotInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateConsistencyGroupSnapshotInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateConsistencyGroupSnapshotInternalServerError added in v1.10.0

func NewUpdateConsistencyGroupSnapshotInternalServerError() *UpdateConsistencyGroupSnapshotInternalServerError

NewUpdateConsistencyGroupSnapshotInternalServerError creates a UpdateConsistencyGroupSnapshotInternalServerError with default headers values

func (*UpdateConsistencyGroupSnapshotInternalServerError) Error added in v1.10.0

func (*UpdateConsistencyGroupSnapshotInternalServerError) GetPayload added in v1.10.0

type UpdateConsistencyGroupSnapshotNotFound added in v1.10.0

type UpdateConsistencyGroupSnapshotNotFound struct {
	Payload *models.ErrorBody
}
UpdateConsistencyGroupSnapshotNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateConsistencyGroupSnapshotNotFound added in v1.10.0

func NewUpdateConsistencyGroupSnapshotNotFound() *UpdateConsistencyGroupSnapshotNotFound

NewUpdateConsistencyGroupSnapshotNotFound creates a UpdateConsistencyGroupSnapshotNotFound with default headers values

func (*UpdateConsistencyGroupSnapshotNotFound) Error added in v1.10.0

func (*UpdateConsistencyGroupSnapshotNotFound) GetPayload added in v1.10.0

type UpdateConsistencyGroupSnapshotOK

type UpdateConsistencyGroupSnapshotOK struct {
	Payload []*models.WithTaskConsistencyGroupSnapshot
}
UpdateConsistencyGroupSnapshotOK describes a response with status code 200, with default header values.

Ok

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