Documentation ¶
Index ¶
- type Client
- func (a *Client) GetBackupPlanExecutions(params *GetBackupPlanExecutionsParams, opts ...ClientOption) (*GetBackupPlanExecutionsOK, error)
- func (a *Client) GetBackupPlanExecutionsConnection(params *GetBackupPlanExecutionsConnectionParams, opts ...ClientOption) (*GetBackupPlanExecutionsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetBackupPlanExecutionsBadRequest
- type GetBackupPlanExecutionsConnectionBadRequest
- type GetBackupPlanExecutionsConnectionOK
- type GetBackupPlanExecutionsConnectionParams
- func NewGetBackupPlanExecutionsConnectionParams() *GetBackupPlanExecutionsConnectionParams
- func NewGetBackupPlanExecutionsConnectionParamsWithContext(ctx context.Context) *GetBackupPlanExecutionsConnectionParams
- func NewGetBackupPlanExecutionsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupPlanExecutionsConnectionParams
- func NewGetBackupPlanExecutionsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupPlanExecutionsConnectionParams
- func (o *GetBackupPlanExecutionsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupPlanExecutionsConnectionParams) SetContext(ctx context.Context)
- func (o *GetBackupPlanExecutionsConnectionParams) SetDefaults()
- func (o *GetBackupPlanExecutionsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupPlanExecutionsConnectionParams) SetRequestBody(requestBody *models.GetBackupPlanExecutionsConnectionRequestBody)
- func (o *GetBackupPlanExecutionsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupPlanExecutionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupPlanExecutionsConnectionParams
- func (o *GetBackupPlanExecutionsConnectionParams) WithContext(ctx context.Context) *GetBackupPlanExecutionsConnectionParams
- func (o *GetBackupPlanExecutionsConnectionParams) WithDefaults() *GetBackupPlanExecutionsConnectionParams
- func (o *GetBackupPlanExecutionsConnectionParams) WithHTTPClient(client *http.Client) *GetBackupPlanExecutionsConnectionParams
- func (o *GetBackupPlanExecutionsConnectionParams) WithRequestBody(requestBody *models.GetBackupPlanExecutionsConnectionRequestBody) *GetBackupPlanExecutionsConnectionParams
- func (o *GetBackupPlanExecutionsConnectionParams) WithTimeout(timeout time.Duration) *GetBackupPlanExecutionsConnectionParams
- func (o *GetBackupPlanExecutionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupPlanExecutionsConnectionReader
- type GetBackupPlanExecutionsOK
- type GetBackupPlanExecutionsParams
- func NewGetBackupPlanExecutionsParams() *GetBackupPlanExecutionsParams
- func NewGetBackupPlanExecutionsParamsWithContext(ctx context.Context) *GetBackupPlanExecutionsParams
- func NewGetBackupPlanExecutionsParamsWithHTTPClient(client *http.Client) *GetBackupPlanExecutionsParams
- func NewGetBackupPlanExecutionsParamsWithTimeout(timeout time.Duration) *GetBackupPlanExecutionsParams
- func (o *GetBackupPlanExecutionsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupPlanExecutionsParams) SetContext(ctx context.Context)
- func (o *GetBackupPlanExecutionsParams) SetDefaults()
- func (o *GetBackupPlanExecutionsParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupPlanExecutionsParams) SetRequestBody(requestBody *models.GetBackupPlanExecutionsRequestBody)
- func (o *GetBackupPlanExecutionsParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupPlanExecutionsParams) WithContentLanguage(contentLanguage *string) *GetBackupPlanExecutionsParams
- func (o *GetBackupPlanExecutionsParams) WithContext(ctx context.Context) *GetBackupPlanExecutionsParams
- func (o *GetBackupPlanExecutionsParams) WithDefaults() *GetBackupPlanExecutionsParams
- func (o *GetBackupPlanExecutionsParams) WithHTTPClient(client *http.Client) *GetBackupPlanExecutionsParams
- func (o *GetBackupPlanExecutionsParams) WithRequestBody(requestBody *models.GetBackupPlanExecutionsRequestBody) *GetBackupPlanExecutionsParams
- func (o *GetBackupPlanExecutionsParams) WithTimeout(timeout time.Duration) *GetBackupPlanExecutionsParams
- func (o *GetBackupPlanExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupPlanExecutionsReader
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 (o *GetBackupPlanExecutionsBadRequest) Error() string
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 (o *GetBackupPlanExecutionsConnectionBadRequest) Error() string
func (*GetBackupPlanExecutionsConnectionBadRequest) GetPayload ¶
func (o *GetBackupPlanExecutionsConnectionBadRequest) GetPayload() string
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 (o *GetBackupPlanExecutionsConnectionOK) Error() string
func (*GetBackupPlanExecutionsConnectionOK) GetPayload ¶
func (o *GetBackupPlanExecutionsConnectionOK) GetPayload() *models.BackupPlanExecutionConnection
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 ¶
func (o *GetBackupPlanExecutionsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetBackupPlanExecutionsConnectionParams) SetRequestBody(requestBody *models.GetBackupPlanExecutionsConnectionRequestBody)
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 ¶
func (o *GetBackupPlanExecutionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupPlanExecutionsConnectionParams
WithContentLanguage adds the contentLanguage to the get backup plan executions connection params
func (*GetBackupPlanExecutionsConnectionParams) WithContext ¶
func (o *GetBackupPlanExecutionsConnectionParams) WithContext(ctx context.Context) *GetBackupPlanExecutionsConnectionParams
WithContext adds the context to the get backup plan executions connection params
func (*GetBackupPlanExecutionsConnectionParams) WithDefaults ¶
func (o *GetBackupPlanExecutionsConnectionParams) WithDefaults() *GetBackupPlanExecutionsConnectionParams
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 ¶
func (o *GetBackupPlanExecutionsConnectionParams) WithHTTPClient(client *http.Client) *GetBackupPlanExecutionsConnectionParams
WithHTTPClient adds the HTTPClient to the get backup plan executions connection params
func (*GetBackupPlanExecutionsConnectionParams) WithRequestBody ¶
func (o *GetBackupPlanExecutionsConnectionParams) WithRequestBody(requestBody *models.GetBackupPlanExecutionsConnectionRequestBody) *GetBackupPlanExecutionsConnectionParams
WithRequestBody adds the requestBody to the get backup plan executions connection params
func (*GetBackupPlanExecutionsConnectionParams) WithTimeout ¶
func (o *GetBackupPlanExecutionsConnectionParams) WithTimeout(timeout time.Duration) *GetBackupPlanExecutionsConnectionParams
WithTimeout adds the timeout to the get backup plan executions connection params
func (*GetBackupPlanExecutionsConnectionParams) WriteToRequest ¶
func (o *GetBackupPlanExecutionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetBackupPlanExecutionsOK) GetPayload() []*models.BackupPlanExecution
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 ¶
func (o *GetBackupPlanExecutionsParams) SetRequestBody(requestBody *models.GetBackupPlanExecutionsRequestBody)
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 ¶
func (o *GetBackupPlanExecutionsParams) WithContext(ctx context.Context) *GetBackupPlanExecutionsParams
WithContext adds the context to the get backup plan executions params
func (*GetBackupPlanExecutionsParams) WithDefaults ¶
func (o *GetBackupPlanExecutionsParams) WithDefaults() *GetBackupPlanExecutionsParams
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 ¶
func (o *GetBackupPlanExecutionsParams) WithHTTPClient(client *http.Client) *GetBackupPlanExecutionsParams
WithHTTPClient adds the HTTPClient to the get backup plan executions params
func (*GetBackupPlanExecutionsParams) WithRequestBody ¶
func (o *GetBackupPlanExecutionsParams) WithRequestBody(requestBody *models.GetBackupPlanExecutionsRequestBody) *GetBackupPlanExecutionsParams
WithRequestBody adds the requestBody to the get backup plan executions params
func (*GetBackupPlanExecutionsParams) WithTimeout ¶
func (o *GetBackupPlanExecutionsParams) WithTimeout(timeout time.Duration) *GetBackupPlanExecutionsParams
WithTimeout adds the timeout to the get backup plan executions params
func (*GetBackupPlanExecutionsParams) WriteToRequest ¶
func (o *GetBackupPlanExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.