Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSnapshotPlan(params *CreateSnapshotPlanParams, opts ...ClientOption) (*CreateSnapshotPlanOK, error)
- func (a *Client) DeleteSnapshotPlan(params *DeleteSnapshotPlanParams, opts ...ClientOption) (*DeleteSnapshotPlanOK, error)
- func (a *Client) ExecuteSnapshotPlan(params *ExecuteSnapshotPlanParams, opts ...ClientOption) (*ExecuteSnapshotPlanOK, error)
- func (a *Client) GetSnapshotPlans(params *GetSnapshotPlansParams, opts ...ClientOption) (*GetSnapshotPlansOK, error)
- func (a *Client) GetSnapshotPlansConnection(params *GetSnapshotPlansConnectionParams, opts ...ClientOption) (*GetSnapshotPlansConnectionOK, error)
- func (a *Client) ResumeSnapshotPlan(params *ResumeSnapshotPlanParams, opts ...ClientOption) (*ResumeSnapshotPlanOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SuspendSnapshotPlan(params *SuspendSnapshotPlanParams, opts ...ClientOption) (*SuspendSnapshotPlanOK, error)
- func (a *Client) UpdateSnapshotPlan(params *UpdateSnapshotPlanParams, opts ...ClientOption) (*UpdateSnapshotPlanOK, error)
- type ClientOption
- type ClientService
- type CreateSnapshotPlanBadRequest
- type CreateSnapshotPlanInternalServerError
- type CreateSnapshotPlanNotFound
- type CreateSnapshotPlanOK
- type CreateSnapshotPlanParams
- func NewCreateSnapshotPlanParams() *CreateSnapshotPlanParams
- func NewCreateSnapshotPlanParamsWithContext(ctx context.Context) *CreateSnapshotPlanParams
- func NewCreateSnapshotPlanParamsWithHTTPClient(client *http.Client) *CreateSnapshotPlanParams
- func NewCreateSnapshotPlanParamsWithTimeout(timeout time.Duration) *CreateSnapshotPlanParams
- func (o *CreateSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateSnapshotPlanParams) SetContext(ctx context.Context)
- func (o *CreateSnapshotPlanParams) SetDefaults()
- func (o *CreateSnapshotPlanParams) SetHTTPClient(client *http.Client)
- func (o *CreateSnapshotPlanParams) SetRequestBody(requestBody []*models.SnapshotPlanCreationParams)
- func (o *CreateSnapshotPlanParams) SetTimeout(timeout time.Duration)
- func (o *CreateSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *CreateSnapshotPlanParams
- func (o *CreateSnapshotPlanParams) WithContext(ctx context.Context) *CreateSnapshotPlanParams
- func (o *CreateSnapshotPlanParams) WithDefaults() *CreateSnapshotPlanParams
- func (o *CreateSnapshotPlanParams) WithHTTPClient(client *http.Client) *CreateSnapshotPlanParams
- func (o *CreateSnapshotPlanParams) WithRequestBody(requestBody []*models.SnapshotPlanCreationParams) *CreateSnapshotPlanParams
- func (o *CreateSnapshotPlanParams) WithTimeout(timeout time.Duration) *CreateSnapshotPlanParams
- func (o *CreateSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSnapshotPlanReader
- type DeleteSnapshotPlanBadRequest
- type DeleteSnapshotPlanInternalServerError
- type DeleteSnapshotPlanNotFound
- type DeleteSnapshotPlanOK
- type DeleteSnapshotPlanParams
- func NewDeleteSnapshotPlanParams() *DeleteSnapshotPlanParams
- func NewDeleteSnapshotPlanParamsWithContext(ctx context.Context) *DeleteSnapshotPlanParams
- func NewDeleteSnapshotPlanParamsWithHTTPClient(client *http.Client) *DeleteSnapshotPlanParams
- func NewDeleteSnapshotPlanParamsWithTimeout(timeout time.Duration) *DeleteSnapshotPlanParams
- func (o *DeleteSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteSnapshotPlanParams) SetContext(ctx context.Context)
- func (o *DeleteSnapshotPlanParams) SetDefaults()
- func (o *DeleteSnapshotPlanParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanDeletionParams)
- func (o *DeleteSnapshotPlanParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *DeleteSnapshotPlanParams
- func (o *DeleteSnapshotPlanParams) WithContext(ctx context.Context) *DeleteSnapshotPlanParams
- func (o *DeleteSnapshotPlanParams) WithDefaults() *DeleteSnapshotPlanParams
- func (o *DeleteSnapshotPlanParams) WithHTTPClient(client *http.Client) *DeleteSnapshotPlanParams
- func (o *DeleteSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanDeletionParams) *DeleteSnapshotPlanParams
- func (o *DeleteSnapshotPlanParams) WithTimeout(timeout time.Duration) *DeleteSnapshotPlanParams
- func (o *DeleteSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSnapshotPlanReader
- type ExecuteSnapshotPlanBadRequest
- type ExecuteSnapshotPlanInternalServerError
- type ExecuteSnapshotPlanNotFound
- type ExecuteSnapshotPlanOK
- type ExecuteSnapshotPlanParams
- func NewExecuteSnapshotPlanParams() *ExecuteSnapshotPlanParams
- func NewExecuteSnapshotPlanParamsWithContext(ctx context.Context) *ExecuteSnapshotPlanParams
- func NewExecuteSnapshotPlanParamsWithHTTPClient(client *http.Client) *ExecuteSnapshotPlanParams
- func NewExecuteSnapshotPlanParamsWithTimeout(timeout time.Duration) *ExecuteSnapshotPlanParams
- func (o *ExecuteSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
- func (o *ExecuteSnapshotPlanParams) SetContext(ctx context.Context)
- func (o *ExecuteSnapshotPlanParams) SetDefaults()
- func (o *ExecuteSnapshotPlanParams) SetHTTPClient(client *http.Client)
- func (o *ExecuteSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanExecutionParams)
- func (o *ExecuteSnapshotPlanParams) SetTimeout(timeout time.Duration)
- func (o *ExecuteSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *ExecuteSnapshotPlanParams
- func (o *ExecuteSnapshotPlanParams) WithContext(ctx context.Context) *ExecuteSnapshotPlanParams
- func (o *ExecuteSnapshotPlanParams) WithDefaults() *ExecuteSnapshotPlanParams
- func (o *ExecuteSnapshotPlanParams) WithHTTPClient(client *http.Client) *ExecuteSnapshotPlanParams
- func (o *ExecuteSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanExecutionParams) *ExecuteSnapshotPlanParams
- func (o *ExecuteSnapshotPlanParams) WithTimeout(timeout time.Duration) *ExecuteSnapshotPlanParams
- func (o *ExecuteSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecuteSnapshotPlanReader
- type GetSnapshotPlansBadRequest
- type GetSnapshotPlansConnectionBadRequest
- type GetSnapshotPlansConnectionInternalServerError
- type GetSnapshotPlansConnectionNotFound
- type GetSnapshotPlansConnectionOK
- type GetSnapshotPlansConnectionParams
- func NewGetSnapshotPlansConnectionParams() *GetSnapshotPlansConnectionParams
- func NewGetSnapshotPlansConnectionParamsWithContext(ctx context.Context) *GetSnapshotPlansConnectionParams
- func NewGetSnapshotPlansConnectionParamsWithHTTPClient(client *http.Client) *GetSnapshotPlansConnectionParams
- func NewGetSnapshotPlansConnectionParamsWithTimeout(timeout time.Duration) *GetSnapshotPlansConnectionParams
- func (o *GetSnapshotPlansConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSnapshotPlansConnectionParams) SetContext(ctx context.Context)
- func (o *GetSnapshotPlansConnectionParams) SetDefaults()
- func (o *GetSnapshotPlansConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotPlansConnectionParams) SetRequestBody(requestBody *models.GetSnapshotPlansConnectionRequestBody)
- func (o *GetSnapshotPlansConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotPlansConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnapshotPlansConnectionParams
- func (o *GetSnapshotPlansConnectionParams) WithContext(ctx context.Context) *GetSnapshotPlansConnectionParams
- func (o *GetSnapshotPlansConnectionParams) WithDefaults() *GetSnapshotPlansConnectionParams
- func (o *GetSnapshotPlansConnectionParams) WithHTTPClient(client *http.Client) *GetSnapshotPlansConnectionParams
- func (o *GetSnapshotPlansConnectionParams) WithRequestBody(requestBody *models.GetSnapshotPlansConnectionRequestBody) *GetSnapshotPlansConnectionParams
- func (o *GetSnapshotPlansConnectionParams) WithTimeout(timeout time.Duration) *GetSnapshotPlansConnectionParams
- func (o *GetSnapshotPlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotPlansConnectionReader
- type GetSnapshotPlansInternalServerError
- type GetSnapshotPlansNotFound
- type GetSnapshotPlansOK
- type GetSnapshotPlansParams
- func NewGetSnapshotPlansParams() *GetSnapshotPlansParams
- func NewGetSnapshotPlansParamsWithContext(ctx context.Context) *GetSnapshotPlansParams
- func NewGetSnapshotPlansParamsWithHTTPClient(client *http.Client) *GetSnapshotPlansParams
- func NewGetSnapshotPlansParamsWithTimeout(timeout time.Duration) *GetSnapshotPlansParams
- func (o *GetSnapshotPlansParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSnapshotPlansParams) SetContext(ctx context.Context)
- func (o *GetSnapshotPlansParams) SetDefaults()
- func (o *GetSnapshotPlansParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotPlansParams) SetRequestBody(requestBody *models.GetSnapshotPlansRequestBody)
- func (o *GetSnapshotPlansParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotPlansParams) WithContentLanguage(contentLanguage *string) *GetSnapshotPlansParams
- func (o *GetSnapshotPlansParams) WithContext(ctx context.Context) *GetSnapshotPlansParams
- func (o *GetSnapshotPlansParams) WithDefaults() *GetSnapshotPlansParams
- func (o *GetSnapshotPlansParams) WithHTTPClient(client *http.Client) *GetSnapshotPlansParams
- func (o *GetSnapshotPlansParams) WithRequestBody(requestBody *models.GetSnapshotPlansRequestBody) *GetSnapshotPlansParams
- func (o *GetSnapshotPlansParams) WithTimeout(timeout time.Duration) *GetSnapshotPlansParams
- func (o *GetSnapshotPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotPlansReader
- type ResumeSnapshotPlanBadRequest
- type ResumeSnapshotPlanInternalServerError
- type ResumeSnapshotPlanNotFound
- type ResumeSnapshotPlanOK
- type ResumeSnapshotPlanParams
- func NewResumeSnapshotPlanParams() *ResumeSnapshotPlanParams
- func NewResumeSnapshotPlanParamsWithContext(ctx context.Context) *ResumeSnapshotPlanParams
- func NewResumeSnapshotPlanParamsWithHTTPClient(client *http.Client) *ResumeSnapshotPlanParams
- func NewResumeSnapshotPlanParamsWithTimeout(timeout time.Duration) *ResumeSnapshotPlanParams
- func (o *ResumeSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
- func (o *ResumeSnapshotPlanParams) SetContext(ctx context.Context)
- func (o *ResumeSnapshotPlanParams) SetDefaults()
- func (o *ResumeSnapshotPlanParams) SetHTTPClient(client *http.Client)
- func (o *ResumeSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanResumeParams)
- func (o *ResumeSnapshotPlanParams) SetTimeout(timeout time.Duration)
- func (o *ResumeSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *ResumeSnapshotPlanParams
- func (o *ResumeSnapshotPlanParams) WithContext(ctx context.Context) *ResumeSnapshotPlanParams
- func (o *ResumeSnapshotPlanParams) WithDefaults() *ResumeSnapshotPlanParams
- func (o *ResumeSnapshotPlanParams) WithHTTPClient(client *http.Client) *ResumeSnapshotPlanParams
- func (o *ResumeSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanResumeParams) *ResumeSnapshotPlanParams
- func (o *ResumeSnapshotPlanParams) WithTimeout(timeout time.Duration) *ResumeSnapshotPlanParams
- func (o *ResumeSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResumeSnapshotPlanReader
- type SuspendSnapshotPlanBadRequest
- type SuspendSnapshotPlanInternalServerError
- type SuspendSnapshotPlanNotFound
- type SuspendSnapshotPlanOK
- type SuspendSnapshotPlanParams
- func NewSuspendSnapshotPlanParams() *SuspendSnapshotPlanParams
- func NewSuspendSnapshotPlanParamsWithContext(ctx context.Context) *SuspendSnapshotPlanParams
- func NewSuspendSnapshotPlanParamsWithHTTPClient(client *http.Client) *SuspendSnapshotPlanParams
- func NewSuspendSnapshotPlanParamsWithTimeout(timeout time.Duration) *SuspendSnapshotPlanParams
- func (o *SuspendSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
- func (o *SuspendSnapshotPlanParams) SetContext(ctx context.Context)
- func (o *SuspendSnapshotPlanParams) SetDefaults()
- func (o *SuspendSnapshotPlanParams) SetHTTPClient(client *http.Client)
- func (o *SuspendSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanSuspendedParams)
- func (o *SuspendSnapshotPlanParams) SetTimeout(timeout time.Duration)
- func (o *SuspendSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *SuspendSnapshotPlanParams
- func (o *SuspendSnapshotPlanParams) WithContext(ctx context.Context) *SuspendSnapshotPlanParams
- func (o *SuspendSnapshotPlanParams) WithDefaults() *SuspendSnapshotPlanParams
- func (o *SuspendSnapshotPlanParams) WithHTTPClient(client *http.Client) *SuspendSnapshotPlanParams
- func (o *SuspendSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanSuspendedParams) *SuspendSnapshotPlanParams
- func (o *SuspendSnapshotPlanParams) WithTimeout(timeout time.Duration) *SuspendSnapshotPlanParams
- func (o *SuspendSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SuspendSnapshotPlanReader
- type UpdateSnapshotPlanBadRequest
- type UpdateSnapshotPlanInternalServerError
- type UpdateSnapshotPlanNotFound
- type UpdateSnapshotPlanOK
- type UpdateSnapshotPlanParams
- func NewUpdateSnapshotPlanParams() *UpdateSnapshotPlanParams
- func NewUpdateSnapshotPlanParamsWithContext(ctx context.Context) *UpdateSnapshotPlanParams
- func NewUpdateSnapshotPlanParamsWithHTTPClient(client *http.Client) *UpdateSnapshotPlanParams
- func NewUpdateSnapshotPlanParamsWithTimeout(timeout time.Duration) *UpdateSnapshotPlanParams
- func (o *UpdateSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateSnapshotPlanParams) SetContext(ctx context.Context)
- func (o *UpdateSnapshotPlanParams) SetDefaults()
- func (o *UpdateSnapshotPlanParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanUpdationParams)
- func (o *UpdateSnapshotPlanParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *UpdateSnapshotPlanParams
- func (o *UpdateSnapshotPlanParams) WithContext(ctx context.Context) *UpdateSnapshotPlanParams
- func (o *UpdateSnapshotPlanParams) WithDefaults() *UpdateSnapshotPlanParams
- func (o *UpdateSnapshotPlanParams) WithHTTPClient(client *http.Client) *UpdateSnapshotPlanParams
- func (o *UpdateSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanUpdationParams) *UpdateSnapshotPlanParams
- func (o *UpdateSnapshotPlanParams) WithTimeout(timeout time.Duration) *UpdateSnapshotPlanParams
- func (o *UpdateSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSnapshotPlanReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for snapshot plan API
func (*Client) CreateSnapshotPlan ¶
func (a *Client) CreateSnapshotPlan(params *CreateSnapshotPlanParams, opts ...ClientOption) (*CreateSnapshotPlanOK, error)
CreateSnapshotPlan create snapshot plan API
func (*Client) DeleteSnapshotPlan ¶
func (a *Client) DeleteSnapshotPlan(params *DeleteSnapshotPlanParams, opts ...ClientOption) (*DeleteSnapshotPlanOK, error)
DeleteSnapshotPlan delete snapshot plan API
func (*Client) ExecuteSnapshotPlan ¶
func (a *Client) ExecuteSnapshotPlan(params *ExecuteSnapshotPlanParams, opts ...ClientOption) (*ExecuteSnapshotPlanOK, error)
ExecuteSnapshotPlan execute snapshot plan API
func (*Client) GetSnapshotPlans ¶
func (a *Client) GetSnapshotPlans(params *GetSnapshotPlansParams, opts ...ClientOption) (*GetSnapshotPlansOK, error)
GetSnapshotPlans get snapshot plans API
func (*Client) GetSnapshotPlansConnection ¶
func (a *Client) GetSnapshotPlansConnection(params *GetSnapshotPlansConnectionParams, opts ...ClientOption) (*GetSnapshotPlansConnectionOK, error)
GetSnapshotPlansConnection get snapshot plans connection API
func (*Client) ResumeSnapshotPlan ¶
func (a *Client) ResumeSnapshotPlan(params *ResumeSnapshotPlanParams, opts ...ClientOption) (*ResumeSnapshotPlanOK, error)
ResumeSnapshotPlan resume snapshot plan API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SuspendSnapshotPlan ¶
func (a *Client) SuspendSnapshotPlan(params *SuspendSnapshotPlanParams, opts ...ClientOption) (*SuspendSnapshotPlanOK, error)
SuspendSnapshotPlan suspend snapshot plan API
func (*Client) UpdateSnapshotPlan ¶
func (a *Client) UpdateSnapshotPlan(params *UpdateSnapshotPlanParams, opts ...ClientOption) (*UpdateSnapshotPlanOK, error)
UpdateSnapshotPlan update snapshot plan API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSnapshotPlan(params *CreateSnapshotPlanParams, opts ...ClientOption) (*CreateSnapshotPlanOK, error) DeleteSnapshotPlan(params *DeleteSnapshotPlanParams, opts ...ClientOption) (*DeleteSnapshotPlanOK, error) ExecuteSnapshotPlan(params *ExecuteSnapshotPlanParams, opts ...ClientOption) (*ExecuteSnapshotPlanOK, error) GetSnapshotPlans(params *GetSnapshotPlansParams, opts ...ClientOption) (*GetSnapshotPlansOK, error) GetSnapshotPlansConnection(params *GetSnapshotPlansConnectionParams, opts ...ClientOption) (*GetSnapshotPlansConnectionOK, error) ResumeSnapshotPlan(params *ResumeSnapshotPlanParams, opts ...ClientOption) (*ResumeSnapshotPlanOK, error) SuspendSnapshotPlan(params *SuspendSnapshotPlanParams, opts ...ClientOption) (*SuspendSnapshotPlanOK, error) UpdateSnapshotPlan(params *UpdateSnapshotPlanParams, opts ...ClientOption) (*UpdateSnapshotPlanOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new snapshot plan API client.
type CreateSnapshotPlanBadRequest ¶
CreateSnapshotPlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateSnapshotPlanBadRequest ¶
func NewCreateSnapshotPlanBadRequest() *CreateSnapshotPlanBadRequest
NewCreateSnapshotPlanBadRequest creates a CreateSnapshotPlanBadRequest with default headers values
func (*CreateSnapshotPlanBadRequest) Error ¶
func (o *CreateSnapshotPlanBadRequest) Error() string
func (*CreateSnapshotPlanBadRequest) GetPayload ¶
func (o *CreateSnapshotPlanBadRequest) GetPayload() *models.ErrorBody
type CreateSnapshotPlanInternalServerError ¶
type CreateSnapshotPlanInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateSnapshotPlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateSnapshotPlanInternalServerError ¶
func NewCreateSnapshotPlanInternalServerError() *CreateSnapshotPlanInternalServerError
NewCreateSnapshotPlanInternalServerError creates a CreateSnapshotPlanInternalServerError with default headers values
func (*CreateSnapshotPlanInternalServerError) Error ¶
func (o *CreateSnapshotPlanInternalServerError) Error() string
func (*CreateSnapshotPlanInternalServerError) GetPayload ¶
func (o *CreateSnapshotPlanInternalServerError) GetPayload() *models.ErrorBody
type CreateSnapshotPlanNotFound ¶
CreateSnapshotPlanNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateSnapshotPlanNotFound ¶
func NewCreateSnapshotPlanNotFound() *CreateSnapshotPlanNotFound
NewCreateSnapshotPlanNotFound creates a CreateSnapshotPlanNotFound with default headers values
func (*CreateSnapshotPlanNotFound) Error ¶
func (o *CreateSnapshotPlanNotFound) Error() string
func (*CreateSnapshotPlanNotFound) GetPayload ¶
func (o *CreateSnapshotPlanNotFound) GetPayload() *models.ErrorBody
type CreateSnapshotPlanOK ¶
type CreateSnapshotPlanOK struct { XTowerRequestID string Payload []*models.WithTaskSnapshotPlan }
CreateSnapshotPlanOK describes a response with status code 200, with default header values.
CreateSnapshotPlanOK create snapshot plan o k
func NewCreateSnapshotPlanOK ¶
func NewCreateSnapshotPlanOK() *CreateSnapshotPlanOK
NewCreateSnapshotPlanOK creates a CreateSnapshotPlanOK with default headers values
func (*CreateSnapshotPlanOK) Error ¶
func (o *CreateSnapshotPlanOK) Error() string
func (*CreateSnapshotPlanOK) GetPayload ¶
func (o *CreateSnapshotPlanOK) GetPayload() []*models.WithTaskSnapshotPlan
type CreateSnapshotPlanParams ¶
type CreateSnapshotPlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.SnapshotPlanCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSnapshotPlanParams contains all the parameters to send to the API endpoint
for the create snapshot plan operation. Typically these are written to a http.Request.
func NewCreateSnapshotPlanParams ¶
func NewCreateSnapshotPlanParams() *CreateSnapshotPlanParams
NewCreateSnapshotPlanParams creates a new CreateSnapshotPlanParams 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 NewCreateSnapshotPlanParamsWithContext ¶
func NewCreateSnapshotPlanParamsWithContext(ctx context.Context) *CreateSnapshotPlanParams
NewCreateSnapshotPlanParamsWithContext creates a new CreateSnapshotPlanParams object with the ability to set a context for a request.
func NewCreateSnapshotPlanParamsWithHTTPClient ¶
func NewCreateSnapshotPlanParamsWithHTTPClient(client *http.Client) *CreateSnapshotPlanParams
NewCreateSnapshotPlanParamsWithHTTPClient creates a new CreateSnapshotPlanParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSnapshotPlanParamsWithTimeout ¶
func NewCreateSnapshotPlanParamsWithTimeout(timeout time.Duration) *CreateSnapshotPlanParams
NewCreateSnapshotPlanParamsWithTimeout creates a new CreateSnapshotPlanParams object with the ability to set a timeout on a request.
func (*CreateSnapshotPlanParams) SetContentLanguage ¶
func (o *CreateSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create snapshot plan params
func (*CreateSnapshotPlanParams) SetContext ¶
func (o *CreateSnapshotPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the create snapshot plan params
func (*CreateSnapshotPlanParams) SetDefaults ¶
func (o *CreateSnapshotPlanParams) SetDefaults()
SetDefaults hydrates default values in the create snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSnapshotPlanParams) SetHTTPClient ¶
func (o *CreateSnapshotPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create snapshot plan params
func (*CreateSnapshotPlanParams) SetRequestBody ¶
func (o *CreateSnapshotPlanParams) SetRequestBody(requestBody []*models.SnapshotPlanCreationParams)
SetRequestBody adds the requestBody to the create snapshot plan params
func (*CreateSnapshotPlanParams) SetTimeout ¶
func (o *CreateSnapshotPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create snapshot plan params
func (*CreateSnapshotPlanParams) WithContentLanguage ¶
func (o *CreateSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *CreateSnapshotPlanParams
WithContentLanguage adds the contentLanguage to the create snapshot plan params
func (*CreateSnapshotPlanParams) WithContext ¶
func (o *CreateSnapshotPlanParams) WithContext(ctx context.Context) *CreateSnapshotPlanParams
WithContext adds the context to the create snapshot plan params
func (*CreateSnapshotPlanParams) WithDefaults ¶
func (o *CreateSnapshotPlanParams) WithDefaults() *CreateSnapshotPlanParams
WithDefaults hydrates default values in the create snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSnapshotPlanParams) WithHTTPClient ¶
func (o *CreateSnapshotPlanParams) WithHTTPClient(client *http.Client) *CreateSnapshotPlanParams
WithHTTPClient adds the HTTPClient to the create snapshot plan params
func (*CreateSnapshotPlanParams) WithRequestBody ¶
func (o *CreateSnapshotPlanParams) WithRequestBody(requestBody []*models.SnapshotPlanCreationParams) *CreateSnapshotPlanParams
WithRequestBody adds the requestBody to the create snapshot plan params
func (*CreateSnapshotPlanParams) WithTimeout ¶
func (o *CreateSnapshotPlanParams) WithTimeout(timeout time.Duration) *CreateSnapshotPlanParams
WithTimeout adds the timeout to the create snapshot plan params
func (*CreateSnapshotPlanParams) WriteToRequest ¶
func (o *CreateSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSnapshotPlanReader ¶
type CreateSnapshotPlanReader struct {
// contains filtered or unexported fields
}
CreateSnapshotPlanReader is a Reader for the CreateSnapshotPlan structure.
func (*CreateSnapshotPlanReader) ReadResponse ¶
func (o *CreateSnapshotPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSnapshotPlanBadRequest ¶
DeleteSnapshotPlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteSnapshotPlanBadRequest ¶
func NewDeleteSnapshotPlanBadRequest() *DeleteSnapshotPlanBadRequest
NewDeleteSnapshotPlanBadRequest creates a DeleteSnapshotPlanBadRequest with default headers values
func (*DeleteSnapshotPlanBadRequest) Error ¶
func (o *DeleteSnapshotPlanBadRequest) Error() string
func (*DeleteSnapshotPlanBadRequest) GetPayload ¶
func (o *DeleteSnapshotPlanBadRequest) GetPayload() *models.ErrorBody
type DeleteSnapshotPlanInternalServerError ¶
type DeleteSnapshotPlanInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteSnapshotPlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteSnapshotPlanInternalServerError ¶
func NewDeleteSnapshotPlanInternalServerError() *DeleteSnapshotPlanInternalServerError
NewDeleteSnapshotPlanInternalServerError creates a DeleteSnapshotPlanInternalServerError with default headers values
func (*DeleteSnapshotPlanInternalServerError) Error ¶
func (o *DeleteSnapshotPlanInternalServerError) Error() string
func (*DeleteSnapshotPlanInternalServerError) GetPayload ¶
func (o *DeleteSnapshotPlanInternalServerError) GetPayload() *models.ErrorBody
type DeleteSnapshotPlanNotFound ¶
DeleteSnapshotPlanNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteSnapshotPlanNotFound ¶
func NewDeleteSnapshotPlanNotFound() *DeleteSnapshotPlanNotFound
NewDeleteSnapshotPlanNotFound creates a DeleteSnapshotPlanNotFound with default headers values
func (*DeleteSnapshotPlanNotFound) Error ¶
func (o *DeleteSnapshotPlanNotFound) Error() string
func (*DeleteSnapshotPlanNotFound) GetPayload ¶
func (o *DeleteSnapshotPlanNotFound) GetPayload() *models.ErrorBody
type DeleteSnapshotPlanOK ¶
type DeleteSnapshotPlanOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteSnapshotPlan }
DeleteSnapshotPlanOK describes a response with status code 200, with default header values.
DeleteSnapshotPlanOK delete snapshot plan o k
func NewDeleteSnapshotPlanOK ¶
func NewDeleteSnapshotPlanOK() *DeleteSnapshotPlanOK
NewDeleteSnapshotPlanOK creates a DeleteSnapshotPlanOK with default headers values
func (*DeleteSnapshotPlanOK) Error ¶
func (o *DeleteSnapshotPlanOK) Error() string
func (*DeleteSnapshotPlanOK) GetPayload ¶
func (o *DeleteSnapshotPlanOK) GetPayload() []*models.WithTaskDeleteSnapshotPlan
type DeleteSnapshotPlanParams ¶
type DeleteSnapshotPlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotPlanDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSnapshotPlanParams contains all the parameters to send to the API endpoint
for the delete snapshot plan operation. Typically these are written to a http.Request.
func NewDeleteSnapshotPlanParams ¶
func NewDeleteSnapshotPlanParams() *DeleteSnapshotPlanParams
NewDeleteSnapshotPlanParams creates a new DeleteSnapshotPlanParams 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 NewDeleteSnapshotPlanParamsWithContext ¶
func NewDeleteSnapshotPlanParamsWithContext(ctx context.Context) *DeleteSnapshotPlanParams
NewDeleteSnapshotPlanParamsWithContext creates a new DeleteSnapshotPlanParams object with the ability to set a context for a request.
func NewDeleteSnapshotPlanParamsWithHTTPClient ¶
func NewDeleteSnapshotPlanParamsWithHTTPClient(client *http.Client) *DeleteSnapshotPlanParams
NewDeleteSnapshotPlanParamsWithHTTPClient creates a new DeleteSnapshotPlanParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSnapshotPlanParamsWithTimeout ¶
func NewDeleteSnapshotPlanParamsWithTimeout(timeout time.Duration) *DeleteSnapshotPlanParams
NewDeleteSnapshotPlanParamsWithTimeout creates a new DeleteSnapshotPlanParams object with the ability to set a timeout on a request.
func (*DeleteSnapshotPlanParams) SetContentLanguage ¶
func (o *DeleteSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) SetContext ¶
func (o *DeleteSnapshotPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) SetDefaults ¶
func (o *DeleteSnapshotPlanParams) SetDefaults()
SetDefaults hydrates default values in the delete snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotPlanParams) SetHTTPClient ¶
func (o *DeleteSnapshotPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) SetRequestBody ¶
func (o *DeleteSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanDeletionParams)
SetRequestBody adds the requestBody to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) SetTimeout ¶
func (o *DeleteSnapshotPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) WithContentLanguage ¶
func (o *DeleteSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *DeleteSnapshotPlanParams
WithContentLanguage adds the contentLanguage to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) WithContext ¶
func (o *DeleteSnapshotPlanParams) WithContext(ctx context.Context) *DeleteSnapshotPlanParams
WithContext adds the context to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) WithDefaults ¶
func (o *DeleteSnapshotPlanParams) WithDefaults() *DeleteSnapshotPlanParams
WithDefaults hydrates default values in the delete snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotPlanParams) WithHTTPClient ¶
func (o *DeleteSnapshotPlanParams) WithHTTPClient(client *http.Client) *DeleteSnapshotPlanParams
WithHTTPClient adds the HTTPClient to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) WithRequestBody ¶
func (o *DeleteSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanDeletionParams) *DeleteSnapshotPlanParams
WithRequestBody adds the requestBody to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) WithTimeout ¶
func (o *DeleteSnapshotPlanParams) WithTimeout(timeout time.Duration) *DeleteSnapshotPlanParams
WithTimeout adds the timeout to the delete snapshot plan params
func (*DeleteSnapshotPlanParams) WriteToRequest ¶
func (o *DeleteSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSnapshotPlanReader ¶
type DeleteSnapshotPlanReader struct {
// contains filtered or unexported fields
}
DeleteSnapshotPlanReader is a Reader for the DeleteSnapshotPlan structure.
func (*DeleteSnapshotPlanReader) ReadResponse ¶
func (o *DeleteSnapshotPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExecuteSnapshotPlanBadRequest ¶
ExecuteSnapshotPlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewExecuteSnapshotPlanBadRequest ¶
func NewExecuteSnapshotPlanBadRequest() *ExecuteSnapshotPlanBadRequest
NewExecuteSnapshotPlanBadRequest creates a ExecuteSnapshotPlanBadRequest with default headers values
func (*ExecuteSnapshotPlanBadRequest) Error ¶
func (o *ExecuteSnapshotPlanBadRequest) Error() string
func (*ExecuteSnapshotPlanBadRequest) GetPayload ¶
func (o *ExecuteSnapshotPlanBadRequest) GetPayload() *models.ErrorBody
type ExecuteSnapshotPlanInternalServerError ¶
type ExecuteSnapshotPlanInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ExecuteSnapshotPlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewExecuteSnapshotPlanInternalServerError ¶
func NewExecuteSnapshotPlanInternalServerError() *ExecuteSnapshotPlanInternalServerError
NewExecuteSnapshotPlanInternalServerError creates a ExecuteSnapshotPlanInternalServerError with default headers values
func (*ExecuteSnapshotPlanInternalServerError) Error ¶
func (o *ExecuteSnapshotPlanInternalServerError) Error() string
func (*ExecuteSnapshotPlanInternalServerError) GetPayload ¶
func (o *ExecuteSnapshotPlanInternalServerError) GetPayload() *models.ErrorBody
type ExecuteSnapshotPlanNotFound ¶
ExecuteSnapshotPlanNotFound describes a response with status code 404, with default header values.
Not found
func NewExecuteSnapshotPlanNotFound ¶
func NewExecuteSnapshotPlanNotFound() *ExecuteSnapshotPlanNotFound
NewExecuteSnapshotPlanNotFound creates a ExecuteSnapshotPlanNotFound with default headers values
func (*ExecuteSnapshotPlanNotFound) Error ¶
func (o *ExecuteSnapshotPlanNotFound) Error() string
func (*ExecuteSnapshotPlanNotFound) GetPayload ¶
func (o *ExecuteSnapshotPlanNotFound) GetPayload() *models.ErrorBody
type ExecuteSnapshotPlanOK ¶
type ExecuteSnapshotPlanOK struct { XTowerRequestID string Payload []*models.WithTaskSnapshotPlan }
ExecuteSnapshotPlanOK describes a response with status code 200, with default header values.
ExecuteSnapshotPlanOK execute snapshot plan o k
func NewExecuteSnapshotPlanOK ¶
func NewExecuteSnapshotPlanOK() *ExecuteSnapshotPlanOK
NewExecuteSnapshotPlanOK creates a ExecuteSnapshotPlanOK with default headers values
func (*ExecuteSnapshotPlanOK) Error ¶
func (o *ExecuteSnapshotPlanOK) Error() string
func (*ExecuteSnapshotPlanOK) GetPayload ¶
func (o *ExecuteSnapshotPlanOK) GetPayload() []*models.WithTaskSnapshotPlan
type ExecuteSnapshotPlanParams ¶
type ExecuteSnapshotPlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotPlanExecutionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExecuteSnapshotPlanParams contains all the parameters to send to the API endpoint
for the execute snapshot plan operation. Typically these are written to a http.Request.
func NewExecuteSnapshotPlanParams ¶
func NewExecuteSnapshotPlanParams() *ExecuteSnapshotPlanParams
NewExecuteSnapshotPlanParams creates a new ExecuteSnapshotPlanParams 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 NewExecuteSnapshotPlanParamsWithContext ¶
func NewExecuteSnapshotPlanParamsWithContext(ctx context.Context) *ExecuteSnapshotPlanParams
NewExecuteSnapshotPlanParamsWithContext creates a new ExecuteSnapshotPlanParams object with the ability to set a context for a request.
func NewExecuteSnapshotPlanParamsWithHTTPClient ¶
func NewExecuteSnapshotPlanParamsWithHTTPClient(client *http.Client) *ExecuteSnapshotPlanParams
NewExecuteSnapshotPlanParamsWithHTTPClient creates a new ExecuteSnapshotPlanParams object with the ability to set a custom HTTPClient for a request.
func NewExecuteSnapshotPlanParamsWithTimeout ¶
func NewExecuteSnapshotPlanParamsWithTimeout(timeout time.Duration) *ExecuteSnapshotPlanParams
NewExecuteSnapshotPlanParamsWithTimeout creates a new ExecuteSnapshotPlanParams object with the ability to set a timeout on a request.
func (*ExecuteSnapshotPlanParams) SetContentLanguage ¶
func (o *ExecuteSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) SetContext ¶
func (o *ExecuteSnapshotPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) SetDefaults ¶
func (o *ExecuteSnapshotPlanParams) SetDefaults()
SetDefaults hydrates default values in the execute snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*ExecuteSnapshotPlanParams) SetHTTPClient ¶
func (o *ExecuteSnapshotPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) SetRequestBody ¶
func (o *ExecuteSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanExecutionParams)
SetRequestBody adds the requestBody to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) SetTimeout ¶
func (o *ExecuteSnapshotPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) WithContentLanguage ¶
func (o *ExecuteSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *ExecuteSnapshotPlanParams
WithContentLanguage adds the contentLanguage to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) WithContext ¶
func (o *ExecuteSnapshotPlanParams) WithContext(ctx context.Context) *ExecuteSnapshotPlanParams
WithContext adds the context to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) WithDefaults ¶
func (o *ExecuteSnapshotPlanParams) WithDefaults() *ExecuteSnapshotPlanParams
WithDefaults hydrates default values in the execute snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*ExecuteSnapshotPlanParams) WithHTTPClient ¶
func (o *ExecuteSnapshotPlanParams) WithHTTPClient(client *http.Client) *ExecuteSnapshotPlanParams
WithHTTPClient adds the HTTPClient to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) WithRequestBody ¶
func (o *ExecuteSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanExecutionParams) *ExecuteSnapshotPlanParams
WithRequestBody adds the requestBody to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) WithTimeout ¶
func (o *ExecuteSnapshotPlanParams) WithTimeout(timeout time.Duration) *ExecuteSnapshotPlanParams
WithTimeout adds the timeout to the execute snapshot plan params
func (*ExecuteSnapshotPlanParams) WriteToRequest ¶
func (o *ExecuteSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecuteSnapshotPlanReader ¶
type ExecuteSnapshotPlanReader struct {
// contains filtered or unexported fields
}
ExecuteSnapshotPlanReader is a Reader for the ExecuteSnapshotPlan structure.
func (*ExecuteSnapshotPlanReader) ReadResponse ¶
func (o *ExecuteSnapshotPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnapshotPlansBadRequest ¶
GetSnapshotPlansBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSnapshotPlansBadRequest ¶
func NewGetSnapshotPlansBadRequest() *GetSnapshotPlansBadRequest
NewGetSnapshotPlansBadRequest creates a GetSnapshotPlansBadRequest with default headers values
func (*GetSnapshotPlansBadRequest) Error ¶
func (o *GetSnapshotPlansBadRequest) Error() string
func (*GetSnapshotPlansBadRequest) GetPayload ¶
func (o *GetSnapshotPlansBadRequest) GetPayload() *models.ErrorBody
type GetSnapshotPlansConnectionBadRequest ¶
type GetSnapshotPlansConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetSnapshotPlansConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSnapshotPlansConnectionBadRequest ¶
func NewGetSnapshotPlansConnectionBadRequest() *GetSnapshotPlansConnectionBadRequest
NewGetSnapshotPlansConnectionBadRequest creates a GetSnapshotPlansConnectionBadRequest with default headers values
func (*GetSnapshotPlansConnectionBadRequest) Error ¶
func (o *GetSnapshotPlansConnectionBadRequest) Error() string
func (*GetSnapshotPlansConnectionBadRequest) GetPayload ¶
func (o *GetSnapshotPlansConnectionBadRequest) GetPayload() *models.ErrorBody
type GetSnapshotPlansConnectionInternalServerError ¶
type GetSnapshotPlansConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSnapshotPlansConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSnapshotPlansConnectionInternalServerError ¶
func NewGetSnapshotPlansConnectionInternalServerError() *GetSnapshotPlansConnectionInternalServerError
NewGetSnapshotPlansConnectionInternalServerError creates a GetSnapshotPlansConnectionInternalServerError with default headers values
func (*GetSnapshotPlansConnectionInternalServerError) Error ¶
func (o *GetSnapshotPlansConnectionInternalServerError) Error() string
func (*GetSnapshotPlansConnectionInternalServerError) GetPayload ¶
func (o *GetSnapshotPlansConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetSnapshotPlansConnectionNotFound ¶
GetSnapshotPlansConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSnapshotPlansConnectionNotFound ¶
func NewGetSnapshotPlansConnectionNotFound() *GetSnapshotPlansConnectionNotFound
NewGetSnapshotPlansConnectionNotFound creates a GetSnapshotPlansConnectionNotFound with default headers values
func (*GetSnapshotPlansConnectionNotFound) Error ¶
func (o *GetSnapshotPlansConnectionNotFound) Error() string
func (*GetSnapshotPlansConnectionNotFound) GetPayload ¶
func (o *GetSnapshotPlansConnectionNotFound) GetPayload() *models.ErrorBody
type GetSnapshotPlansConnectionOK ¶
type GetSnapshotPlansConnectionOK struct { XTowerRequestID string Payload *models.SnapshotPlanConnection }
GetSnapshotPlansConnectionOK describes a response with status code 200, with default header values.
GetSnapshotPlansConnectionOK get snapshot plans connection o k
func NewGetSnapshotPlansConnectionOK ¶
func NewGetSnapshotPlansConnectionOK() *GetSnapshotPlansConnectionOK
NewGetSnapshotPlansConnectionOK creates a GetSnapshotPlansConnectionOK with default headers values
func (*GetSnapshotPlansConnectionOK) Error ¶
func (o *GetSnapshotPlansConnectionOK) Error() string
func (*GetSnapshotPlansConnectionOK) GetPayload ¶
func (o *GetSnapshotPlansConnectionOK) GetPayload() *models.SnapshotPlanConnection
type GetSnapshotPlansConnectionParams ¶
type GetSnapshotPlansConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSnapshotPlansConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnapshotPlansConnectionParams contains all the parameters to send to the API endpoint
for the get snapshot plans connection operation. Typically these are written to a http.Request.
func NewGetSnapshotPlansConnectionParams ¶
func NewGetSnapshotPlansConnectionParams() *GetSnapshotPlansConnectionParams
NewGetSnapshotPlansConnectionParams creates a new GetSnapshotPlansConnectionParams 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 NewGetSnapshotPlansConnectionParamsWithContext ¶
func NewGetSnapshotPlansConnectionParamsWithContext(ctx context.Context) *GetSnapshotPlansConnectionParams
NewGetSnapshotPlansConnectionParamsWithContext creates a new GetSnapshotPlansConnectionParams object with the ability to set a context for a request.
func NewGetSnapshotPlansConnectionParamsWithHTTPClient ¶
func NewGetSnapshotPlansConnectionParamsWithHTTPClient(client *http.Client) *GetSnapshotPlansConnectionParams
NewGetSnapshotPlansConnectionParamsWithHTTPClient creates a new GetSnapshotPlansConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnapshotPlansConnectionParamsWithTimeout ¶
func NewGetSnapshotPlansConnectionParamsWithTimeout(timeout time.Duration) *GetSnapshotPlansConnectionParams
NewGetSnapshotPlansConnectionParamsWithTimeout creates a new GetSnapshotPlansConnectionParams object with the ability to set a timeout on a request.
func (*GetSnapshotPlansConnectionParams) SetContentLanguage ¶
func (o *GetSnapshotPlansConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) SetContext ¶
func (o *GetSnapshotPlansConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) SetDefaults ¶
func (o *GetSnapshotPlansConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot plans connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotPlansConnectionParams) SetHTTPClient ¶
func (o *GetSnapshotPlansConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) SetRequestBody ¶
func (o *GetSnapshotPlansConnectionParams) SetRequestBody(requestBody *models.GetSnapshotPlansConnectionRequestBody)
SetRequestBody adds the requestBody to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) SetTimeout ¶
func (o *GetSnapshotPlansConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) WithContentLanguage ¶
func (o *GetSnapshotPlansConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnapshotPlansConnectionParams
WithContentLanguage adds the contentLanguage to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) WithContext ¶
func (o *GetSnapshotPlansConnectionParams) WithContext(ctx context.Context) *GetSnapshotPlansConnectionParams
WithContext adds the context to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) WithDefaults ¶
func (o *GetSnapshotPlansConnectionParams) WithDefaults() *GetSnapshotPlansConnectionParams
WithDefaults hydrates default values in the get snapshot plans connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotPlansConnectionParams) WithHTTPClient ¶
func (o *GetSnapshotPlansConnectionParams) WithHTTPClient(client *http.Client) *GetSnapshotPlansConnectionParams
WithHTTPClient adds the HTTPClient to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) WithRequestBody ¶
func (o *GetSnapshotPlansConnectionParams) WithRequestBody(requestBody *models.GetSnapshotPlansConnectionRequestBody) *GetSnapshotPlansConnectionParams
WithRequestBody adds the requestBody to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) WithTimeout ¶
func (o *GetSnapshotPlansConnectionParams) WithTimeout(timeout time.Duration) *GetSnapshotPlansConnectionParams
WithTimeout adds the timeout to the get snapshot plans connection params
func (*GetSnapshotPlansConnectionParams) WriteToRequest ¶
func (o *GetSnapshotPlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnapshotPlansConnectionReader ¶
type GetSnapshotPlansConnectionReader struct {
// contains filtered or unexported fields
}
GetSnapshotPlansConnectionReader is a Reader for the GetSnapshotPlansConnection structure.
func (*GetSnapshotPlansConnectionReader) ReadResponse ¶
func (o *GetSnapshotPlansConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnapshotPlansInternalServerError ¶
type GetSnapshotPlansInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSnapshotPlansInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSnapshotPlansInternalServerError ¶
func NewGetSnapshotPlansInternalServerError() *GetSnapshotPlansInternalServerError
NewGetSnapshotPlansInternalServerError creates a GetSnapshotPlansInternalServerError with default headers values
func (*GetSnapshotPlansInternalServerError) Error ¶
func (o *GetSnapshotPlansInternalServerError) Error() string
func (*GetSnapshotPlansInternalServerError) GetPayload ¶
func (o *GetSnapshotPlansInternalServerError) GetPayload() *models.ErrorBody
type GetSnapshotPlansNotFound ¶
GetSnapshotPlansNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSnapshotPlansNotFound ¶
func NewGetSnapshotPlansNotFound() *GetSnapshotPlansNotFound
NewGetSnapshotPlansNotFound creates a GetSnapshotPlansNotFound with default headers values
func (*GetSnapshotPlansNotFound) Error ¶
func (o *GetSnapshotPlansNotFound) Error() string
func (*GetSnapshotPlansNotFound) GetPayload ¶
func (o *GetSnapshotPlansNotFound) GetPayload() *models.ErrorBody
type GetSnapshotPlansOK ¶
type GetSnapshotPlansOK struct { XTowerRequestID string Payload []*models.SnapshotPlan }
GetSnapshotPlansOK describes a response with status code 200, with default header values.
GetSnapshotPlansOK get snapshot plans o k
func NewGetSnapshotPlansOK ¶
func NewGetSnapshotPlansOK() *GetSnapshotPlansOK
NewGetSnapshotPlansOK creates a GetSnapshotPlansOK with default headers values
func (*GetSnapshotPlansOK) Error ¶
func (o *GetSnapshotPlansOK) Error() string
func (*GetSnapshotPlansOK) GetPayload ¶
func (o *GetSnapshotPlansOK) GetPayload() []*models.SnapshotPlan
type GetSnapshotPlansParams ¶
type GetSnapshotPlansParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSnapshotPlansRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnapshotPlansParams contains all the parameters to send to the API endpoint
for the get snapshot plans operation. Typically these are written to a http.Request.
func NewGetSnapshotPlansParams ¶
func NewGetSnapshotPlansParams() *GetSnapshotPlansParams
NewGetSnapshotPlansParams creates a new GetSnapshotPlansParams 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 NewGetSnapshotPlansParamsWithContext ¶
func NewGetSnapshotPlansParamsWithContext(ctx context.Context) *GetSnapshotPlansParams
NewGetSnapshotPlansParamsWithContext creates a new GetSnapshotPlansParams object with the ability to set a context for a request.
func NewGetSnapshotPlansParamsWithHTTPClient ¶
func NewGetSnapshotPlansParamsWithHTTPClient(client *http.Client) *GetSnapshotPlansParams
NewGetSnapshotPlansParamsWithHTTPClient creates a new GetSnapshotPlansParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnapshotPlansParamsWithTimeout ¶
func NewGetSnapshotPlansParamsWithTimeout(timeout time.Duration) *GetSnapshotPlansParams
NewGetSnapshotPlansParamsWithTimeout creates a new GetSnapshotPlansParams object with the ability to set a timeout on a request.
func (*GetSnapshotPlansParams) SetContentLanguage ¶
func (o *GetSnapshotPlansParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get snapshot plans params
func (*GetSnapshotPlansParams) SetContext ¶
func (o *GetSnapshotPlansParams) SetContext(ctx context.Context)
SetContext adds the context to the get snapshot plans params
func (*GetSnapshotPlansParams) SetDefaults ¶
func (o *GetSnapshotPlansParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotPlansParams) SetHTTPClient ¶
func (o *GetSnapshotPlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snapshot plans params
func (*GetSnapshotPlansParams) SetRequestBody ¶
func (o *GetSnapshotPlansParams) SetRequestBody(requestBody *models.GetSnapshotPlansRequestBody)
SetRequestBody adds the requestBody to the get snapshot plans params
func (*GetSnapshotPlansParams) SetTimeout ¶
func (o *GetSnapshotPlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snapshot plans params
func (*GetSnapshotPlansParams) WithContentLanguage ¶
func (o *GetSnapshotPlansParams) WithContentLanguage(contentLanguage *string) *GetSnapshotPlansParams
WithContentLanguage adds the contentLanguage to the get snapshot plans params
func (*GetSnapshotPlansParams) WithContext ¶
func (o *GetSnapshotPlansParams) WithContext(ctx context.Context) *GetSnapshotPlansParams
WithContext adds the context to the get snapshot plans params
func (*GetSnapshotPlansParams) WithDefaults ¶
func (o *GetSnapshotPlansParams) WithDefaults() *GetSnapshotPlansParams
WithDefaults hydrates default values in the get snapshot plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotPlansParams) WithHTTPClient ¶
func (o *GetSnapshotPlansParams) WithHTTPClient(client *http.Client) *GetSnapshotPlansParams
WithHTTPClient adds the HTTPClient to the get snapshot plans params
func (*GetSnapshotPlansParams) WithRequestBody ¶
func (o *GetSnapshotPlansParams) WithRequestBody(requestBody *models.GetSnapshotPlansRequestBody) *GetSnapshotPlansParams
WithRequestBody adds the requestBody to the get snapshot plans params
func (*GetSnapshotPlansParams) WithTimeout ¶
func (o *GetSnapshotPlansParams) WithTimeout(timeout time.Duration) *GetSnapshotPlansParams
WithTimeout adds the timeout to the get snapshot plans params
func (*GetSnapshotPlansParams) WriteToRequest ¶
func (o *GetSnapshotPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnapshotPlansReader ¶
type GetSnapshotPlansReader struct {
// contains filtered or unexported fields
}
GetSnapshotPlansReader is a Reader for the GetSnapshotPlans structure.
func (*GetSnapshotPlansReader) ReadResponse ¶
func (o *GetSnapshotPlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResumeSnapshotPlanBadRequest ¶
ResumeSnapshotPlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewResumeSnapshotPlanBadRequest ¶
func NewResumeSnapshotPlanBadRequest() *ResumeSnapshotPlanBadRequest
NewResumeSnapshotPlanBadRequest creates a ResumeSnapshotPlanBadRequest with default headers values
func (*ResumeSnapshotPlanBadRequest) Error ¶
func (o *ResumeSnapshotPlanBadRequest) Error() string
func (*ResumeSnapshotPlanBadRequest) GetPayload ¶
func (o *ResumeSnapshotPlanBadRequest) GetPayload() *models.ErrorBody
type ResumeSnapshotPlanInternalServerError ¶
type ResumeSnapshotPlanInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ResumeSnapshotPlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewResumeSnapshotPlanInternalServerError ¶
func NewResumeSnapshotPlanInternalServerError() *ResumeSnapshotPlanInternalServerError
NewResumeSnapshotPlanInternalServerError creates a ResumeSnapshotPlanInternalServerError with default headers values
func (*ResumeSnapshotPlanInternalServerError) Error ¶
func (o *ResumeSnapshotPlanInternalServerError) Error() string
func (*ResumeSnapshotPlanInternalServerError) GetPayload ¶
func (o *ResumeSnapshotPlanInternalServerError) GetPayload() *models.ErrorBody
type ResumeSnapshotPlanNotFound ¶
ResumeSnapshotPlanNotFound describes a response with status code 404, with default header values.
Not found
func NewResumeSnapshotPlanNotFound ¶
func NewResumeSnapshotPlanNotFound() *ResumeSnapshotPlanNotFound
NewResumeSnapshotPlanNotFound creates a ResumeSnapshotPlanNotFound with default headers values
func (*ResumeSnapshotPlanNotFound) Error ¶
func (o *ResumeSnapshotPlanNotFound) Error() string
func (*ResumeSnapshotPlanNotFound) GetPayload ¶
func (o *ResumeSnapshotPlanNotFound) GetPayload() *models.ErrorBody
type ResumeSnapshotPlanOK ¶
type ResumeSnapshotPlanOK struct { XTowerRequestID string Payload []*models.WithTaskSnapshotPlan }
ResumeSnapshotPlanOK describes a response with status code 200, with default header values.
ResumeSnapshotPlanOK resume snapshot plan o k
func NewResumeSnapshotPlanOK ¶
func NewResumeSnapshotPlanOK() *ResumeSnapshotPlanOK
NewResumeSnapshotPlanOK creates a ResumeSnapshotPlanOK with default headers values
func (*ResumeSnapshotPlanOK) Error ¶
func (o *ResumeSnapshotPlanOK) Error() string
func (*ResumeSnapshotPlanOK) GetPayload ¶
func (o *ResumeSnapshotPlanOK) GetPayload() []*models.WithTaskSnapshotPlan
type ResumeSnapshotPlanParams ¶
type ResumeSnapshotPlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotPlanResumeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResumeSnapshotPlanParams contains all the parameters to send to the API endpoint
for the resume snapshot plan operation. Typically these are written to a http.Request.
func NewResumeSnapshotPlanParams ¶
func NewResumeSnapshotPlanParams() *ResumeSnapshotPlanParams
NewResumeSnapshotPlanParams creates a new ResumeSnapshotPlanParams 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 NewResumeSnapshotPlanParamsWithContext ¶
func NewResumeSnapshotPlanParamsWithContext(ctx context.Context) *ResumeSnapshotPlanParams
NewResumeSnapshotPlanParamsWithContext creates a new ResumeSnapshotPlanParams object with the ability to set a context for a request.
func NewResumeSnapshotPlanParamsWithHTTPClient ¶
func NewResumeSnapshotPlanParamsWithHTTPClient(client *http.Client) *ResumeSnapshotPlanParams
NewResumeSnapshotPlanParamsWithHTTPClient creates a new ResumeSnapshotPlanParams object with the ability to set a custom HTTPClient for a request.
func NewResumeSnapshotPlanParamsWithTimeout ¶
func NewResumeSnapshotPlanParamsWithTimeout(timeout time.Duration) *ResumeSnapshotPlanParams
NewResumeSnapshotPlanParamsWithTimeout creates a new ResumeSnapshotPlanParams object with the ability to set a timeout on a request.
func (*ResumeSnapshotPlanParams) SetContentLanguage ¶
func (o *ResumeSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) SetContext ¶
func (o *ResumeSnapshotPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) SetDefaults ¶
func (o *ResumeSnapshotPlanParams) SetDefaults()
SetDefaults hydrates default values in the resume snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*ResumeSnapshotPlanParams) SetHTTPClient ¶
func (o *ResumeSnapshotPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) SetRequestBody ¶
func (o *ResumeSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanResumeParams)
SetRequestBody adds the requestBody to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) SetTimeout ¶
func (o *ResumeSnapshotPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) WithContentLanguage ¶
func (o *ResumeSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *ResumeSnapshotPlanParams
WithContentLanguage adds the contentLanguage to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) WithContext ¶
func (o *ResumeSnapshotPlanParams) WithContext(ctx context.Context) *ResumeSnapshotPlanParams
WithContext adds the context to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) WithDefaults ¶
func (o *ResumeSnapshotPlanParams) WithDefaults() *ResumeSnapshotPlanParams
WithDefaults hydrates default values in the resume snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*ResumeSnapshotPlanParams) WithHTTPClient ¶
func (o *ResumeSnapshotPlanParams) WithHTTPClient(client *http.Client) *ResumeSnapshotPlanParams
WithHTTPClient adds the HTTPClient to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) WithRequestBody ¶
func (o *ResumeSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanResumeParams) *ResumeSnapshotPlanParams
WithRequestBody adds the requestBody to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) WithTimeout ¶
func (o *ResumeSnapshotPlanParams) WithTimeout(timeout time.Duration) *ResumeSnapshotPlanParams
WithTimeout adds the timeout to the resume snapshot plan params
func (*ResumeSnapshotPlanParams) WriteToRequest ¶
func (o *ResumeSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResumeSnapshotPlanReader ¶
type ResumeSnapshotPlanReader struct {
// contains filtered or unexported fields
}
ResumeSnapshotPlanReader is a Reader for the ResumeSnapshotPlan structure.
func (*ResumeSnapshotPlanReader) ReadResponse ¶
func (o *ResumeSnapshotPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SuspendSnapshotPlanBadRequest ¶
SuspendSnapshotPlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSuspendSnapshotPlanBadRequest ¶
func NewSuspendSnapshotPlanBadRequest() *SuspendSnapshotPlanBadRequest
NewSuspendSnapshotPlanBadRequest creates a SuspendSnapshotPlanBadRequest with default headers values
func (*SuspendSnapshotPlanBadRequest) Error ¶
func (o *SuspendSnapshotPlanBadRequest) Error() string
func (*SuspendSnapshotPlanBadRequest) GetPayload ¶
func (o *SuspendSnapshotPlanBadRequest) GetPayload() *models.ErrorBody
type SuspendSnapshotPlanInternalServerError ¶
type SuspendSnapshotPlanInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
SuspendSnapshotPlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewSuspendSnapshotPlanInternalServerError ¶
func NewSuspendSnapshotPlanInternalServerError() *SuspendSnapshotPlanInternalServerError
NewSuspendSnapshotPlanInternalServerError creates a SuspendSnapshotPlanInternalServerError with default headers values
func (*SuspendSnapshotPlanInternalServerError) Error ¶
func (o *SuspendSnapshotPlanInternalServerError) Error() string
func (*SuspendSnapshotPlanInternalServerError) GetPayload ¶
func (o *SuspendSnapshotPlanInternalServerError) GetPayload() *models.ErrorBody
type SuspendSnapshotPlanNotFound ¶
SuspendSnapshotPlanNotFound describes a response with status code 404, with default header values.
Not found
func NewSuspendSnapshotPlanNotFound ¶
func NewSuspendSnapshotPlanNotFound() *SuspendSnapshotPlanNotFound
NewSuspendSnapshotPlanNotFound creates a SuspendSnapshotPlanNotFound with default headers values
func (*SuspendSnapshotPlanNotFound) Error ¶
func (o *SuspendSnapshotPlanNotFound) Error() string
func (*SuspendSnapshotPlanNotFound) GetPayload ¶
func (o *SuspendSnapshotPlanNotFound) GetPayload() *models.ErrorBody
type SuspendSnapshotPlanOK ¶
type SuspendSnapshotPlanOK struct { XTowerRequestID string Payload []*models.WithTaskSnapshotPlan }
SuspendSnapshotPlanOK describes a response with status code 200, with default header values.
SuspendSnapshotPlanOK suspend snapshot plan o k
func NewSuspendSnapshotPlanOK ¶
func NewSuspendSnapshotPlanOK() *SuspendSnapshotPlanOK
NewSuspendSnapshotPlanOK creates a SuspendSnapshotPlanOK with default headers values
func (*SuspendSnapshotPlanOK) Error ¶
func (o *SuspendSnapshotPlanOK) Error() string
func (*SuspendSnapshotPlanOK) GetPayload ¶
func (o *SuspendSnapshotPlanOK) GetPayload() []*models.WithTaskSnapshotPlan
type SuspendSnapshotPlanParams ¶
type SuspendSnapshotPlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotPlanSuspendedParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SuspendSnapshotPlanParams contains all the parameters to send to the API endpoint
for the suspend snapshot plan operation. Typically these are written to a http.Request.
func NewSuspendSnapshotPlanParams ¶
func NewSuspendSnapshotPlanParams() *SuspendSnapshotPlanParams
NewSuspendSnapshotPlanParams creates a new SuspendSnapshotPlanParams 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 NewSuspendSnapshotPlanParamsWithContext ¶
func NewSuspendSnapshotPlanParamsWithContext(ctx context.Context) *SuspendSnapshotPlanParams
NewSuspendSnapshotPlanParamsWithContext creates a new SuspendSnapshotPlanParams object with the ability to set a context for a request.
func NewSuspendSnapshotPlanParamsWithHTTPClient ¶
func NewSuspendSnapshotPlanParamsWithHTTPClient(client *http.Client) *SuspendSnapshotPlanParams
NewSuspendSnapshotPlanParamsWithHTTPClient creates a new SuspendSnapshotPlanParams object with the ability to set a custom HTTPClient for a request.
func NewSuspendSnapshotPlanParamsWithTimeout ¶
func NewSuspendSnapshotPlanParamsWithTimeout(timeout time.Duration) *SuspendSnapshotPlanParams
NewSuspendSnapshotPlanParamsWithTimeout creates a new SuspendSnapshotPlanParams object with the ability to set a timeout on a request.
func (*SuspendSnapshotPlanParams) SetContentLanguage ¶
func (o *SuspendSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) SetContext ¶
func (o *SuspendSnapshotPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) SetDefaults ¶
func (o *SuspendSnapshotPlanParams) SetDefaults()
SetDefaults hydrates default values in the suspend snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*SuspendSnapshotPlanParams) SetHTTPClient ¶
func (o *SuspendSnapshotPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) SetRequestBody ¶
func (o *SuspendSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanSuspendedParams)
SetRequestBody adds the requestBody to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) SetTimeout ¶
func (o *SuspendSnapshotPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) WithContentLanguage ¶
func (o *SuspendSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *SuspendSnapshotPlanParams
WithContentLanguage adds the contentLanguage to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) WithContext ¶
func (o *SuspendSnapshotPlanParams) WithContext(ctx context.Context) *SuspendSnapshotPlanParams
WithContext adds the context to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) WithDefaults ¶
func (o *SuspendSnapshotPlanParams) WithDefaults() *SuspendSnapshotPlanParams
WithDefaults hydrates default values in the suspend snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*SuspendSnapshotPlanParams) WithHTTPClient ¶
func (o *SuspendSnapshotPlanParams) WithHTTPClient(client *http.Client) *SuspendSnapshotPlanParams
WithHTTPClient adds the HTTPClient to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) WithRequestBody ¶
func (o *SuspendSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanSuspendedParams) *SuspendSnapshotPlanParams
WithRequestBody adds the requestBody to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) WithTimeout ¶
func (o *SuspendSnapshotPlanParams) WithTimeout(timeout time.Duration) *SuspendSnapshotPlanParams
WithTimeout adds the timeout to the suspend snapshot plan params
func (*SuspendSnapshotPlanParams) WriteToRequest ¶
func (o *SuspendSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SuspendSnapshotPlanReader ¶
type SuspendSnapshotPlanReader struct {
// contains filtered or unexported fields
}
SuspendSnapshotPlanReader is a Reader for the SuspendSnapshotPlan structure.
func (*SuspendSnapshotPlanReader) ReadResponse ¶
func (o *SuspendSnapshotPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSnapshotPlanBadRequest ¶
UpdateSnapshotPlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateSnapshotPlanBadRequest ¶
func NewUpdateSnapshotPlanBadRequest() *UpdateSnapshotPlanBadRequest
NewUpdateSnapshotPlanBadRequest creates a UpdateSnapshotPlanBadRequest with default headers values
func (*UpdateSnapshotPlanBadRequest) Error ¶
func (o *UpdateSnapshotPlanBadRequest) Error() string
func (*UpdateSnapshotPlanBadRequest) GetPayload ¶
func (o *UpdateSnapshotPlanBadRequest) GetPayload() *models.ErrorBody
type UpdateSnapshotPlanInternalServerError ¶
type UpdateSnapshotPlanInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateSnapshotPlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateSnapshotPlanInternalServerError ¶
func NewUpdateSnapshotPlanInternalServerError() *UpdateSnapshotPlanInternalServerError
NewUpdateSnapshotPlanInternalServerError creates a UpdateSnapshotPlanInternalServerError with default headers values
func (*UpdateSnapshotPlanInternalServerError) Error ¶
func (o *UpdateSnapshotPlanInternalServerError) Error() string
func (*UpdateSnapshotPlanInternalServerError) GetPayload ¶
func (o *UpdateSnapshotPlanInternalServerError) GetPayload() *models.ErrorBody
type UpdateSnapshotPlanNotFound ¶
UpdateSnapshotPlanNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateSnapshotPlanNotFound ¶
func NewUpdateSnapshotPlanNotFound() *UpdateSnapshotPlanNotFound
NewUpdateSnapshotPlanNotFound creates a UpdateSnapshotPlanNotFound with default headers values
func (*UpdateSnapshotPlanNotFound) Error ¶
func (o *UpdateSnapshotPlanNotFound) Error() string
func (*UpdateSnapshotPlanNotFound) GetPayload ¶
func (o *UpdateSnapshotPlanNotFound) GetPayload() *models.ErrorBody
type UpdateSnapshotPlanOK ¶
type UpdateSnapshotPlanOK struct { XTowerRequestID string Payload []*models.WithTaskSnapshotPlan }
UpdateSnapshotPlanOK describes a response with status code 200, with default header values.
UpdateSnapshotPlanOK update snapshot plan o k
func NewUpdateSnapshotPlanOK ¶
func NewUpdateSnapshotPlanOK() *UpdateSnapshotPlanOK
NewUpdateSnapshotPlanOK creates a UpdateSnapshotPlanOK with default headers values
func (*UpdateSnapshotPlanOK) Error ¶
func (o *UpdateSnapshotPlanOK) Error() string
func (*UpdateSnapshotPlanOK) GetPayload ¶
func (o *UpdateSnapshotPlanOK) GetPayload() []*models.WithTaskSnapshotPlan
type UpdateSnapshotPlanParams ¶
type UpdateSnapshotPlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SnapshotPlanUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSnapshotPlanParams contains all the parameters to send to the API endpoint
for the update snapshot plan operation. Typically these are written to a http.Request.
func NewUpdateSnapshotPlanParams ¶
func NewUpdateSnapshotPlanParams() *UpdateSnapshotPlanParams
NewUpdateSnapshotPlanParams creates a new UpdateSnapshotPlanParams 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 NewUpdateSnapshotPlanParamsWithContext ¶
func NewUpdateSnapshotPlanParamsWithContext(ctx context.Context) *UpdateSnapshotPlanParams
NewUpdateSnapshotPlanParamsWithContext creates a new UpdateSnapshotPlanParams object with the ability to set a context for a request.
func NewUpdateSnapshotPlanParamsWithHTTPClient ¶
func NewUpdateSnapshotPlanParamsWithHTTPClient(client *http.Client) *UpdateSnapshotPlanParams
NewUpdateSnapshotPlanParamsWithHTTPClient creates a new UpdateSnapshotPlanParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSnapshotPlanParamsWithTimeout ¶
func NewUpdateSnapshotPlanParamsWithTimeout(timeout time.Duration) *UpdateSnapshotPlanParams
NewUpdateSnapshotPlanParamsWithTimeout creates a new UpdateSnapshotPlanParams object with the ability to set a timeout on a request.
func (*UpdateSnapshotPlanParams) SetContentLanguage ¶
func (o *UpdateSnapshotPlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update snapshot plan params
func (*UpdateSnapshotPlanParams) SetContext ¶
func (o *UpdateSnapshotPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the update snapshot plan params
func (*UpdateSnapshotPlanParams) SetDefaults ¶
func (o *UpdateSnapshotPlanParams) SetDefaults()
SetDefaults hydrates default values in the update snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSnapshotPlanParams) SetHTTPClient ¶
func (o *UpdateSnapshotPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update snapshot plan params
func (*UpdateSnapshotPlanParams) SetRequestBody ¶
func (o *UpdateSnapshotPlanParams) SetRequestBody(requestBody *models.SnapshotPlanUpdationParams)
SetRequestBody adds the requestBody to the update snapshot plan params
func (*UpdateSnapshotPlanParams) SetTimeout ¶
func (o *UpdateSnapshotPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update snapshot plan params
func (*UpdateSnapshotPlanParams) WithContentLanguage ¶
func (o *UpdateSnapshotPlanParams) WithContentLanguage(contentLanguage *string) *UpdateSnapshotPlanParams
WithContentLanguage adds the contentLanguage to the update snapshot plan params
func (*UpdateSnapshotPlanParams) WithContext ¶
func (o *UpdateSnapshotPlanParams) WithContext(ctx context.Context) *UpdateSnapshotPlanParams
WithContext adds the context to the update snapshot plan params
func (*UpdateSnapshotPlanParams) WithDefaults ¶
func (o *UpdateSnapshotPlanParams) WithDefaults() *UpdateSnapshotPlanParams
WithDefaults hydrates default values in the update snapshot plan params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSnapshotPlanParams) WithHTTPClient ¶
func (o *UpdateSnapshotPlanParams) WithHTTPClient(client *http.Client) *UpdateSnapshotPlanParams
WithHTTPClient adds the HTTPClient to the update snapshot plan params
func (*UpdateSnapshotPlanParams) WithRequestBody ¶
func (o *UpdateSnapshotPlanParams) WithRequestBody(requestBody *models.SnapshotPlanUpdationParams) *UpdateSnapshotPlanParams
WithRequestBody adds the requestBody to the update snapshot plan params
func (*UpdateSnapshotPlanParams) WithTimeout ¶
func (o *UpdateSnapshotPlanParams) WithTimeout(timeout time.Duration) *UpdateSnapshotPlanParams
WithTimeout adds the timeout to the update snapshot plan params
func (*UpdateSnapshotPlanParams) WriteToRequest ¶
func (o *UpdateSnapshotPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSnapshotPlanReader ¶
type UpdateSnapshotPlanReader struct {
// contains filtered or unexported fields
}
UpdateSnapshotPlanReader is a Reader for the UpdateSnapshotPlan structure.
func (*UpdateSnapshotPlanReader) ReadResponse ¶
func (o *UpdateSnapshotPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_snapshot_plan_parameters.go
- create_snapshot_plan_responses.go
- delete_snapshot_plan_parameters.go
- delete_snapshot_plan_responses.go
- execute_snapshot_plan_parameters.go
- execute_snapshot_plan_responses.go
- get_snapshot_plans_connection_parameters.go
- get_snapshot_plans_connection_responses.go
- get_snapshot_plans_parameters.go
- get_snapshot_plans_responses.go
- resume_snapshot_plan_parameters.go
- resume_snapshot_plan_responses.go
- snapshot_plan_client.go
- suspend_snapshot_plan_parameters.go
- suspend_snapshot_plan_responses.go
- update_snapshot_plan_parameters.go
- update_snapshot_plan_responses.go