Documentation ¶
Index ¶
- type Client
- func (a *Client) GetBackupPlans(params *GetBackupPlansParams, opts ...ClientOption) (*GetBackupPlansOK, error)
- func (a *Client) GetBackupPlansConnection(params *GetBackupPlansConnectionParams, opts ...ClientOption) (*GetBackupPlansConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetBackupPlansBadRequest
- type GetBackupPlansConnectionBadRequest
- type GetBackupPlansConnectionOK
- type GetBackupPlansConnectionParams
- func NewGetBackupPlansConnectionParams() *GetBackupPlansConnectionParams
- func NewGetBackupPlansConnectionParamsWithContext(ctx context.Context) *GetBackupPlansConnectionParams
- func NewGetBackupPlansConnectionParamsWithHTTPClient(client *http.Client) *GetBackupPlansConnectionParams
- func NewGetBackupPlansConnectionParamsWithTimeout(timeout time.Duration) *GetBackupPlansConnectionParams
- func (o *GetBackupPlansConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupPlansConnectionParams) SetContext(ctx context.Context)
- func (o *GetBackupPlansConnectionParams) SetDefaults()
- func (o *GetBackupPlansConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupPlansConnectionParams) SetRequestBody(requestBody *models.GetBackupPlansConnectionRequestBody)
- func (o *GetBackupPlansConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupPlansConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupPlansConnectionParams
- func (o *GetBackupPlansConnectionParams) WithContext(ctx context.Context) *GetBackupPlansConnectionParams
- func (o *GetBackupPlansConnectionParams) WithDefaults() *GetBackupPlansConnectionParams
- func (o *GetBackupPlansConnectionParams) WithHTTPClient(client *http.Client) *GetBackupPlansConnectionParams
- func (o *GetBackupPlansConnectionParams) WithRequestBody(requestBody *models.GetBackupPlansConnectionRequestBody) *GetBackupPlansConnectionParams
- func (o *GetBackupPlansConnectionParams) WithTimeout(timeout time.Duration) *GetBackupPlansConnectionParams
- func (o *GetBackupPlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupPlansConnectionReader
- type GetBackupPlansOK
- type GetBackupPlansParams
- func NewGetBackupPlansParams() *GetBackupPlansParams
- func NewGetBackupPlansParamsWithContext(ctx context.Context) *GetBackupPlansParams
- func NewGetBackupPlansParamsWithHTTPClient(client *http.Client) *GetBackupPlansParams
- func NewGetBackupPlansParamsWithTimeout(timeout time.Duration) *GetBackupPlansParams
- func (o *GetBackupPlansParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupPlansParams) SetContext(ctx context.Context)
- func (o *GetBackupPlansParams) SetDefaults()
- func (o *GetBackupPlansParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupPlansParams) SetRequestBody(requestBody *models.GetBackupPlansRequestBody)
- func (o *GetBackupPlansParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupPlansParams) WithContentLanguage(contentLanguage *string) *GetBackupPlansParams
- func (o *GetBackupPlansParams) WithContext(ctx context.Context) *GetBackupPlansParams
- func (o *GetBackupPlansParams) WithDefaults() *GetBackupPlansParams
- func (o *GetBackupPlansParams) WithHTTPClient(client *http.Client) *GetBackupPlansParams
- func (o *GetBackupPlansParams) WithRequestBody(requestBody *models.GetBackupPlansRequestBody) *GetBackupPlansParams
- func (o *GetBackupPlansParams) WithTimeout(timeout time.Duration) *GetBackupPlansParams
- func (o *GetBackupPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupPlansReader
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 (o *GetBackupPlansConnectionBadRequest) Error() string
func (*GetBackupPlansConnectionBadRequest) GetPayload ¶
func (o *GetBackupPlansConnectionBadRequest) GetPayload() string
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 (o *GetBackupPlansConnectionOK) Error() string
func (*GetBackupPlansConnectionOK) GetPayload ¶
func (o *GetBackupPlansConnectionOK) GetPayload() *models.BackupPlanConnection
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 ¶
func (o *GetBackupPlansConnectionParams) SetRequestBody(requestBody *models.GetBackupPlansConnectionRequestBody)
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 ¶
func (o *GetBackupPlansConnectionParams) WithContext(ctx context.Context) *GetBackupPlansConnectionParams
WithContext adds the context to the get backup plans connection params
func (*GetBackupPlansConnectionParams) WithDefaults ¶
func (o *GetBackupPlansConnectionParams) WithDefaults() *GetBackupPlansConnectionParams
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 ¶
func (o *GetBackupPlansConnectionParams) WithHTTPClient(client *http.Client) *GetBackupPlansConnectionParams
WithHTTPClient adds the HTTPClient to the get backup plans connection params
func (*GetBackupPlansConnectionParams) WithRequestBody ¶
func (o *GetBackupPlansConnectionParams) WithRequestBody(requestBody *models.GetBackupPlansConnectionRequestBody) *GetBackupPlansConnectionParams
WithRequestBody adds the requestBody to the get backup plans connection params
func (*GetBackupPlansConnectionParams) WithTimeout ¶
func (o *GetBackupPlansConnectionParams) WithTimeout(timeout time.Duration) *GetBackupPlansConnectionParams
WithTimeout adds the timeout to the get backup plans connection params
func (*GetBackupPlansConnectionParams) WriteToRequest ¶
func (o *GetBackupPlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetBackupPlansParams) WithContext(ctx context.Context) *GetBackupPlansParams
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 ¶
func (o *GetBackupPlansParams) WithRequestBody(requestBody *models.GetBackupPlansRequestBody) *GetBackupPlansParams
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.