Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConsistencyGroup(params *CreateConsistencyGroupParams, opts ...ClientOption) (*CreateConsistencyGroupOK, error)
- func (a *Client) DeleteConsistencyGroup(params *DeleteConsistencyGroupParams, opts ...ClientOption) (*DeleteConsistencyGroupOK, error)
- func (a *Client) GetConsistencyGroups(params *GetConsistencyGroupsParams, opts ...ClientOption) (*GetConsistencyGroupsOK, error)
- func (a *Client) GetConsistencyGroupsConnection(params *GetConsistencyGroupsConnectionParams, opts ...ClientOption) (*GetConsistencyGroupsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConsistencyGroup(params *UpdateConsistencyGroupParams, opts ...ClientOption) (*UpdateConsistencyGroupOK, error)
- type ClientOption
- type ClientService
- type CreateConsistencyGroupBadRequest
- type CreateConsistencyGroupOK
- type CreateConsistencyGroupParams
- func NewCreateConsistencyGroupParams() *CreateConsistencyGroupParams
- func NewCreateConsistencyGroupParamsWithContext(ctx context.Context) *CreateConsistencyGroupParams
- func NewCreateConsistencyGroupParamsWithHTTPClient(client *http.Client) *CreateConsistencyGroupParams
- func NewCreateConsistencyGroupParamsWithTimeout(timeout time.Duration) *CreateConsistencyGroupParams
- func (o *CreateConsistencyGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateConsistencyGroupParams) SetContext(ctx context.Context)
- func (o *CreateConsistencyGroupParams) SetDefaults()
- func (o *CreateConsistencyGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateConsistencyGroupParams) SetRequestBody(requestBody []*models.ConsistencyGroupCreationParams)
- func (o *CreateConsistencyGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateConsistencyGroupParams) WithContentLanguage(contentLanguage *string) *CreateConsistencyGroupParams
- func (o *CreateConsistencyGroupParams) WithContext(ctx context.Context) *CreateConsistencyGroupParams
- func (o *CreateConsistencyGroupParams) WithDefaults() *CreateConsistencyGroupParams
- func (o *CreateConsistencyGroupParams) WithHTTPClient(client *http.Client) *CreateConsistencyGroupParams
- func (o *CreateConsistencyGroupParams) WithRequestBody(requestBody []*models.ConsistencyGroupCreationParams) *CreateConsistencyGroupParams
- func (o *CreateConsistencyGroupParams) WithTimeout(timeout time.Duration) *CreateConsistencyGroupParams
- func (o *CreateConsistencyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConsistencyGroupReader
- type DeleteConsistencyGroupBadRequest
- type DeleteConsistencyGroupOK
- type DeleteConsistencyGroupParams
- func NewDeleteConsistencyGroupParams() *DeleteConsistencyGroupParams
- func NewDeleteConsistencyGroupParamsWithContext(ctx context.Context) *DeleteConsistencyGroupParams
- func NewDeleteConsistencyGroupParamsWithHTTPClient(client *http.Client) *DeleteConsistencyGroupParams
- func NewDeleteConsistencyGroupParamsWithTimeout(timeout time.Duration) *DeleteConsistencyGroupParams
- func (o *DeleteConsistencyGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteConsistencyGroupParams) SetContext(ctx context.Context)
- func (o *DeleteConsistencyGroupParams) SetDefaults()
- func (o *DeleteConsistencyGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConsistencyGroupParams) SetRequestBody(requestBody *models.ConsistencyGroupDeletionParams)
- func (o *DeleteConsistencyGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConsistencyGroupParams) WithContentLanguage(contentLanguage *string) *DeleteConsistencyGroupParams
- func (o *DeleteConsistencyGroupParams) WithContext(ctx context.Context) *DeleteConsistencyGroupParams
- func (o *DeleteConsistencyGroupParams) WithDefaults() *DeleteConsistencyGroupParams
- func (o *DeleteConsistencyGroupParams) WithHTTPClient(client *http.Client) *DeleteConsistencyGroupParams
- func (o *DeleteConsistencyGroupParams) WithRequestBody(requestBody *models.ConsistencyGroupDeletionParams) *DeleteConsistencyGroupParams
- func (o *DeleteConsistencyGroupParams) WithTimeout(timeout time.Duration) *DeleteConsistencyGroupParams
- func (o *DeleteConsistencyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConsistencyGroupReader
- type GetConsistencyGroupsBadRequest
- type GetConsistencyGroupsConnectionBadRequest
- type GetConsistencyGroupsConnectionOK
- type GetConsistencyGroupsConnectionParams
- func NewGetConsistencyGroupsConnectionParams() *GetConsistencyGroupsConnectionParams
- func NewGetConsistencyGroupsConnectionParamsWithContext(ctx context.Context) *GetConsistencyGroupsConnectionParams
- func NewGetConsistencyGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupsConnectionParams
- func NewGetConsistencyGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupsConnectionParams
- func (o *GetConsistencyGroupsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetConsistencyGroupsConnectionParams) SetContext(ctx context.Context)
- func (o *GetConsistencyGroupsConnectionParams) SetDefaults()
- func (o *GetConsistencyGroupsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetConsistencyGroupsConnectionParams) SetRequestBody(requestBody *models.GetConsistencyGroupsConnectionRequestBody)
- func (o *GetConsistencyGroupsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetConsistencyGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetConsistencyGroupsConnectionParams
- func (o *GetConsistencyGroupsConnectionParams) WithContext(ctx context.Context) *GetConsistencyGroupsConnectionParams
- func (o *GetConsistencyGroupsConnectionParams) WithDefaults() *GetConsistencyGroupsConnectionParams
- func (o *GetConsistencyGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupsConnectionParams
- func (o *GetConsistencyGroupsConnectionParams) WithRequestBody(requestBody *models.GetConsistencyGroupsConnectionRequestBody) *GetConsistencyGroupsConnectionParams
- func (o *GetConsistencyGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupsConnectionParams
- func (o *GetConsistencyGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsistencyGroupsConnectionReader
- type GetConsistencyGroupsOK
- type GetConsistencyGroupsParams
- func NewGetConsistencyGroupsParams() *GetConsistencyGroupsParams
- func NewGetConsistencyGroupsParamsWithContext(ctx context.Context) *GetConsistencyGroupsParams
- func NewGetConsistencyGroupsParamsWithHTTPClient(client *http.Client) *GetConsistencyGroupsParams
- func NewGetConsistencyGroupsParamsWithTimeout(timeout time.Duration) *GetConsistencyGroupsParams
- func (o *GetConsistencyGroupsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetConsistencyGroupsParams) SetContext(ctx context.Context)
- func (o *GetConsistencyGroupsParams) SetDefaults()
- func (o *GetConsistencyGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetConsistencyGroupsParams) SetRequestBody(requestBody *models.GetConsistencyGroupsRequestBody)
- func (o *GetConsistencyGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetConsistencyGroupsParams) WithContentLanguage(contentLanguage *string) *GetConsistencyGroupsParams
- func (o *GetConsistencyGroupsParams) WithContext(ctx context.Context) *GetConsistencyGroupsParams
- func (o *GetConsistencyGroupsParams) WithDefaults() *GetConsistencyGroupsParams
- func (o *GetConsistencyGroupsParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupsParams
- func (o *GetConsistencyGroupsParams) WithRequestBody(requestBody *models.GetConsistencyGroupsRequestBody) *GetConsistencyGroupsParams
- func (o *GetConsistencyGroupsParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupsParams
- func (o *GetConsistencyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsistencyGroupsReader
- type UpdateConsistencyGroupBadRequest
- type UpdateConsistencyGroupOK
- type UpdateConsistencyGroupParams
- func NewUpdateConsistencyGroupParams() *UpdateConsistencyGroupParams
- func NewUpdateConsistencyGroupParamsWithContext(ctx context.Context) *UpdateConsistencyGroupParams
- func NewUpdateConsistencyGroupParamsWithHTTPClient(client *http.Client) *UpdateConsistencyGroupParams
- func NewUpdateConsistencyGroupParamsWithTimeout(timeout time.Duration) *UpdateConsistencyGroupParams
- func (o *UpdateConsistencyGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateConsistencyGroupParams) SetContext(ctx context.Context)
- func (o *UpdateConsistencyGroupParams) SetDefaults()
- func (o *UpdateConsistencyGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConsistencyGroupParams) SetRequestBody(requestBody *models.ConsistencyGroupUpdationParams)
- func (o *UpdateConsistencyGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConsistencyGroupParams) WithContentLanguage(contentLanguage *string) *UpdateConsistencyGroupParams
- func (o *UpdateConsistencyGroupParams) WithContext(ctx context.Context) *UpdateConsistencyGroupParams
- func (o *UpdateConsistencyGroupParams) WithDefaults() *UpdateConsistencyGroupParams
- func (o *UpdateConsistencyGroupParams) WithHTTPClient(client *http.Client) *UpdateConsistencyGroupParams
- func (o *UpdateConsistencyGroupParams) WithRequestBody(requestBody *models.ConsistencyGroupUpdationParams) *UpdateConsistencyGroupParams
- func (o *UpdateConsistencyGroupParams) WithTimeout(timeout time.Duration) *UpdateConsistencyGroupParams
- func (o *UpdateConsistencyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConsistencyGroupReader
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 (o *CreateConsistencyGroupBadRequest) Error() string
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 ¶
func (o *CreateConsistencyGroupOK) GetPayload() []*models.WithTaskConsistencyGroup
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 ¶
func (o *CreateConsistencyGroupParams) WithContext(ctx context.Context) *CreateConsistencyGroupParams
WithContext adds the context to the create consistency group params
func (*CreateConsistencyGroupParams) WithDefaults ¶
func (o *CreateConsistencyGroupParams) WithDefaults() *CreateConsistencyGroupParams
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 ¶
func (o *CreateConsistencyGroupParams) WithHTTPClient(client *http.Client) *CreateConsistencyGroupParams
WithHTTPClient adds the HTTPClient to the create consistency group params
func (*CreateConsistencyGroupParams) WithRequestBody ¶
func (o *CreateConsistencyGroupParams) WithRequestBody(requestBody []*models.ConsistencyGroupCreationParams) *CreateConsistencyGroupParams
WithRequestBody adds the requestBody to the create consistency group params
func (*CreateConsistencyGroupParams) WithTimeout ¶
func (o *CreateConsistencyGroupParams) WithTimeout(timeout time.Duration) *CreateConsistencyGroupParams
WithTimeout adds the timeout to the create consistency group params
func (*CreateConsistencyGroupParams) WriteToRequest ¶
func (o *CreateConsistencyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteConsistencyGroupBadRequest) Error() string
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 ¶
func (o *DeleteConsistencyGroupOK) GetPayload() []*models.WithTaskDeleteConsistencyGroup
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 ¶
func (o *DeleteConsistencyGroupParams) WithContext(ctx context.Context) *DeleteConsistencyGroupParams
WithContext adds the context to the delete consistency group params
func (*DeleteConsistencyGroupParams) WithDefaults ¶
func (o *DeleteConsistencyGroupParams) WithDefaults() *DeleteConsistencyGroupParams
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 ¶
func (o *DeleteConsistencyGroupParams) WithHTTPClient(client *http.Client) *DeleteConsistencyGroupParams
WithHTTPClient adds the HTTPClient to the delete consistency group params
func (*DeleteConsistencyGroupParams) WithRequestBody ¶
func (o *DeleteConsistencyGroupParams) WithRequestBody(requestBody *models.ConsistencyGroupDeletionParams) *DeleteConsistencyGroupParams
WithRequestBody adds the requestBody to the delete consistency group params
func (*DeleteConsistencyGroupParams) WithTimeout ¶
func (o *DeleteConsistencyGroupParams) WithTimeout(timeout time.Duration) *DeleteConsistencyGroupParams
WithTimeout adds the timeout to the delete consistency group params
func (*DeleteConsistencyGroupParams) WriteToRequest ¶
func (o *DeleteConsistencyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetConsistencyGroupsBadRequest) Error() string
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 (o *GetConsistencyGroupsConnectionBadRequest) Error() string
func (*GetConsistencyGroupsConnectionBadRequest) GetPayload ¶
func (o *GetConsistencyGroupsConnectionBadRequest) GetPayload() string
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 (o *GetConsistencyGroupsConnectionOK) Error() string
func (*GetConsistencyGroupsConnectionOK) GetPayload ¶
func (o *GetConsistencyGroupsConnectionOK) GetPayload() *models.ConsistencyGroupConnection
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 ¶
func (o *GetConsistencyGroupsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetConsistencyGroupsConnectionParams) SetRequestBody(requestBody *models.GetConsistencyGroupsConnectionRequestBody)
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 ¶
func (o *GetConsistencyGroupsConnectionParams) WithContext(ctx context.Context) *GetConsistencyGroupsConnectionParams
WithContext adds the context to the get consistency groups connection params
func (*GetConsistencyGroupsConnectionParams) WithDefaults ¶
func (o *GetConsistencyGroupsConnectionParams) WithDefaults() *GetConsistencyGroupsConnectionParams
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 ¶
func (o *GetConsistencyGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupsConnectionParams
WithHTTPClient adds the HTTPClient to the get consistency groups connection params
func (*GetConsistencyGroupsConnectionParams) WithRequestBody ¶
func (o *GetConsistencyGroupsConnectionParams) WithRequestBody(requestBody *models.GetConsistencyGroupsConnectionRequestBody) *GetConsistencyGroupsConnectionParams
WithRequestBody adds the requestBody to the get consistency groups connection params
func (*GetConsistencyGroupsConnectionParams) WithTimeout ¶
func (o *GetConsistencyGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupsConnectionParams
WithTimeout adds the timeout to the get consistency groups connection params
func (*GetConsistencyGroupsConnectionParams) WriteToRequest ¶
func (o *GetConsistencyGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetConsistencyGroupsParams) WithContext(ctx context.Context) *GetConsistencyGroupsParams
WithContext adds the context to the get consistency groups params
func (*GetConsistencyGroupsParams) WithDefaults ¶
func (o *GetConsistencyGroupsParams) WithDefaults() *GetConsistencyGroupsParams
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 ¶
func (o *GetConsistencyGroupsParams) WithHTTPClient(client *http.Client) *GetConsistencyGroupsParams
WithHTTPClient adds the HTTPClient to the get consistency groups params
func (*GetConsistencyGroupsParams) WithRequestBody ¶
func (o *GetConsistencyGroupsParams) WithRequestBody(requestBody *models.GetConsistencyGroupsRequestBody) *GetConsistencyGroupsParams
WithRequestBody adds the requestBody to the get consistency groups params
func (*GetConsistencyGroupsParams) WithTimeout ¶
func (o *GetConsistencyGroupsParams) WithTimeout(timeout time.Duration) *GetConsistencyGroupsParams
WithTimeout adds the timeout to the get consistency groups params
func (*GetConsistencyGroupsParams) WriteToRequest ¶
func (o *GetConsistencyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateConsistencyGroupBadRequest) Error() string
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 ¶
func (o *UpdateConsistencyGroupOK) GetPayload() []*models.WithTaskConsistencyGroup
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 ¶
func (o *UpdateConsistencyGroupParams) WithContext(ctx context.Context) *UpdateConsistencyGroupParams
WithContext adds the context to the update consistency group params
func (*UpdateConsistencyGroupParams) WithDefaults ¶
func (o *UpdateConsistencyGroupParams) WithDefaults() *UpdateConsistencyGroupParams
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 ¶
func (o *UpdateConsistencyGroupParams) WithHTTPClient(client *http.Client) *UpdateConsistencyGroupParams
WithHTTPClient adds the HTTPClient to the update consistency group params
func (*UpdateConsistencyGroupParams) WithRequestBody ¶
func (o *UpdateConsistencyGroupParams) WithRequestBody(requestBody *models.ConsistencyGroupUpdationParams) *UpdateConsistencyGroupParams
WithRequestBody adds the requestBody to the update consistency group params
func (*UpdateConsistencyGroupParams) WithTimeout ¶
func (o *UpdateConsistencyGroupParams) WithTimeout(timeout time.Duration) *UpdateConsistencyGroupParams
WithTimeout adds the timeout to the update consistency group params
func (*UpdateConsistencyGroupParams) WriteToRequest ¶
func (o *UpdateConsistencyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- consistency_group_client.go
- create_consistency_group_parameters.go
- create_consistency_group_responses.go
- delete_consistency_group_parameters.go
- delete_consistency_group_responses.go
- get_consistency_groups_connection_parameters.go
- get_consistency_groups_connection_responses.go
- get_consistency_groups_parameters.go
- get_consistency_groups_responses.go
- update_consistency_group_parameters.go
- update_consistency_group_responses.go