backup_restore_execution

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 {
	Payload string
}
GetBackupRestoreExecutionsBadRequest describes a response with status code 400, with default header values.

GetBackupRestoreExecutionsBadRequest get backup restore executions 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 {
	Payload string
}
GetBackupRestoreExecutionsConnectionBadRequest describes a response with status code 400, with default header values.

GetBackupRestoreExecutionsConnectionBadRequest get backup restore executions connection bad request

func NewGetBackupRestoreExecutionsConnectionBadRequest

func NewGetBackupRestoreExecutionsConnectionBadRequest() *GetBackupRestoreExecutionsConnectionBadRequest

NewGetBackupRestoreExecutionsConnectionBadRequest creates a GetBackupRestoreExecutionsConnectionBadRequest with default headers values

func (*GetBackupRestoreExecutionsConnectionBadRequest) Error

func (*GetBackupRestoreExecutionsConnectionBadRequest) GetPayload

type GetBackupRestoreExecutionsConnectionOK

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

Ok

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 GetBackupRestoreExecutionsOK

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

Ok

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
⌂ 换网址