snapshot_plan

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for snapshot 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

type CreateSnapshotPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*CreateSnapshotPlanBadRequest) GetPayload

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 (*CreateSnapshotPlanInternalServerError) GetPayload

type CreateSnapshotPlanNotFound

type CreateSnapshotPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the create snapshot plan params

func (*CreateSnapshotPlanParams) WithDefaults

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

WithRequestBody adds the requestBody to the create snapshot plan params

func (*CreateSnapshotPlanParams) WithTimeout

WithTimeout adds the timeout to the create snapshot plan params

func (*CreateSnapshotPlanParams) WriteToRequest

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

type DeleteSnapshotPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*DeleteSnapshotPlanBadRequest) GetPayload

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 (*DeleteSnapshotPlanInternalServerError) GetPayload

type DeleteSnapshotPlanNotFound

type DeleteSnapshotPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the delete snapshot plan params

func (*DeleteSnapshotPlanParams) WithDefaults

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

WithRequestBody adds the requestBody to the delete snapshot plan params

func (*DeleteSnapshotPlanParams) WithTimeout

WithTimeout adds the timeout to the delete snapshot plan params

func (*DeleteSnapshotPlanParams) WriteToRequest

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

type ExecuteSnapshotPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*ExecuteSnapshotPlanBadRequest) GetPayload

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 (*ExecuteSnapshotPlanInternalServerError) GetPayload

type ExecuteSnapshotPlanNotFound

type ExecuteSnapshotPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the execute snapshot plan params

func (*ExecuteSnapshotPlanParams) WithDefaults

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

WithRequestBody adds the requestBody to the execute snapshot plan params

func (*ExecuteSnapshotPlanParams) WithTimeout

WithTimeout adds the timeout to the execute snapshot plan params

func (*ExecuteSnapshotPlanParams) WriteToRequest

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

type GetSnapshotPlansBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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 (*GetSnapshotPlansConnectionBadRequest) GetPayload

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 (*GetSnapshotPlansConnectionInternalServerError) GetPayload

type GetSnapshotPlansConnectionNotFound

type GetSnapshotPlansConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetSnapshotPlansConnectionNotFound) GetPayload

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 (*GetSnapshotPlansConnectionOK) GetPayload

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

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

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

WithContext adds the context to the get snapshot plans connection params

func (*GetSnapshotPlansConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get snapshot plans connection params

func (*GetSnapshotPlansConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get snapshot plans connection params

func (*GetSnapshotPlansConnectionParams) WithTimeout

WithTimeout adds the timeout to the get snapshot plans connection params

func (*GetSnapshotPlansConnectionParams) WriteToRequest

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 (*GetSnapshotPlansInternalServerError) GetPayload

type GetSnapshotPlansNotFound

type GetSnapshotPlansNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

WithContext adds the context to the get snapshot plans params

func (*GetSnapshotPlansParams) WithDefaults

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

WithRequestBody adds the requestBody to the get snapshot plans params

func (*GetSnapshotPlansParams) WithTimeout

WithTimeout adds the timeout to the get snapshot plans params

func (*GetSnapshotPlansParams) WriteToRequest

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

type ResumeSnapshotPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*ResumeSnapshotPlanBadRequest) GetPayload

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 (*ResumeSnapshotPlanInternalServerError) GetPayload

type ResumeSnapshotPlanNotFound

type ResumeSnapshotPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the resume snapshot plan params

func (*ResumeSnapshotPlanParams) WithDefaults

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

WithRequestBody adds the requestBody to the resume snapshot plan params

func (*ResumeSnapshotPlanParams) WithTimeout

WithTimeout adds the timeout to the resume snapshot plan params

func (*ResumeSnapshotPlanParams) WriteToRequest

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

type SuspendSnapshotPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*SuspendSnapshotPlanBadRequest) GetPayload

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 (*SuspendSnapshotPlanInternalServerError) GetPayload

type SuspendSnapshotPlanNotFound

type SuspendSnapshotPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the suspend snapshot plan params

func (*SuspendSnapshotPlanParams) WithDefaults

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

WithRequestBody adds the requestBody to the suspend snapshot plan params

func (*SuspendSnapshotPlanParams) WithTimeout

WithTimeout adds the timeout to the suspend snapshot plan params

func (*SuspendSnapshotPlanParams) WriteToRequest

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

type UpdateSnapshotPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateSnapshotPlanBadRequest) GetPayload

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 (*UpdateSnapshotPlanInternalServerError) GetPayload

type UpdateSnapshotPlanNotFound

type UpdateSnapshotPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the update snapshot plan params

func (*UpdateSnapshotPlanParams) WithDefaults

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

WithRequestBody adds the requestBody to the update snapshot plan params

func (*UpdateSnapshotPlanParams) WithTimeout

WithTimeout adds the timeout to the update snapshot plan params

func (*UpdateSnapshotPlanParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL