consistency_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 consistency group API

func (*Client) CreateConsistencyGroup

func (a *Client) CreateConsistencyGroup(params *CreateConsistencyGroupParams, opts ...ClientOption) (*CreateConsistencyGroupOK, error)

CreateConsistencyGroup create consistency group API

func (*Client) DeleteConsistencyGroup

func (a *Client) DeleteConsistencyGroup(params *DeleteConsistencyGroupParams, opts ...ClientOption) (*DeleteConsistencyGroupOK, error)

DeleteConsistencyGroup delete consistency group API

func (*Client) GetConsistencyGroups

func (a *Client) GetConsistencyGroups(params *GetConsistencyGroupsParams, opts ...ClientOption) (*GetConsistencyGroupsOK, error)

GetConsistencyGroups get consistency groups API

func (*Client) GetConsistencyGroupsConnection

func (a *Client) GetConsistencyGroupsConnection(params *GetConsistencyGroupsConnectionParams, opts ...ClientOption) (*GetConsistencyGroupsConnectionOK, error)

GetConsistencyGroupsConnection get consistency groups connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateConsistencyGroup

func (a *Client) UpdateConsistencyGroup(params *UpdateConsistencyGroupParams, opts ...ClientOption) (*UpdateConsistencyGroupOK, error)

