backup_plan

package
v2.19.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 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 BackupRebuildVMBadRequest

type BackupRebuildVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
BackupRebuildVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewBackupRebuildVMBadRequest

func NewBackupRebuildVMBadRequest() *BackupRebuildVMBadRequest

NewBackupRebuildVMBadRequest creates a BackupRebuildVMBadRequest with default headers values

func (*BackupRebuildVMBadRequest) Error

func (o *BackupRebuildVMBadRequest) Error() string

func (*BackupRebuildVMBadRequest) GetPayload

func (o *BackupRebuildVMBadRequest) GetPayload() *models.ErrorBody

type BackupRebuildVMInternalServerError

type BackupRebuildVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
BackupRebuildVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewBackupRebuildVMInternalServerError

func NewBackupRebuildVMInternalServerError() *BackupRebuildVMInternalServerError

NewBackupRebuildVMInternalServerError creates a BackupRebuildVMInternalServerError with default headers values

func (*BackupRebuildVMInternalServerError) Error

func (*BackupRebuildVMInternalServerError) GetPayload

type BackupRebuildVMNotFound

type BackupRebuildVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
BackupRebuildVMNotFound describes a response with status code 404, with default header values.

Not found

func NewBackupRebuildVMNotFound

func NewBackupRebuildVMNotFound() *BackupRebuildVMNotFound

NewBackupRebuildVMNotFound creates a BackupRebuildVMNotFound with default headers values

func (*BackupRebuildVMNotFound) Error

func (o *BackupRebuildVMNotFound) Error() string

func (*BackupRebuildVMNotFound) GetPayload

func (o *BackupRebuildVMNotFound) GetPayload() *models.ErrorBody

type BackupRebuildVMOK

type BackupRebuildVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBackupRestoreExecution
}
BackupRebuildVMOK describes a response with status code 200, with default header values.

BackupRebuildVMOK backup rebuild Vm o k

func NewBackupRebuildVMOK

func NewBackupRebuildVMOK() *BackupRebuildVMOK

NewBackupRebuildVMOK creates a BackupRebuildVMOK with default headers values

func (*BackupRebuildVMOK) Error

func (o *BackupRebuildVMOK) Error() string

func (*BackupRebuildVMOK) GetPayload

type BackupRebuildVMParams

type BackupRebuildVMParams struct {

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

	// RequestBody.
	RequestBody *models.BackupRestorePointRebuildParams

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

BackupRebuildVMParams contains all the parameters to send to the API endpoint

for the backup rebuild Vm operation.

Typically these are written to a http.Request.

func NewBackupRebuildVMParams

func NewBackupRebuildVMParams() *BackupRebuildVMParams

NewBackupRebuildVMParams creates a new BackupRebuildVMParams 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 NewBackupRebuildVMParamsWithContext

func NewBackupRebuildVMParamsWithContext(ctx context.Context) *BackupRebuildVMParams

NewBackupRebuildVMParamsWithContext creates a new BackupRebuildVMParams object with the ability to set a context for a request.

func NewBackupRebuildVMParamsWithHTTPClient

func NewBackupRebuildVMParamsWithHTTPClient(client *http.Client) *BackupRebuildVMParams

NewBackupRebuildVMParamsWithHTTPClient creates a new BackupRebuildVMParams object with the ability to set a custom HTTPClient for a request.

func NewBackupRebuildVMParamsWithTimeout

func NewBackupRebuildVMParamsWithTimeout(timeout time.Duration) *BackupRebuildVMParams

NewBackupRebuildVMParamsWithTimeout creates a new BackupRebuildVMParams object with the ability to set a timeout on a request.

func (*BackupRebuildVMParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the backup rebuild Vm params

func (*BackupRebuildVMParams) SetContext

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

SetContext adds the context to the backup rebuild Vm params

func (*BackupRebuildVMParams) SetDefaults

func (o *BackupRebuildVMParams) SetDefaults()

SetDefaults hydrates default values in the backup rebuild Vm params (not the query body).

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

func (*BackupRebuildVMParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the backup rebuild Vm params

func (*BackupRebuildVMParams) SetRequestBody

func (o *BackupRebuildVMParams) SetRequestBody(requestBody *models.BackupRestorePointRebuildParams)

SetRequestBody adds the requestBody to the backup rebuild Vm params

func (*BackupRebuildVMParams) SetTimeout

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

SetTimeout adds the timeout to the backup rebuild Vm params

func (*BackupRebuildVMParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the backup rebuild Vm params

func (*BackupRebuildVMParams) WithContext

WithContext adds the context to the backup rebuild Vm params

func (*BackupRebuildVMParams) WithDefaults

func (o *BackupRebuildVMParams) WithDefaults() *BackupRebuildVMParams

WithDefaults hydrates default values in the backup rebuild Vm params (not the query body).

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

func (*BackupRebuildVMParams) WithHTTPClient

func (o *BackupRebuildVMParams) WithHTTPClient(client *http.Client) *BackupRebuildVMParams

WithHTTPClient adds the HTTPClient to the backup rebuild Vm params

func (*BackupRebuildVMParams) WithRequestBody

WithRequestBody adds the requestBody to the backup rebuild Vm params

func (*BackupRebuildVMParams) WithTimeout

func (o *BackupRebuildVMParams) WithTimeout(timeout time.Duration) *BackupRebuildVMParams

WithTimeout adds the timeout to the backup rebuild Vm params

func (*BackupRebuildVMParams) WriteToRequest

func (o *BackupRebuildVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type BackupRebuildVMReader

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

BackupRebuildVMReader is a Reader for the BackupRebuildVM structure.

func (*BackupRebuildVMReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BackupRestoreVMInPlaceBadRequest

type BackupRestoreVMInPlaceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
BackupRestoreVMInPlaceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewBackupRestoreVMInPlaceBadRequest

func NewBackupRestoreVMInPlaceBadRequest() *BackupRestoreVMInPlaceBadRequest

NewBackupRestoreVMInPlaceBadRequest creates a BackupRestoreVMInPlaceBadRequest with default headers values

func (*BackupRestoreVMInPlaceBadRequest) Error

func (*BackupRestoreVMInPlaceBadRequest) GetPayload

type BackupRestoreVMInPlaceInternalServerError

type BackupRestoreVMInPlaceInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
BackupRestoreVMInPlaceInternalServerError describes a response with status code 500, with default header values.

Server error

func NewBackupRestoreVMInPlaceInternalServerError

func NewBackupRestoreVMInPlaceInternalServerError() *BackupRestoreVMInPlaceInternalServerError

NewBackupRestoreVMInPlaceInternalServerError creates a BackupRestoreVMInPlaceInternalServerError with default headers values

func (*BackupRestoreVMInPlaceInternalServerError) Error

func (*BackupRestoreVMInPlaceInternalServerError) GetPayload

type BackupRestoreVMInPlaceNotFound

type BackupRestoreVMInPlaceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
BackupRestoreVMInPlaceNotFound describes a response with status code 404, with default header values.

Not found

func NewBackupRestoreVMInPlaceNotFound

func NewBackupRestoreVMInPlaceNotFound() *BackupRestoreVMInPlaceNotFound

NewBackupRestoreVMInPlaceNotFound creates a BackupRestoreVMInPlaceNotFound with default headers values

func (*BackupRestoreVMInPlaceNotFound) Error

func (*BackupRestoreVMInPlaceNotFound) GetPayload

type BackupRestoreVMInPlaceOK

type BackupRestoreVMInPlaceOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBackupRestoreExecution
}
BackupRestoreVMInPlaceOK describes a response with status code 200, with default header values.

BackupRestoreVMInPlaceOK backup restore Vm in place o k

func NewBackupRestoreVMInPlaceOK

func NewBackupRestoreVMInPlaceOK() *BackupRestoreVMInPlaceOK

NewBackupRestoreVMInPlaceOK creates a BackupRestoreVMInPlaceOK with default headers values

func (*BackupRestoreVMInPlaceOK) Error

func (o *BackupRestoreVMInPlaceOK) Error() string

func (*BackupRestoreVMInPlaceOK) GetPayload

type BackupRestoreVMInPlaceParams

type BackupRestoreVMInPlaceParams struct {

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

	// RequestBody.
	RequestBody *models.BackupRestorePointRestoreInPlaceParams

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

BackupRestoreVMInPlaceParams contains all the parameters to send to the API endpoint

for the backup restore Vm in place operation.

Typically these are written to a http.Request.

func NewBackupRestoreVMInPlaceParams

func NewBackupRestoreVMInPlaceParams() *BackupRestoreVMInPlaceParams

NewBackupRestoreVMInPlaceParams creates a new BackupRestoreVMInPlaceParams 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 NewBackupRestoreVMInPlaceParamsWithContext

func NewBackupRestoreVMInPlaceParamsWithContext(ctx context.Context) *BackupRestoreVMInPlaceParams

NewBackupRestoreVMInPlaceParamsWithContext creates a new BackupRestoreVMInPlaceParams object with the ability to set a context for a request.

func NewBackupRestoreVMInPlaceParamsWithHTTPClient

func NewBackupRestoreVMInPlaceParamsWithHTTPClient(client *http.Client) *BackupRestoreVMInPlaceParams

NewBackupRestoreVMInPlaceParamsWithHTTPClient creates a new BackupRestoreVMInPlaceParams object with the ability to set a custom HTTPClient for a request.

func NewBackupRestoreVMInPlaceParamsWithTimeout

func NewBackupRestoreVMInPlaceParamsWithTimeout(timeout time.Duration) *BackupRestoreVMInPlaceParams

NewBackupRestoreVMInPlaceParamsWithTimeout creates a new BackupRestoreVMInPlaceParams object with the ability to set a timeout on a request.

func (*BackupRestoreVMInPlaceParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) SetContext

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

SetContext adds the context to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) SetDefaults

func (o *BackupRestoreVMInPlaceParams) SetDefaults()

SetDefaults hydrates default values in the backup restore Vm in place params (not the query body).

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

func (*BackupRestoreVMInPlaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) SetRequestBody

SetRequestBody adds the requestBody to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) SetTimeout

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

SetTimeout adds the timeout to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) WithContext

WithContext adds the context to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) WithDefaults

WithDefaults hydrates default values in the backup restore Vm in place params (not the query body).

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

func (*BackupRestoreVMInPlaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) WithRequestBody

WithRequestBody adds the requestBody to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) WithTimeout

WithTimeout adds the timeout to the backup restore Vm in place params

func (*BackupRestoreVMInPlaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BackupRestoreVMInPlaceReader

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

BackupRestoreVMInPlaceReader is a Reader for the BackupRestoreVMInPlace structure.

func (*BackupRestoreVMInPlaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for backup plan API

func (*Client) BackupRebuildVM

func (a *Client) BackupRebuildVM(params *BackupRebuildVMParams, opts ...ClientOption) (*BackupRebuildVMOK, error)

BackupRebuildVM backup rebuild Vm API

func (*Client) BackupRestoreVMInPlace

func (a *Client) BackupRestoreVMInPlace(params *BackupRestoreVMInPlaceParams, opts ...ClientOption) (*BackupRestoreVMInPlaceOK, error)

BackupRestoreVMInPlace backup restore Vm in place API

func (*Client) CreateBackupPlan

func (a *Client) CreateBackupPlan(params *CreateBackupPlanParams, opts ...ClientOption) (*CreateBackupPlanOK, error)

CreateBackupPlan create backup plan API

func (*Client) DeleteBackupPlan

func (a *Client) DeleteBackupPlan(params *DeleteBackupPlanParams, opts ...ClientOption) (*DeleteBackupPlanOK, error)

DeleteBackupPlan delete backup plan API

func (*Client) DeleteBackupRestorePoint

func (a *Client) DeleteBackupRestorePoint(params *DeleteBackupRestorePointParams, opts ...ClientOption) (*DeleteBackupRestorePointOK, error)

DeleteBackupRestorePoint delete backup restore point API

func (*Client) ExecuteBackupPlan

func (a *Client) ExecuteBackupPlan(params *ExecuteBackupPlanParams, opts ...ClientOption) (*ExecuteBackupPlanOK, error)

ExecuteBackupPlan execute backup plan API

func (*Client) GetBackupPlans

func (a *Client) GetBackupPlans(params *GetBackupPlansParams, opts ...ClientOption) (*GetBackupPlansOK, error)

GetBackupPlans get backup plans API

func (*Client) GetBackupPlansConnection

func (a *Client) GetBackupPlansConnection(params *GetBackupPlansConnectionParams, opts ...ClientOption) (*GetBackupPlansConnectionOK, error)

GetBackupPlansConnection get backup plans connection API

func (*Client) GetBackupRestorePointMetadata

func (a *Client) GetBackupRestorePointMetadata(params *GetBackupRestorePointMetadataParams, opts ...ClientOption) (*GetBackupRestorePointMetadataOK, error)

GetBackupRestorePointMetadata get backup restore point metadata API

func (*Client) ResumeBackupPlan

func (a *Client) ResumeBackupPlan(params *ResumeBackupPlanParams, opts ...ClientOption) (*ResumeBackupPlanOK, error)

ResumeBackupPlan resume backup plan API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SuspendBackupPlan

func (a *Client) SuspendBackupPlan(params *SuspendBackupPlanParams, opts ...ClientOption) (*SuspendBackupPlanOK, error)

SuspendBackupPlan suspend backup plan API

func (*Client) UpdateBackupPlan

func (a *Client) UpdateBackupPlan(params *UpdateBackupPlanParams, opts ...ClientOption) (*UpdateBackupPlanOK, error)

UpdateBackupPlan update backup plan API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	BackupRebuildVM(params *BackupRebuildVMParams, opts ...ClientOption) (*BackupRebuildVMOK, error)

	BackupRestoreVMInPlace(params *BackupRestoreVMInPlaceParams, opts ...ClientOption) (*BackupRestoreVMInPlaceOK, error)

	CreateBackupPlan(params *CreateBackupPlanParams, opts ...ClientOption) (*CreateBackupPlanOK, error)

	DeleteBackupPlan(params *DeleteBackupPlanParams, opts ...ClientOption) (*DeleteBackupPlanOK, error)

	DeleteBackupRestorePoint(params *DeleteBackupRestorePointParams, opts ...ClientOption) (*DeleteBackupRestorePointOK, error)

	ExecuteBackupPlan(params *ExecuteBackupPlanParams, opts ...ClientOption) (*ExecuteBackupPlanOK, error)

	GetBackupPlans(params *GetBackupPlansParams, opts ...ClientOption) (*GetBackupPlansOK, error)

	GetBackupPlansConnection(params *GetBackupPlansConnectionParams, opts ...ClientOption) (*GetBackupPlansConnectionOK, error)

	GetBackupRestorePointMetadata(params *GetBackupRestorePointMetadataParams, opts ...ClientOption) (*GetBackupRestorePointMetadataOK, error)

	ResumeBackupPlan(params *ResumeBackupPlanParams, opts ...ClientOption) (*ResumeBackupPlanOK, error)

	SuspendBackupPlan(params *SuspendBackupPlanParams, opts ...ClientOption) (*SuspendBackupPlanOK, error)

	UpdateBackupPlan(params *UpdateBackupPlanParams, opts ...ClientOption) (*UpdateBackupPlanOK, 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 backup plan API client.

type CreateBackupPlanBadRequest

type CreateBackupPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateBackupPlanBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateBackupPlanBadRequest

func NewCreateBackupPlanBadRequest() *CreateBackupPlanBadRequest

NewCreateBackupPlanBadRequest creates a CreateBackupPlanBadRequest with default headers values

func (*CreateBackupPlanBadRequest) Error

func (*CreateBackupPlanBadRequest) GetPayload

func (o *CreateBackupPlanBadRequest) GetPayload() *models.ErrorBody

type CreateBackupPlanInternalServerError

type CreateBackupPlanInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateBackupPlanInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateBackupPlanInternalServerError

func NewCreateBackupPlanInternalServerError() *CreateBackupPlanInternalServerError

NewCreateBackupPlanInternalServerError creates a CreateBackupPlanInternalServerError with default headers values

func (*CreateBackupPlanInternalServerError) Error

func (*CreateBackupPlanInternalServerError) GetPayload

type CreateBackupPlanNotFound

type CreateBackupPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateBackupPlanNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateBackupPlanNotFound

func NewCreateBackupPlanNotFound() *CreateBackupPlanNotFound

NewCreateBackupPlanNotFound creates a CreateBackupPlanNotFound with default headers values

func (*CreateBackupPlanNotFound) Error

func (o *CreateBackupPlanNotFound) Error() string

func (*CreateBackupPlanNotFound) GetPayload

func (o *CreateBackupPlanNotFound) GetPayload() *models.ErrorBody

type CreateBackupPlanOK

type CreateBackupPlanOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBackupPlan
}
CreateBackupPlanOK describes a response with status code 200, with default header values.

CreateBackupPlanOK create backup plan o k

func NewCreateBackupPlanOK

func NewCreateBackupPlanOK() *CreateBackupPlanOK

NewCreateBackupPlanOK creates a CreateBackupPlanOK with default headers values

func (*CreateBackupPlanOK) Error

func (o *CreateBackupPlanOK) Error() string

func (*CreateBackupPlanOK) GetPayload

func (o *CreateBackupPlanOK) GetPayload() []*models.WithTaskBackupPlan

type CreateBackupPlanParams

type CreateBackupPlanParams struct {

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

	// RequestBody.
	RequestBody []*models.BackupPlanCreationParams

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

CreateBackupPlanParams contains all the parameters to send to the API endpoint

for the create backup plan operation.

Typically these are written to a http.Request.

func NewCreateBackupPlanParams

func NewCreateBackupPlanParams() *CreateBackupPlanParams

NewCreateBackupPlanParams creates a new CreateBackupPlanParams 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 NewCreateBackupPlanParamsWithContext

func NewCreateBackupPlanParamsWithContext(ctx context.Context) *CreateBackupPlanParams

NewCreateBackupPlanParamsWithContext creates a new CreateBackupPlanParams object with the ability to set a context for a request.

func NewCreateBackupPlanParamsWithHTTPClient

func NewCreateBackupPlanParamsWithHTTPClient(client *http.Client) *CreateBackupPlanParams

NewCreateBackupPlanParamsWithHTTPClient creates a new CreateBackupPlanParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBackupPlanParamsWithTimeout

func NewCreateBackupPlanParamsWithTimeout(timeout time.Duration) *CreateBackupPlanParams

NewCreateBackupPlanParamsWithTimeout creates a new CreateBackupPlanParams object with the ability to set a timeout on a request.

func (*CreateBackupPlanParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create backup plan params

func (*CreateBackupPlanParams) SetContext

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

SetContext adds the context to the create backup plan params

func (*CreateBackupPlanParams) SetDefaults

func (o *CreateBackupPlanParams) SetDefaults()

SetDefaults hydrates default values in the create backup plan params (not the query body).

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

func (*CreateBackupPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create backup plan params

func (*CreateBackupPlanParams) SetRequestBody

func (o *CreateBackupPlanParams) SetRequestBody(requestBody []*models.BackupPlanCreationParams)

SetRequestBody adds the requestBody to the create backup plan params

func (*CreateBackupPlanParams) SetTimeout

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

SetTimeout adds the timeout to the create backup plan params

func (*CreateBackupPlanParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the create backup plan params

func (*CreateBackupPlanParams) WithContext

WithContext adds the context to the create backup plan params

func (*CreateBackupPlanParams) WithDefaults

WithDefaults hydrates default values in the create backup plan params (not the query body).

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

func (*CreateBackupPlanParams) WithHTTPClient

func (o *CreateBackupPlanParams) WithHTTPClient(client *http.Client) *CreateBackupPlanParams

WithHTTPClient adds the HTTPClient to the create backup plan params

func (*CreateBackupPlanParams) WithRequestBody

WithRequestBody adds the requestBody to the create backup plan params

func (*CreateBackupPlanParams) WithTimeout

WithTimeout adds the timeout to the create backup plan params

func (*CreateBackupPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateBackupPlanReader

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

CreateBackupPlanReader is a Reader for the CreateBackupPlan structure.

func (*CreateBackupPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBackupPlanBadRequest

type DeleteBackupPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteBackupPlanBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteBackupPlanBadRequest

func NewDeleteBackupPlanBadRequest() *DeleteBackupPlanBadRequest

NewDeleteBackupPlanBadRequest creates a DeleteBackupPlanBadRequest with default headers values

func (*DeleteBackupPlanBadRequest) Error

func (*DeleteBackupPlanBadRequest) GetPayload

func (o *DeleteBackupPlanBadRequest) GetPayload() *models.ErrorBody

type DeleteBackupPlanInternalServerError

type DeleteBackupPlanInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteBackupPlanInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteBackupPlanInternalServerError

func NewDeleteBackupPlanInternalServerError() *DeleteBackupPlanInternalServerError

NewDeleteBackupPlanInternalServerError creates a DeleteBackupPlanInternalServerError with default headers values

func (*DeleteBackupPlanInternalServerError) Error

func (*DeleteBackupPlanInternalServerError) GetPayload

type DeleteBackupPlanNotFound

type DeleteBackupPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteBackupPlanNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteBackupPlanNotFound

func NewDeleteBackupPlanNotFound() *DeleteBackupPlanNotFound

NewDeleteBackupPlanNotFound creates a DeleteBackupPlanNotFound with default headers values

func (*DeleteBackupPlanNotFound) Error

func (o *DeleteBackupPlanNotFound) Error() string

func (*DeleteBackupPlanNotFound) GetPayload

func (o *DeleteBackupPlanNotFound) GetPayload() *models.ErrorBody

type DeleteBackupPlanOK

type DeleteBackupPlanOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteBackupPlan
}
DeleteBackupPlanOK describes a response with status code 200, with default header values.

DeleteBackupPlanOK delete backup plan o k

func NewDeleteBackupPlanOK

func NewDeleteBackupPlanOK() *DeleteBackupPlanOK

NewDeleteBackupPlanOK creates a DeleteBackupPlanOK with default headers values

func (*DeleteBackupPlanOK) Error

func (o *DeleteBackupPlanOK) Error() string

func (*DeleteBackupPlanOK) GetPayload

type DeleteBackupPlanParams

type DeleteBackupPlanParams struct {

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

	// RequestBody.
	RequestBody *models.BackupPlanDeletionParams

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

DeleteBackupPlanParams contains all the parameters to send to the API endpoint

for the delete backup plan operation.

Typically these are written to a http.Request.

func NewDeleteBackupPlanParams

func NewDeleteBackupPlanParams() *DeleteBackupPlanParams

NewDeleteBackupPlanParams creates a new DeleteBackupPlanParams 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 NewDeleteBackupPlanParamsWithContext

func NewDeleteBackupPlanParamsWithContext(ctx context.Context) *DeleteBackupPlanParams

NewDeleteBackupPlanParamsWithContext creates a new DeleteBackupPlanParams object with the ability to set a context for a request.

func NewDeleteBackupPlanParamsWithHTTPClient

func NewDeleteBackupPlanParamsWithHTTPClient(client *http.Client) *DeleteBackupPlanParams

NewDeleteBackupPlanParamsWithHTTPClient creates a new DeleteBackupPlanParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBackupPlanParamsWithTimeout

func NewDeleteBackupPlanParamsWithTimeout(timeout time.Duration) *DeleteBackupPlanParams

NewDeleteBackupPlanParamsWithTimeout creates a new DeleteBackupPlanParams object with the ability to set a timeout on a request.

func (*DeleteBackupPlanParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete backup plan params

func (*DeleteBackupPlanParams) SetContext

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

SetContext adds the context to the delete backup plan params

func (*DeleteBackupPlanParams) SetDefaults

func (o *DeleteBackupPlanParams) SetDefaults()

SetDefaults hydrates default values in the delete backup plan params (not the query body).

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

func (*DeleteBackupPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete backup plan params

func (*DeleteBackupPlanParams) SetRequestBody

func (o *DeleteBackupPlanParams) SetRequestBody(requestBody *models.BackupPlanDeletionParams)

SetRequestBody adds the requestBody to the delete backup plan params

func (*DeleteBackupPlanParams) SetTimeout

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

SetTimeout adds the timeout to the delete backup plan params

func (*DeleteBackupPlanParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete backup plan params

func (*DeleteBackupPlanParams) WithContext

WithContext adds the context to the delete backup plan params

func (*DeleteBackupPlanParams) WithDefaults

WithDefaults hydrates default values in the delete backup plan params (not the query body).

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

func (*DeleteBackupPlanParams) WithHTTPClient

func (o *DeleteBackupPlanParams) WithHTTPClient(client *http.Client) *DeleteBackupPlanParams

WithHTTPClient adds the HTTPClient to the delete backup plan params

func (*DeleteBackupPlanParams) WithRequestBody

WithRequestBody adds the requestBody to the delete backup plan params

func (*DeleteBackupPlanParams) WithTimeout

WithTimeout adds the timeout to the delete backup plan params

func (*DeleteBackupPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBackupPlanReader

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

DeleteBackupPlanReader is a Reader for the DeleteBackupPlan structure.

func (*DeleteBackupPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBackupRestorePointBadRequest

type DeleteBackupRestorePointBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteBackupRestorePointBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteBackupRestorePointBadRequest

func NewDeleteBackupRestorePointBadRequest() *DeleteBackupRestorePointBadRequest

NewDeleteBackupRestorePointBadRequest creates a DeleteBackupRestorePointBadRequest with default headers values

func (*DeleteBackupRestorePointBadRequest) Error

func (*DeleteBackupRestorePointBadRequest) GetPayload

type DeleteBackupRestorePointInternalServerError

type DeleteBackupRestorePointInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteBackupRestorePointInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteBackupRestorePointInternalServerError

func NewDeleteBackupRestorePointInternalServerError() *DeleteBackupRestorePointInternalServerError

NewDeleteBackupRestorePointInternalServerError creates a DeleteBackupRestorePointInternalServerError with default headers values

func (*DeleteBackupRestorePointInternalServerError) Error

func (*DeleteBackupRestorePointInternalServerError) GetPayload

type DeleteBackupRestorePointNotFound

type DeleteBackupRestorePointNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteBackupRestorePointNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteBackupRestorePointNotFound

func NewDeleteBackupRestorePointNotFound() *DeleteBackupRestorePointNotFound

NewDeleteBackupRestorePointNotFound creates a DeleteBackupRestorePointNotFound with default headers values

func (*DeleteBackupRestorePointNotFound) Error

func (*DeleteBackupRestorePointNotFound) GetPayload

type DeleteBackupRestorePointOK

type DeleteBackupRestorePointOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteBackupRestorePointArray
}
DeleteBackupRestorePointOK describes a response with status code 200, with default header values.

DeleteBackupRestorePointOK delete backup restore point o k

func NewDeleteBackupRestorePointOK

func NewDeleteBackupRestorePointOK() *DeleteBackupRestorePointOK

NewDeleteBackupRestorePointOK creates a DeleteBackupRestorePointOK with default headers values

func (*DeleteBackupRestorePointOK) Error

func (*DeleteBackupRestorePointOK) GetPayload

type DeleteBackupRestorePointParams

type DeleteBackupRestorePointParams struct {

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

	// RequestBody.
	RequestBody *models.BackupRestorePointDeletionParams

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

DeleteBackupRestorePointParams contains all the parameters to send to the API endpoint

for the delete backup restore point operation.

Typically these are written to a http.Request.

func NewDeleteBackupRestorePointParams

func NewDeleteBackupRestorePointParams() *DeleteBackupRestorePointParams

NewDeleteBackupRestorePointParams creates a new DeleteBackupRestorePointParams 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 NewDeleteBackupRestorePointParamsWithContext

func NewDeleteBackupRestorePointParamsWithContext(ctx context.Context) *DeleteBackupRestorePointParams

NewDeleteBackupRestorePointParamsWithContext creates a new DeleteBackupRestorePointParams object with the ability to set a context for a request.

func NewDeleteBackupRestorePointParamsWithHTTPClient

func NewDeleteBackupRestorePointParamsWithHTTPClient(client *http.Client) *DeleteBackupRestorePointParams

NewDeleteBackupRestorePointParamsWithHTTPClient creates a new DeleteBackupRestorePointParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBackupRestorePointParamsWithTimeout

func NewDeleteBackupRestorePointParamsWithTimeout(timeout time.Duration) *DeleteBackupRestorePointParams

NewDeleteBackupRestorePointParamsWithTimeout creates a new DeleteBackupRestorePointParams object with the ability to set a timeout on a request.

func (*DeleteBackupRestorePointParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete backup restore point params

func (*DeleteBackupRestorePointParams) SetContext

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

SetContext adds the context to the delete backup restore point params

func (*DeleteBackupRestorePointParams) SetDefaults

func (o *DeleteBackupRestorePointParams) SetDefaults()

SetDefaults hydrates default values in the delete backup restore point params (not the query body).

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

func (*DeleteBackupRestorePointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete backup restore point params

func (*DeleteBackupRestorePointParams) SetRequestBody

SetRequestBody adds the requestBody to the delete backup restore point params

func (*DeleteBackupRestorePointParams) SetTimeout

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

SetTimeout adds the timeout to the delete backup restore point params

func (*DeleteBackupRestorePointParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete backup restore point params

func (*DeleteBackupRestorePointParams) WithContext

WithContext adds the context to the delete backup restore point params

func (*DeleteBackupRestorePointParams) WithDefaults

WithDefaults hydrates default values in the delete backup restore point params (not the query body).

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

func (*DeleteBackupRestorePointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete backup restore point params

func (*DeleteBackupRestorePointParams) WithRequestBody

WithRequestBody adds the requestBody to the delete backup restore point params

func (*DeleteBackupRestorePointParams) WithTimeout

WithTimeout adds the timeout to the delete backup restore point params

func (*DeleteBackupRestorePointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBackupRestorePointReader

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

DeleteBackupRestorePointReader is a Reader for the DeleteBackupRestorePoint structure.

func (*DeleteBackupRestorePointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExecuteBackupPlanBadRequest

type ExecuteBackupPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExecuteBackupPlanBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExecuteBackupPlanBadRequest

func NewExecuteBackupPlanBadRequest() *ExecuteBackupPlanBadRequest

NewExecuteBackupPlanBadRequest creates a ExecuteBackupPlanBadRequest with default headers values

func (*ExecuteBackupPlanBadRequest) Error

func (*ExecuteBackupPlanBadRequest) GetPayload

func (o *ExecuteBackupPlanBadRequest) GetPayload() *models.ErrorBody

type ExecuteBackupPlanInternalServerError

type ExecuteBackupPlanInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExecuteBackupPlanInternalServerError describes a response with status code 500, with default header values.

Server error

func NewExecuteBackupPlanInternalServerError

func NewExecuteBackupPlanInternalServerError() *ExecuteBackupPlanInternalServerError

NewExecuteBackupPlanInternalServerError creates a ExecuteBackupPlanInternalServerError with default headers values

func (*ExecuteBackupPlanInternalServerError) Error

func (*ExecuteBackupPlanInternalServerError) GetPayload

type ExecuteBackupPlanNotFound

type ExecuteBackupPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExecuteBackupPlanNotFound describes a response with status code 404, with default header values.

Not found

func NewExecuteBackupPlanNotFound

func NewExecuteBackupPlanNotFound() *ExecuteBackupPlanNotFound

NewExecuteBackupPlanNotFound creates a ExecuteBackupPlanNotFound with default headers values

func (*ExecuteBackupPlanNotFound) Error

func (o *ExecuteBackupPlanNotFound) Error() string

func (*ExecuteBackupPlanNotFound) GetPayload

func (o *ExecuteBackupPlanNotFound) GetPayload() *models.ErrorBody

type ExecuteBackupPlanOK

type ExecuteBackupPlanOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBackupPlanExecution
}
ExecuteBackupPlanOK describes a response with status code 200, with default header values.

ExecuteBackupPlanOK execute backup plan o k

func NewExecuteBackupPlanOK

func NewExecuteBackupPlanOK() *ExecuteBackupPlanOK

NewExecuteBackupPlanOK creates a ExecuteBackupPlanOK with default headers values

func (*ExecuteBackupPlanOK) Error

func (o *ExecuteBackupPlanOK) Error() string

func (*ExecuteBackupPlanOK) GetPayload

type ExecuteBackupPlanParams

type ExecuteBackupPlanParams struct {

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

	// RequestBody.
	RequestBody *models.BackupPlanExecuteParams

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

ExecuteBackupPlanParams contains all the parameters to send to the API endpoint

for the execute backup plan operation.

Typically these are written to a http.Request.

func NewExecuteBackupPlanParams

func NewExecuteBackupPlanParams() *ExecuteBackupPlanParams

NewExecuteBackupPlanParams creates a new ExecuteBackupPlanParams 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 NewExecuteBackupPlanParamsWithContext

func NewExecuteBackupPlanParamsWithContext(ctx context.Context) *ExecuteBackupPlanParams

NewExecuteBackupPlanParamsWithContext creates a new ExecuteBackupPlanParams object with the ability to set a context for a request.

func NewExecuteBackupPlanParamsWithHTTPClient

func NewExecuteBackupPlanParamsWithHTTPClient(client *http.Client) *ExecuteBackupPlanParams

NewExecuteBackupPlanParamsWithHTTPClient creates a new ExecuteBackupPlanParams object with the ability to set a custom HTTPClient for a request.

func NewExecuteBackupPlanParamsWithTimeout

func NewExecuteBackupPlanParamsWithTimeout(timeout time.Duration) *ExecuteBackupPlanParams

NewExecuteBackupPlanParamsWithTimeout creates a new ExecuteBackupPlanParams object with the ability to set a timeout on a request.

func (*ExecuteBackupPlanParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the execute backup plan params

func (*ExecuteBackupPlanParams) SetContext

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

SetContext adds the context to the execute backup plan params

func (*ExecuteBackupPlanParams) SetDefaults

func (o *ExecuteBackupPlanParams) SetDefaults()

SetDefaults hydrates default values in the execute backup plan params (not the query body).

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

func (*ExecuteBackupPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the execute backup plan params

func (*ExecuteBackupPlanParams) SetRequestBody

func (o *ExecuteBackupPlanParams) SetRequestBody(requestBody *models.BackupPlanExecuteParams)

SetRequestBody adds the requestBody to the execute backup plan params

func (*ExecuteBackupPlanParams) SetTimeout

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

SetTimeout adds the timeout to the execute backup plan params

func (*ExecuteBackupPlanParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the execute backup plan params

func (*ExecuteBackupPlanParams) WithContext

WithContext adds the context to the execute backup plan params

func (*ExecuteBackupPlanParams) WithDefaults

WithDefaults hydrates default values in the execute backup plan params (not the query body).

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

func (*ExecuteBackupPlanParams) WithHTTPClient

func (o *ExecuteBackupPlanParams) WithHTTPClient(client *http.Client) *ExecuteBackupPlanParams

WithHTTPClient adds the HTTPClient to the execute backup plan params

func (*ExecuteBackupPlanParams) WithRequestBody

WithRequestBody adds the requestBody to the execute backup plan params

func (*ExecuteBackupPlanParams) WithTimeout

WithTimeout adds the timeout to the execute backup plan params

func (*ExecuteBackupPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExecuteBackupPlanReader

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

ExecuteBackupPlanReader is a Reader for the ExecuteBackupPlan structure.

func (*ExecuteBackupPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupPlansBadRequest

type GetBackupPlansBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupPlansBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetBackupPlansBadRequest

func NewGetBackupPlansBadRequest() *GetBackupPlansBadRequest

NewGetBackupPlansBadRequest creates a GetBackupPlansBadRequest with default headers values

func (*GetBackupPlansBadRequest) Error

func (o *GetBackupPlansBadRequest) Error() string

func (*GetBackupPlansBadRequest) GetPayload

func (o *GetBackupPlansBadRequest) GetPayload() *models.ErrorBody

type GetBackupPlansConnectionBadRequest

type GetBackupPlansConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupPlansConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetBackupPlansConnectionBadRequest

func NewGetBackupPlansConnectionBadRequest() *GetBackupPlansConnectionBadRequest

NewGetBackupPlansConnectionBadRequest creates a GetBackupPlansConnectionBadRequest with default headers values

func (*GetBackupPlansConnectionBadRequest) Error

func (*GetBackupPlansConnectionBadRequest) GetPayload

type GetBackupPlansConnectionInternalServerError

type GetBackupPlansConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupPlansConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetBackupPlansConnectionInternalServerError

func NewGetBackupPlansConnectionInternalServerError() *GetBackupPlansConnectionInternalServerError

NewGetBackupPlansConnectionInternalServerError creates a GetBackupPlansConnectionInternalServerError with default headers values

func (*GetBackupPlansConnectionInternalServerError) Error

func (*GetBackupPlansConnectionInternalServerError) GetPayload

type GetBackupPlansConnectionNotFound

type GetBackupPlansConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupPlansConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetBackupPlansConnectionNotFound

func NewGetBackupPlansConnectionNotFound() *GetBackupPlansConnectionNotFound

NewGetBackupPlansConnectionNotFound creates a GetBackupPlansConnectionNotFound with default headers values

func (*GetBackupPlansConnectionNotFound) Error

func (*GetBackupPlansConnectionNotFound) GetPayload

type GetBackupPlansConnectionOK

type GetBackupPlansConnectionOK struct {
	XTowerRequestID string

	Payload *models.BackupPlanConnection
}
GetBackupPlansConnectionOK describes a response with status code 200, with default header values.

GetBackupPlansConnectionOK get backup plans connection o k

func NewGetBackupPlansConnectionOK

func NewGetBackupPlansConnectionOK() *GetBackupPlansConnectionOK

NewGetBackupPlansConnectionOK creates a GetBackupPlansConnectionOK with default headers values

func (*GetBackupPlansConnectionOK) Error

func (*GetBackupPlansConnectionOK) GetPayload

type GetBackupPlansConnectionParams

type GetBackupPlansConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupPlansConnectionRequestBody

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

GetBackupPlansConnectionParams contains all the parameters to send to the API endpoint

for the get backup plans connection operation.

Typically these are written to a http.Request.

func NewGetBackupPlansConnectionParams

func NewGetBackupPlansConnectionParams() *GetBackupPlansConnectionParams

NewGetBackupPlansConnectionParams creates a new GetBackupPlansConnectionParams 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 NewGetBackupPlansConnectionParamsWithContext

func NewGetBackupPlansConnectionParamsWithContext(ctx context.Context) *GetBackupPlansConnectionParams

NewGetBackupPlansConnectionParamsWithContext creates a new GetBackupPlansConnectionParams object with the ability to set a context for a request.

func NewGetBackupPlansConnectionParamsWithHTTPClient

func NewGetBackupPlansConnectionParamsWithHTTPClient(client *http.Client) *GetBackupPlansConnectionParams

NewGetBackupPlansConnectionParamsWithHTTPClient creates a new GetBackupPlansConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupPlansConnectionParamsWithTimeout

func NewGetBackupPlansConnectionParamsWithTimeout(timeout time.Duration) *GetBackupPlansConnectionParams

NewGetBackupPlansConnectionParamsWithTimeout creates a new GetBackupPlansConnectionParams object with the ability to set a timeout on a request.

func (*GetBackupPlansConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup plans connection params

func (*GetBackupPlansConnectionParams) SetContext

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

SetContext adds the context to the get backup plans connection params

func (*GetBackupPlansConnectionParams) SetDefaults

func (o *GetBackupPlansConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get backup plans connection params (not the query body).

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

func (*GetBackupPlansConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup plans connection params

func (*GetBackupPlansConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup plans connection params

func (*GetBackupPlansConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get backup plans connection params

func (*GetBackupPlansConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get backup plans connection params

func (*GetBackupPlansConnectionParams) WithContext

WithContext adds the context to the get backup plans connection params

func (*GetBackupPlansConnectionParams) WithDefaults

WithDefaults hydrates default values in the get backup plans connection params (not the query body).

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

func (*GetBackupPlansConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup plans connection params

func (*GetBackupPlansConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup plans connection params

func (*GetBackupPlansConnectionParams) WithTimeout

WithTimeout adds the timeout to the get backup plans connection params

func (*GetBackupPlansConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupPlansConnectionReader

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

GetBackupPlansConnectionReader is a Reader for the GetBackupPlansConnection structure.

func (*GetBackupPlansConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupPlansInternalServerError

type GetBackupPlansInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupPlansInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetBackupPlansInternalServerError

func NewGetBackupPlansInternalServerError() *GetBackupPlansInternalServerError

NewGetBackupPlansInternalServerError creates a GetBackupPlansInternalServerError with default headers values

func (*GetBackupPlansInternalServerError) Error

func (*GetBackupPlansInternalServerError) GetPayload

type GetBackupPlansNotFound

type GetBackupPlansNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupPlansNotFound describes a response with status code 404, with default header values.

Not found

func NewGetBackupPlansNotFound

func NewGetBackupPlansNotFound() *GetBackupPlansNotFound

NewGetBackupPlansNotFound creates a GetBackupPlansNotFound with default headers values

func (*GetBackupPlansNotFound) Error

func (o *GetBackupPlansNotFound) Error() string

func (*GetBackupPlansNotFound) GetPayload

func (o *GetBackupPlansNotFound) GetPayload() *models.ErrorBody

type GetBackupPlansOK

type GetBackupPlansOK struct {
	XTowerRequestID string

	Payload []*models.BackupPlan
}
GetBackupPlansOK describes a response with status code 200, with default header values.

GetBackupPlansOK get backup plans o k

func NewGetBackupPlansOK

func NewGetBackupPlansOK() *GetBackupPlansOK

NewGetBackupPlansOK creates a GetBackupPlansOK with default headers values

func (*GetBackupPlansOK) Error

func (o *GetBackupPlansOK) Error() string

func (*GetBackupPlansOK) GetPayload

func (o *GetBackupPlansOK) GetPayload() []*models.BackupPlan

type GetBackupPlansParams

type GetBackupPlansParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupPlansRequestBody

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

GetBackupPlansParams contains all the parameters to send to the API endpoint

for the get backup plans operation.

Typically these are written to a http.Request.

func NewGetBackupPlansParams

func NewGetBackupPlansParams() *GetBackupPlansParams

NewGetBackupPlansParams creates a new GetBackupPlansParams 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 NewGetBackupPlansParamsWithContext

func NewGetBackupPlansParamsWithContext(ctx context.Context) *GetBackupPlansParams

NewGetBackupPlansParamsWithContext creates a new GetBackupPlansParams object with the ability to set a context for a request.

func NewGetBackupPlansParamsWithHTTPClient

func NewGetBackupPlansParamsWithHTTPClient(client *http.Client) *GetBackupPlansParams

NewGetBackupPlansParamsWithHTTPClient creates a new GetBackupPlansParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupPlansParamsWithTimeout

func NewGetBackupPlansParamsWithTimeout(timeout time.Duration) *GetBackupPlansParams

NewGetBackupPlansParamsWithTimeout creates a new GetBackupPlansParams object with the ability to set a timeout on a request.

func (*GetBackupPlansParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup plans params

func (*GetBackupPlansParams) SetContext

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

SetContext adds the context to the get backup plans params

func (*GetBackupPlansParams) SetDefaults

func (o *GetBackupPlansParams) SetDefaults()

SetDefaults hydrates default values in the get backup plans params (not the query body).

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

func (*GetBackupPlansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup plans params

func (*GetBackupPlansParams) SetRequestBody

func (o *GetBackupPlansParams) SetRequestBody(requestBody *models.GetBackupPlansRequestBody)

SetRequestBody adds the requestBody to the get backup plans params

func (*GetBackupPlansParams) SetTimeout

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

SetTimeout adds the timeout to the get backup plans params

func (*GetBackupPlansParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get backup plans params

func (*GetBackupPlansParams) WithContext

WithContext adds the context to the get backup plans params

func (*GetBackupPlansParams) WithDefaults

func (o *GetBackupPlansParams) WithDefaults() *GetBackupPlansParams

WithDefaults hydrates default values in the get backup plans params (not the query body).

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

func (*GetBackupPlansParams) WithHTTPClient

func (o *GetBackupPlansParams) WithHTTPClient(client *http.Client) *GetBackupPlansParams

WithHTTPClient adds the HTTPClient to the get backup plans params

func (*GetBackupPlansParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup plans params

func (*GetBackupPlansParams) WithTimeout

func (o *GetBackupPlansParams) WithTimeout(timeout time.Duration) *GetBackupPlansParams

WithTimeout adds the timeout to the get backup plans params

func (*GetBackupPlansParams) WriteToRequest

func (o *GetBackupPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBackupPlansReader

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

GetBackupPlansReader is a Reader for the GetBackupPlans structure.

func (*GetBackupPlansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupRestorePointMetadataBadRequest

type GetBackupRestorePointMetadataBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupRestorePointMetadataBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetBackupRestorePointMetadataBadRequest

func NewGetBackupRestorePointMetadataBadRequest() *GetBackupRestorePointMetadataBadRequest

NewGetBackupRestorePointMetadataBadRequest creates a GetBackupRestorePointMetadataBadRequest with default headers values

func (*GetBackupRestorePointMetadataBadRequest) Error

func (*GetBackupRestorePointMetadataBadRequest) GetPayload

type GetBackupRestorePointMetadataInternalServerError

type GetBackupRestorePointMetadataInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupRestorePointMetadataInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetBackupRestorePointMetadataInternalServerError

func NewGetBackupRestorePointMetadataInternalServerError() *GetBackupRestorePointMetadataInternalServerError

NewGetBackupRestorePointMetadataInternalServerError creates a GetBackupRestorePointMetadataInternalServerError with default headers values

func (*GetBackupRestorePointMetadataInternalServerError) Error

func (*GetBackupRestorePointMetadataInternalServerError) GetPayload

type GetBackupRestorePointMetadataNotFound

type GetBackupRestorePointMetadataNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetBackupRestorePointMetadataNotFound describes a response with status code 404, with default header values.

Not found

func NewGetBackupRestorePointMetadataNotFound

func NewGetBackupRestorePointMetadataNotFound() *GetBackupRestorePointMetadataNotFound

NewGetBackupRestorePointMetadataNotFound creates a GetBackupRestorePointMetadataNotFound with default headers values

func (*GetBackupRestorePointMetadataNotFound) Error

func (*GetBackupRestorePointMetadataNotFound) GetPayload

type GetBackupRestorePointMetadataOK

type GetBackupRestorePointMetadataOK struct {
	XTowerRequestID string

	Payload *models.VMMetaData
}
GetBackupRestorePointMetadataOK describes a response with status code 200, with default header values.

GetBackupRestorePointMetadataOK get backup restore point metadata o k

func NewGetBackupRestorePointMetadataOK

func NewGetBackupRestorePointMetadataOK() *GetBackupRestorePointMetadataOK

NewGetBackupRestorePointMetadataOK creates a GetBackupRestorePointMetadataOK with default headers values

func (*GetBackupRestorePointMetadataOK) Error

func (*GetBackupRestorePointMetadataOK) GetPayload

type GetBackupRestorePointMetadataParams

type GetBackupRestorePointMetadataParams struct {

	// RequestBody.
	RequestBody *models.GetBackupRestorePointMetadataRequestBody

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

GetBackupRestorePointMetadataParams contains all the parameters to send to the API endpoint

for the get backup restore point metadata operation.

Typically these are written to a http.Request.

func NewGetBackupRestorePointMetadataParams

func NewGetBackupRestorePointMetadataParams() *GetBackupRestorePointMetadataParams

NewGetBackupRestorePointMetadataParams creates a new GetBackupRestorePointMetadataParams 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 NewGetBackupRestorePointMetadataParamsWithContext

func NewGetBackupRestorePointMetadataParamsWithContext(ctx context.Context) *GetBackupRestorePointMetadataParams

NewGetBackupRestorePointMetadataParamsWithContext creates a new GetBackupRestorePointMetadataParams object with the ability to set a context for a request.

func NewGetBackupRestorePointMetadataParamsWithHTTPClient

func NewGetBackupRestorePointMetadataParamsWithHTTPClient(client *http.Client) *GetBackupRestorePointMetadataParams

NewGetBackupRestorePointMetadataParamsWithHTTPClient creates a new GetBackupRestorePointMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupRestorePointMetadataParamsWithTimeout

func NewGetBackupRestorePointMetadataParamsWithTimeout(timeout time.Duration) *GetBackupRestorePointMetadataParams

NewGetBackupRestorePointMetadataParamsWithTimeout creates a new GetBackupRestorePointMetadataParams object with the ability to set a timeout on a request.

func (*GetBackupRestorePointMetadataParams) SetContext

SetContext adds the context to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) SetDefaults

func (o *GetBackupRestorePointMetadataParams) SetDefaults()

SetDefaults hydrates default values in the get backup restore point metadata params (not the query body).

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

func (*GetBackupRestorePointMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) WithContext

WithContext adds the context to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) WithDefaults

WithDefaults hydrates default values in the get backup restore point metadata params (not the query body).

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

func (*GetBackupRestorePointMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) WithTimeout

WithTimeout adds the timeout to the get backup restore point metadata params

func (*GetBackupRestorePointMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupRestorePointMetadataReader

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

GetBackupRestorePointMetadataReader is a Reader for the GetBackupRestorePointMetadata structure.

func (*GetBackupRestorePointMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResumeBackupPlanBadRequest

type ResumeBackupPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResumeBackupPlanBadRequest describes a response with status code 400, with default header values.

Bad request

func NewResumeBackupPlanBadRequest

func NewResumeBackupPlanBadRequest() *ResumeBackupPlanBadRequest

NewResumeBackupPlanBadRequest creates a ResumeBackupPlanBadRequest with default headers values

func (*ResumeBackupPlanBadRequest) Error

func (*ResumeBackupPlanBadRequest) GetPayload

func (o *ResumeBackupPlanBadRequest) GetPayload() *models.ErrorBody

type ResumeBackupPlanInternalServerError

type ResumeBackupPlanInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResumeBackupPlanInternalServerError describes a response with status code 500, with default header values.

Server error

func NewResumeBackupPlanInternalServerError

func NewResumeBackupPlanInternalServerError() *ResumeBackupPlanInternalServerError

NewResumeBackupPlanInternalServerError creates a ResumeBackupPlanInternalServerError with default headers values

func (*ResumeBackupPlanInternalServerError) Error

func (*ResumeBackupPlanInternalServerError) GetPayload

type ResumeBackupPlanNotFound

type ResumeBackupPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResumeBackupPlanNotFound describes a response with status code 404, with default header values.

Not found

func NewResumeBackupPlanNotFound

func NewResumeBackupPlanNotFound() *ResumeBackupPlanNotFound

NewResumeBackupPlanNotFound creates a ResumeBackupPlanNotFound with default headers values

func (*ResumeBackupPlanNotFound) Error

func (o *ResumeBackupPlanNotFound) Error() string

func (*ResumeBackupPlanNotFound) GetPayload

func (o *ResumeBackupPlanNotFound) GetPayload() *models.ErrorBody

type ResumeBackupPlanOK

type ResumeBackupPlanOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBackupPlan
}
ResumeBackupPlanOK describes a response with status code 200, with default header values.

ResumeBackupPlanOK resume backup plan o k

func NewResumeBackupPlanOK

func NewResumeBackupPlanOK() *ResumeBackupPlanOK

NewResumeBackupPlanOK creates a ResumeBackupPlanOK with default headers values

func (*ResumeBackupPlanOK) Error

func (o *ResumeBackupPlanOK) Error() string

func (*ResumeBackupPlanOK) GetPayload

func (o *ResumeBackupPlanOK) GetPayload() []*models.WithTaskBackupPlan

type ResumeBackupPlanParams

type ResumeBackupPlanParams struct {

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

	// RequestBody.
	RequestBody *models.BackupPlanResumeParams

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

ResumeBackupPlanParams contains all the parameters to send to the API endpoint

for the resume backup plan operation.

Typically these are written to a http.Request.

func NewResumeBackupPlanParams

func NewResumeBackupPlanParams() *ResumeBackupPlanParams

NewResumeBackupPlanParams creates a new ResumeBackupPlanParams 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 NewResumeBackupPlanParamsWithContext

func NewResumeBackupPlanParamsWithContext(ctx context.Context) *ResumeBackupPlanParams

NewResumeBackupPlanParamsWithContext creates a new ResumeBackupPlanParams object with the ability to set a context for a request.

func NewResumeBackupPlanParamsWithHTTPClient

func NewResumeBackupPlanParamsWithHTTPClient(client *http.Client) *ResumeBackupPlanParams

NewResumeBackupPlanParamsWithHTTPClient creates a new ResumeBackupPlanParams object with the ability to set a custom HTTPClient for a request.

func NewResumeBackupPlanParamsWithTimeout

func NewResumeBackupPlanParamsWithTimeout(timeout time.Duration) *ResumeBackupPlanParams

NewResumeBackupPlanParamsWithTimeout creates a new ResumeBackupPlanParams object with the ability to set a timeout on a request.

func (*ResumeBackupPlanParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the resume backup plan params

func (*ResumeBackupPlanParams) SetContext

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

SetContext adds the context to the resume backup plan params

func (*ResumeBackupPlanParams) SetDefaults

func (o *ResumeBackupPlanParams) SetDefaults()

SetDefaults hydrates default values in the resume backup plan params (not the query body).

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

func (*ResumeBackupPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resume backup plan params

func (*ResumeBackupPlanParams) SetRequestBody

func (o *ResumeBackupPlanParams) SetRequestBody(requestBody *models.BackupPlanResumeParams)

SetRequestBody adds the requestBody to the resume backup plan params

func (*ResumeBackupPlanParams) SetTimeout

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

SetTimeout adds the timeout to the resume backup plan params

func (*ResumeBackupPlanParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the resume backup plan params

func (*ResumeBackupPlanParams) WithContext

WithContext adds the context to the resume backup plan params

func (*ResumeBackupPlanParams) WithDefaults

WithDefaults hydrates default values in the resume backup plan params (not the query body).

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

func (*ResumeBackupPlanParams) WithHTTPClient

func (o *ResumeBackupPlanParams) WithHTTPClient(client *http.Client) *ResumeBackupPlanParams

WithHTTPClient adds the HTTPClient to the resume backup plan params

func (*ResumeBackupPlanParams) WithRequestBody

WithRequestBody adds the requestBody to the resume backup plan params

func (*ResumeBackupPlanParams) WithTimeout

WithTimeout adds the timeout to the resume backup plan params

func (*ResumeBackupPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResumeBackupPlanReader

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

ResumeBackupPlanReader is a Reader for the ResumeBackupPlan structure.

func (*ResumeBackupPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SuspendBackupPlanBadRequest

type SuspendBackupPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
SuspendBackupPlanBadRequest describes a response with status code 400, with default header values.

Bad request

func NewSuspendBackupPlanBadRequest

func NewSuspendBackupPlanBadRequest() *SuspendBackupPlanBadRequest

NewSuspendBackupPlanBadRequest creates a SuspendBackupPlanBadRequest with default headers values

func (*SuspendBackupPlanBadRequest) Error

func (*SuspendBackupPlanBadRequest) GetPayload

func (o *SuspendBackupPlanBadRequest) GetPayload() *models.ErrorBody

type SuspendBackupPlanInternalServerError

type SuspendBackupPlanInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
SuspendBackupPlanInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSuspendBackupPlanInternalServerError

func NewSuspendBackupPlanInternalServerError() *SuspendBackupPlanInternalServerError

NewSuspendBackupPlanInternalServerError creates a SuspendBackupPlanInternalServerError with default headers values

func (*SuspendBackupPlanInternalServerError) Error

func (*SuspendBackupPlanInternalServerError) GetPayload

type SuspendBackupPlanNotFound

type SuspendBackupPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
SuspendBackupPlanNotFound describes a response with status code 404, with default header values.

Not found

func NewSuspendBackupPlanNotFound

func NewSuspendBackupPlanNotFound() *SuspendBackupPlanNotFound

NewSuspendBackupPlanNotFound creates a SuspendBackupPlanNotFound with default headers values

func (*SuspendBackupPlanNotFound) Error

func (o *SuspendBackupPlanNotFound) Error() string

func (*SuspendBackupPlanNotFound) GetPayload

func (o *SuspendBackupPlanNotFound) GetPayload() *models.ErrorBody

type SuspendBackupPlanOK

type SuspendBackupPlanOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBackupPlan
}
SuspendBackupPlanOK describes a response with status code 200, with default header values.

SuspendBackupPlanOK suspend backup plan o k

func NewSuspendBackupPlanOK

func NewSuspendBackupPlanOK() *SuspendBackupPlanOK

NewSuspendBackupPlanOK creates a SuspendBackupPlanOK with default headers values

func (*SuspendBackupPlanOK) Error

func (o *SuspendBackupPlanOK) Error() string

func (*SuspendBackupPlanOK) GetPayload

func (o *SuspendBackupPlanOK) GetPayload() []*models.WithTaskBackupPlan

type SuspendBackupPlanParams

type SuspendBackupPlanParams struct {

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

	// RequestBody.
	RequestBody *models.BackupPlanSuspendParams

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

SuspendBackupPlanParams contains all the parameters to send to the API endpoint

for the suspend backup plan operation.

Typically these are written to a http.Request.

func NewSuspendBackupPlanParams

func NewSuspendBackupPlanParams() *SuspendBackupPlanParams

NewSuspendBackupPlanParams creates a new SuspendBackupPlanParams 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 NewSuspendBackupPlanParamsWithContext

func NewSuspendBackupPlanParamsWithContext(ctx context.Context) *SuspendBackupPlanParams

NewSuspendBackupPlanParamsWithContext creates a new SuspendBackupPlanParams object with the ability to set a context for a request.

func NewSuspendBackupPlanParamsWithHTTPClient

func NewSuspendBackupPlanParamsWithHTTPClient(client *http.Client) *SuspendBackupPlanParams

NewSuspendBackupPlanParamsWithHTTPClient creates a new SuspendBackupPlanParams object with the ability to set a custom HTTPClient for a request.

func NewSuspendBackupPlanParamsWithTimeout

func NewSuspendBackupPlanParamsWithTimeout(timeout time.Duration) *SuspendBackupPlanParams

NewSuspendBackupPlanParamsWithTimeout creates a new SuspendBackupPlanParams object with the ability to set a timeout on a request.

func (*SuspendBackupPlanParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the suspend backup plan params

func (*SuspendBackupPlanParams) SetContext

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

SetContext adds the context to the suspend backup plan params

func (*SuspendBackupPlanParams) SetDefaults

func (o *SuspendBackupPlanParams) SetDefaults()

SetDefaults hydrates default values in the suspend backup plan params (not the query body).

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

func (*SuspendBackupPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the suspend backup plan params

func (*SuspendBackupPlanParams) SetRequestBody

func (o *SuspendBackupPlanParams) SetRequestBody(requestBody *models.BackupPlanSuspendParams)

SetRequestBody adds the requestBody to the suspend backup plan params

func (*SuspendBackupPlanParams) SetTimeout

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

SetTimeout adds the timeout to the suspend backup plan params

func (*SuspendBackupPlanParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the suspend backup plan params

func (*SuspendBackupPlanParams) WithContext

WithContext adds the context to the suspend backup plan params

func (*SuspendBackupPlanParams) WithDefaults

WithDefaults hydrates default values in the suspend backup plan params (not the query body).

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

func (*SuspendBackupPlanParams) WithHTTPClient

func (o *SuspendBackupPlanParams) WithHTTPClient(client *http.Client) *SuspendBackupPlanParams

WithHTTPClient adds the HTTPClient to the suspend backup plan params

func (*SuspendBackupPlanParams) WithRequestBody

WithRequestBody adds the requestBody to the suspend backup plan params

func (*SuspendBackupPlanParams) WithTimeout

WithTimeout adds the timeout to the suspend backup plan params

func (*SuspendBackupPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SuspendBackupPlanReader

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

SuspendBackupPlanReader is a Reader for the SuspendBackupPlan structure.

func (*SuspendBackupPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBackupPlanBadRequest

type UpdateBackupPlanBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateBackupPlanBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateBackupPlanBadRequest

func NewUpdateBackupPlanBadRequest() *UpdateBackupPlanBadRequest

NewUpdateBackupPlanBadRequest creates a UpdateBackupPlanBadRequest with default headers values

func (*UpdateBackupPlanBadRequest) Error

func (*UpdateBackupPlanBadRequest) GetPayload

func (o *UpdateBackupPlanBadRequest) GetPayload() *models.ErrorBody

type UpdateBackupPlanInternalServerError

type UpdateBackupPlanInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateBackupPlanInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateBackupPlanInternalServerError

func NewUpdateBackupPlanInternalServerError() *UpdateBackupPlanInternalServerError

NewUpdateBackupPlanInternalServerError creates a UpdateBackupPlanInternalServerError with default headers values

func (*UpdateBackupPlanInternalServerError) Error

func (*UpdateBackupPlanInternalServerError) GetPayload

type UpdateBackupPlanNotFound

type UpdateBackupPlanNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateBackupPlanNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateBackupPlanNotFound

func NewUpdateBackupPlanNotFound() *UpdateBackupPlanNotFound

NewUpdateBackupPlanNotFound creates a UpdateBackupPlanNotFound with default headers values

func (*UpdateBackupPlanNotFound) Error

func (o *UpdateBackupPlanNotFound) Error() string

func (*UpdateBackupPlanNotFound) GetPayload

func (o *UpdateBackupPlanNotFound) GetPayload() *models.ErrorBody

type UpdateBackupPlanOK

type UpdateBackupPlanOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBackupPlan
}
UpdateBackupPlanOK describes a response with status code 200, with default header values.

UpdateBackupPlanOK update backup plan o k

func NewUpdateBackupPlanOK

func NewUpdateBackupPlanOK() *UpdateBackupPlanOK

NewUpdateBackupPlanOK creates a UpdateBackupPlanOK with default headers values

func (*UpdateBackupPlanOK) Error

func (o *UpdateBackupPlanOK) Error() string

func (*UpdateBackupPlanOK) GetPayload

func (o *UpdateBackupPlanOK) GetPayload() []*models.WithTaskBackupPlan

type UpdateBackupPlanParams

type UpdateBackupPlanParams struct {

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

	// RequestBody.
	RequestBody *models.BackupPlanUpdationParams

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

UpdateBackupPlanParams contains all the parameters to send to the API endpoint

for the update backup plan operation.

Typically these are written to a http.Request.

func NewUpdateBackupPlanParams

func NewUpdateBackupPlanParams() *UpdateBackupPlanParams

NewUpdateBackupPlanParams creates a new UpdateBackupPlanParams 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 NewUpdateBackupPlanParamsWithContext

func NewUpdateBackupPlanParamsWithContext(ctx context.Context) *UpdateBackupPlanParams

NewUpdateBackupPlanParamsWithContext creates a new UpdateBackupPlanParams object with the ability to set a context for a request.

func NewUpdateBackupPlanParamsWithHTTPClient

func NewUpdateBackupPlanParamsWithHTTPClient(client *http.Client) *UpdateBackupPlanParams

NewUpdateBackupPlanParamsWithHTTPClient creates a new UpdateBackupPlanParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBackupPlanParamsWithTimeout

func NewUpdateBackupPlanParamsWithTimeout(timeout time.Duration) *UpdateBackupPlanParams

NewUpdateBackupPlanParamsWithTimeout creates a new UpdateBackupPlanParams object with the ability to set a timeout on a request.

func (*UpdateBackupPlanParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the update backup plan params

func (*UpdateBackupPlanParams) SetContext

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

SetContext adds the context to the update backup plan params

func (*UpdateBackupPlanParams) SetDefaults

func (o *UpdateBackupPlanParams) SetDefaults()

SetDefaults hydrates default values in the update backup plan params (not the query body).

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

func (*UpdateBackupPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update backup plan params

func (*UpdateBackupPlanParams) SetRequestBody

func (o *UpdateBackupPlanParams) SetRequestBody(requestBody *models.BackupPlanUpdationParams)

SetRequestBody adds the requestBody to the update backup plan params

func (*UpdateBackupPlanParams) SetTimeout

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

SetTimeout adds the timeout to the update backup plan params

func (*UpdateBackupPlanParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the update backup plan params

func (*UpdateBackupPlanParams) WithContext

WithContext adds the context to the update backup plan params

func (*UpdateBackupPlanParams) WithDefaults

WithDefaults hydrates default values in the update backup plan params (not the query body).

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

func (*UpdateBackupPlanParams) WithHTTPClient

func (o *UpdateBackupPlanParams) WithHTTPClient(client *http.Client) *UpdateBackupPlanParams

WithHTTPClient adds the HTTPClient to the update backup plan params

func (*UpdateBackupPlanParams) WithRequestBody

WithRequestBody adds the requestBody to the update backup plan params

func (*UpdateBackupPlanParams) WithTimeout

WithTimeout adds the timeout to the update backup plan params

func (*UpdateBackupPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateBackupPlanReader

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

UpdateBackupPlanReader is a Reader for the UpdateBackupPlan structure.

func (*UpdateBackupPlanReader) ReadResponse

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