backup_license

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

func (*Client) GetBackupLicenses

func (a *Client) GetBackupLicenses(params *GetBackupLicensesParams, opts ...ClientOption) (*GetBackupLicensesOK, error)

GetBackupLicenses get backup licenses API

func (*Client) GetBackupLicensesConnection

func (a *Client) GetBackupLicensesConnection(params *GetBackupLicensesConnectionParams, opts ...ClientOption) (*GetBackupLicensesConnectionOK, error)

GetBackupLicensesConnection get backup licenses 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 {
	GetBackupLicenses(params *GetBackupLicensesParams, opts ...ClientOption) (*GetBackupLicensesOK, error)

	GetBackupLicensesConnection(params *GetBackupLicensesConnectionParams, opts ...ClientOption) (*GetBackupLicensesConnectionOK, 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 license API client.

type GetBackupLicensesBadRequest

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

GetBackupLicensesBadRequest get backup licenses bad request

func NewGetBackupLicensesBadRequest

func NewGetBackupLicensesBadRequest() *GetBackupLicensesBadRequest

NewGetBackupLicensesBadRequest creates a GetBackupLicensesBadRequest with default headers values

func (*GetBackupLicensesBadRequest) Error

func (*GetBackupLicensesBadRequest) GetPayload

func (o *GetBackupLicensesBadRequest) GetPayload() string

type GetBackupLicensesConnectionBadRequest

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

GetBackupLicensesConnectionBadRequest get backup licenses connection bad request

func NewGetBackupLicensesConnectionBadRequest

func NewGetBackupLicensesConnectionBadRequest() *GetBackupLicensesConnectionBadRequest

NewGetBackupLicensesConnectionBadRequest creates a GetBackupLicensesConnectionBadRequest with default headers values

func (*GetBackupLicensesConnectionBadRequest) Error

func (*GetBackupLicensesConnectionBadRequest) GetPayload

type GetBackupLicensesConnectionOK

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

Ok

func NewGetBackupLicensesConnectionOK

func NewGetBackupLicensesConnectionOK() *GetBackupLicensesConnectionOK

NewGetBackupLicensesConnectionOK creates a GetBackupLicensesConnectionOK with default headers values

func (*GetBackupLicensesConnectionOK) Error

func (*GetBackupLicensesConnectionOK) GetPayload

type GetBackupLicensesConnectionParams

type GetBackupLicensesConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupLicensesConnectionRequestBody

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

GetBackupLicensesConnectionParams contains all the parameters to send to the API endpoint

for the get backup licenses connection operation.

Typically these are written to a http.Request.

func NewGetBackupLicensesConnectionParams

func NewGetBackupLicensesConnectionParams() *GetBackupLicensesConnectionParams

NewGetBackupLicensesConnectionParams creates a new GetBackupLicensesConnectionParams 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 NewGetBackupLicensesConnectionParamsWithContext

func NewGetBackupLicensesConnectionParamsWithContext(ctx context.Context) *GetBackupLicensesConnectionParams

NewGetBackupLicensesConnectionParamsWithContext creates a new GetBackupLicensesConnectionParams object with the ability to set a context for a request.

func NewGetBackupLicensesConnectionParamsWithHTTPClient

func NewGetBackupLicensesConnectionParamsWithHTTPClient(client *http.Client) *GetBackupLicensesConnectionParams

NewGetBackupLicensesConnectionParamsWithHTTPClient creates a new GetBackupLicensesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupLicensesConnectionParamsWithTimeout

func NewGetBackupLicensesConnectionParamsWithTimeout(timeout time.Duration) *GetBackupLicensesConnectionParams

NewGetBackupLicensesConnectionParamsWithTimeout creates a new GetBackupLicensesConnectionParams object with the ability to set a timeout on a request.

func (*GetBackupLicensesConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) SetContext

SetContext adds the context to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) SetDefaults

func (o *GetBackupLicensesConnectionParams) SetDefaults()

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

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

func (*GetBackupLicensesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) WithContext

WithContext adds the context to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) WithDefaults

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

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

func (*GetBackupLicensesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get backup licenses connection params

func (*GetBackupLicensesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupLicensesConnectionReader

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

GetBackupLicensesConnectionReader is a Reader for the GetBackupLicensesConnection structure.

func (*GetBackupLicensesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupLicensesOK

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

Ok

func NewGetBackupLicensesOK

func NewGetBackupLicensesOK() *GetBackupLicensesOK

NewGetBackupLicensesOK creates a GetBackupLicensesOK with default headers values

func (*GetBackupLicensesOK) Error

func (o *GetBackupLicensesOK) Error() string

func (*GetBackupLicensesOK) GetPayload

func (o *GetBackupLicensesOK) GetPayload() []*models.BackupLicense

type GetBackupLicensesParams

type GetBackupLicensesParams struct {

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

	// RequestBody.
	RequestBody *models.GetBackupLicensesRequestBody

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

GetBackupLicensesParams contains all the parameters to send to the API endpoint

for the get backup licenses operation.

Typically these are written to a http.Request.

func NewGetBackupLicensesParams

func NewGetBackupLicensesParams() *GetBackupLicensesParams

NewGetBackupLicensesParams creates a new GetBackupLicensesParams 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 NewGetBackupLicensesParamsWithContext

func NewGetBackupLicensesParamsWithContext(ctx context.Context) *GetBackupLicensesParams

NewGetBackupLicensesParamsWithContext creates a new GetBackupLicensesParams object with the ability to set a context for a request.

func NewGetBackupLicensesParamsWithHTTPClient

func NewGetBackupLicensesParamsWithHTTPClient(client *http.Client) *GetBackupLicensesParams

NewGetBackupLicensesParamsWithHTTPClient creates a new GetBackupLicensesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupLicensesParamsWithTimeout

func NewGetBackupLicensesParamsWithTimeout(timeout time.Duration) *GetBackupLicensesParams

NewGetBackupLicensesParamsWithTimeout creates a new GetBackupLicensesParams object with the ability to set a timeout on a request.

func (*GetBackupLicensesParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get backup licenses params

func (*GetBackupLicensesParams) SetContext

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

SetContext adds the context to the get backup licenses params

func (*GetBackupLicensesParams) SetDefaults

func (o *GetBackupLicensesParams) SetDefaults()

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

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

func (*GetBackupLicensesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup licenses params

func (*GetBackupLicensesParams) SetRequestBody

func (o *GetBackupLicensesParams) SetRequestBody(requestBody *models.GetBackupLicensesRequestBody)

SetRequestBody adds the requestBody to the get backup licenses params

func (*GetBackupLicensesParams) SetTimeout

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

SetTimeout adds the timeout to the get backup licenses params

func (*GetBackupLicensesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get backup licenses params

func (*GetBackupLicensesParams) WithContext

WithContext adds the context to the get backup licenses params

func (*GetBackupLicensesParams) WithDefaults

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

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

func (*GetBackupLicensesParams) WithHTTPClient

func (o *GetBackupLicensesParams) WithHTTPClient(client *http.Client) *GetBackupLicensesParams

WithHTTPClient adds the HTTPClient to the get backup licenses params

func (*GetBackupLicensesParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup licenses params

func (*GetBackupLicensesParams) WithTimeout

WithTimeout adds the timeout to the get backup licenses params

func (*GetBackupLicensesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupLicensesReader

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

GetBackupLicensesReader is a Reader for the GetBackupLicenses structure.

func (*GetBackupLicensesReader) ReadResponse

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