backup_plan

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 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) 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 {
	GetBackupPlans(params *GetBackupPlansParams, opts ...ClientOption) (*GetBackupPlansOK, error)

	GetBackupPlansConnection(params *GetBackupPlansConnectionParams, opts ...ClientOption) (*GetBackupPlansConnectionOK, 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 GetBackupPlansBadRequest

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

GetBackupPlansBadRequest get backup plans 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() string

type GetBackupPlansConnectionBadRequest

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

GetBackupPlansConnectionBadRequest get backup plans connection bad request

func NewGetBackupPlansConnectionBadRequest

func NewGetBackupPlansConnectionBadRequest() *GetBackupPlansConnectionBadRequest

NewGetBackupPlansConnectionBadRequest creates a GetBackupPlansConnectionBadRequest with default headers values

func (*GetBackupPlansConnectionBadRequest) Error

func (*GetBackupPlansConnectionBadRequest) GetPayload

type GetBackupPlansConnectionOK

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

Ok

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 GetBackupPlansOK

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

Ok

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL