snapshot_group

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 snapshot group API

func (*Client) CloneSnapshotGroup

func (a *Client) CloneSnapshotGroup(params *CloneSnapshotGroupParams, opts ...ClientOption) (*CloneSnapshotGroupOK, error)

CloneSnapshotGroup clone snapshot group API

func (*Client) DeleteSnapshotGroup

func (a *Client) DeleteSnapshotGroup(params *DeleteSnapshotGroupParams, opts ...ClientOption) (*DeleteSnapshotGroupOK, error)

DeleteSnapshotGroup delete snapshot group API

func (*Client) GetSnapshotGroups

func (a *Client) GetSnapshotGroups(params *GetSnapshotGroupsParams, opts ...ClientOption) (*GetSnapshotGroupsOK, error)

GetSnapshotGroups get snapshot groups API

func (*Client) GetSnapshotGroupsConnection

func (a *Client) GetSnapshotGroupsConnection(params *GetSnapshotGroupsConnectionParams, opts ...ClientOption) (*GetSnapshotGroupsConnectionOK, error)

GetSnapshotGroupsConnection get snapshot groups connection API

func (*Client) KeepSnapshotGroup

func (a *Client) KeepSnapshotGroup(params *KeepSnapshotGroupParams, opts ...ClientOption) (*KeepSnapshotGroupOK, error)

KeepSnapshotGroup keep snapshot group API

func (*Client) RollbackSnapshotGroup

func (a *Client) RollbackSnapshotGroup(params *RollbackSnapshotGroupParams, opts ...ClientOption) (*RollbackSnapshotGroupOK, error)

