Documentation
¶
Index ¶
- type Client
- func (a *Client) GetBackupRestoreExecutions(params *GetBackupRestoreExecutionsParams, opts ...ClientOption) (*GetBackupRestoreExecutionsOK, error)
- func (a *Client) GetBackupRestoreExecutionsConnection(params *GetBackupRestoreExecutionsConnectionParams, opts ...ClientOption) (*GetBackupRestoreExecutionsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetBackupRestoreExecutionsBadRequest
- type GetBackupRestoreExecutionsConnectionBadRequest
- type GetBackupRestoreExecutionsConnectionOK
- type GetBackupRestoreExecutionsConnectionParams
- func NewGetBackupRestoreExecutionsConnectionParams() *GetBackupRestoreExecutionsConnectionParams
- func NewGetBackupRestoreExecutionsConnectionParamsWithContext(ctx context.Context) *GetBackupRestoreExecutionsConnectionParams
- func NewGetBackupRestoreExecutionsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsConnectionParams
- func NewGetBackupRestoreExecutionsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsConnectionParams
- func (o *GetBackupRestoreExecutionsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupRestoreExecutionsConnectionParams) SetContext(ctx context.Context)
- func (o *GetBackupRestoreExecutionsConnectionParams) SetDefaults()
- func (o *GetBackupRestoreExecutionsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupRestoreExecutionsConnectionParams) SetRequestBody(requestBody *models.GetBackupRestoreExecutionsConnectionRequestBody)
- func (o *GetBackupRestoreExecutionsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupRestoreExecutionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupRestoreExecutionsConnectionParams
- func (o *GetBackupRestoreExecutionsConnectionParams) WithContext(ctx context.Context) *GetBackupRestoreExecutionsConnectionParams
- func (o *GetBackupRestoreExecutionsConnectionParams) WithDefaults() *GetBackupRestoreExecutionsConnectionParams
- func (o *GetBackupRestoreExecutionsConnectionParams) WithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsConnectionParams
- func (o *GetBackupRestoreExecutionsConnectionParams) WithRequestBody(requestBody *models.GetBackupRestoreExecutionsConnectionRequestBody) *GetBackupRestoreExecutionsConnectionParams
- func (o *GetBackupRestoreExecutionsConnectionParams) WithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsConnectionParams
- func (o *GetBackupRestoreExecutionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupRestoreExecutionsConnectionReader
- type GetBackupRestoreExecutionsOK
- type GetBackupRestoreExecutionsParams
- func NewGetBackupRestoreExecutionsParams() *GetBackupRestoreExecutionsParams
- func NewGetBackupRestoreExecutionsParamsWithContext(ctx context.Context) *GetBackupRestoreExecutionsParams
- func NewGetBackupRestoreExecutionsParamsWithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsParams
- func NewGetBackupRestoreExecutionsParamsWithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsParams
- func (o *GetBackupRestoreExecutionsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupRestoreExecutionsParams) SetContext(ctx context.Context)
- func (o *GetBackupRestoreExecutionsParams) SetDefaults()
- func (o *GetBackupRestoreExecutionsParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupRestoreExecutionsParams) SetRequestBody(requestBody *models.GetBackupRestoreExecutionsRequestBody)
- func (o *GetBackupRestoreExecutionsParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupRestoreExecutionsParams) WithContentLanguage(contentLanguage *string) *GetBackupRestoreExecutionsParams
- func (o *GetBackupRestoreExecutionsParams) WithContext(ctx context.Context) *GetBackupRestoreExecutionsParams
- func (o *GetBackupRestoreExecutionsParams) WithDefaults() *GetBackupRestoreExecutionsParams
- func (o *GetBackupRestoreExecutionsParams) WithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsParams
- func (o *GetBackupRestoreExecutionsParams) WithRequestBody(requestBody *models.GetBackupRestoreExecutionsRequestBody) *GetBackupRestoreExecutionsParams
- func (o *GetBackupRestoreExecutionsParams) WithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsParams
- func (o *GetBackupRestoreExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupRestoreExecutionsReader
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 restore execution API
func (*Client) GetBackupRestoreExecutions ¶
func (a *Client) GetBackupRestoreExecutions(params *GetBackupRestoreExecutionsParams, opts ...ClientOption) (*GetBackupRestoreExecutionsOK, error)
GetBackupRestoreExecutions get backup restore executions API
func (*Client) GetBackupRestoreExecutionsConnection ¶
func (a *Client) GetBackupRestoreExecutionsConnection(params *GetBackupRestoreExecutionsConnectionParams, opts ...ClientOption) (*GetBackupRestoreExecutionsConnectionOK, error)
GetBackupRestoreExecutionsConnection get backup restore 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 {
GetBackupRestoreExecutions(params *GetBackupRestoreExecutionsParams, opts ...ClientOption) (*GetBackupRestoreExecutionsOK, error)
GetBackupRestoreExecutionsConnection(params *GetBackupRestoreExecutionsConnectionParams, opts ...ClientOption) (*GetBackupRestoreExecutionsConnectionOK, 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 restore execution API client.
type GetBackupRestoreExecutionsBadRequest ¶
type GetBackupRestoreExecutionsBadRequest struct {
Payload string
}
GetBackupRestoreExecutionsBadRequest describes a response with status code 400, with default header values.
GetBackupRestoreExecutionsBadRequest get backup restore executions bad request
func NewGetBackupRestoreExecutionsBadRequest ¶
func NewGetBackupRestoreExecutionsBadRequest() *GetBackupRestoreExecutionsBadRequest
NewGetBackupRestoreExecutionsBadRequest creates a GetBackupRestoreExecutionsBadRequest with default headers values
func (*GetBackupRestoreExecutionsBadRequest) Error ¶
func (o *GetBackupRestoreExecutionsBadRequest) Error() string
func (*GetBackupRestoreExecutionsBadRequest) GetPayload ¶
func (o *GetBackupRestoreExecutionsBadRequest) GetPayload() string
type GetBackupRestoreExecutionsConnectionBadRequest ¶
type GetBackupRestoreExecutionsConnectionBadRequest struct {
Payload string
}
GetBackupRestoreExecutionsConnectionBadRequest describes a response with status code 400, with default header values.
GetBackupRestoreExecutionsConnectionBadRequest get backup restore executions connection bad request
func NewGetBackupRestoreExecutionsConnectionBadRequest ¶
func NewGetBackupRestoreExecutionsConnectionBadRequest() *GetBackupRestoreExecutionsConnectionBadRequest
NewGetBackupRestoreExecutionsConnectionBadRequest creates a GetBackupRestoreExecutionsConnectionBadRequest with default headers values
func (*GetBackupRestoreExecutionsConnectionBadRequest) Error ¶
func (o *GetBackupRestoreExecutionsConnectionBadRequest) Error() string
func (*GetBackupRestoreExecutionsConnectionBadRequest) GetPayload ¶
func (o *GetBackupRestoreExecutionsConnectionBadRequest) GetPayload() string
type GetBackupRestoreExecutionsConnectionOK ¶
type GetBackupRestoreExecutionsConnectionOK struct {
Payload *models.BackupRestoreExecutionConnection
}
GetBackupRestoreExecutionsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetBackupRestoreExecutionsConnectionOK ¶
func NewGetBackupRestoreExecutionsConnectionOK() *GetBackupRestoreExecutionsConnectionOK
NewGetBackupRestoreExecutionsConnectionOK creates a GetBackupRestoreExecutionsConnectionOK with default headers values
func (*GetBackupRestoreExecutionsConnectionOK) Error ¶
func (o *GetBackupRestoreExecutionsConnectionOK) Error() string
func (*GetBackupRestoreExecutionsConnectionOK) GetPayload ¶
func (o *GetBackupRestoreExecutionsConnectionOK) GetPayload() *models.BackupRestoreExecutionConnection
type GetBackupRestoreExecutionsConnectionParams ¶
type GetBackupRestoreExecutionsConnectionParams struct {
// ContentLanguage.
//
// Default: "en-US"
ContentLanguage *string
// RequestBody.
RequestBody *models.GetBackupRestoreExecutionsConnectionRequestBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetBackupRestoreExecutionsConnectionParams contains all the parameters to send to the API endpoint
for the get backup restore executions connection operation. Typically these are written to a http.Request.
func NewGetBackupRestoreExecutionsConnectionParams ¶
func NewGetBackupRestoreExecutionsConnectionParams() *GetBackupRestoreExecutionsConnectionParams
NewGetBackupRestoreExecutionsConnectionParams creates a new GetBackupRestoreExecutionsConnectionParams 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 NewGetBackupRestoreExecutionsConnectionParamsWithContext ¶
func NewGetBackupRestoreExecutionsConnectionParamsWithContext(ctx context.Context) *GetBackupRestoreExecutionsConnectionParams
NewGetBackupRestoreExecutionsConnectionParamsWithContext creates a new GetBackupRestoreExecutionsConnectionParams object with the ability to set a context for a request.
func NewGetBackupRestoreExecutionsConnectionParamsWithHTTPClient ¶
func NewGetBackupRestoreExecutionsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsConnectionParams
NewGetBackupRestoreExecutionsConnectionParamsWithHTTPClient creates a new GetBackupRestoreExecutionsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetBackupRestoreExecutionsConnectionParamsWithTimeout ¶
func NewGetBackupRestoreExecutionsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsConnectionParams
NewGetBackupRestoreExecutionsConnectionParamsWithTimeout creates a new GetBackupRestoreExecutionsConnectionParams object with the ability to set a timeout on a request.
func (*GetBackupRestoreExecutionsConnectionParams) SetContentLanguage ¶
func (o *GetBackupRestoreExecutionsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) SetContext ¶
func (o *GetBackupRestoreExecutionsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) SetDefaults ¶
func (o *GetBackupRestoreExecutionsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get backup restore executions connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestoreExecutionsConnectionParams) SetHTTPClient ¶
func (o *GetBackupRestoreExecutionsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) SetRequestBody ¶
func (o *GetBackupRestoreExecutionsConnectionParams) SetRequestBody(requestBody *models.GetBackupRestoreExecutionsConnectionRequestBody)
SetRequestBody adds the requestBody to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) SetTimeout ¶
func (o *GetBackupRestoreExecutionsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) WithContentLanguage ¶
func (o *GetBackupRestoreExecutionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupRestoreExecutionsConnectionParams
WithContentLanguage adds the contentLanguage to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) WithContext ¶
func (o *GetBackupRestoreExecutionsConnectionParams) WithContext(ctx context.Context) *GetBackupRestoreExecutionsConnectionParams
WithContext adds the context to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) WithDefaults ¶
func (o *GetBackupRestoreExecutionsConnectionParams) WithDefaults() *GetBackupRestoreExecutionsConnectionParams
WithDefaults hydrates default values in the get backup restore executions connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestoreExecutionsConnectionParams) WithHTTPClient ¶
func (o *GetBackupRestoreExecutionsConnectionParams) WithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsConnectionParams
WithHTTPClient adds the HTTPClient to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) WithRequestBody ¶
func (o *GetBackupRestoreExecutionsConnectionParams) WithRequestBody(requestBody *models.GetBackupRestoreExecutionsConnectionRequestBody) *GetBackupRestoreExecutionsConnectionParams
WithRequestBody adds the requestBody to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) WithTimeout ¶
func (o *GetBackupRestoreExecutionsConnectionParams) WithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsConnectionParams
WithTimeout adds the timeout to the get backup restore executions connection params
func (*GetBackupRestoreExecutionsConnectionParams) WriteToRequest ¶
func (o *GetBackupRestoreExecutionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBackupRestoreExecutionsConnectionReader ¶
type GetBackupRestoreExecutionsConnectionReader struct {
// contains filtered or unexported fields
}
GetBackupRestoreExecutionsConnectionReader is a Reader for the GetBackupRestoreExecutionsConnection structure.
func (*GetBackupRestoreExecutionsConnectionReader) ReadResponse ¶
func (o *GetBackupRestoreExecutionsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBackupRestoreExecutionsOK ¶
type GetBackupRestoreExecutionsOK struct {
Payload []*models.BackupRestoreExecution
}
GetBackupRestoreExecutionsOK describes a response with status code 200, with default header values.
Ok
func NewGetBackupRestoreExecutionsOK ¶
func NewGetBackupRestoreExecutionsOK() *GetBackupRestoreExecutionsOK
NewGetBackupRestoreExecutionsOK creates a GetBackupRestoreExecutionsOK with default headers values
func (*GetBackupRestoreExecutionsOK) Error ¶
func (o *GetBackupRestoreExecutionsOK) Error() string
func (*GetBackupRestoreExecutionsOK) GetPayload ¶
func (o *GetBackupRestoreExecutionsOK) GetPayload() []*models.BackupRestoreExecution
type GetBackupRestoreExecutionsParams ¶
type GetBackupRestoreExecutionsParams struct {
// ContentLanguage.
//
// Default: "en-US"
ContentLanguage *string
// RequestBody.
RequestBody *models.GetBackupRestoreExecutionsRequestBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetBackupRestoreExecutionsParams contains all the parameters to send to the API endpoint
for the get backup restore executions operation. Typically these are written to a http.Request.
func NewGetBackupRestoreExecutionsParams ¶
func NewGetBackupRestoreExecutionsParams() *GetBackupRestoreExecutionsParams
NewGetBackupRestoreExecutionsParams creates a new GetBackupRestoreExecutionsParams 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 NewGetBackupRestoreExecutionsParamsWithContext ¶
func NewGetBackupRestoreExecutionsParamsWithContext(ctx context.Context) *GetBackupRestoreExecutionsParams
NewGetBackupRestoreExecutionsParamsWithContext creates a new GetBackupRestoreExecutionsParams object with the ability to set a context for a request.
func NewGetBackupRestoreExecutionsParamsWithHTTPClient ¶
func NewGetBackupRestoreExecutionsParamsWithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsParams
NewGetBackupRestoreExecutionsParamsWithHTTPClient creates a new GetBackupRestoreExecutionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBackupRestoreExecutionsParamsWithTimeout ¶
func NewGetBackupRestoreExecutionsParamsWithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsParams
NewGetBackupRestoreExecutionsParamsWithTimeout creates a new GetBackupRestoreExecutionsParams object with the ability to set a timeout on a request.
func (*GetBackupRestoreExecutionsParams) SetContentLanguage ¶
func (o *GetBackupRestoreExecutionsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) SetContext ¶
func (o *GetBackupRestoreExecutionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) SetDefaults ¶
func (o *GetBackupRestoreExecutionsParams) SetDefaults()
SetDefaults hydrates default values in the get backup restore executions params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestoreExecutionsParams) SetHTTPClient ¶
func (o *GetBackupRestoreExecutionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) SetRequestBody ¶
func (o *GetBackupRestoreExecutionsParams) SetRequestBody(requestBody *models.GetBackupRestoreExecutionsRequestBody)
SetRequestBody adds the requestBody to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) SetTimeout ¶
func (o *GetBackupRestoreExecutionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) WithContentLanguage ¶
func (o *GetBackupRestoreExecutionsParams) WithContentLanguage(contentLanguage *string) *GetBackupRestoreExecutionsParams
WithContentLanguage adds the contentLanguage to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) WithContext ¶
func (o *GetBackupRestoreExecutionsParams) WithContext(ctx context.Context) *GetBackupRestoreExecutionsParams
WithContext adds the context to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) WithDefaults ¶
func (o *GetBackupRestoreExecutionsParams) WithDefaults() *GetBackupRestoreExecutionsParams
WithDefaults hydrates default values in the get backup restore executions params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestoreExecutionsParams) WithHTTPClient ¶
func (o *GetBackupRestoreExecutionsParams) WithHTTPClient(client *http.Client) *GetBackupRestoreExecutionsParams
WithHTTPClient adds the HTTPClient to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) WithRequestBody ¶
func (o *GetBackupRestoreExecutionsParams) WithRequestBody(requestBody *models.GetBackupRestoreExecutionsRequestBody) *GetBackupRestoreExecutionsParams
WithRequestBody adds the requestBody to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) WithTimeout ¶
func (o *GetBackupRestoreExecutionsParams) WithTimeout(timeout time.Duration) *GetBackupRestoreExecutionsParams
WithTimeout adds the timeout to the get backup restore executions params
func (*GetBackupRestoreExecutionsParams) WriteToRequest ¶
func (o *GetBackupRestoreExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBackupRestoreExecutionsReader ¶
type GetBackupRestoreExecutionsReader struct {
// contains filtered or unexported fields
}
GetBackupRestoreExecutionsReader is a Reader for the GetBackupRestoreExecutions structure.
func (*GetBackupRestoreExecutionsReader) ReadResponse ¶
func (o *GetBackupRestoreExecutionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.