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 CreateConsistencyGroupInternalServerError
- type CreateConsistencyGroupNotFound
- 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 DeleteConsistencyGroupInternalServerError
- type DeleteConsistencyGroupNotFound
- 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 GetConsistencyGroupsConnectionInternalServerError
- type GetConsistencyGroupsConnectionNotFound
- 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 GetConsistencyGroupsInternalServerError
- type GetConsistencyGroupsNotFound
- 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 UpdateConsistencyGroupInternalServerError
- type UpdateConsistencyGroupNotFound
- 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 ¶
CreateConsistencyGroupBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type CreateConsistencyGroupInternalServerError ¶
type CreateConsistencyGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateConsistencyGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateConsistencyGroupInternalServerError ¶
func NewCreateConsistencyGroupInternalServerError() *CreateConsistencyGroupInternalServerError
NewCreateConsistencyGroupInternalServerError creates a CreateConsistencyGroupInternalServerError with default headers values
func (*CreateConsistencyGroupInternalServerError) Error ¶
func (o *CreateConsistencyGroupInternalServerError) Error() string
func (*CreateConsistencyGroupInternalServerError) GetPayload ¶
func (o *CreateConsistencyGroupInternalServerError) GetPayload() *models.ErrorBody
type CreateConsistencyGroupNotFound ¶
CreateConsistencyGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateConsistencyGroupNotFound ¶
func NewCreateConsistencyGroupNotFound() *CreateConsistencyGroupNotFound
NewCreateConsistencyGroupNotFound creates a CreateConsistencyGroupNotFound with default headers values
func (*CreateConsistencyGroupNotFound) Error ¶
func (o *CreateConsistencyGroupNotFound) Error() string
func (*CreateConsistencyGroupNotFound) GetPayload ¶
func (o *CreateConsistencyGroupNotFound) GetPayload() *models.ErrorBody
type CreateConsistencyGroupOK ¶
type CreateConsistencyGroupOK struct { XTowerRequestID string Payload []*models.WithTaskConsistencyGroup }
CreateConsistencyGroupOK describes a response with status code 200, with default header values.
CreateConsistencyGroupOK create consistency group o k
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 ¶
DeleteConsistencyGroupBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type DeleteConsistencyGroupInternalServerError ¶
type DeleteConsistencyGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteConsistencyGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteConsistencyGroupInternalServerError ¶
func NewDeleteConsistencyGroupInternalServerError() *DeleteConsistencyGroupInternalServerError
NewDeleteConsistencyGroupInternalServerError creates a DeleteConsistencyGroupInternalServerError with default headers values
func (*DeleteConsistencyGroupInternalServerError) Error ¶
func (o *DeleteConsistencyGroupInternalServerError) Error() string
func (*DeleteConsistencyGroupInternalServerError) GetPayload ¶
func (o *DeleteConsistencyGroupInternalServerError) GetPayload() *models.ErrorBody
type DeleteConsistencyGroupNotFound ¶
DeleteConsistencyGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteConsistencyGroupNotFound ¶
func NewDeleteConsistencyGroupNotFound() *DeleteConsistencyGroupNotFound
NewDeleteConsistencyGroupNotFound creates a DeleteConsistencyGroupNotFound with default headers values
func (*DeleteConsistencyGroupNotFound) Error ¶
func (o *DeleteConsistencyGroupNotFound) Error() string
func (*DeleteConsistencyGroupNotFound) GetPayload ¶
func (o *DeleteConsistencyGroupNotFound) GetPayload() *models.ErrorBody
type DeleteConsistencyGroupOK ¶
type DeleteConsistencyGroupOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteConsistencyGroup }
DeleteConsistencyGroupOK describes a response with status code 200, with default header values.
DeleteConsistencyGroupOK delete consistency group o k
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 ¶
GetConsistencyGroupsBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type GetConsistencyGroupsConnectionBadRequest ¶
type GetConsistencyGroupsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupsConnectionBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type GetConsistencyGroupsConnectionInternalServerError ¶
type GetConsistencyGroupsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetConsistencyGroupsConnectionInternalServerError ¶
func NewGetConsistencyGroupsConnectionInternalServerError() *GetConsistencyGroupsConnectionInternalServerError
NewGetConsistencyGroupsConnectionInternalServerError creates a GetConsistencyGroupsConnectionInternalServerError with default headers values
func (*GetConsistencyGroupsConnectionInternalServerError) Error ¶
func (o *GetConsistencyGroupsConnectionInternalServerError) Error() string
func (*GetConsistencyGroupsConnectionInternalServerError) GetPayload ¶
func (o *GetConsistencyGroupsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetConsistencyGroupsConnectionNotFound ¶
type GetConsistencyGroupsConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetConsistencyGroupsConnectionNotFound ¶
func NewGetConsistencyGroupsConnectionNotFound() *GetConsistencyGroupsConnectionNotFound
NewGetConsistencyGroupsConnectionNotFound creates a GetConsistencyGroupsConnectionNotFound with default headers values
func (*GetConsistencyGroupsConnectionNotFound) Error ¶
func (o *GetConsistencyGroupsConnectionNotFound) Error() string
func (*GetConsistencyGroupsConnectionNotFound) GetPayload ¶
func (o *GetConsistencyGroupsConnectionNotFound) GetPayload() *models.ErrorBody
type GetConsistencyGroupsConnectionOK ¶
type GetConsistencyGroupsConnectionOK struct { XTowerRequestID string Payload *models.ConsistencyGroupConnection }
GetConsistencyGroupsConnectionOK describes a response with status code 200, with default header values.
GetConsistencyGroupsConnectionOK get consistency groups connection o k
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 GetConsistencyGroupsInternalServerError ¶
type GetConsistencyGroupsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetConsistencyGroupsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetConsistencyGroupsInternalServerError ¶
func NewGetConsistencyGroupsInternalServerError() *GetConsistencyGroupsInternalServerError
NewGetConsistencyGroupsInternalServerError creates a GetConsistencyGroupsInternalServerError with default headers values
func (*GetConsistencyGroupsInternalServerError) Error ¶
func (o *GetConsistencyGroupsInternalServerError) Error() string
func (*GetConsistencyGroupsInternalServerError) GetPayload ¶
func (o *GetConsistencyGroupsInternalServerError) GetPayload() *models.ErrorBody
type GetConsistencyGroupsNotFound ¶
GetConsistencyGroupsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetConsistencyGroupsNotFound ¶
func NewGetConsistencyGroupsNotFound() *GetConsistencyGroupsNotFound
NewGetConsistencyGroupsNotFound creates a GetConsistencyGroupsNotFound with default headers values
func (*GetConsistencyGroupsNotFound) Error ¶
func (o *GetConsistencyGroupsNotFound) Error() string
func (*GetConsistencyGroupsNotFound) GetPayload ¶
func (o *GetConsistencyGroupsNotFound) GetPayload() *models.ErrorBody
type GetConsistencyGroupsOK ¶
type GetConsistencyGroupsOK struct { XTowerRequestID string Payload []*models.ConsistencyGroup }
GetConsistencyGroupsOK describes a response with status code 200, with default header values.
GetConsistencyGroupsOK get consistency groups o k
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 ¶
UpdateConsistencyGroupBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type UpdateConsistencyGroupInternalServerError ¶
type UpdateConsistencyGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateConsistencyGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateConsistencyGroupInternalServerError ¶
func NewUpdateConsistencyGroupInternalServerError() *UpdateConsistencyGroupInternalServerError
NewUpdateConsistencyGroupInternalServerError creates a UpdateConsistencyGroupInternalServerError with default headers values
func (*UpdateConsistencyGroupInternalServerError) Error ¶
func (o *UpdateConsistencyGroupInternalServerError) Error() string
func (*UpdateConsistencyGroupInternalServerError) GetPayload ¶
func (o *UpdateConsistencyGroupInternalServerError) GetPayload() *models.ErrorBody
type UpdateConsistencyGroupNotFound ¶
UpdateConsistencyGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateConsistencyGroupNotFound ¶
func NewUpdateConsistencyGroupNotFound() *UpdateConsistencyGroupNotFound
NewUpdateConsistencyGroupNotFound creates a UpdateConsistencyGroupNotFound with default headers values
func (*UpdateConsistencyGroupNotFound) Error ¶
func (o *UpdateConsistencyGroupNotFound) Error() string
func (*UpdateConsistencyGroupNotFound) GetPayload ¶
func (o *UpdateConsistencyGroupNotFound) GetPayload() *models.ErrorBody
type UpdateConsistencyGroupOK ¶
type UpdateConsistencyGroupOK struct { XTowerRequestID string Payload []*models.WithTaskConsistencyGroup }
UpdateConsistencyGroupOK describes a response with status code 200, with default header values.
UpdateConsistencyGroupOK update consistency group o k
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