backup_plan_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 plan execution API

func (*Client) GetBackupPlanExecutions

func (a *Client) GetBackupPlanExecutions(params *GetBackupPlanExecutionsParams, opts ...ClientOption) (*GetBackupPlanExecutionsOK, error)

GetBackupPlanExecutions get backup plan executions API

func (*Client) GetBackupPlanExecutionsConnection

func (a *Client) GetBackupPlanExecutionsConnection(params *GetBackupPlanExecutionsConnectionParams, opts ...ClientOption) (*GetBackupPlanExecutionsConnectionOK, error)

GetBackupPlanExecutionsConnection get backup plan 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 {
	GetBackupPlanExecutions(params *GetBackupPlanExecutionsParams, opts ...ClientOption) (*GetBackupPlanExecutionsOK, error)

	GetBackupPlanExecutionsConnection(params *GetBackupPlanExecutionsConnectionParams, opts ...ClientOption) (*GetBackupPlanExecutionsConnectionOK, 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 execution API client.

type GetBackupPlanExecutionsBadRequest

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

GetBackupPlanExecutionsBadRequest get backup plan executions bad request

func NewGetBackupPlanExecutionsBadRequest

func NewGetBackupPlanExecutionsBadRequest() *GetBackupPlanExecutionsBadRequest

NewGetBackupPlanExecutionsBadRequest creates a GetBackupPlanExecutionsBadRequest with default headers values

func (*GetBackupPlanExecutionsBadRequest) Error

func (*GetBackupPlanExecutionsBadRequest) GetPayload

func (o *GetBackupPlanExecutionsBadRequest) GetPayload() string

type GetBackupPlanExecutionsConnectionBadRequest

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

GetBackupPlanExecutionsConnectionBadRequest get backup plan executions connection bad request

func NewGetBackupPlanExecutionsConnectionBadRequest

func NewGetBackupPlanExecutionsConnectionBadRequest() *GetBackupPlanExecutionsConnectionBadRequest

NewGetBackupPlanExecutionsConnectionBadRequest creates a GetBackupPlanExecutionsConnectionBadRequest with default headers values

func (*GetBackupPlanExecutionsConnectionBadRequest) Error

func (*GetBackupPlanExecutionsConnectionBadRequest) GetPayload

type GetBackupPlanExecutionsConnectionOK

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

Ok

func NewGetBackupPlanExecutionsConnectionOK

func NewGetBackupPlanExecutionsConnectionOK() *GetBackupPlanExecutionsConnectionOK

NewGetBackupPlanExecutionsConnectionOK creates a GetBackupPlanExecutionsConnectionOK with default headers values

func (*GetBackupPlanExecutionsConnectionOK) Error

func (*GetBackupPlanExecutionsConnectionOK) GetPayload

type GetBackupPlanExecutionsConnectionParams

type GetBackupPlanExecutionsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupPlanExecutionsConnectionRequestBody

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

GetBackupPlanExecutionsConnectionParams contains all the parameters to send to the API endpoint

for the get backup plan executions connection operation.

Typically these are written to a http.Request.

func NewGetBackupPlanExecutionsConnectionParams

func NewGetBackupPlanExecutionsConnectionParams() *GetBackupPlanExecutionsConnectionParams

NewGetBackupPlanExecutionsConnectionParams creates a new GetBackupPlanExecutionsConnectionParams 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 NewGetBackupPlanExecutionsConnectionParamsWithContext

func NewGetBackupPlanExecutionsConnectionParamsWithContext(ctx context.Context) *GetBackupPlanExecutionsConnectionParams

NewGetBackupPlanExecutionsConnectionParamsWithContext creates a new GetBackupPlanExecutionsConnectionParams object with the ability to set a context for a request.

func NewGetBackupPlanExecutionsConnectionParamsWithHTTPClient

func NewGetBackupPlanExecutionsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupPlanExecutionsConnectionParams

NewGetBackupPlanExecutionsConnectionParamsWithHTTPClient creates a new GetBackupPlanExecutionsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupPlanExecutionsConnectionParamsWithTimeout

func NewGetBackupPlanExecutionsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupPlanExecutionsConnectionParams

NewGetBackupPlanExecutionsConnectionParamsWithTimeout creates a new GetBackupPlanExecutionsConnectionParams object with the ability to set a timeout on a request.

func (*GetBackupPlanExecutionsConnectionParams) SetContentLanguage

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

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

func (*GetBackupPlanExecutionsConnectionParams) SetContext

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

func (*GetBackupPlanExecutionsConnectionParams) SetDefaults

func (o *GetBackupPlanExecutionsConnectionParams) SetDefaults()

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

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

func (*GetBackupPlanExecutionsConnectionParams) SetHTTPClient

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

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

func (*GetBackupPlanExecutionsConnectionParams) SetRequestBody

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

func (*GetBackupPlanExecutionsConnectionParams) SetTimeout

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

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

func (*GetBackupPlanExecutionsConnectionParams) WithContentLanguage

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

func (*GetBackupPlanExecutionsConnectionParams) WithContext

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

func (*GetBackupPlanExecutionsConnectionParams) WithDefaults

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

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

func (*GetBackupPlanExecutionsConnectionParams) WithHTTPClient

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

func (*GetBackupPlanExecutionsConnectionParams) WithRequestBody

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

func (*GetBackupPlanExecutionsConnectionParams) WithTimeout

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

func (*GetBackupPlanExecutionsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupPlanExecutionsConnectionReader

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

GetBackupPlanExecutionsConnectionReader is a Reader for the GetBackupPlanExecutionsConnection structure.

func (*GetBackupPlanExecutionsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupPlanExecutionsOK

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

Ok

func NewGetBackupPlanExecutionsOK

func NewGetBackupPlanExecutionsOK() *GetBackupPlanExecutionsOK

NewGetBackupPlanExecutionsOK creates a GetBackupPlanExecutionsOK with default headers values

func (*GetBackupPlanExecutionsOK) Error

func (o *GetBackupPlanExecutionsOK) Error() string

func (*GetBackupPlanExecutionsOK) GetPayload

type GetBackupPlanExecutionsParams

type GetBackupPlanExecutionsParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupPlanExecutionsRequestBody

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

GetBackupPlanExecutionsParams contains all the parameters to send to the API endpoint

for the get backup plan executions operation.

Typically these are written to a http.Request.

func NewGetBackupPlanExecutionsParams

func NewGetBackupPlanExecutionsParams() *GetBackupPlanExecutionsParams

NewGetBackupPlanExecutionsParams creates a new GetBackupPlanExecutionsParams 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 NewGetBackupPlanExecutionsParamsWithContext

func NewGetBackupPlanExecutionsParamsWithContext(ctx context.Context) *GetBackupPlanExecutionsParams

NewGetBackupPlanExecutionsParamsWithContext creates a new GetBackupPlanExecutionsParams object with the ability to set a context for a request.

func NewGetBackupPlanExecutionsParamsWithHTTPClient

func NewGetBackupPlanExecutionsParamsWithHTTPClient(client *http.Client) *GetBackupPlanExecutionsParams

NewGetBackupPlanExecutionsParamsWithHTTPClient creates a new GetBackupPlanExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupPlanExecutionsParamsWithTimeout

func NewGetBackupPlanExecutionsParamsWithTimeout(timeout time.Duration) *GetBackupPlanExecutionsParams

NewGetBackupPlanExecutionsParamsWithTimeout creates a new GetBackupPlanExecutionsParams object with the ability to set a timeout on a request.

func (*GetBackupPlanExecutionsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) SetContext

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

SetContext adds the context to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) SetDefaults

func (o *GetBackupPlanExecutionsParams) SetDefaults()

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

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

func (*GetBackupPlanExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) WithContext

WithContext adds the context to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) WithDefaults

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

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

func (*GetBackupPlanExecutionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) WithTimeout

WithTimeout adds the timeout to the get backup plan executions params

func (*GetBackupPlanExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupPlanExecutionsReader

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

GetBackupPlanExecutionsReader is a Reader for the GetBackupPlanExecutions structure.

func (*GetBackupPlanExecutionsReader) ReadResponse

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