UpdateConsistencyGroup update consistency group API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateConsistencyGroup(params *CreateConsistencyGroupParams, opts ...ClientOption) (*CreateConsistencyGroupOK, error)

	DeleteConsistencyGroup(params *DeleteConsistencyGroupParams, opts ...ClientOption) (*DeleteConsistencyGroupOK, error)

	GetConsistencyGroups(params *GetConsistencyGroupsParams, opts ...ClientOption) (*GetConsistencyGroupsOK, error)

	GetConsistencyGroupsConnection(params *GetConsistencyGroupsConnectionParams, opts ...ClientOption) (*GetConsistencyGroupsConnectionOK, error)

	UpdateConsistencyGroup(params *UpdateConsistencyGroupParams, opts ...ClientOption) (*UpdateConsistencyGroupOK, 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 API client.

type CreateConsistencyGroupBadRequest

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

CreateConsistencyGroupBadRequest create consistency group bad request

func NewCreateConsistencyGroupBadRequest

func NewCreateConsistencyGroupBadRequest() *CreateConsistencyGroupBadRequest

NewCreateConsistencyGroupBadRequest creates a CreateConsistencyGroupBadRequest with default headers values

func (*CreateConsistencyGroupBadRequest) Error

func (*CreateConsistencyGroupBadRequest) GetPayload

func (o *CreateConsistencyGroupBadRequest) GetPayload() string

type CreateConsistencyGroupOK

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

Ok

func NewCreateConsistencyGroupOK

func NewCreateConsistencyGroupOK() *CreateConsistencyGroupOK

NewCreateConsistencyGroupOK creates a CreateConsistencyGroupOK with default headers values

func (*CreateConsistencyGroupOK) Error

func (o *CreateConsistencyGroupOK) Error() string

func (*CreateConsistencyGroupOK) GetPayload

type CreateConsistencyGroupParams

type CreateConsistencyGroupParams struct {

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

	// RequestBody.
	RequestBody []*models.ConsistencyGroupCreationParams

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

CreateConsistencyGroupParams contains all the parameters to send to the API endpoint

for the create consistency group operation.

Typically these are written to a http.Request.

func NewCreateConsistencyGroupParams

func NewCreateConsistencyGroupParams() *CreateConsistencyGroupParams

NewCreateConsistencyGroupParams creates a new CreateConsistencyGroupParams 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 NewCreateConsistencyGroupParamsWithContext

func NewCreateConsistencyGroupParamsWithContext(ctx context.Context) *CreateConsistencyGroupParams

NewCreateConsistencyGroupParamsWithContext creates a new CreateConsistencyGroupParams object with the ability to set a context for a request.

func NewCreateConsistencyGroupParamsWithHTTPClient

func NewCreateConsistencyGroupParamsWithHTTPClient(client *http.Client) *CreateConsistencyGroupParams

NewCreateConsistencyGroupParamsWithHTTPClient creates a new CreateConsistencyGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConsistencyGroupParamsWithTimeout

func NewCreateConsistencyGroupParamsWithTimeout(timeout time.Duration) *CreateConsistencyGroupParams

NewCreateConsistencyGroupParamsWithTimeout creates a new CreateConsistencyGroupParams object with the ability to set a timeout on a request.

func (*CreateConsistencyGroupParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create consistency group params

func (*CreateConsistencyGroupParams) SetContext

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

SetContext adds the context to the create consistency group params

func (*CreateConsistencyGroupParams) SetDefaults

func (o *CreateConsistencyGroupParams) SetDefaults()

SetDefaults hydrates default values in the create consistency group params (not the query body).

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

func (*CreateConsistencyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create consistency group params

func (*CreateConsistencyGroupParams) SetRequestBody

func (o *CreateConsistencyGroupParams) SetRequestBody(requestBody []*models.ConsistencyGroupCreationParams)

SetRequestBody adds the requestBody to the create consistency group params

func (*CreateConsistencyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create consistency group params

func (*CreateConsistencyGroupParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the create consistency group params

func (*CreateConsistencyGroupParams) WithContext

WithContext adds the context to the create consistency group params

func (*CreateConsistencyGroupParams) WithDefaults

WithDefaults hydrates default values in the create consistency group params (not the query body).

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

func (*CreateConsistencyGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create consistency group params

func (*CreateConsistencyGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the create consistency group params

func (*CreateConsistencyGroupParams) WithTimeout

WithTimeout adds the timeout to the create consistency group params

func (*CreateConsistencyGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateConsistencyGroupReader

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

CreateConsistencyGroupReader is a Reader for the CreateConsistencyGroup structure.

func (*CreateConsistencyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConsistencyGroupBadRequest

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

DeleteConsistencyGroupBadRequest delete consistency group bad request

func NewDeleteConsistencyGroupBadRequest

func NewDeleteConsistencyGroupBadRequest() *DeleteConsistencyGroupBadRequest

NewDeleteConsistencyGroupBadRequest creates a DeleteConsistencyGroupBadRequest with default headers values

func (*DeleteConsistencyGroupBadRequest) Error

func (*DeleteConsistencyGroupBadRequest) GetPayload

func (o *DeleteConsistencyGroupBadRequest) GetPayload() string

type DeleteConsistencyGroupOK

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

Ok

func NewDeleteConsistencyGroupOK

func NewDeleteConsistencyGroupOK() *DeleteConsistencyGroupOK

NewDeleteConsistencyGroupOK creates a DeleteConsistencyGroupOK with default headers values

func (*DeleteConsistencyGroupOK) Error

func (o *DeleteConsistencyGroupOK) Error() string

func (*DeleteConsistencyGroupOK) GetPayload

type DeleteConsistencyGroupParams

type DeleteConsistencyGroupParams struct {

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

	// RequestBody.
	RequestBody *models.ConsistencyGroupDeletionParams

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

DeleteConsistencyGroupParams contains all the parameters to send to the API endpoint

for the delete consistency group operation.

Typically these are written to a http.Request.

func NewDeleteConsistencyGroupParams

func NewDeleteConsistencyGroupParams() *DeleteConsistencyGroupParams

NewDeleteConsistencyGroupParams creates a new DeleteConsistencyGroupParams 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 NewDeleteConsistencyGroupParamsWithContext

func NewDeleteConsistencyGroupParamsWithContext(ctx context.Context) *DeleteConsistencyGroupParams

NewDeleteConsistencyGroupParamsWithContext creates a new DeleteConsistencyGroupParams object with the ability to set a context for a request.

func NewDeleteConsistencyGroupParamsWithHTTPClient

func NewDeleteConsistencyGroupParamsWithHTTPClient(client *http.Client) *DeleteConsistencyGroupParams

NewDeleteConsistencyGroupParamsWithHTTPClient creates a new DeleteConsistencyGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConsistencyGroupParamsWithTimeout

func NewDeleteConsistencyGroupParamsWithTimeout(timeout time.Duration) *DeleteConsistencyGroupParams

NewDeleteConsistencyGroupParamsWithTimeout creates a new DeleteConsistencyGroupParams object with the ability to set a timeout on a request.

func (*DeleteConsistencyGroupParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete consistency group params

func (*DeleteConsistencyGroupParams) SetContext

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

SetContext adds the context to the delete consistency group params

func (*DeleteConsistencyGroupParams) SetDefaults

func (o *DeleteConsistencyGroupParams) SetDefaults()

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

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

func (*DeleteConsistencyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete consistency group params

func (*DeleteConsistencyGroupParams) SetRequestBody

func (o *DeleteConsistencyGroupParams) SetRequestBody(requestBody *models.ConsistencyGroupDeletionParams)

SetRequestBody adds the requestBody to the delete consistency group params

func (*DeleteConsistencyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete consistency group params

func (*DeleteConsistencyGroupParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete consistency group params

func (*DeleteConsistencyGroupParams) WithContext

WithContext adds the context to the delete consistency group params

func (*DeleteConsistencyGroupParams) WithDefaults

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

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

func (*DeleteConsistencyGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete consistency group params

func (*DeleteConsistencyGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the delete consistency group params

func (*DeleteConsistencyGroupParams) WithTimeout

WithTimeout adds the timeout to the delete consistency group params

func (*DeleteConsistencyGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteConsistencyGroupReader

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

DeleteConsistencyGroupReader is a Reader for the DeleteConsistencyGroup structure.

func (*DeleteConsistencyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConsistencyGroupsBadRequest

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

GetConsistencyGroupsBadRequest get consistency groups bad request

func NewGetConsistencyGroupsBadRequest

func NewGetConsistencyGroupsBadRequest() *GetConsistencyGroupsBadRequest

NewGetConsistencyGroupsBadRequest creates a GetConsistencyGroupsBadRequest with default headers values

func (*GetConsistencyGroupsBadRequest) Error

func (*GetConsistencyGroupsBadRequest) GetPayload

func (o *GetConsistencyGroupsBadRequest) GetPayload() string

type GetConsistencyGroupsConnectionBadRequest

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

GetConsistencyGroupsConnectionBadRequest get consistency groups connection bad request

func NewGetConsistencyGroupsConnectionBadRequest

func NewGetConsistencyGroupsConnectionBadRequest() *GetConsistencyGroupsConnectionBadRequest

NewGetConsistencyGroupsConnectionBadRequest creates a GetConsistencyGroupsConnectionBadRequest with default headers values

func (*GetConsistencyGroupsConnectionBadRequest) Error

func (*GetConsistencyGroupsConnectionBadRequest) GetPayload

type GetConsistencyGroupsConnectionOK

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

Ok

func NewGetConsistencyGroupsConnectionOK

func NewGetConsistencyGroupsConnectionOK() *GetConsistencyGroupsConnectionOK

NewGetConsistencyGroupsConnectionOK creates a GetConsistencyGroupsConnectionOK with default headers values

func (*GetConsistencyGroupsConnectionOK) Error

func (*GetConsistencyGroupsConnectionOK) GetPayload

type GetConsistencyGroupsConnectionParams

type GetConsistencyGroupsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetConsistencyGroupsConnectionRequestBody

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

GetConsistencyGroupsConnectionParams contains all the parameters to send to the API endpoint

for the get consistency groups connection operation.

Typically these are written to a http.Request.

func NewGetConsistencyGroupsConnectionParams

func NewGetConsistencyGroupsConnectionParams() *GetConsistencyGroupsConnectionParams

NewGetConsistencyGroupsConnectionParams creates a new GetConsistencyGroupsConnectionParams 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 NewGetConsistencyGroupsConnectionParamsWithContext

func NewGetConsistencyGroupsConnectionParamsWithContext(ctx context.Context) *GetConsistencyGroupsConnectionParams

NewGetConsistencyGroupsConnectionParamsWithContext creates a new GetConsistencyGroupsConnectionParams object with the ability to set a context for a request.

func NewGetConsistencyGroupsConnectionParamsWithHTTPClient

func NewGetConsistencyGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupsConnectionParams

NewGetConsistencyGroupsConnectionParamsWithHTTPClient creates a new GetConsistencyGroupsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetConsistencyGroupsConnectionParamsWithTimeout

func NewGetConsistencyGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupsConnectionParams

NewGetConsistencyGroupsConnectionParamsWithTimeout creates a new GetConsistencyGroupsConnectionParams object with the ability to set a timeout on a request.

func (*GetConsistencyGroupsConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) SetContext

SetContext adds the context to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) SetDefaults

func (o *GetConsistencyGroupsConnectionParams) SetDefaults()

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

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

func (*GetConsistencyGroupsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) WithContext

WithContext adds the context to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) WithDefaults

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

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

func (*GetConsistencyGroupsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get consistency groups connection params

func (*GetConsistencyGroupsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetConsistencyGroupsConnectionReader

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

GetConsistencyGroupsConnectionReader is a Reader for the GetConsistencyGroupsConnection structure.

func (*GetConsistencyGroupsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConsistencyGroupsOK

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

Ok

func NewGetConsistencyGroupsOK

func NewGetConsistencyGroupsOK() *GetConsistencyGroupsOK

NewGetConsistencyGroupsOK creates a GetConsistencyGroupsOK with default headers values

func (*GetConsistencyGroupsOK) Error

func (o *GetConsistencyGroupsOK) Error() string

func (*GetConsistencyGroupsOK) GetPayload

func (o *GetConsistencyGroupsOK) GetPayload() []*models.ConsistencyGroup

type GetConsistencyGroupsParams

type GetConsistencyGroupsParams struct {

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

	// RequestBody.
	RequestBody *models.GetConsistencyGroupsRequestBody

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

GetConsistencyGroupsParams contains all the parameters to send to the API endpoint

for the get consistency groups operation.

Typically these are written to a http.Request.

func NewGetConsistencyGroupsParams

func NewGetConsistencyGroupsParams() *GetConsistencyGroupsParams

NewGetConsistencyGroupsParams creates a new GetConsistencyGroupsParams 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 NewGetConsistencyGroupsParamsWithContext

func NewGetConsistencyGroupsParamsWithContext(ctx context.Context) *GetConsistencyGroupsParams

NewGetConsistencyGroupsParamsWithContext creates a new GetConsistencyGroupsParams object with the ability to set a context for a request.

func NewGetConsistencyGroupsParamsWithHTTPClient

func NewGetConsistencyGroupsParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupsParams

NewGetConsistencyGroupsParamsWithHTTPClient creates a new GetConsistencyGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetConsistencyGroupsParamsWithTimeout

func NewGetConsistencyGroupsParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupsParams

NewGetConsistencyGroupsParamsWithTimeout creates a new GetConsistencyGroupsParams object with the ability to set a timeout on a request.

func (*GetConsistencyGroupsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get consistency groups params

func (*GetConsistencyGroupsParams) SetContext

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

SetContext adds the context to the get consistency groups params

func (*GetConsistencyGroupsParams) SetDefaults

func (o *GetConsistencyGroupsParams) SetDefaults()

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

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

func (*GetConsistencyGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get consistency groups params

func (*GetConsistencyGroupsParams) SetRequestBody

func (o *GetConsistencyGroupsParams) SetRequestBody(requestBody *models.GetConsistencyGroupsRequestBody)

SetRequestBody adds the requestBody to the get consistency groups params

func (*GetConsistencyGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get consistency groups params

func (*GetConsistencyGroupsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get consistency groups params

func (*GetConsistencyGroupsParams) WithContext

WithContext adds the context to the get consistency groups params

func (*GetConsistencyGroupsParams) WithDefaults

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

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

func (*GetConsistencyGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get consistency groups params

func (*GetConsistencyGroupsParams) WithRequestBody

WithRequestBody adds the requestBody to the get consistency groups params

func (*GetConsistencyGroupsParams) WithTimeout

WithTimeout adds the timeout to the get consistency groups params

func (*GetConsistencyGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetConsistencyGroupsReader

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

GetConsistencyGroupsReader is a Reader for the GetConsistencyGroups structure.

func (*GetConsistencyGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConsistencyGroupBadRequest

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

UpdateConsistencyGroupBadRequest update consistency group bad request

func NewUpdateConsistencyGroupBadRequest

func NewUpdateConsistencyGroupBadRequest() *UpdateConsistencyGroupBadRequest

NewUpdateConsistencyGroupBadRequest creates a UpdateConsistencyGroupBadRequest with default headers values

func (*UpdateConsistencyGroupBadRequest) Error

func (*UpdateConsistencyGroupBadRequest) GetPayload

func (o *UpdateConsistencyGroupBadRequest) GetPayload() string

type UpdateConsistencyGroupOK

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

Ok

func NewUpdateConsistencyGroupOK

func NewUpdateConsistencyGroupOK() *UpdateConsistencyGroupOK

NewUpdateConsistencyGroupOK creates a UpdateConsistencyGroupOK with default headers values

func (*UpdateConsistencyGroupOK) Error

func (o *UpdateConsistencyGroupOK) Error() string

func (*UpdateConsistencyGroupOK) GetPayload

type UpdateConsistencyGroupParams

type UpdateConsistencyGroupParams struct {

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

	// RequestBody.
	RequestBody *models.ConsistencyGroupUpdationParams

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

UpdateConsistencyGroupParams contains all the parameters to send to the API endpoint

for the update consistency group operation.

Typically these are written to a http.Request.

func NewUpdateConsistencyGroupParams

func NewUpdateConsistencyGroupParams() *UpdateConsistencyGroupParams

NewUpdateConsistencyGroupParams creates a new UpdateConsistencyGroupParams 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 NewUpdateConsistencyGroupParamsWithContext

func NewUpdateConsistencyGroupParamsWithContext(ctx context.Context) *UpdateConsistencyGroupParams

NewUpdateConsistencyGroupParamsWithContext creates a new UpdateConsistencyGroupParams object with the ability to set a context for a request.

func NewUpdateConsistencyGroupParamsWithHTTPClient

func NewUpdateConsistencyGroupParamsWithHTTPClient(client *http.Client) *UpdateConsistencyGroupParams

NewUpdateConsistencyGroupParamsWithHTTPClient creates a new UpdateConsistencyGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConsistencyGroupParamsWithTimeout

func NewUpdateConsistencyGroupParamsWithTimeout(timeout time.Duration) *UpdateConsistencyGroupParams

NewUpdateConsistencyGroupParamsWithTimeout creates a new UpdateConsistencyGroupParams object with the ability to set a timeout on a request.

func (*UpdateConsistencyGroupParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the update consistency group params

func (*UpdateConsistencyGroupParams) SetContext

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

SetContext adds the context to the update consistency group params

func (*UpdateConsistencyGroupParams) SetDefaults

func (o *UpdateConsistencyGroupParams) SetDefaults()

SetDefaults hydrates default values in the update consistency group params (not the query body).

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

func (*UpdateConsistencyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update consistency group params

func (*UpdateConsistencyGroupParams) SetRequestBody

func (o *UpdateConsistencyGroupParams) SetRequestBody(requestBody *models.ConsistencyGroupUpdationParams)

SetRequestBody adds the requestBody to the update consistency group params

func (*UpdateConsistencyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update consistency group params

func (*UpdateConsistencyGroupParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the update consistency group params

func (*UpdateConsistencyGroupParams) WithContext

WithContext adds the context to the update consistency group params

func (*UpdateConsistencyGroupParams) WithDefaults

WithDefaults hydrates default values in the update consistency group params (not the query body).

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

func (*UpdateConsistencyGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update consistency group params

func (*UpdateConsistencyGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the update consistency group params

func (*UpdateConsistencyGroupParams) WithTimeout

WithTimeout adds the timeout to the update consistency group params

func (*UpdateConsistencyGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateConsistencyGroupReader

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

UpdateConsistencyGroupReader is a Reader for the UpdateConsistencyGroup structure.

func (*UpdateConsistencyGroupReader) ReadResponse

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