RollbackSnapshotGroup rollback snapshot group API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CloneSnapshotGroup(params *CloneSnapshotGroupParams, opts ...ClientOption) (*CloneSnapshotGroupOK, error)

	DeleteSnapshotGroup(params *DeleteSnapshotGroupParams, opts ...ClientOption) (*DeleteSnapshotGroupOK, error)

	GetSnapshotGroups(params *GetSnapshotGroupsParams, opts ...ClientOption) (*GetSnapshotGroupsOK, error)

	GetSnapshotGroupsConnection(params *GetSnapshotGroupsConnectionParams, opts ...ClientOption) (*GetSnapshotGroupsConnectionOK, error)

	KeepSnapshotGroup(params *KeepSnapshotGroupParams, opts ...ClientOption) (*KeepSnapshotGroupOK, error)

	RollbackSnapshotGroup(params *RollbackSnapshotGroupParams, opts ...ClientOption) (*RollbackSnapshotGroupOK, 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 snapshot group API client.

type CloneSnapshotGroupBadRequest

type CloneSnapshotGroupBadRequest struct {
	Payload string
}
CloneSnapshotGroupBadRequest describes a response with status code 400, with default header values.

CloneSnapshotGroupBadRequest clone snapshot group bad request

func NewCloneSnapshotGroupBadRequest

func NewCloneSnapshotGroupBadRequest() *CloneSnapshotGroupBadRequest

NewCloneSnapshotGroupBadRequest creates a CloneSnapshotGroupBadRequest with default headers values

func (*CloneSnapshotGroupBadRequest) Error

func (*CloneSnapshotGroupBadRequest) GetPayload

func (o *CloneSnapshotGroupBadRequest) GetPayload() string

type CloneSnapshotGroupOK

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

Ok

func NewCloneSnapshotGroupOK

func NewCloneSnapshotGroupOK() *CloneSnapshotGroupOK

NewCloneSnapshotGroupOK creates a CloneSnapshotGroupOK with default headers values

func (*CloneSnapshotGroupOK) Error

func (o *CloneSnapshotGroupOK) Error() string

func (*CloneSnapshotGroupOK) GetPayload

type CloneSnapshotGroupParams

type CloneSnapshotGroupParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.SnapshotGroupCloneParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CloneSnapshotGroupParams contains all the parameters to send to the API endpoint

for the clone snapshot group operation.

Typically these are written to a http.Request.

func NewCloneSnapshotGroupParams

func NewCloneSnapshotGroupParams() *CloneSnapshotGroupParams

NewCloneSnapshotGroupParams creates a new CloneSnapshotGroupParams 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 NewCloneSnapshotGroupParamsWithContext

func NewCloneSnapshotGroupParamsWithContext(ctx context.Context) *CloneSnapshotGroupParams

NewCloneSnapshotGroupParamsWithContext creates a new CloneSnapshotGroupParams object with the ability to set a context for a request.

func NewCloneSnapshotGroupParamsWithHTTPClient

func NewCloneSnapshotGroupParamsWithHTTPClient(client *http.Client) *CloneSnapshotGroupParams

NewCloneSnapshotGroupParamsWithHTTPClient creates a new CloneSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCloneSnapshotGroupParamsWithTimeout

func NewCloneSnapshotGroupParamsWithTimeout(timeout time.Duration) *CloneSnapshotGroupParams

NewCloneSnapshotGroupParamsWithTimeout creates a new CloneSnapshotGroupParams object with the ability to set a timeout on a request.

func (*CloneSnapshotGroupParams) SetContentLanguage

func (o *CloneSnapshotGroupParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the clone snapshot group params

func (*CloneSnapshotGroupParams) SetContext

func (o *CloneSnapshotGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the clone snapshot group params

func (*CloneSnapshotGroupParams) SetDefaults

func (o *CloneSnapshotGroupParams) SetDefaults()

SetDefaults hydrates default values in the clone snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*CloneSnapshotGroupParams) SetHTTPClient

func (o *CloneSnapshotGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the clone snapshot group params

func (*CloneSnapshotGroupParams) SetRequestBody

func (o *CloneSnapshotGroupParams) SetRequestBody(requestBody []*models.SnapshotGroupCloneParams)

SetRequestBody adds the requestBody to the clone snapshot group params

func (*CloneSnapshotGroupParams) SetTimeout

func (o *CloneSnapshotGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the clone snapshot group params

func (*CloneSnapshotGroupParams) WithContentLanguage

func (o *CloneSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *CloneSnapshotGroupParams

WithContentLanguage adds the contentLanguage to the clone snapshot group params

func (*CloneSnapshotGroupParams) WithContext

WithContext adds the context to the clone snapshot group params

func (*CloneSnapshotGroupParams) WithDefaults

WithDefaults hydrates default values in the clone snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*CloneSnapshotGroupParams) WithHTTPClient

func (o *CloneSnapshotGroupParams) WithHTTPClient(client *http.Client) *CloneSnapshotGroupParams

WithHTTPClient adds the HTTPClient to the clone snapshot group params

func (*CloneSnapshotGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the clone snapshot group params

func (*CloneSnapshotGroupParams) WithTimeout

WithTimeout adds the timeout to the clone snapshot group params

func (*CloneSnapshotGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloneSnapshotGroupReader

type CloneSnapshotGroupReader struct {
	// contains filtered or unexported fields
}

CloneSnapshotGroupReader is a Reader for the CloneSnapshotGroup structure.

func (*CloneSnapshotGroupReader) ReadResponse

func (o *CloneSnapshotGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteSnapshotGroupBadRequest

type DeleteSnapshotGroupBadRequest struct {
	Payload string
}
DeleteSnapshotGroupBadRequest describes a response with status code 400, with default header values.

DeleteSnapshotGroupBadRequest delete snapshot group bad request

func NewDeleteSnapshotGroupBadRequest

func NewDeleteSnapshotGroupBadRequest() *DeleteSnapshotGroupBadRequest

NewDeleteSnapshotGroupBadRequest creates a DeleteSnapshotGroupBadRequest with default headers values

func (*DeleteSnapshotGroupBadRequest) Error

func (*DeleteSnapshotGroupBadRequest) GetPayload

func (o *DeleteSnapshotGroupBadRequest) GetPayload() string

type DeleteSnapshotGroupOK

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

Ok

func NewDeleteSnapshotGroupOK

func NewDeleteSnapshotGroupOK() *DeleteSnapshotGroupOK

NewDeleteSnapshotGroupOK creates a DeleteSnapshotGroupOK with default headers values

func (*DeleteSnapshotGroupOK) Error

func (o *DeleteSnapshotGroupOK) Error() string

func (*DeleteSnapshotGroupOK) GetPayload

type DeleteSnapshotGroupParams

type DeleteSnapshotGroupParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.SnapshotGroupDeletionParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteSnapshotGroupParams contains all the parameters to send to the API endpoint

for the delete snapshot group operation.

Typically these are written to a http.Request.

func NewDeleteSnapshotGroupParams

func NewDeleteSnapshotGroupParams() *DeleteSnapshotGroupParams

NewDeleteSnapshotGroupParams creates a new DeleteSnapshotGroupParams 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 NewDeleteSnapshotGroupParamsWithContext

func NewDeleteSnapshotGroupParamsWithContext(ctx context.Context) *DeleteSnapshotGroupParams

NewDeleteSnapshotGroupParamsWithContext creates a new DeleteSnapshotGroupParams object with the ability to set a context for a request.

func NewDeleteSnapshotGroupParamsWithHTTPClient

func NewDeleteSnapshotGroupParamsWithHTTPClient(client *http.Client) *DeleteSnapshotGroupParams

NewDeleteSnapshotGroupParamsWithHTTPClient creates a new DeleteSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSnapshotGroupParamsWithTimeout

func NewDeleteSnapshotGroupParamsWithTimeout(timeout time.Duration) *DeleteSnapshotGroupParams

NewDeleteSnapshotGroupParamsWithTimeout creates a new DeleteSnapshotGroupParams object with the ability to set a timeout on a request.

func (*DeleteSnapshotGroupParams) SetContentLanguage

func (o *DeleteSnapshotGroupParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete snapshot group params

func (*DeleteSnapshotGroupParams) SetContext

func (o *DeleteSnapshotGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the delete snapshot group params

func (*DeleteSnapshotGroupParams) SetDefaults

func (o *DeleteSnapshotGroupParams) SetDefaults()

SetDefaults hydrates default values in the delete snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSnapshotGroupParams) SetHTTPClient

func (o *DeleteSnapshotGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete snapshot group params

func (*DeleteSnapshotGroupParams) SetRequestBody

func (o *DeleteSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupDeletionParams)

SetRequestBody adds the requestBody to the delete snapshot group params

func (*DeleteSnapshotGroupParams) SetTimeout

func (o *DeleteSnapshotGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete snapshot group params

func (*DeleteSnapshotGroupParams) WithContentLanguage

func (o *DeleteSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *DeleteSnapshotGroupParams

WithContentLanguage adds the contentLanguage to the delete snapshot group params

func (*DeleteSnapshotGroupParams) WithContext

WithContext adds the context to the delete snapshot group params

func (*DeleteSnapshotGroupParams) WithDefaults

WithDefaults hydrates default values in the delete snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSnapshotGroupParams) WithHTTPClient

func (o *DeleteSnapshotGroupParams) WithHTTPClient(client *http.Client) *DeleteSnapshotGroupParams

WithHTTPClient adds the HTTPClient to the delete snapshot group params

func (*DeleteSnapshotGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the delete snapshot group params

func (*DeleteSnapshotGroupParams) WithTimeout

WithTimeout adds the timeout to the delete snapshot group params

func (*DeleteSnapshotGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSnapshotGroupReader

type DeleteSnapshotGroupReader struct {
	// contains filtered or unexported fields
}

DeleteSnapshotGroupReader is a Reader for the DeleteSnapshotGroup structure.

func (*DeleteSnapshotGroupReader) ReadResponse

func (o *DeleteSnapshotGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSnapshotGroupsBadRequest

type GetSnapshotGroupsBadRequest struct {
	Payload string
}
GetSnapshotGroupsBadRequest describes a response with status code 400, with default header values.

GetSnapshotGroupsBadRequest get snapshot groups bad request

func NewGetSnapshotGroupsBadRequest

func NewGetSnapshotGroupsBadRequest() *GetSnapshotGroupsBadRequest

NewGetSnapshotGroupsBadRequest creates a GetSnapshotGroupsBadRequest with default headers values

func (*GetSnapshotGroupsBadRequest) Error

func (*GetSnapshotGroupsBadRequest) GetPayload

func (o *GetSnapshotGroupsBadRequest) GetPayload() string

type GetSnapshotGroupsConnectionBadRequest

type GetSnapshotGroupsConnectionBadRequest struct {
	Payload string
}
GetSnapshotGroupsConnectionBadRequest describes a response with status code 400, with default header values.

GetSnapshotGroupsConnectionBadRequest get snapshot groups connection bad request

func NewGetSnapshotGroupsConnectionBadRequest

func NewGetSnapshotGroupsConnectionBadRequest() *GetSnapshotGroupsConnectionBadRequest

NewGetSnapshotGroupsConnectionBadRequest creates a GetSnapshotGroupsConnectionBadRequest with default headers values

func (*GetSnapshotGroupsConnectionBadRequest) Error

func (*GetSnapshotGroupsConnectionBadRequest) GetPayload

type GetSnapshotGroupsConnectionOK

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

Ok

func NewGetSnapshotGroupsConnectionOK

func NewGetSnapshotGroupsConnectionOK() *GetSnapshotGroupsConnectionOK

NewGetSnapshotGroupsConnectionOK creates a GetSnapshotGroupsConnectionOK with default headers values

func (*GetSnapshotGroupsConnectionOK) Error

func (*GetSnapshotGroupsConnectionOK) GetPayload

type GetSnapshotGroupsConnectionParams

type GetSnapshotGroupsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetSnapshotGroupsConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSnapshotGroupsConnectionParams contains all the parameters to send to the API endpoint

for the get snapshot groups connection operation.

Typically these are written to a http.Request.

func NewGetSnapshotGroupsConnectionParams

func NewGetSnapshotGroupsConnectionParams() *GetSnapshotGroupsConnectionParams

NewGetSnapshotGroupsConnectionParams creates a new GetSnapshotGroupsConnectionParams 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 NewGetSnapshotGroupsConnectionParamsWithContext

func NewGetSnapshotGroupsConnectionParamsWithContext(ctx context.Context) *GetSnapshotGroupsConnectionParams

NewGetSnapshotGroupsConnectionParamsWithContext creates a new GetSnapshotGroupsConnectionParams object with the ability to set a context for a request.

func NewGetSnapshotGroupsConnectionParamsWithHTTPClient

func NewGetSnapshotGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetSnapshotGroupsConnectionParams

NewGetSnapshotGroupsConnectionParamsWithHTTPClient creates a new GetSnapshotGroupsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSnapshotGroupsConnectionParamsWithTimeout

func NewGetSnapshotGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetSnapshotGroupsConnectionParams

NewGetSnapshotGroupsConnectionParamsWithTimeout creates a new GetSnapshotGroupsConnectionParams object with the ability to set a timeout on a request.

func (*GetSnapshotGroupsConnectionParams) SetContentLanguage

func (o *GetSnapshotGroupsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) SetContext

SetContext adds the context to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) SetDefaults

func (o *GetSnapshotGroupsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get snapshot groups connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetSnapshotGroupsConnectionParams) SetHTTPClient

func (o *GetSnapshotGroupsConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) SetTimeout

func (o *GetSnapshotGroupsConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) WithContentLanguage

func (o *GetSnapshotGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnapshotGroupsConnectionParams

WithContentLanguage adds the contentLanguage to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) WithContext

WithContext adds the context to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get snapshot groups connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetSnapshotGroupsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get snapshot groups connection params

func (*GetSnapshotGroupsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSnapshotGroupsConnectionReader

type GetSnapshotGroupsConnectionReader struct {
	// contains filtered or unexported fields
}

GetSnapshotGroupsConnectionReader is a Reader for the GetSnapshotGroupsConnection structure.

func (*GetSnapshotGroupsConnectionReader) ReadResponse

func (o *GetSnapshotGroupsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSnapshotGroupsOK

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

Ok

func NewGetSnapshotGroupsOK

func NewGetSnapshotGroupsOK() *GetSnapshotGroupsOK

NewGetSnapshotGroupsOK creates a GetSnapshotGroupsOK with default headers values

func (*GetSnapshotGroupsOK) Error

func (o *GetSnapshotGroupsOK) Error() string

func (*GetSnapshotGroupsOK) GetPayload

func (o *GetSnapshotGroupsOK) GetPayload() []*models.SnapshotGroup

type GetSnapshotGroupsParams

type GetSnapshotGroupsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetSnapshotGroupsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSnapshotGroupsParams contains all the parameters to send to the API endpoint

for the get snapshot groups operation.

Typically these are written to a http.Request.

func NewGetSnapshotGroupsParams

func NewGetSnapshotGroupsParams() *GetSnapshotGroupsParams

NewGetSnapshotGroupsParams creates a new GetSnapshotGroupsParams 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 NewGetSnapshotGroupsParamsWithContext

func NewGetSnapshotGroupsParamsWithContext(ctx context.Context) *GetSnapshotGroupsParams

NewGetSnapshotGroupsParamsWithContext creates a new GetSnapshotGroupsParams object with the ability to set a context for a request.

func NewGetSnapshotGroupsParamsWithHTTPClient

func NewGetSnapshotGroupsParamsWithHTTPClient(client *http.Client) *GetSnapshotGroupsParams

NewGetSnapshotGroupsParamsWithHTTPClient creates a new GetSnapshotGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSnapshotGroupsParamsWithTimeout

func NewGetSnapshotGroupsParamsWithTimeout(timeout time.Duration) *GetSnapshotGroupsParams

NewGetSnapshotGroupsParamsWithTimeout creates a new GetSnapshotGroupsParams object with the ability to set a timeout on a request.

func (*GetSnapshotGroupsParams) SetContentLanguage

func (o *GetSnapshotGroupsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get snapshot groups params

func (*GetSnapshotGroupsParams) SetContext

func (o *GetSnapshotGroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the get snapshot groups params

func (*GetSnapshotGroupsParams) SetDefaults

func (o *GetSnapshotGroupsParams) SetDefaults()

SetDefaults hydrates default values in the get snapshot groups params (not the query body).

All values with no default are reset to their zero value.

func (*GetSnapshotGroupsParams) SetHTTPClient

func (o *GetSnapshotGroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get snapshot groups params

func (*GetSnapshotGroupsParams) SetRequestBody

func (o *GetSnapshotGroupsParams) SetRequestBody(requestBody *models.GetSnapshotGroupsRequestBody)

SetRequestBody adds the requestBody to the get snapshot groups params

func (*GetSnapshotGroupsParams) SetTimeout

func (o *GetSnapshotGroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get snapshot groups params

func (*GetSnapshotGroupsParams) WithContentLanguage

func (o *GetSnapshotGroupsParams) WithContentLanguage(contentLanguage *string) *GetSnapshotGroupsParams

WithContentLanguage adds the contentLanguage to the get snapshot groups params

func (*GetSnapshotGroupsParams) WithContext

WithContext adds the context to the get snapshot groups params

func (*GetSnapshotGroupsParams) WithDefaults

WithDefaults hydrates default values in the get snapshot groups params (not the query body).

All values with no default are reset to their zero value.

func (*GetSnapshotGroupsParams) WithHTTPClient

func (o *GetSnapshotGroupsParams) WithHTTPClient(client *http.Client) *GetSnapshotGroupsParams

WithHTTPClient adds the HTTPClient to the get snapshot groups params

func (*GetSnapshotGroupsParams) WithRequestBody

WithRequestBody adds the requestBody to the get snapshot groups params

func (*GetSnapshotGroupsParams) WithTimeout

WithTimeout adds the timeout to the get snapshot groups params

func (*GetSnapshotGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSnapshotGroupsReader

type GetSnapshotGroupsReader struct {
	// contains filtered or unexported fields
}

GetSnapshotGroupsReader is a Reader for the GetSnapshotGroups structure.

func (*GetSnapshotGroupsReader) ReadResponse

func (o *GetSnapshotGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type KeepSnapshotGroupBadRequest

type KeepSnapshotGroupBadRequest struct {
	Payload string
}
KeepSnapshotGroupBadRequest describes a response with status code 400, with default header values.

KeepSnapshotGroupBadRequest keep snapshot group bad request

func NewKeepSnapshotGroupBadRequest

func NewKeepSnapshotGroupBadRequest() *KeepSnapshotGroupBadRequest

NewKeepSnapshotGroupBadRequest creates a KeepSnapshotGroupBadRequest with default headers values

func (*KeepSnapshotGroupBadRequest) Error

func (*KeepSnapshotGroupBadRequest) GetPayload

func (o *KeepSnapshotGroupBadRequest) GetPayload() string

type KeepSnapshotGroupOK

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

Ok

func NewKeepSnapshotGroupOK

func NewKeepSnapshotGroupOK() *KeepSnapshotGroupOK

NewKeepSnapshotGroupOK creates a KeepSnapshotGroupOK with default headers values

func (*KeepSnapshotGroupOK) Error

func (o *KeepSnapshotGroupOK) Error() string

func (*KeepSnapshotGroupOK) GetPayload

type KeepSnapshotGroupParams

type KeepSnapshotGroupParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.SnapshotGroupKeepParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

KeepSnapshotGroupParams contains all the parameters to send to the API endpoint

for the keep snapshot group operation.

Typically these are written to a http.Request.

func NewKeepSnapshotGroupParams

func NewKeepSnapshotGroupParams() *KeepSnapshotGroupParams

NewKeepSnapshotGroupParams creates a new KeepSnapshotGroupParams 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 NewKeepSnapshotGroupParamsWithContext

func NewKeepSnapshotGroupParamsWithContext(ctx context.Context) *KeepSnapshotGroupParams

NewKeepSnapshotGroupParamsWithContext creates a new KeepSnapshotGroupParams object with the ability to set a context for a request.

func NewKeepSnapshotGroupParamsWithHTTPClient

func NewKeepSnapshotGroupParamsWithHTTPClient(client *http.Client) *KeepSnapshotGroupParams

NewKeepSnapshotGroupParamsWithHTTPClient creates a new KeepSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.

func NewKeepSnapshotGroupParamsWithTimeout

func NewKeepSnapshotGroupParamsWithTimeout(timeout time.Duration) *KeepSnapshotGroupParams

NewKeepSnapshotGroupParamsWithTimeout creates a new KeepSnapshotGroupParams object with the ability to set a timeout on a request.

func (*KeepSnapshotGroupParams) SetContentLanguage

func (o *KeepSnapshotGroupParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the keep snapshot group params

func (*KeepSnapshotGroupParams) SetContext

func (o *KeepSnapshotGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the keep snapshot group params

func (*KeepSnapshotGroupParams) SetDefaults

func (o *KeepSnapshotGroupParams) SetDefaults()

SetDefaults hydrates default values in the keep snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*KeepSnapshotGroupParams) SetHTTPClient

func (o *KeepSnapshotGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the keep snapshot group params

func (*KeepSnapshotGroupParams) SetRequestBody

func (o *KeepSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupKeepParams)

SetRequestBody adds the requestBody to the keep snapshot group params

func (*KeepSnapshotGroupParams) SetTimeout

func (o *KeepSnapshotGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the keep snapshot group params

func (*KeepSnapshotGroupParams) WithContentLanguage

func (o *KeepSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *KeepSnapshotGroupParams

WithContentLanguage adds the contentLanguage to the keep snapshot group params

func (*KeepSnapshotGroupParams) WithContext

WithContext adds the context to the keep snapshot group params

func (*KeepSnapshotGroupParams) WithDefaults

WithDefaults hydrates default values in the keep snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*KeepSnapshotGroupParams) WithHTTPClient

func (o *KeepSnapshotGroupParams) WithHTTPClient(client *http.Client) *KeepSnapshotGroupParams

WithHTTPClient adds the HTTPClient to the keep snapshot group params

func (*KeepSnapshotGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the keep snapshot group params

func (*KeepSnapshotGroupParams) WithTimeout

WithTimeout adds the timeout to the keep snapshot group params

func (*KeepSnapshotGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type KeepSnapshotGroupReader

type KeepSnapshotGroupReader struct {
	// contains filtered or unexported fields
}

KeepSnapshotGroupReader is a Reader for the KeepSnapshotGroup structure.

func (*KeepSnapshotGroupReader) ReadResponse

func (o *KeepSnapshotGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RollbackSnapshotGroupBadRequest

type RollbackSnapshotGroupBadRequest struct {
	Payload string
}
RollbackSnapshotGroupBadRequest describes a response with status code 400, with default header values.

RollbackSnapshotGroupBadRequest rollback snapshot group bad request

func NewRollbackSnapshotGroupBadRequest

func NewRollbackSnapshotGroupBadRequest() *RollbackSnapshotGroupBadRequest

NewRollbackSnapshotGroupBadRequest creates a RollbackSnapshotGroupBadRequest with default headers values

func (*RollbackSnapshotGroupBadRequest) Error

func (*RollbackSnapshotGroupBadRequest) GetPayload

func (o *RollbackSnapshotGroupBadRequest) GetPayload() string

type RollbackSnapshotGroupOK

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

Ok

func NewRollbackSnapshotGroupOK

func NewRollbackSnapshotGroupOK() *RollbackSnapshotGroupOK

NewRollbackSnapshotGroupOK creates a RollbackSnapshotGroupOK with default headers values

func (*RollbackSnapshotGroupOK) Error

func (o *RollbackSnapshotGroupOK) Error() string

func (*RollbackSnapshotGroupOK) GetPayload

type RollbackSnapshotGroupParams

type RollbackSnapshotGroupParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.SnapshotGroupRollbackParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RollbackSnapshotGroupParams contains all the parameters to send to the API endpoint

for the rollback snapshot group operation.

Typically these are written to a http.Request.

func NewRollbackSnapshotGroupParams

func NewRollbackSnapshotGroupParams() *RollbackSnapshotGroupParams

NewRollbackSnapshotGroupParams creates a new RollbackSnapshotGroupParams 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 NewRollbackSnapshotGroupParamsWithContext

func NewRollbackSnapshotGroupParamsWithContext(ctx context.Context) *RollbackSnapshotGroupParams

NewRollbackSnapshotGroupParamsWithContext creates a new RollbackSnapshotGroupParams object with the ability to set a context for a request.

func NewRollbackSnapshotGroupParamsWithHTTPClient

func NewRollbackSnapshotGroupParamsWithHTTPClient(client *http.Client) *RollbackSnapshotGroupParams

NewRollbackSnapshotGroupParamsWithHTTPClient creates a new RollbackSnapshotGroupParams object with the ability to set a custom HTTPClient for a request.

func NewRollbackSnapshotGroupParamsWithTimeout

func NewRollbackSnapshotGroupParamsWithTimeout(timeout time.Duration) *RollbackSnapshotGroupParams

NewRollbackSnapshotGroupParamsWithTimeout creates a new RollbackSnapshotGroupParams object with the ability to set a timeout on a request.

func (*RollbackSnapshotGroupParams) SetContentLanguage

func (o *RollbackSnapshotGroupParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) SetContext

func (o *RollbackSnapshotGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) SetDefaults

func (o *RollbackSnapshotGroupParams) SetDefaults()

SetDefaults hydrates default values in the rollback snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*RollbackSnapshotGroupParams) SetHTTPClient

func (o *RollbackSnapshotGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) SetRequestBody

func (o *RollbackSnapshotGroupParams) SetRequestBody(requestBody *models.SnapshotGroupRollbackParams)

SetRequestBody adds the requestBody to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) SetTimeout

func (o *RollbackSnapshotGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) WithContentLanguage

func (o *RollbackSnapshotGroupParams) WithContentLanguage(contentLanguage *string) *RollbackSnapshotGroupParams

WithContentLanguage adds the contentLanguage to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) WithContext

WithContext adds the context to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) WithDefaults

WithDefaults hydrates default values in the rollback snapshot group params (not the query body).

All values with no default are reset to their zero value.

func (*RollbackSnapshotGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) WithTimeout

WithTimeout adds the timeout to the rollback snapshot group params

func (*RollbackSnapshotGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RollbackSnapshotGroupReader

type RollbackSnapshotGroupReader struct {
	// contains filtered or unexported fields
}

RollbackSnapshotGroupReader is a Reader for the RollbackSnapshotGroup structure.

func (*RollbackSnapshotGroupReader) ReadResponse

func (o *RollbackSnapshotGroupReader) 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