backup_restore_point

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 point API

func (*Client) GetBackupRestorePoints

func (a *Client) GetBackupRestorePoints(params *GetBackupRestorePointsParams, opts ...ClientOption) (*GetBackupRestorePointsOK, error)

GetBackupRestorePoints get backup restore points API

func (*Client) GetBackupRestorePointsConnection

func (a *Client) GetBackupRestorePointsConnection(params *GetBackupRestorePointsConnectionParams, opts ...ClientOption) (*GetBackupRestorePointsConnectionOK, error)

GetBackupRestorePointsConnection get backup restore points 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 {
	GetBackupRestorePoints(params *GetBackupRestorePointsParams, opts ...ClientOption) (*GetBackupRestorePointsOK, error)

	GetBackupRestorePointsConnection(params *GetBackupRestorePointsConnectionParams, opts ...ClientOption) (*GetBackupRestorePointsConnectionOK, 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 point API client.

type GetBackupRestorePointsBadRequest

type GetBackupRestorePointsBadRequest struct {
	Payload string
}
GetBackupRestorePointsBadRequest describes a response with status code 400, with default header values.

GetBackupRestorePointsBadRequest get backup restore points bad request

func NewGetBackupRestorePointsBadRequest

func NewGetBackupRestorePointsBadRequest() *GetBackupRestorePointsBadRequest

NewGetBackupRestorePointsBadRequest creates a GetBackupRestorePointsBadRequest with default headers values

func (*GetBackupRestorePointsBadRequest) Error

func (*GetBackupRestorePointsBadRequest) GetPayload

func (o *GetBackupRestorePointsBadRequest) GetPayload() string

type GetBackupRestorePointsConnectionBadRequest

type GetBackupRestorePointsConnectionBadRequest struct {
	Payload string
}
GetBackupRestorePointsConnectionBadRequest describes a response with status code 400, with default header values.

GetBackupRestorePointsConnectionBadRequest get backup restore points connection bad request

func NewGetBackupRestorePointsConnectionBadRequest

func NewGetBackupRestorePointsConnectionBadRequest() *GetBackupRestorePointsConnectionBadRequest

NewGetBackupRestorePointsConnectionBadRequest creates a GetBackupRestorePointsConnectionBadRequest with default headers values

func (*GetBackupRestorePointsConnectionBadRequest) Error

func (*GetBackupRestorePointsConnectionBadRequest) GetPayload

type GetBackupRestorePointsConnectionOK

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

Ok

func NewGetBackupRestorePointsConnectionOK

func NewGetBackupRestorePointsConnectionOK() *GetBackupRestorePointsConnectionOK

NewGetBackupRestorePointsConnectionOK creates a GetBackupRestorePointsConnectionOK with default headers values

func (*GetBackupRestorePointsConnectionOK) Error

func (*GetBackupRestorePointsConnectionOK) GetPayload

type GetBackupRestorePointsConnectionParams

type GetBackupRestorePointsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupRestorePointsConnectionRequestBody

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

GetBackupRestorePointsConnectionParams contains all the parameters to send to the API endpoint

for the get backup restore points connection operation.

Typically these are written to a http.Request.

func NewGetBackupRestorePointsConnectionParams

func NewGetBackupRestorePointsConnectionParams() *GetBackupRestorePointsConnectionParams

NewGetBackupRestorePointsConnectionParams creates a new GetBackupRestorePointsConnectionParams 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 NewGetBackupRestorePointsConnectionParamsWithContext

func NewGetBackupRestorePointsConnectionParamsWithContext(ctx context.Context) *GetBackupRestorePointsConnectionParams

NewGetBackupRestorePointsConnectionParamsWithContext creates a new GetBackupRestorePointsConnectionParams object with the ability to set a context for a request.

func NewGetBackupRestorePointsConnectionParamsWithHTTPClient

func NewGetBackupRestorePointsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupRestorePointsConnectionParams

NewGetBackupRestorePointsConnectionParamsWithHTTPClient creates a new GetBackupRestorePointsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupRestorePointsConnectionParamsWithTimeout

func NewGetBackupRestorePointsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupRestorePointsConnectionParams

NewGetBackupRestorePointsConnectionParamsWithTimeout creates a new GetBackupRestorePointsConnectionParams object with the ability to set a timeout on a request.

func (*GetBackupRestorePointsConnectionParams) SetContentLanguage

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

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

func (*GetBackupRestorePointsConnectionParams) SetContext

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

func (*GetBackupRestorePointsConnectionParams) SetDefaults

func (o *GetBackupRestorePointsConnectionParams) SetDefaults()

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

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

func (*GetBackupRestorePointsConnectionParams) SetHTTPClient

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

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

func (*GetBackupRestorePointsConnectionParams) SetRequestBody

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

func (*GetBackupRestorePointsConnectionParams) SetTimeout

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

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

func (*GetBackupRestorePointsConnectionParams) WithContentLanguage

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

func (*GetBackupRestorePointsConnectionParams) WithContext

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

func (*GetBackupRestorePointsConnectionParams) WithDefaults

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

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

func (*GetBackupRestorePointsConnectionParams) WithHTTPClient

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

func (*GetBackupRestorePointsConnectionParams) WithRequestBody

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

func (*GetBackupRestorePointsConnectionParams) WithTimeout

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

func (*GetBackupRestorePointsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupRestorePointsConnectionReader

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

GetBackupRestorePointsConnectionReader is a Reader for the GetBackupRestorePointsConnection structure.

func (*GetBackupRestorePointsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupRestorePointsOK

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

Ok

func NewGetBackupRestorePointsOK

func NewGetBackupRestorePointsOK() *GetBackupRestorePointsOK

NewGetBackupRestorePointsOK creates a GetBackupRestorePointsOK with default headers values

func (*GetBackupRestorePointsOK) Error

func (o *GetBackupRestorePointsOK) Error() string

func (*GetBackupRestorePointsOK) GetPayload

type GetBackupRestorePointsParams

type GetBackupRestorePointsParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupRestorePointsRequestBody

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

GetBackupRestorePointsParams contains all the parameters to send to the API endpoint

for the get backup restore points operation.

Typically these are written to a http.Request.

func NewGetBackupRestorePointsParams

func NewGetBackupRestorePointsParams() *GetBackupRestorePointsParams

NewGetBackupRestorePointsParams creates a new GetBackupRestorePointsParams 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 NewGetBackupRestorePointsParamsWithContext

func NewGetBackupRestorePointsParamsWithContext(ctx context.Context) *GetBackupRestorePointsParams

NewGetBackupRestorePointsParamsWithContext creates a new GetBackupRestorePointsParams object with the ability to set a context for a request.

func NewGetBackupRestorePointsParamsWithHTTPClient

func NewGetBackupRestorePointsParamsWithHTTPClient(client *http.Client) *GetBackupRestorePointsParams

NewGetBackupRestorePointsParamsWithHTTPClient creates a new GetBackupRestorePointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupRestorePointsParamsWithTimeout

func NewGetBackupRestorePointsParamsWithTimeout(timeout time.Duration) *GetBackupRestorePointsParams

NewGetBackupRestorePointsParamsWithTimeout creates a new GetBackupRestorePointsParams object with the ability to set a timeout on a request.

func (*GetBackupRestorePointsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup restore points params

func (*GetBackupRestorePointsParams) SetContext

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

SetContext adds the context to the get backup restore points params

func (*GetBackupRestorePointsParams) SetDefaults

func (o *GetBackupRestorePointsParams) SetDefaults()

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

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

func (*GetBackupRestorePointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup restore points params

func (*GetBackupRestorePointsParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup restore points params

func (*GetBackupRestorePointsParams) SetTimeout

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

SetTimeout adds the timeout to the get backup restore points params

func (*GetBackupRestorePointsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get backup restore points params

func (*GetBackupRestorePointsParams) WithContext

WithContext adds the context to the get backup restore points params

func (*GetBackupRestorePointsParams) WithDefaults

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

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

func (*GetBackupRestorePointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup restore points params

func (*GetBackupRestorePointsParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup restore points params

func (*GetBackupRestorePointsParams) WithTimeout

WithTimeout adds the timeout to the get backup restore points params

func (*GetBackupRestorePointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupRestorePointsReader

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

GetBackupRestorePointsReader is a Reader for the GetBackupRestorePoints structure.

func (*GetBackupRestorePointsReader) ReadResponse

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