Documentation
¶
Index ¶
- type Client
- func (a *Client) GetBackupLicenses(params *GetBackupLicensesParams, opts ...ClientOption) (*GetBackupLicensesOK, error)
- func (a *Client) GetBackupLicensesConnection(params *GetBackupLicensesConnectionParams, opts ...ClientOption) (*GetBackupLicensesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetBackupLicensesBadRequest
- type GetBackupLicensesConnectionBadRequest
- type GetBackupLicensesConnectionOK
- type GetBackupLicensesConnectionParams
- func NewGetBackupLicensesConnectionParams() *GetBackupLicensesConnectionParams
- func NewGetBackupLicensesConnectionParamsWithContext(ctx context.Context) *GetBackupLicensesConnectionParams
- func NewGetBackupLicensesConnectionParamsWithHTTPClient(client *http.Client) *GetBackupLicensesConnectionParams
- func NewGetBackupLicensesConnectionParamsWithTimeout(timeout time.Duration) *GetBackupLicensesConnectionParams
- func (o *GetBackupLicensesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupLicensesConnectionParams) SetContext(ctx context.Context)
- func (o *GetBackupLicensesConnectionParams) SetDefaults()
- func (o *GetBackupLicensesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupLicensesConnectionParams) SetRequestBody(requestBody *models.GetBackupLicensesConnectionRequestBody)
- func (o *GetBackupLicensesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupLicensesConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupLicensesConnectionParams
- func (o *GetBackupLicensesConnectionParams) WithContext(ctx context.Context) *GetBackupLicensesConnectionParams
- func (o *GetBackupLicensesConnectionParams) WithDefaults() *GetBackupLicensesConnectionParams
- func (o *GetBackupLicensesConnectionParams) WithHTTPClient(client *http.Client) *GetBackupLicensesConnectionParams
- func (o *GetBackupLicensesConnectionParams) WithRequestBody(requestBody *models.GetBackupLicensesConnectionRequestBody) *GetBackupLicensesConnectionParams
- func (o *GetBackupLicensesConnectionParams) WithTimeout(timeout time.Duration) *GetBackupLicensesConnectionParams
- func (o *GetBackupLicensesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupLicensesConnectionReader
- type GetBackupLicensesOK
- type GetBackupLicensesParams
- func NewGetBackupLicensesParams() *GetBackupLicensesParams
- func NewGetBackupLicensesParamsWithContext(ctx context.Context) *GetBackupLicensesParams
- func NewGetBackupLicensesParamsWithHTTPClient(client *http.Client) *GetBackupLicensesParams
- func NewGetBackupLicensesParamsWithTimeout(timeout time.Duration) *GetBackupLicensesParams
- func (o *GetBackupLicensesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupLicensesParams) SetContext(ctx context.Context)
- func (o *GetBackupLicensesParams) SetDefaults()
- func (o *GetBackupLicensesParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupLicensesParams) SetRequestBody(requestBody *models.GetBackupLicensesRequestBody)
- func (o *GetBackupLicensesParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupLicensesParams) WithContentLanguage(contentLanguage *string) *GetBackupLicensesParams
- func (o *GetBackupLicensesParams) WithContext(ctx context.Context) *GetBackupLicensesParams
- func (o *GetBackupLicensesParams) WithDefaults() *GetBackupLicensesParams
- func (o *GetBackupLicensesParams) WithHTTPClient(client *http.Client) *GetBackupLicensesParams
- func (o *GetBackupLicensesParams) WithRequestBody(requestBody *models.GetBackupLicensesRequestBody) *GetBackupLicensesParams
- func (o *GetBackupLicensesParams) WithTimeout(timeout time.Duration) *GetBackupLicensesParams
- func (o *GetBackupLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupLicensesReader
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 (o *GetBackupLicensesBadRequest) Error() string
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 (o *GetBackupLicensesConnectionBadRequest) Error() string
func (*GetBackupLicensesConnectionBadRequest) GetPayload ¶
func (o *GetBackupLicensesConnectionBadRequest) GetPayload() string
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 (o *GetBackupLicensesConnectionOK) Error() string
func (*GetBackupLicensesConnectionOK) GetPayload ¶
func (o *GetBackupLicensesConnectionOK) GetPayload() *models.BackupLicenseConnection
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 ¶
func (o *GetBackupLicensesConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetBackupLicensesConnectionParams) SetRequestBody(requestBody *models.GetBackupLicensesConnectionRequestBody)
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 ¶
func (o *GetBackupLicensesConnectionParams) WithContext(ctx context.Context) *GetBackupLicensesConnectionParams
WithContext adds the context to the get backup licenses connection params
func (*GetBackupLicensesConnectionParams) WithDefaults ¶
func (o *GetBackupLicensesConnectionParams) WithDefaults() *GetBackupLicensesConnectionParams
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 ¶
func (o *GetBackupLicensesConnectionParams) WithHTTPClient(client *http.Client) *GetBackupLicensesConnectionParams
WithHTTPClient adds the HTTPClient to the get backup licenses connection params
func (*GetBackupLicensesConnectionParams) WithRequestBody ¶
func (o *GetBackupLicensesConnectionParams) WithRequestBody(requestBody *models.GetBackupLicensesConnectionRequestBody) *GetBackupLicensesConnectionParams
WithRequestBody adds the requestBody to the get backup licenses connection params
func (*GetBackupLicensesConnectionParams) WithTimeout ¶
func (o *GetBackupLicensesConnectionParams) WithTimeout(timeout time.Duration) *GetBackupLicensesConnectionParams
WithTimeout adds the timeout to the get backup licenses connection params
func (*GetBackupLicensesConnectionParams) WriteToRequest ¶
func (o *GetBackupLicensesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetBackupLicensesParams) WithContext(ctx context.Context) *GetBackupLicensesParams
WithContext adds the context to the get backup licenses params
func (*GetBackupLicensesParams) WithDefaults ¶
func (o *GetBackupLicensesParams) WithDefaults() *GetBackupLicensesParams
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 ¶
func (o *GetBackupLicensesParams) WithRequestBody(requestBody *models.GetBackupLicensesRequestBody) *GetBackupLicensesParams
WithRequestBody adds the requestBody to the get backup licenses params
func (*GetBackupLicensesParams) WithTimeout ¶
func (o *GetBackupLicensesParams) WithTimeout(timeout time.Duration) *GetBackupLicensesParams
WithTimeout adds the timeout to the get backup licenses params
func (*GetBackupLicensesParams) WriteToRequest ¶
func (o *GetBackupLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.