backup_restore_execution

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 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 backup restore execution API

func (*Client) GetBackupRestoreExecutions

func (a *Client) GetBackupRestoreExecutions(params *GetBackupRestoreExecutionsParams, opts ...ClientOption) (*GetBackupRestoreExecutionsOK, error)

GetBackupRestoreExecutions get backup restore executions API

func (*Client) GetBackupRestoreExecutionsConnection

func (a *Client) GetBackupRestoreExecutionsConnection(params *GetBackupRestoreExecutionsConnectionParams, opts ...ClientOption) (*GetBackupRestoreExecutionsConnectionOK, error)

GetBackupRestoreExecutionsConnection get backup restore executions connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetBackupRestoreExecutions(params *GetBackupRestoreExecutionsParams, opts ...ClientOption) (*GetBackupRestoreExecutionsOK, error)

	GetBackupRestoreExecutionsConnection(params *GetBackupRestoreExecutionsConnectionParams, opts ...ClientOption) (*GetBackupRestoreExecutionsConnectionOK, 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 restore execution API client.

type GetBackupRestoreExecutionsBadRequest

type GetBackupRestoreExecutionsBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetBackupRestoreExecutionsBadRequest

func NewGetBackupRestoreExecutionsBadRequest() *GetBackupRestoreExecutionsBadRequest

NewGetBackupRestoreExecutionsBadRequest creates a GetBackupRestoreExecutionsBadRequest with default headers values

func (*GetBackupRestoreExecutionsBadRequest) Error

func (*GetBackupRestoreExecutionsBadRequest) GetPayload

type GetBackupRestoreExecutionsConnectionBadRequest

type GetBackupRestoreExecutionsConnectionBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetBackupRestoreExecutionsConnectionBadRequest

func NewGetBackupRestoreExecutionsConnectionBadRequest() *GetBackupRestoreExecutionsConnectionBadRequest

NewGetBackupRestoreExecutionsConnectionBadRequest creates a GetBackupRestoreExecutionsConnectionBadRequest with default headers values

func (*GetBackupRestoreExecutionsConnectionBadRequest) Error

func (*GetBackupRestoreExecutionsConnectionBadRequest) GetPayload

type GetBackupRestoreExecutionsConnectionInternalServerError

type GetBackupRestoreExecutionsConnectionInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewGetBackupRestoreExecutionsConnectionInternalServerError

func NewGetBackupRestoreExecutionsConnectionInternalServerError() *GetBackupRestoreExecutionsConnectionInternalServerError

NewGetBackupRestoreExecutionsConnectionInternalServerError creates a GetBackupRestoreExecutionsConnectionInternalServerError with default headers values

func (*GetBackupRestoreExecutionsConnectionInternalServerError) Error

func (*GetBackupRestoreExecutionsConnectionInternalServerError) GetPayload

type GetBackupRestoreExecutionsConnectionNotFound

type GetBackupRestoreExecutionsConnectionNotFound struct {
	XTowerRequestID string

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

Not found

func NewGetBackupRestoreExecutionsConnectionNotFound

func NewGetBackupRestoreExecutionsConnectionNotFound() *GetBackupRestoreExecutionsConnectionNotFound

NewGetBackupRestoreExecutionsConnectionNotFound creates a GetBackupRestoreExecutionsConnectionNotFound with default headers values

func (*GetBackupRestoreExecutionsConnectionNotFound) Error

func (*GetBackupRestoreExecutionsConnectionNotFound) GetPayload

type GetBackupRestoreExecutionsConnectionOK

type GetBackupRestoreExecutionsConnectionOK struct {
	XTowerRequestID string

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

GetBackupRestoreExecutionsConnectionOK get backup restore executions connection o k

func NewGetBackupRestoreExecutionsConnectionOK

func NewGetBackupRestoreExecutionsConnectionOK() *GetBackupRestoreExecutionsConnectionOK

NewGetBackupRestoreExecutionsConnectionOK creates a GetBackupRestoreExecutionsConnectionOK with default headers values

func (*GetBackupRestoreExecutionsConnectionOK) Error

func (*GetBackupRestoreExecutionsConnectionOK) GetPayload

type GetBackupRestoreExecutionsConnectionParams

type GetBackupRestoreExecutionsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupRestoreExecutionsConnectionRequestBody

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

GetBackupRestoreExecutionsConnectionParams contains all the parameters to send to the API endpoint

for the get backup restore executions connection operation.

Typically these are written to a http.Request.

func NewGetBackupRestoreExecutionsConnectionParams

func NewGetBackupRestoreExecutionsConnectionParams() *GetBackupRestoreExecutionsConnectionParams

NewGetBackupRestoreExecutionsConnectionParams creates a new GetBackupRestoreExecutionsConnectionParams 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 NewGetBackupRestoreExecutionsConnectionParamsWithContext

func NewGetBackupRestoreExecutionsConnectionParamsWithContext(ctx context.Context) *GetBackupRestoreExecutionsConnectionParams

NewGetBackupRestoreExecutionsConnectionParamsWithContext creates a new GetBackupRestoreExecutionsConnectionParams object with the ability to set a context for a request.

func NewGetBackupRestoreExecutionsConnectionParamsWithHTTPClient

func NewGetBackupRestoreExecutionsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsConnectionParams

NewGetBackupRestoreExecutionsConnectionParamsWithHTTPClient creates a new GetBackupRestoreExecutionsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupRestoreExecutionsConnectionParamsWithTimeout

func NewGetBackupRestoreExecutionsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsConnectionParams

NewGetBackupRestoreExecutionsConnectionParamsWithTimeout creates a new GetBackupRestoreExecutionsConnectionParams object with the ability to set a timeout on a request.

func (*GetBackupRestoreExecutionsConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) SetContext

SetContext adds the context to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) SetDefaults

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

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

func (*GetBackupRestoreExecutionsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) SetTimeout

SetTimeout adds the timeout to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) WithContext

WithContext adds the context to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) WithDefaults

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

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

func (*GetBackupRestoreExecutionsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get backup restore executions connection params

func (*GetBackupRestoreExecutionsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupRestoreExecutionsConnectionReader

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

GetBackupRestoreExecutionsConnectionReader is a Reader for the GetBackupRestoreExecutionsConnection structure.

func (*GetBackupRestoreExecutionsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupRestoreExecutionsInternalServerError

type GetBackupRestoreExecutionsInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewGetBackupRestoreExecutionsInternalServerError

func NewGetBackupRestoreExecutionsInternalServerError() *GetBackupRestoreExecutionsInternalServerError

NewGetBackupRestoreExecutionsInternalServerError creates a GetBackupRestoreExecutionsInternalServerError with default headers values

func (*GetBackupRestoreExecutionsInternalServerError) Error

func (*GetBackupRestoreExecutionsInternalServerError) GetPayload

type GetBackupRestoreExecutionsNotFound

type GetBackupRestoreExecutionsNotFound struct {
	XTowerRequestID string

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

Not found

func NewGetBackupRestoreExecutionsNotFound

func NewGetBackupRestoreExecutionsNotFound() *GetBackupRestoreExecutionsNotFound

NewGetBackupRestoreExecutionsNotFound creates a GetBackupRestoreExecutionsNotFound with default headers values

func (*GetBackupRestoreExecutionsNotFound) Error

func (*GetBackupRestoreExecutionsNotFound) GetPayload

type GetBackupRestoreExecutionsOK

type GetBackupRestoreExecutionsOK struct {
	XTowerRequestID string

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

GetBackupRestoreExecutionsOK get backup restore executions o k

func NewGetBackupRestoreExecutionsOK

func NewGetBackupRestoreExecutionsOK() *GetBackupRestoreExecutionsOK

NewGetBackupRestoreExecutionsOK creates a GetBackupRestoreExecutionsOK with default headers values

func (*GetBackupRestoreExecutionsOK) Error

func (*GetBackupRestoreExecutionsOK) GetPayload

type GetBackupRestoreExecutionsParams

type GetBackupRestoreExecutionsParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupRestoreExecutionsRequestBody

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

GetBackupRestoreExecutionsParams contains all the parameters to send to the API endpoint

for the get backup restore executions operation.

Typically these are written to a http.Request.

func NewGetBackupRestoreExecutionsParams

func NewGetBackupRestoreExecutionsParams() *GetBackupRestoreExecutionsParams

NewGetBackupRestoreExecutionsParams creates a new GetBackupRestoreExecutionsParams 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 NewGetBackupRestoreExecutionsParamsWithContext

func NewGetBackupRestoreExecutionsParamsWithContext(ctx context.Context) *GetBackupRestoreExecutionsParams

NewGetBackupRestoreExecutionsParamsWithContext creates a new GetBackupRestoreExecutionsParams object with the ability to set a context for a request.

func NewGetBackupRestoreExecutionsParamsWithHTTPClient

func NewGetBackupRestoreExecutionsParamsWithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsParams

NewGetBackupRestoreExecutionsParamsWithHTTPClient creates a new GetBackupRestoreExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupRestoreExecutionsParamsWithTimeout

func NewGetBackupRestoreExecutionsParamsWithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsParams

NewGetBackupRestoreExecutionsParamsWithTimeout creates a new GetBackupRestoreExecutionsParams object with the ability to set a timeout on a request.

func (*GetBackupRestoreExecutionsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) SetContext

SetContext adds the context to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) SetDefaults

func (o *GetBackupRestoreExecutionsParams) SetDefaults()

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

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

func (*GetBackupRestoreExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) WithContext

WithContext adds the context to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) WithDefaults

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

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

func (*GetBackupRestoreExecutionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) WithTimeout

WithTimeout adds the timeout to the get backup restore executions params

func (*GetBackupRestoreExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupRestoreExecutionsReader

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

GetBackupRestoreExecutionsReader is a Reader for the GetBackupRestoreExecutions structure.

func (*GetBackupRestoreExecutionsReader) ReadResponse

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