Documentation ¶
Index ¶
- type Client
- func (a *Client) GetBackupRestorePoints(params *GetBackupRestorePointsParams, opts ...ClientOption) (*GetBackupRestorePointsOK, error)
- func (a *Client) GetBackupRestorePointsConnection(params *GetBackupRestorePointsConnectionParams, opts ...ClientOption) (*GetBackupRestorePointsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetBackupRestorePointsBadRequest
- type GetBackupRestorePointsConnectionBadRequest
- type GetBackupRestorePointsConnectionOK
- type GetBackupRestorePointsConnectionParams
- func NewGetBackupRestorePointsConnectionParams() *GetBackupRestorePointsConnectionParams
- func NewGetBackupRestorePointsConnectionParamsWithContext(ctx context.Context) *GetBackupRestorePointsConnectionParams
- func NewGetBackupRestorePointsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupRestorePointsConnectionParams
- func NewGetBackupRestorePointsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupRestorePointsConnectionParams
- func (o *GetBackupRestorePointsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupRestorePointsConnectionParams) SetContext(ctx context.Context)
- func (o *GetBackupRestorePointsConnectionParams) SetDefaults()
- func (o *GetBackupRestorePointsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupRestorePointsConnectionParams) SetRequestBody(requestBody *models.GetBackupRestorePointsConnectionRequestBody)
- func (o *GetBackupRestorePointsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupRestorePointsConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupRestorePointsConnectionParams
- func (o *GetBackupRestorePointsConnectionParams) WithContext(ctx context.Context) *GetBackupRestorePointsConnectionParams
- func (o *GetBackupRestorePointsConnectionParams) WithDefaults() *GetBackupRestorePointsConnectionParams
- func (o *GetBackupRestorePointsConnectionParams) WithHTTPClient(client *http.Client) *GetBackupRestorePointsConnectionParams
- func (o *GetBackupRestorePointsConnectionParams) WithRequestBody(requestBody *models.GetBackupRestorePointsConnectionRequestBody) *GetBackupRestorePointsConnectionParams
- func (o *GetBackupRestorePointsConnectionParams) WithTimeout(timeout time.Duration) *GetBackupRestorePointsConnectionParams
- func (o *GetBackupRestorePointsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupRestorePointsConnectionReader
- type GetBackupRestorePointsOK
- type GetBackupRestorePointsParams
- func NewGetBackupRestorePointsParams() *GetBackupRestorePointsParams
- func NewGetBackupRestorePointsParamsWithContext(ctx context.Context) *GetBackupRestorePointsParams
- func NewGetBackupRestorePointsParamsWithHTTPClient(client *http.Client) *GetBackupRestorePointsParams
- func NewGetBackupRestorePointsParamsWithTimeout(timeout time.Duration) *GetBackupRestorePointsParams
- func (o *GetBackupRestorePointsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetBackupRestorePointsParams) SetContext(ctx context.Context)
- func (o *GetBackupRestorePointsParams) SetDefaults()
- func (o *GetBackupRestorePointsParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupRestorePointsParams) SetRequestBody(requestBody *models.GetBackupRestorePointsRequestBody)
- func (o *GetBackupRestorePointsParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupRestorePointsParams) WithContentLanguage(contentLanguage *string) *GetBackupRestorePointsParams
- func (o *GetBackupRestorePointsParams) WithContext(ctx context.Context) *GetBackupRestorePointsParams
- func (o *GetBackupRestorePointsParams) WithDefaults() *GetBackupRestorePointsParams
- func (o *GetBackupRestorePointsParams) WithHTTPClient(client *http.Client) *GetBackupRestorePointsParams
- func (o *GetBackupRestorePointsParams) WithRequestBody(requestBody *models.GetBackupRestorePointsRequestBody) *GetBackupRestorePointsParams
- func (o *GetBackupRestorePointsParams) WithTimeout(timeout time.Duration) *GetBackupRestorePointsParams
- func (o *GetBackupRestorePointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupRestorePointsReader
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 point API
func (*Client) GetBackupRestorePoints ¶
func (a *Client) GetBackupRestorePoints(params *GetBackupRestorePointsParams, opts ...ClientOption) (*GetBackupRestorePointsOK, error)
GetBackupRestorePoints get backup restore points API
func (*Client) GetBackupRestorePointsConnection ¶
func (a *Client) GetBackupRestorePointsConnection(params *GetBackupRestorePointsConnectionParams, opts ...ClientOption) (*GetBackupRestorePointsConnectionOK, error)
GetBackupRestorePointsConnection get backup restore points 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 { GetBackupRestorePoints(params *GetBackupRestorePointsParams, opts ...ClientOption) (*GetBackupRestorePointsOK, error) GetBackupRestorePointsConnection(params *GetBackupRestorePointsConnectionParams, opts ...ClientOption) (*GetBackupRestorePointsConnectionOK, 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 point API client.
type GetBackupRestorePointsBadRequest ¶
type GetBackupRestorePointsBadRequest struct {
Payload string
}
GetBackupRestorePointsBadRequest describes a response with status code 400, with default header values.
GetBackupRestorePointsBadRequest get backup restore points bad request
func NewGetBackupRestorePointsBadRequest ¶
func NewGetBackupRestorePointsBadRequest() *GetBackupRestorePointsBadRequest
NewGetBackupRestorePointsBadRequest creates a GetBackupRestorePointsBadRequest with default headers values
func (*GetBackupRestorePointsBadRequest) Error ¶
func (o *GetBackupRestorePointsBadRequest) Error() string
func (*GetBackupRestorePointsBadRequest) GetPayload ¶
func (o *GetBackupRestorePointsBadRequest) GetPayload() string
type GetBackupRestorePointsConnectionBadRequest ¶
type GetBackupRestorePointsConnectionBadRequest struct {
Payload string
}
GetBackupRestorePointsConnectionBadRequest describes a response with status code 400, with default header values.
GetBackupRestorePointsConnectionBadRequest get backup restore points connection bad request
func NewGetBackupRestorePointsConnectionBadRequest ¶
func NewGetBackupRestorePointsConnectionBadRequest() *GetBackupRestorePointsConnectionBadRequest
NewGetBackupRestorePointsConnectionBadRequest creates a GetBackupRestorePointsConnectionBadRequest with default headers values
func (*GetBackupRestorePointsConnectionBadRequest) Error ¶
func (o *GetBackupRestorePointsConnectionBadRequest) Error() string
func (*GetBackupRestorePointsConnectionBadRequest) GetPayload ¶
func (o *GetBackupRestorePointsConnectionBadRequest) GetPayload() string
type GetBackupRestorePointsConnectionOK ¶
type GetBackupRestorePointsConnectionOK struct {
Payload *models.BackupRestorePointConnection
}
GetBackupRestorePointsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetBackupRestorePointsConnectionOK ¶
func NewGetBackupRestorePointsConnectionOK() *GetBackupRestorePointsConnectionOK
NewGetBackupRestorePointsConnectionOK creates a GetBackupRestorePointsConnectionOK with default headers values
func (*GetBackupRestorePointsConnectionOK) Error ¶
func (o *GetBackupRestorePointsConnectionOK) Error() string
func (*GetBackupRestorePointsConnectionOK) GetPayload ¶
func (o *GetBackupRestorePointsConnectionOK) GetPayload() *models.BackupRestorePointConnection
type GetBackupRestorePointsConnectionParams ¶
type GetBackupRestorePointsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetBackupRestorePointsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBackupRestorePointsConnectionParams contains all the parameters to send to the API endpoint
for the get backup restore points connection operation. Typically these are written to a http.Request.
func NewGetBackupRestorePointsConnectionParams ¶
func NewGetBackupRestorePointsConnectionParams() *GetBackupRestorePointsConnectionParams
NewGetBackupRestorePointsConnectionParams creates a new GetBackupRestorePointsConnectionParams 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 NewGetBackupRestorePointsConnectionParamsWithContext ¶
func NewGetBackupRestorePointsConnectionParamsWithContext(ctx context.Context) *GetBackupRestorePointsConnectionParams
NewGetBackupRestorePointsConnectionParamsWithContext creates a new GetBackupRestorePointsConnectionParams object with the ability to set a context for a request.
func NewGetBackupRestorePointsConnectionParamsWithHTTPClient ¶
func NewGetBackupRestorePointsConnectionParamsWithHTTPClient(client *http.Client) *GetBackupRestorePointsConnectionParams
NewGetBackupRestorePointsConnectionParamsWithHTTPClient creates a new GetBackupRestorePointsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetBackupRestorePointsConnectionParamsWithTimeout ¶
func NewGetBackupRestorePointsConnectionParamsWithTimeout(timeout time.Duration) *GetBackupRestorePointsConnectionParams
NewGetBackupRestorePointsConnectionParamsWithTimeout creates a new GetBackupRestorePointsConnectionParams object with the ability to set a timeout on a request.
func (*GetBackupRestorePointsConnectionParams) SetContentLanguage ¶
func (o *GetBackupRestorePointsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) SetContext ¶
func (o *GetBackupRestorePointsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) SetDefaults ¶
func (o *GetBackupRestorePointsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get backup restore points connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestorePointsConnectionParams) SetHTTPClient ¶
func (o *GetBackupRestorePointsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) SetRequestBody ¶
func (o *GetBackupRestorePointsConnectionParams) SetRequestBody(requestBody *models.GetBackupRestorePointsConnectionRequestBody)
SetRequestBody adds the requestBody to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) SetTimeout ¶
func (o *GetBackupRestorePointsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) WithContentLanguage ¶
func (o *GetBackupRestorePointsConnectionParams) WithContentLanguage(contentLanguage *string) *GetBackupRestorePointsConnectionParams
WithContentLanguage adds the contentLanguage to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) WithContext ¶
func (o *GetBackupRestorePointsConnectionParams) WithContext(ctx context.Context) *GetBackupRestorePointsConnectionParams
WithContext adds the context to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) WithDefaults ¶
func (o *GetBackupRestorePointsConnectionParams) WithDefaults() *GetBackupRestorePointsConnectionParams
WithDefaults hydrates default values in the get backup restore points connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestorePointsConnectionParams) WithHTTPClient ¶
func (o *GetBackupRestorePointsConnectionParams) WithHTTPClient(client *http.Client) *GetBackupRestorePointsConnectionParams
WithHTTPClient adds the HTTPClient to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) WithRequestBody ¶
func (o *GetBackupRestorePointsConnectionParams) WithRequestBody(requestBody *models.GetBackupRestorePointsConnectionRequestBody) *GetBackupRestorePointsConnectionParams
WithRequestBody adds the requestBody to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) WithTimeout ¶
func (o *GetBackupRestorePointsConnectionParams) WithTimeout(timeout time.Duration) *GetBackupRestorePointsConnectionParams
WithTimeout adds the timeout to the get backup restore points connection params
func (*GetBackupRestorePointsConnectionParams) WriteToRequest ¶
func (o *GetBackupRestorePointsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBackupRestorePointsConnectionReader ¶
type GetBackupRestorePointsConnectionReader struct {
// contains filtered or unexported fields
}
GetBackupRestorePointsConnectionReader is a Reader for the GetBackupRestorePointsConnection structure.
func (*GetBackupRestorePointsConnectionReader) ReadResponse ¶
func (o *GetBackupRestorePointsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBackupRestorePointsOK ¶
type GetBackupRestorePointsOK struct {
Payload []*models.BackupRestorePoint
}
GetBackupRestorePointsOK describes a response with status code 200, with default header values.
Ok
func NewGetBackupRestorePointsOK ¶
func NewGetBackupRestorePointsOK() *GetBackupRestorePointsOK
NewGetBackupRestorePointsOK creates a GetBackupRestorePointsOK with default headers values
func (*GetBackupRestorePointsOK) Error ¶
func (o *GetBackupRestorePointsOK) Error() string
func (*GetBackupRestorePointsOK) GetPayload ¶
func (o *GetBackupRestorePointsOK) GetPayload() []*models.BackupRestorePoint
type GetBackupRestorePointsParams ¶
type GetBackupRestorePointsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetBackupRestorePointsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBackupRestorePointsParams contains all the parameters to send to the API endpoint
for the get backup restore points operation. Typically these are written to a http.Request.
func NewGetBackupRestorePointsParams ¶
func NewGetBackupRestorePointsParams() *GetBackupRestorePointsParams
NewGetBackupRestorePointsParams creates a new GetBackupRestorePointsParams 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 NewGetBackupRestorePointsParamsWithContext ¶
func NewGetBackupRestorePointsParamsWithContext(ctx context.Context) *GetBackupRestorePointsParams
NewGetBackupRestorePointsParamsWithContext creates a new GetBackupRestorePointsParams object with the ability to set a context for a request.
func NewGetBackupRestorePointsParamsWithHTTPClient ¶
func NewGetBackupRestorePointsParamsWithHTTPClient(client *http.Client) *GetBackupRestorePointsParams
NewGetBackupRestorePointsParamsWithHTTPClient creates a new GetBackupRestorePointsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBackupRestorePointsParamsWithTimeout ¶
func NewGetBackupRestorePointsParamsWithTimeout(timeout time.Duration) *GetBackupRestorePointsParams
NewGetBackupRestorePointsParamsWithTimeout creates a new GetBackupRestorePointsParams object with the ability to set a timeout on a request.
func (*GetBackupRestorePointsParams) SetContentLanguage ¶
func (o *GetBackupRestorePointsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get backup restore points params
func (*GetBackupRestorePointsParams) SetContext ¶
func (o *GetBackupRestorePointsParams) SetContext(ctx context.Context)
SetContext adds the context to the get backup restore points params
func (*GetBackupRestorePointsParams) SetDefaults ¶
func (o *GetBackupRestorePointsParams) SetDefaults()
SetDefaults hydrates default values in the get backup restore points params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestorePointsParams) SetHTTPClient ¶
func (o *GetBackupRestorePointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get backup restore points params
func (*GetBackupRestorePointsParams) SetRequestBody ¶
func (o *GetBackupRestorePointsParams) SetRequestBody(requestBody *models.GetBackupRestorePointsRequestBody)
SetRequestBody adds the requestBody to the get backup restore points params
func (*GetBackupRestorePointsParams) SetTimeout ¶
func (o *GetBackupRestorePointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get backup restore points params
func (*GetBackupRestorePointsParams) WithContentLanguage ¶
func (o *GetBackupRestorePointsParams) WithContentLanguage(contentLanguage *string) *GetBackupRestorePointsParams
WithContentLanguage adds the contentLanguage to the get backup restore points params
func (*GetBackupRestorePointsParams) WithContext ¶
func (o *GetBackupRestorePointsParams) WithContext(ctx context.Context) *GetBackupRestorePointsParams
WithContext adds the context to the get backup restore points params
func (*GetBackupRestorePointsParams) WithDefaults ¶
func (o *GetBackupRestorePointsParams) WithDefaults() *GetBackupRestorePointsParams
WithDefaults hydrates default values in the get backup restore points params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupRestorePointsParams) WithHTTPClient ¶
func (o *GetBackupRestorePointsParams) WithHTTPClient(client *http.Client) *GetBackupRestorePointsParams
WithHTTPClient adds the HTTPClient to the get backup restore points params
func (*GetBackupRestorePointsParams) WithRequestBody ¶
func (o *GetBackupRestorePointsParams) WithRequestBody(requestBody *models.GetBackupRestorePointsRequestBody) *GetBackupRestorePointsParams
WithRequestBody adds the requestBody to the get backup restore points params
func (*GetBackupRestorePointsParams) WithTimeout ¶
func (o *GetBackupRestorePointsParams) WithTimeout(timeout time.Duration) *GetBackupRestorePointsParams
WithTimeout adds the timeout to the get backup restore points params
func (*GetBackupRestorePointsParams) WriteToRequest ¶
func (o *GetBackupRestorePointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBackupRestorePointsReader ¶
type GetBackupRestorePointsReader struct {
// contains filtered or unexported fields
}
GetBackupRestorePointsReader is a Reader for the GetBackupRestorePoints structure.
func (*GetBackupRestorePointsReader) ReadResponse ¶
func (o *GetBackupRestorePointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.