Documentation ¶
Index ¶
- type BackupTasksAccepted
- func (o *BackupTasksAccepted) Error() string
- func (o *BackupTasksAccepted) GetPayload() *models.BackupTask
- func (o *BackupTasksAccepted) IsClientError() bool
- func (o *BackupTasksAccepted) IsCode(code int) bool
- func (o *BackupTasksAccepted) IsRedirect() bool
- func (o *BackupTasksAccepted) IsServerError() bool
- func (o *BackupTasksAccepted) IsSuccess() bool
- func (o *BackupTasksAccepted) String() string
- type BackupTasksBadRequest
- func (o *BackupTasksBadRequest) Error() string
- func (o *BackupTasksBadRequest) GetPayload() *models.Error
- func (o *BackupTasksBadRequest) IsClientError() bool
- func (o *BackupTasksBadRequest) IsCode(code int) bool
- func (o *BackupTasksBadRequest) IsRedirect() bool
- func (o *BackupTasksBadRequest) IsServerError() bool
- func (o *BackupTasksBadRequest) IsSuccess() bool
- func (o *BackupTasksBadRequest) String() string
- type BackupTasksInternalServerError
- func (o *BackupTasksInternalServerError) Error() string
- func (o *BackupTasksInternalServerError) GetPayload() *models.Error
- func (o *BackupTasksInternalServerError) IsClientError() bool
- func (o *BackupTasksInternalServerError) IsCode(code int) bool
- func (o *BackupTasksInternalServerError) IsRedirect() bool
- func (o *BackupTasksInternalServerError) IsServerError() bool
- func (o *BackupTasksInternalServerError) IsSuccess() bool
- func (o *BackupTasksInternalServerError) String() string
- type BackupTasksOK
- func (o *BackupTasksOK) Error() string
- func (o *BackupTasksOK) GetPayload() *models.BackupTask
- func (o *BackupTasksOK) IsClientError() bool
- func (o *BackupTasksOK) IsCode(code int) bool
- func (o *BackupTasksOK) IsRedirect() bool
- func (o *BackupTasksOK) IsServerError() bool
- func (o *BackupTasksOK) IsSuccess() bool
- func (o *BackupTasksOK) String() string
- type BackupTasksParams
- func (o *BackupTasksParams) SetBackupsSpec(backupsSpec *models.BackupSpec)
- func (o *BackupTasksParams) SetContext(ctx context.Context)
- func (o *BackupTasksParams) SetDefaults()
- func (o *BackupTasksParams) SetHTTPClient(client *http.Client)
- func (o *BackupTasksParams) SetTimeout(timeout time.Duration)
- func (o *BackupTasksParams) WithBackupsSpec(backupsSpec *models.BackupSpec) *BackupTasksParams
- func (o *BackupTasksParams) WithContext(ctx context.Context) *BackupTasksParams
- func (o *BackupTasksParams) WithDefaults() *BackupTasksParams
- func (o *BackupTasksParams) WithHTTPClient(client *http.Client) *BackupTasksParams
- func (o *BackupTasksParams) WithTimeout(timeout time.Duration) *BackupTasksParams
- func (o *BackupTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupTasksReader
- type Client
- func (a *Client) BackupTasks(params *BackupTasksParams, opts ...ClientOption) (*BackupTasksOK, *BackupTasksAccepted, error)
- func (a *Client) ConfigureBackupSettings(params *ConfigureBackupSettingsParams, opts ...ClientOption) (*ConfigureBackupSettingsOK, *ConfigureBackupSettingsAccepted, error)
- func (a *Client) EditBackupSettings(params *EditBackupSettingsParams, opts ...ClientOption) (*EditBackupSettingsOK, *EditBackupSettingsAccepted, error)
- func (a *Client) GetBackupSettings(params *GetBackupSettingsParams, opts ...ClientOption) (*GetBackupSettingsOK, error)
- func (a *Client) RestoresTasks(params *RestoresTasksParams, opts ...ClientOption) (*RestoresTasksOK, error)
- func (a *Client) RestoresTasks1(params *RestoresTasks1Params, opts ...ClientOption) (*RestoresTasks1OK, *RestoresTasks1Accepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ConfigureBackupSettingsAccepted
- func (o *ConfigureBackupSettingsAccepted) Error() string
- func (o *ConfigureBackupSettingsAccepted) GetPayload() *models.Task
- func (o *ConfigureBackupSettingsAccepted) IsClientError() bool
- func (o *ConfigureBackupSettingsAccepted) IsCode(code int) bool
- func (o *ConfigureBackupSettingsAccepted) IsRedirect() bool
- func (o *ConfigureBackupSettingsAccepted) IsServerError() bool
- func (o *ConfigureBackupSettingsAccepted) IsSuccess() bool
- func (o *ConfigureBackupSettingsAccepted) String() string
- type ConfigureBackupSettingsBadRequest
- func (o *ConfigureBackupSettingsBadRequest) Error() string
- func (o *ConfigureBackupSettingsBadRequest) GetPayload() *models.Error
- func (o *ConfigureBackupSettingsBadRequest) IsClientError() bool
- func (o *ConfigureBackupSettingsBadRequest) IsCode(code int) bool
- func (o *ConfigureBackupSettingsBadRequest) IsRedirect() bool
- func (o *ConfigureBackupSettingsBadRequest) IsServerError() bool
- func (o *ConfigureBackupSettingsBadRequest) IsSuccess() bool
- func (o *ConfigureBackupSettingsBadRequest) String() string
- type ConfigureBackupSettingsInternalServerError
- func (o *ConfigureBackupSettingsInternalServerError) Error() string
- func (o *ConfigureBackupSettingsInternalServerError) GetPayload() *models.Error
- func (o *ConfigureBackupSettingsInternalServerError) IsClientError() bool
- func (o *ConfigureBackupSettingsInternalServerError) IsCode(code int) bool
- func (o *ConfigureBackupSettingsInternalServerError) IsRedirect() bool
- func (o *ConfigureBackupSettingsInternalServerError) IsServerError() bool
- func (o *ConfigureBackupSettingsInternalServerError) IsSuccess() bool
- func (o *ConfigureBackupSettingsInternalServerError) String() string
- type ConfigureBackupSettingsOK
- func (o *ConfigureBackupSettingsOK) Error() string
- func (o *ConfigureBackupSettingsOK) GetPayload() *models.Task
- func (o *ConfigureBackupSettingsOK) IsClientError() bool
- func (o *ConfigureBackupSettingsOK) IsCode(code int) bool
- func (o *ConfigureBackupSettingsOK) IsRedirect() bool
- func (o *ConfigureBackupSettingsOK) IsServerError() bool
- func (o *ConfigureBackupSettingsOK) IsSuccess() bool
- func (o *ConfigureBackupSettingsOK) String() string
- type ConfigureBackupSettingsParams
- func NewConfigureBackupSettingsParams() *ConfigureBackupSettingsParams
- func NewConfigureBackupSettingsParamsWithContext(ctx context.Context) *ConfigureBackupSettingsParams
- func NewConfigureBackupSettingsParamsWithHTTPClient(client *http.Client) *ConfigureBackupSettingsParams
- func NewConfigureBackupSettingsParamsWithTimeout(timeout time.Duration) *ConfigureBackupSettingsParams
- func (o *ConfigureBackupSettingsParams) SetBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec)
- func (o *ConfigureBackupSettingsParams) SetContext(ctx context.Context)
- func (o *ConfigureBackupSettingsParams) SetDefaults()
- func (o *ConfigureBackupSettingsParams) SetHTTPClient(client *http.Client)
- func (o *ConfigureBackupSettingsParams) SetTimeout(timeout time.Duration)
- func (o *ConfigureBackupSettingsParams) WithBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec) *ConfigureBackupSettingsParams
- func (o *ConfigureBackupSettingsParams) WithContext(ctx context.Context) *ConfigureBackupSettingsParams
- func (o *ConfigureBackupSettingsParams) WithDefaults() *ConfigureBackupSettingsParams
- func (o *ConfigureBackupSettingsParams) WithHTTPClient(client *http.Client) *ConfigureBackupSettingsParams
- func (o *ConfigureBackupSettingsParams) WithTimeout(timeout time.Duration) *ConfigureBackupSettingsParams
- func (o *ConfigureBackupSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigureBackupSettingsReader
- type EditBackupSettingsAccepted
- func (o *EditBackupSettingsAccepted) Error() string
- func (o *EditBackupSettingsAccepted) GetPayload() *models.Task
- func (o *EditBackupSettingsAccepted) IsClientError() bool
- func (o *EditBackupSettingsAccepted) IsCode(code int) bool
- func (o *EditBackupSettingsAccepted) IsRedirect() bool
- func (o *EditBackupSettingsAccepted) IsServerError() bool
- func (o *EditBackupSettingsAccepted) IsSuccess() bool
- func (o *EditBackupSettingsAccepted) String() string
- type EditBackupSettingsBadRequest
- func (o *EditBackupSettingsBadRequest) Error() string
- func (o *EditBackupSettingsBadRequest) GetPayload() *models.Error
- func (o *EditBackupSettingsBadRequest) IsClientError() bool
- func (o *EditBackupSettingsBadRequest) IsCode(code int) bool
- func (o *EditBackupSettingsBadRequest) IsRedirect() bool
- func (o *EditBackupSettingsBadRequest) IsServerError() bool
- func (o *EditBackupSettingsBadRequest) IsSuccess() bool
- func (o *EditBackupSettingsBadRequest) String() string
- type EditBackupSettingsInternalServerError
- func (o *EditBackupSettingsInternalServerError) Error() string
- func (o *EditBackupSettingsInternalServerError) GetPayload() *models.Error
- func (o *EditBackupSettingsInternalServerError) IsClientError() bool
- func (o *EditBackupSettingsInternalServerError) IsCode(code int) bool
- func (o *EditBackupSettingsInternalServerError) IsRedirect() bool
- func (o *EditBackupSettingsInternalServerError) IsServerError() bool
- func (o *EditBackupSettingsInternalServerError) IsSuccess() bool
- func (o *EditBackupSettingsInternalServerError) String() string
- type EditBackupSettingsOK
- func (o *EditBackupSettingsOK) Error() string
- func (o *EditBackupSettingsOK) GetPayload() *models.Task
- func (o *EditBackupSettingsOK) IsClientError() bool
- func (o *EditBackupSettingsOK) IsCode(code int) bool
- func (o *EditBackupSettingsOK) IsRedirect() bool
- func (o *EditBackupSettingsOK) IsServerError() bool
- func (o *EditBackupSettingsOK) IsSuccess() bool
- func (o *EditBackupSettingsOK) String() string
- type EditBackupSettingsParams
- func NewEditBackupSettingsParams() *EditBackupSettingsParams
- func NewEditBackupSettingsParamsWithContext(ctx context.Context) *EditBackupSettingsParams
- func NewEditBackupSettingsParamsWithHTTPClient(client *http.Client) *EditBackupSettingsParams
- func NewEditBackupSettingsParamsWithTimeout(timeout time.Duration) *EditBackupSettingsParams
- func (o *EditBackupSettingsParams) SetBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec)
- func (o *EditBackupSettingsParams) SetContext(ctx context.Context)
- func (o *EditBackupSettingsParams) SetDefaults()
- func (o *EditBackupSettingsParams) SetHTTPClient(client *http.Client)
- func (o *EditBackupSettingsParams) SetTimeout(timeout time.Duration)
- func (o *EditBackupSettingsParams) WithBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec) *EditBackupSettingsParams
- func (o *EditBackupSettingsParams) WithContext(ctx context.Context) *EditBackupSettingsParams
- func (o *EditBackupSettingsParams) WithDefaults() *EditBackupSettingsParams
- func (o *EditBackupSettingsParams) WithHTTPClient(client *http.Client) *EditBackupSettingsParams
- func (o *EditBackupSettingsParams) WithTimeout(timeout time.Duration) *EditBackupSettingsParams
- func (o *EditBackupSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditBackupSettingsReader
- type GetBackupSettingsBadRequest
- func (o *GetBackupSettingsBadRequest) Error() string
- func (o *GetBackupSettingsBadRequest) GetPayload() *models.Error
- func (o *GetBackupSettingsBadRequest) IsClientError() bool
- func (o *GetBackupSettingsBadRequest) IsCode(code int) bool
- func (o *GetBackupSettingsBadRequest) IsRedirect() bool
- func (o *GetBackupSettingsBadRequest) IsServerError() bool
- func (o *GetBackupSettingsBadRequest) IsSuccess() bool
- func (o *GetBackupSettingsBadRequest) String() string
- type GetBackupSettingsInternalServerError
- func (o *GetBackupSettingsInternalServerError) Error() string
- func (o *GetBackupSettingsInternalServerError) GetPayload() *models.Error
- func (o *GetBackupSettingsInternalServerError) IsClientError() bool
- func (o *GetBackupSettingsInternalServerError) IsCode(code int) bool
- func (o *GetBackupSettingsInternalServerError) IsRedirect() bool
- func (o *GetBackupSettingsInternalServerError) IsServerError() bool
- func (o *GetBackupSettingsInternalServerError) IsSuccess() bool
- func (o *GetBackupSettingsInternalServerError) String() string
- type GetBackupSettingsOK
- func (o *GetBackupSettingsOK) Error() string
- func (o *GetBackupSettingsOK) GetPayload() *models.BackupConfiguration
- func (o *GetBackupSettingsOK) IsClientError() bool
- func (o *GetBackupSettingsOK) IsCode(code int) bool
- func (o *GetBackupSettingsOK) IsRedirect() bool
- func (o *GetBackupSettingsOK) IsServerError() bool
- func (o *GetBackupSettingsOK) IsSuccess() bool
- func (o *GetBackupSettingsOK) String() string
- type GetBackupSettingsParams
- func NewGetBackupSettingsParams() *GetBackupSettingsParams
- func NewGetBackupSettingsParamsWithContext(ctx context.Context) *GetBackupSettingsParams
- func NewGetBackupSettingsParamsWithHTTPClient(client *http.Client) *GetBackupSettingsParams
- func NewGetBackupSettingsParamsWithTimeout(timeout time.Duration) *GetBackupSettingsParams
- func (o *GetBackupSettingsParams) SetContext(ctx context.Context)
- func (o *GetBackupSettingsParams) SetDefaults()
- func (o *GetBackupSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupSettingsParams) WithContext(ctx context.Context) *GetBackupSettingsParams
- func (o *GetBackupSettingsParams) WithDefaults() *GetBackupSettingsParams
- func (o *GetBackupSettingsParams) WithHTTPClient(client *http.Client) *GetBackupSettingsParams
- func (o *GetBackupSettingsParams) WithTimeout(timeout time.Duration) *GetBackupSettingsParams
- func (o *GetBackupSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupSettingsReader
- type RestoresTasks1Accepted
- func (o *RestoresTasks1Accepted) Error() string
- func (o *RestoresTasks1Accepted) GetPayload() *models.Task
- func (o *RestoresTasks1Accepted) IsClientError() bool
- func (o *RestoresTasks1Accepted) IsCode(code int) bool
- func (o *RestoresTasks1Accepted) IsRedirect() bool
- func (o *RestoresTasks1Accepted) IsServerError() bool
- func (o *RestoresTasks1Accepted) IsSuccess() bool
- func (o *RestoresTasks1Accepted) String() string
- type RestoresTasks1BadRequest
- func (o *RestoresTasks1BadRequest) Error() string
- func (o *RestoresTasks1BadRequest) GetPayload() *models.Error
- func (o *RestoresTasks1BadRequest) IsClientError() bool
- func (o *RestoresTasks1BadRequest) IsCode(code int) bool
- func (o *RestoresTasks1BadRequest) IsRedirect() bool
- func (o *RestoresTasks1BadRequest) IsServerError() bool
- func (o *RestoresTasks1BadRequest) IsSuccess() bool
- func (o *RestoresTasks1BadRequest) String() string
- type RestoresTasks1InternalServerError
- func (o *RestoresTasks1InternalServerError) Error() string
- func (o *RestoresTasks1InternalServerError) GetPayload() *models.Error
- func (o *RestoresTasks1InternalServerError) IsClientError() bool
- func (o *RestoresTasks1InternalServerError) IsCode(code int) bool
- func (o *RestoresTasks1InternalServerError) IsRedirect() bool
- func (o *RestoresTasks1InternalServerError) IsServerError() bool
- func (o *RestoresTasks1InternalServerError) IsSuccess() bool
- func (o *RestoresTasks1InternalServerError) String() string
- type RestoresTasks1OK
- func (o *RestoresTasks1OK) Error() string
- func (o *RestoresTasks1OK) GetPayload() *models.Task
- func (o *RestoresTasks1OK) IsClientError() bool
- func (o *RestoresTasks1OK) IsCode(code int) bool
- func (o *RestoresTasks1OK) IsRedirect() bool
- func (o *RestoresTasks1OK) IsServerError() bool
- func (o *RestoresTasks1OK) IsSuccess() bool
- func (o *RestoresTasks1OK) String() string
- type RestoresTasks1Params
- func NewRestoresTasks1Params() *RestoresTasks1Params
- func NewRestoresTasks1ParamsWithContext(ctx context.Context) *RestoresTasks1Params
- func NewRestoresTasks1ParamsWithHTTPClient(client *http.Client) *RestoresTasks1Params
- func NewRestoresTasks1ParamsWithTimeout(timeout time.Duration) *RestoresTasks1Params
- func (o *RestoresTasks1Params) SetContext(ctx context.Context)
- func (o *RestoresTasks1Params) SetDefaults()
- func (o *RestoresTasks1Params) SetHTTPClient(client *http.Client)
- func (o *RestoresTasks1Params) SetRestoreSpec(restoreSpec *models.RestoreSpec)
- func (o *RestoresTasks1Params) SetTimeout(timeout time.Duration)
- func (o *RestoresTasks1Params) WithContext(ctx context.Context) *RestoresTasks1Params
- func (o *RestoresTasks1Params) WithDefaults() *RestoresTasks1Params
- func (o *RestoresTasks1Params) WithHTTPClient(client *http.Client) *RestoresTasks1Params
- func (o *RestoresTasks1Params) WithRestoreSpec(restoreSpec *models.RestoreSpec) *RestoresTasks1Params
- func (o *RestoresTasks1Params) WithTimeout(timeout time.Duration) *RestoresTasks1Params
- func (o *RestoresTasks1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoresTasks1Reader
- type RestoresTasksBadRequest
- func (o *RestoresTasksBadRequest) Error() string
- func (o *RestoresTasksBadRequest) GetPayload() *models.Error
- func (o *RestoresTasksBadRequest) IsClientError() bool
- func (o *RestoresTasksBadRequest) IsCode(code int) bool
- func (o *RestoresTasksBadRequest) IsRedirect() bool
- func (o *RestoresTasksBadRequest) IsServerError() bool
- func (o *RestoresTasksBadRequest) IsSuccess() bool
- func (o *RestoresTasksBadRequest) String() string
- type RestoresTasksInternalServerError
- func (o *RestoresTasksInternalServerError) Error() string
- func (o *RestoresTasksInternalServerError) GetPayload() *models.Error
- func (o *RestoresTasksInternalServerError) IsClientError() bool
- func (o *RestoresTasksInternalServerError) IsCode(code int) bool
- func (o *RestoresTasksInternalServerError) IsRedirect() bool
- func (o *RestoresTasksInternalServerError) IsServerError() bool
- func (o *RestoresTasksInternalServerError) IsSuccess() bool
- func (o *RestoresTasksInternalServerError) String() string
- type RestoresTasksOK
- func (o *RestoresTasksOK) Error() string
- func (o *RestoresTasksOK) GetPayload() *models.Task
- func (o *RestoresTasksOK) IsClientError() bool
- func (o *RestoresTasksOK) IsCode(code int) bool
- func (o *RestoresTasksOK) IsRedirect() bool
- func (o *RestoresTasksOK) IsServerError() bool
- func (o *RestoresTasksOK) IsSuccess() bool
- func (o *RestoresTasksOK) String() string
- type RestoresTasksParams
- func (o *RestoresTasksParams) SetContext(ctx context.Context)
- func (o *RestoresTasksParams) SetDefaults()
- func (o *RestoresTasksParams) SetHTTPClient(client *http.Client)
- func (o *RestoresTasksParams) SetID(id string)
- func (o *RestoresTasksParams) SetTimeout(timeout time.Duration)
- func (o *RestoresTasksParams) WithContext(ctx context.Context) *RestoresTasksParams
- func (o *RestoresTasksParams) WithDefaults() *RestoresTasksParams
- func (o *RestoresTasksParams) WithHTTPClient(client *http.Client) *RestoresTasksParams
- func (o *RestoresTasksParams) WithID(id string) *RestoresTasksParams
- func (o *RestoresTasksParams) WithTimeout(timeout time.Duration) *RestoresTasksParams
- func (o *RestoresTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoresTasksReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupTasksAccepted ¶
type BackupTasksAccepted struct {
Payload *models.BackupTask
}
BackupTasksAccepted describes a response with status code 202, with default header values.
Accepted
func NewBackupTasksAccepted ¶
func NewBackupTasksAccepted() *BackupTasksAccepted
NewBackupTasksAccepted creates a BackupTasksAccepted with default headers values
func (*BackupTasksAccepted) Error ¶
func (o *BackupTasksAccepted) Error() string
func (*BackupTasksAccepted) GetPayload ¶
func (o *BackupTasksAccepted) GetPayload() *models.BackupTask
func (*BackupTasksAccepted) IsClientError ¶
func (o *BackupTasksAccepted) IsClientError() bool
IsClientError returns true when this backup tasks accepted response has a 4xx status code
func (*BackupTasksAccepted) IsCode ¶
func (o *BackupTasksAccepted) IsCode(code int) bool
IsCode returns true when this backup tasks accepted response a status code equal to that given
func (*BackupTasksAccepted) IsRedirect ¶
func (o *BackupTasksAccepted) IsRedirect() bool
IsRedirect returns true when this backup tasks accepted response has a 3xx status code
func (*BackupTasksAccepted) IsServerError ¶
func (o *BackupTasksAccepted) IsServerError() bool
IsServerError returns true when this backup tasks accepted response has a 5xx status code
func (*BackupTasksAccepted) IsSuccess ¶
func (o *BackupTasksAccepted) IsSuccess() bool
IsSuccess returns true when this backup tasks accepted response has a 2xx status code
func (*BackupTasksAccepted) String ¶
func (o *BackupTasksAccepted) String() string
type BackupTasksBadRequest ¶
BackupTasksBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBackupTasksBadRequest ¶
func NewBackupTasksBadRequest() *BackupTasksBadRequest
NewBackupTasksBadRequest creates a BackupTasksBadRequest with default headers values
func (*BackupTasksBadRequest) Error ¶
func (o *BackupTasksBadRequest) Error() string
func (*BackupTasksBadRequest) GetPayload ¶
func (o *BackupTasksBadRequest) GetPayload() *models.Error
func (*BackupTasksBadRequest) IsClientError ¶
func (o *BackupTasksBadRequest) IsClientError() bool
IsClientError returns true when this backup tasks bad request response has a 4xx status code
func (*BackupTasksBadRequest) IsCode ¶
func (o *BackupTasksBadRequest) IsCode(code int) bool
IsCode returns true when this backup tasks bad request response a status code equal to that given
func (*BackupTasksBadRequest) IsRedirect ¶
func (o *BackupTasksBadRequest) IsRedirect() bool
IsRedirect returns true when this backup tasks bad request response has a 3xx status code
func (*BackupTasksBadRequest) IsServerError ¶
func (o *BackupTasksBadRequest) IsServerError() bool
IsServerError returns true when this backup tasks bad request response has a 5xx status code
func (*BackupTasksBadRequest) IsSuccess ¶
func (o *BackupTasksBadRequest) IsSuccess() bool
IsSuccess returns true when this backup tasks bad request response has a 2xx status code
func (*BackupTasksBadRequest) String ¶
func (o *BackupTasksBadRequest) String() string
type BackupTasksInternalServerError ¶
BackupTasksInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewBackupTasksInternalServerError ¶
func NewBackupTasksInternalServerError() *BackupTasksInternalServerError
NewBackupTasksInternalServerError creates a BackupTasksInternalServerError with default headers values
func (*BackupTasksInternalServerError) Error ¶
func (o *BackupTasksInternalServerError) Error() string
func (*BackupTasksInternalServerError) GetPayload ¶
func (o *BackupTasksInternalServerError) GetPayload() *models.Error
func (*BackupTasksInternalServerError) IsClientError ¶
func (o *BackupTasksInternalServerError) IsClientError() bool
IsClientError returns true when this backup tasks internal server error response has a 4xx status code
func (*BackupTasksInternalServerError) IsCode ¶
func (o *BackupTasksInternalServerError) IsCode(code int) bool
IsCode returns true when this backup tasks internal server error response a status code equal to that given
func (*BackupTasksInternalServerError) IsRedirect ¶
func (o *BackupTasksInternalServerError) IsRedirect() bool
IsRedirect returns true when this backup tasks internal server error response has a 3xx status code
func (*BackupTasksInternalServerError) IsServerError ¶
func (o *BackupTasksInternalServerError) IsServerError() bool
IsServerError returns true when this backup tasks internal server error response has a 5xx status code
func (*BackupTasksInternalServerError) IsSuccess ¶
func (o *BackupTasksInternalServerError) IsSuccess() bool
IsSuccess returns true when this backup tasks internal server error response has a 2xx status code
func (*BackupTasksInternalServerError) String ¶
func (o *BackupTasksInternalServerError) String() string
type BackupTasksOK ¶
type BackupTasksOK struct {
Payload *models.BackupTask
}
BackupTasksOK describes a response with status code 200, with default header values.
OK
func NewBackupTasksOK ¶
func NewBackupTasksOK() *BackupTasksOK
NewBackupTasksOK creates a BackupTasksOK with default headers values
func (*BackupTasksOK) Error ¶
func (o *BackupTasksOK) Error() string
func (*BackupTasksOK) GetPayload ¶
func (o *BackupTasksOK) GetPayload() *models.BackupTask
func (*BackupTasksOK) IsClientError ¶
func (o *BackupTasksOK) IsClientError() bool
IsClientError returns true when this backup tasks o k response has a 4xx status code
func (*BackupTasksOK) IsCode ¶
func (o *BackupTasksOK) IsCode(code int) bool
IsCode returns true when this backup tasks o k response a status code equal to that given
func (*BackupTasksOK) IsRedirect ¶
func (o *BackupTasksOK) IsRedirect() bool
IsRedirect returns true when this backup tasks o k response has a 3xx status code
func (*BackupTasksOK) IsServerError ¶
func (o *BackupTasksOK) IsServerError() bool
IsServerError returns true when this backup tasks o k response has a 5xx status code
func (*BackupTasksOK) IsSuccess ¶
func (o *BackupTasksOK) IsSuccess() bool
IsSuccess returns true when this backup tasks o k response has a 2xx status code
func (*BackupTasksOK) String ¶
func (o *BackupTasksOK) String() string
type BackupTasksParams ¶
type BackupTasksParams struct { /* BackupsSpec. backupsSpec */ BackupsSpec *models.BackupSpec Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupTasksParams contains all the parameters to send to the API endpoint
for the backup tasks operation. Typically these are written to a http.Request.
func NewBackupTasksParams ¶
func NewBackupTasksParams() *BackupTasksParams
NewBackupTasksParams creates a new BackupTasksParams 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 NewBackupTasksParamsWithContext ¶
func NewBackupTasksParamsWithContext(ctx context.Context) *BackupTasksParams
NewBackupTasksParamsWithContext creates a new BackupTasksParams object with the ability to set a context for a request.
func NewBackupTasksParamsWithHTTPClient ¶
func NewBackupTasksParamsWithHTTPClient(client *http.Client) *BackupTasksParams
NewBackupTasksParamsWithHTTPClient creates a new BackupTasksParams object with the ability to set a custom HTTPClient for a request.
func NewBackupTasksParamsWithTimeout ¶
func NewBackupTasksParamsWithTimeout(timeout time.Duration) *BackupTasksParams
NewBackupTasksParamsWithTimeout creates a new BackupTasksParams object with the ability to set a timeout on a request.
func (*BackupTasksParams) SetBackupsSpec ¶
func (o *BackupTasksParams) SetBackupsSpec(backupsSpec *models.BackupSpec)
SetBackupsSpec adds the backupsSpec to the backup tasks params
func (*BackupTasksParams) SetContext ¶
func (o *BackupTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the backup tasks params
func (*BackupTasksParams) SetDefaults ¶
func (o *BackupTasksParams) SetDefaults()
SetDefaults hydrates default values in the backup tasks params (not the query body).
All values with no default are reset to their zero value.
func (*BackupTasksParams) SetHTTPClient ¶
func (o *BackupTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup tasks params
func (*BackupTasksParams) SetTimeout ¶
func (o *BackupTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup tasks params
func (*BackupTasksParams) WithBackupsSpec ¶
func (o *BackupTasksParams) WithBackupsSpec(backupsSpec *models.BackupSpec) *BackupTasksParams
WithBackupsSpec adds the backupsSpec to the backup tasks params
func (*BackupTasksParams) WithContext ¶
func (o *BackupTasksParams) WithContext(ctx context.Context) *BackupTasksParams
WithContext adds the context to the backup tasks params
func (*BackupTasksParams) WithDefaults ¶
func (o *BackupTasksParams) WithDefaults() *BackupTasksParams
WithDefaults hydrates default values in the backup tasks params (not the query body).
All values with no default are reset to their zero value.
func (*BackupTasksParams) WithHTTPClient ¶
func (o *BackupTasksParams) WithHTTPClient(client *http.Client) *BackupTasksParams
WithHTTPClient adds the HTTPClient to the backup tasks params
func (*BackupTasksParams) WithTimeout ¶
func (o *BackupTasksParams) WithTimeout(timeout time.Duration) *BackupTasksParams
WithTimeout adds the timeout to the backup tasks params
func (*BackupTasksParams) WriteToRequest ¶
func (o *BackupTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupTasksReader ¶
type BackupTasksReader struct {
// contains filtered or unexported fields
}
BackupTasksReader is a Reader for the BackupTasks structure.
func (*BackupTasksReader) ReadResponse ¶
func (o *BackupTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for backup restore API
func (*Client) BackupTasks ¶
func (a *Client) BackupTasks(params *BackupTasksParams, opts ...ClientOption) (*BackupTasksOK, *BackupTasksAccepted, error)
BackupTasks triggers backup
func (*Client) ConfigureBackupSettings ¶
func (a *Client) ConfigureBackupSettings(params *ConfigureBackupSettingsParams, opts ...ClientOption) (*ConfigureBackupSettingsOK, *ConfigureBackupSettingsAccepted, error)
ConfigureBackupSettings configures backup settings to backup n s x and SDDC manager
func (*Client) EditBackupSettings ¶
func (a *Client) EditBackupSettings(params *EditBackupSettingsParams, opts ...ClientOption) (*EditBackupSettingsOK, *EditBackupSettingsAccepted, error)
EditBackupSettings edits backup configuration to backup n s x and SDDC manager
func (*Client) GetBackupSettings ¶ added in v0.1.1
func (a *Client) GetBackupSettings(params *GetBackupSettingsParams, opts ...ClientOption) (*GetBackupSettingsOK, error)
GetBackupSettings gets backup configuration used to backup n s x and SDDC manager
func (*Client) RestoresTasks ¶
func (a *Client) RestoresTasks(params *RestoresTasksParams, opts ...ClientOption) (*RestoresTasksOK, error)
RestoresTasks fetches the restores task
func (*Client) RestoresTasks1 ¶
func (a *Client) RestoresTasks1(params *RestoresTasks1Params, opts ...ClientOption) (*RestoresTasks1OK, *RestoresTasks1Accepted, error)
RestoresTasks1 triggers restore
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 { BackupTasks(params *BackupTasksParams, opts ...ClientOption) (*BackupTasksOK, *BackupTasksAccepted, error) ConfigureBackupSettings(params *ConfigureBackupSettingsParams, opts ...ClientOption) (*ConfigureBackupSettingsOK, *ConfigureBackupSettingsAccepted, error) EditBackupSettings(params *EditBackupSettingsParams, opts ...ClientOption) (*EditBackupSettingsOK, *EditBackupSettingsAccepted, error) GetBackupSettings(params *GetBackupSettingsParams, opts ...ClientOption) (*GetBackupSettingsOK, error) RestoresTasks(params *RestoresTasksParams, opts ...ClientOption) (*RestoresTasksOK, error) RestoresTasks1(params *RestoresTasks1Params, opts ...ClientOption) (*RestoresTasks1OK, *RestoresTasks1Accepted, 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 API client.
type ConfigureBackupSettingsAccepted ¶
ConfigureBackupSettingsAccepted describes a response with status code 202, with default header values.
Accepted
func NewConfigureBackupSettingsAccepted ¶
func NewConfigureBackupSettingsAccepted() *ConfigureBackupSettingsAccepted
NewConfigureBackupSettingsAccepted creates a ConfigureBackupSettingsAccepted with default headers values
func (*ConfigureBackupSettingsAccepted) Error ¶
func (o *ConfigureBackupSettingsAccepted) Error() string
func (*ConfigureBackupSettingsAccepted) GetPayload ¶
func (o *ConfigureBackupSettingsAccepted) GetPayload() *models.Task
func (*ConfigureBackupSettingsAccepted) IsClientError ¶
func (o *ConfigureBackupSettingsAccepted) IsClientError() bool
IsClientError returns true when this configure backup settings accepted response has a 4xx status code
func (*ConfigureBackupSettingsAccepted) IsCode ¶
func (o *ConfigureBackupSettingsAccepted) IsCode(code int) bool
IsCode returns true when this configure backup settings accepted response a status code equal to that given
func (*ConfigureBackupSettingsAccepted) IsRedirect ¶
func (o *ConfigureBackupSettingsAccepted) IsRedirect() bool
IsRedirect returns true when this configure backup settings accepted response has a 3xx status code
func (*ConfigureBackupSettingsAccepted) IsServerError ¶
func (o *ConfigureBackupSettingsAccepted) IsServerError() bool
IsServerError returns true when this configure backup settings accepted response has a 5xx status code
func (*ConfigureBackupSettingsAccepted) IsSuccess ¶
func (o *ConfigureBackupSettingsAccepted) IsSuccess() bool
IsSuccess returns true when this configure backup settings accepted response has a 2xx status code
func (*ConfigureBackupSettingsAccepted) String ¶
func (o *ConfigureBackupSettingsAccepted) String() string
type ConfigureBackupSettingsBadRequest ¶
ConfigureBackupSettingsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewConfigureBackupSettingsBadRequest ¶
func NewConfigureBackupSettingsBadRequest() *ConfigureBackupSettingsBadRequest
NewConfigureBackupSettingsBadRequest creates a ConfigureBackupSettingsBadRequest with default headers values
func (*ConfigureBackupSettingsBadRequest) Error ¶
func (o *ConfigureBackupSettingsBadRequest) Error() string
func (*ConfigureBackupSettingsBadRequest) GetPayload ¶
func (o *ConfigureBackupSettingsBadRequest) GetPayload() *models.Error
func (*ConfigureBackupSettingsBadRequest) IsClientError ¶
func (o *ConfigureBackupSettingsBadRequest) IsClientError() bool
IsClientError returns true when this configure backup settings bad request response has a 4xx status code
func (*ConfigureBackupSettingsBadRequest) IsCode ¶
func (o *ConfigureBackupSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this configure backup settings bad request response a status code equal to that given
func (*ConfigureBackupSettingsBadRequest) IsRedirect ¶
func (o *ConfigureBackupSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this configure backup settings bad request response has a 3xx status code
func (*ConfigureBackupSettingsBadRequest) IsServerError ¶
func (o *ConfigureBackupSettingsBadRequest) IsServerError() bool
IsServerError returns true when this configure backup settings bad request response has a 5xx status code
func (*ConfigureBackupSettingsBadRequest) IsSuccess ¶
func (o *ConfigureBackupSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this configure backup settings bad request response has a 2xx status code
func (*ConfigureBackupSettingsBadRequest) String ¶
func (o *ConfigureBackupSettingsBadRequest) String() string
type ConfigureBackupSettingsInternalServerError ¶
ConfigureBackupSettingsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewConfigureBackupSettingsInternalServerError ¶
func NewConfigureBackupSettingsInternalServerError() *ConfigureBackupSettingsInternalServerError
NewConfigureBackupSettingsInternalServerError creates a ConfigureBackupSettingsInternalServerError with default headers values
func (*ConfigureBackupSettingsInternalServerError) Error ¶
func (o *ConfigureBackupSettingsInternalServerError) Error() string
func (*ConfigureBackupSettingsInternalServerError) GetPayload ¶
func (o *ConfigureBackupSettingsInternalServerError) GetPayload() *models.Error
func (*ConfigureBackupSettingsInternalServerError) IsClientError ¶
func (o *ConfigureBackupSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this configure backup settings internal server error response has a 4xx status code
func (*ConfigureBackupSettingsInternalServerError) IsCode ¶
func (o *ConfigureBackupSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this configure backup settings internal server error response a status code equal to that given
func (*ConfigureBackupSettingsInternalServerError) IsRedirect ¶
func (o *ConfigureBackupSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this configure backup settings internal server error response has a 3xx status code
func (*ConfigureBackupSettingsInternalServerError) IsServerError ¶
func (o *ConfigureBackupSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this configure backup settings internal server error response has a 5xx status code
func (*ConfigureBackupSettingsInternalServerError) IsSuccess ¶
func (o *ConfigureBackupSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this configure backup settings internal server error response has a 2xx status code
func (*ConfigureBackupSettingsInternalServerError) String ¶
func (o *ConfigureBackupSettingsInternalServerError) String() string
type ConfigureBackupSettingsOK ¶
ConfigureBackupSettingsOK describes a response with status code 200, with default header values.
OK
func NewConfigureBackupSettingsOK ¶
func NewConfigureBackupSettingsOK() *ConfigureBackupSettingsOK
NewConfigureBackupSettingsOK creates a ConfigureBackupSettingsOK with default headers values
func (*ConfigureBackupSettingsOK) Error ¶
func (o *ConfigureBackupSettingsOK) Error() string
func (*ConfigureBackupSettingsOK) GetPayload ¶
func (o *ConfigureBackupSettingsOK) GetPayload() *models.Task
func (*ConfigureBackupSettingsOK) IsClientError ¶
func (o *ConfigureBackupSettingsOK) IsClientError() bool
IsClientError returns true when this configure backup settings o k response has a 4xx status code
func (*ConfigureBackupSettingsOK) IsCode ¶
func (o *ConfigureBackupSettingsOK) IsCode(code int) bool
IsCode returns true when this configure backup settings o k response a status code equal to that given
func (*ConfigureBackupSettingsOK) IsRedirect ¶
func (o *ConfigureBackupSettingsOK) IsRedirect() bool
IsRedirect returns true when this configure backup settings o k response has a 3xx status code
func (*ConfigureBackupSettingsOK) IsServerError ¶
func (o *ConfigureBackupSettingsOK) IsServerError() bool
IsServerError returns true when this configure backup settings o k response has a 5xx status code
func (*ConfigureBackupSettingsOK) IsSuccess ¶
func (o *ConfigureBackupSettingsOK) IsSuccess() bool
IsSuccess returns true when this configure backup settings o k response has a 2xx status code
func (*ConfigureBackupSettingsOK) String ¶
func (o *ConfigureBackupSettingsOK) String() string
type ConfigureBackupSettingsParams ¶
type ConfigureBackupSettingsParams struct { /* BackupConfigurationSpec. backupConfigurationSpec */ BackupConfigurationSpec *models.BackupConfigurationSpec Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigureBackupSettingsParams contains all the parameters to send to the API endpoint
for the configure backup settings operation. Typically these are written to a http.Request.
func NewConfigureBackupSettingsParams ¶
func NewConfigureBackupSettingsParams() *ConfigureBackupSettingsParams
NewConfigureBackupSettingsParams creates a new ConfigureBackupSettingsParams 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 NewConfigureBackupSettingsParamsWithContext ¶
func NewConfigureBackupSettingsParamsWithContext(ctx context.Context) *ConfigureBackupSettingsParams
NewConfigureBackupSettingsParamsWithContext creates a new ConfigureBackupSettingsParams object with the ability to set a context for a request.
func NewConfigureBackupSettingsParamsWithHTTPClient ¶
func NewConfigureBackupSettingsParamsWithHTTPClient(client *http.Client) *ConfigureBackupSettingsParams
NewConfigureBackupSettingsParamsWithHTTPClient creates a new ConfigureBackupSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewConfigureBackupSettingsParamsWithTimeout ¶
func NewConfigureBackupSettingsParamsWithTimeout(timeout time.Duration) *ConfigureBackupSettingsParams
NewConfigureBackupSettingsParamsWithTimeout creates a new ConfigureBackupSettingsParams object with the ability to set a timeout on a request.
func (*ConfigureBackupSettingsParams) SetBackupConfigurationSpec ¶
func (o *ConfigureBackupSettingsParams) SetBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec)
SetBackupConfigurationSpec adds the backupConfigurationSpec to the configure backup settings params
func (*ConfigureBackupSettingsParams) SetContext ¶
func (o *ConfigureBackupSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the configure backup settings params
func (*ConfigureBackupSettingsParams) SetDefaults ¶
func (o *ConfigureBackupSettingsParams) SetDefaults()
SetDefaults hydrates default values in the configure backup settings params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigureBackupSettingsParams) SetHTTPClient ¶
func (o *ConfigureBackupSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the configure backup settings params
func (*ConfigureBackupSettingsParams) SetTimeout ¶
func (o *ConfigureBackupSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the configure backup settings params
func (*ConfigureBackupSettingsParams) WithBackupConfigurationSpec ¶
func (o *ConfigureBackupSettingsParams) WithBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec) *ConfigureBackupSettingsParams
WithBackupConfigurationSpec adds the backupConfigurationSpec to the configure backup settings params
func (*ConfigureBackupSettingsParams) WithContext ¶
func (o *ConfigureBackupSettingsParams) WithContext(ctx context.Context) *ConfigureBackupSettingsParams
WithContext adds the context to the configure backup settings params
func (*ConfigureBackupSettingsParams) WithDefaults ¶
func (o *ConfigureBackupSettingsParams) WithDefaults() *ConfigureBackupSettingsParams
WithDefaults hydrates default values in the configure backup settings params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigureBackupSettingsParams) WithHTTPClient ¶
func (o *ConfigureBackupSettingsParams) WithHTTPClient(client *http.Client) *ConfigureBackupSettingsParams
WithHTTPClient adds the HTTPClient to the configure backup settings params
func (*ConfigureBackupSettingsParams) WithTimeout ¶
func (o *ConfigureBackupSettingsParams) WithTimeout(timeout time.Duration) *ConfigureBackupSettingsParams
WithTimeout adds the timeout to the configure backup settings params
func (*ConfigureBackupSettingsParams) WriteToRequest ¶
func (o *ConfigureBackupSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigureBackupSettingsReader ¶
type ConfigureBackupSettingsReader struct {
// contains filtered or unexported fields
}
ConfigureBackupSettingsReader is a Reader for the ConfigureBackupSettings structure.
func (*ConfigureBackupSettingsReader) ReadResponse ¶
func (o *ConfigureBackupSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EditBackupSettingsAccepted ¶
EditBackupSettingsAccepted describes a response with status code 202, with default header values.
Accepted
func NewEditBackupSettingsAccepted ¶
func NewEditBackupSettingsAccepted() *EditBackupSettingsAccepted
NewEditBackupSettingsAccepted creates a EditBackupSettingsAccepted with default headers values
func (*EditBackupSettingsAccepted) Error ¶
func (o *EditBackupSettingsAccepted) Error() string
func (*EditBackupSettingsAccepted) GetPayload ¶
func (o *EditBackupSettingsAccepted) GetPayload() *models.Task
func (*EditBackupSettingsAccepted) IsClientError ¶
func (o *EditBackupSettingsAccepted) IsClientError() bool
IsClientError returns true when this edit backup settings accepted response has a 4xx status code
func (*EditBackupSettingsAccepted) IsCode ¶
func (o *EditBackupSettingsAccepted) IsCode(code int) bool
IsCode returns true when this edit backup settings accepted response a status code equal to that given
func (*EditBackupSettingsAccepted) IsRedirect ¶
func (o *EditBackupSettingsAccepted) IsRedirect() bool
IsRedirect returns true when this edit backup settings accepted response has a 3xx status code
func (*EditBackupSettingsAccepted) IsServerError ¶
func (o *EditBackupSettingsAccepted) IsServerError() bool
IsServerError returns true when this edit backup settings accepted response has a 5xx status code
func (*EditBackupSettingsAccepted) IsSuccess ¶
func (o *EditBackupSettingsAccepted) IsSuccess() bool
IsSuccess returns true when this edit backup settings accepted response has a 2xx status code
func (*EditBackupSettingsAccepted) String ¶
func (o *EditBackupSettingsAccepted) String() string
type EditBackupSettingsBadRequest ¶
EditBackupSettingsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewEditBackupSettingsBadRequest ¶
func NewEditBackupSettingsBadRequest() *EditBackupSettingsBadRequest
NewEditBackupSettingsBadRequest creates a EditBackupSettingsBadRequest with default headers values
func (*EditBackupSettingsBadRequest) Error ¶
func (o *EditBackupSettingsBadRequest) Error() string
func (*EditBackupSettingsBadRequest) GetPayload ¶
func (o *EditBackupSettingsBadRequest) GetPayload() *models.Error
func (*EditBackupSettingsBadRequest) IsClientError ¶
func (o *EditBackupSettingsBadRequest) IsClientError() bool
IsClientError returns true when this edit backup settings bad request response has a 4xx status code
func (*EditBackupSettingsBadRequest) IsCode ¶
func (o *EditBackupSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this edit backup settings bad request response a status code equal to that given
func (*EditBackupSettingsBadRequest) IsRedirect ¶
func (o *EditBackupSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this edit backup settings bad request response has a 3xx status code
func (*EditBackupSettingsBadRequest) IsServerError ¶
func (o *EditBackupSettingsBadRequest) IsServerError() bool
IsServerError returns true when this edit backup settings bad request response has a 5xx status code
func (*EditBackupSettingsBadRequest) IsSuccess ¶
func (o *EditBackupSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this edit backup settings bad request response has a 2xx status code
func (*EditBackupSettingsBadRequest) String ¶
func (o *EditBackupSettingsBadRequest) String() string
type EditBackupSettingsInternalServerError ¶
EditBackupSettingsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewEditBackupSettingsInternalServerError ¶
func NewEditBackupSettingsInternalServerError() *EditBackupSettingsInternalServerError
NewEditBackupSettingsInternalServerError creates a EditBackupSettingsInternalServerError with default headers values
func (*EditBackupSettingsInternalServerError) Error ¶
func (o *EditBackupSettingsInternalServerError) Error() string
func (*EditBackupSettingsInternalServerError) GetPayload ¶
func (o *EditBackupSettingsInternalServerError) GetPayload() *models.Error
func (*EditBackupSettingsInternalServerError) IsClientError ¶
func (o *EditBackupSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this edit backup settings internal server error response has a 4xx status code
func (*EditBackupSettingsInternalServerError) IsCode ¶
func (o *EditBackupSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this edit backup settings internal server error response a status code equal to that given
func (*EditBackupSettingsInternalServerError) IsRedirect ¶
func (o *EditBackupSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this edit backup settings internal server error response has a 3xx status code
func (*EditBackupSettingsInternalServerError) IsServerError ¶
func (o *EditBackupSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this edit backup settings internal server error response has a 5xx status code
func (*EditBackupSettingsInternalServerError) IsSuccess ¶
func (o *EditBackupSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this edit backup settings internal server error response has a 2xx status code
func (*EditBackupSettingsInternalServerError) String ¶
func (o *EditBackupSettingsInternalServerError) String() string
type EditBackupSettingsOK ¶
EditBackupSettingsOK describes a response with status code 200, with default header values.
OK
func NewEditBackupSettingsOK ¶
func NewEditBackupSettingsOK() *EditBackupSettingsOK
NewEditBackupSettingsOK creates a EditBackupSettingsOK with default headers values
func (*EditBackupSettingsOK) Error ¶
func (o *EditBackupSettingsOK) Error() string
func (*EditBackupSettingsOK) GetPayload ¶
func (o *EditBackupSettingsOK) GetPayload() *models.Task
func (*EditBackupSettingsOK) IsClientError ¶
func (o *EditBackupSettingsOK) IsClientError() bool
IsClientError returns true when this edit backup settings o k response has a 4xx status code
func (*EditBackupSettingsOK) IsCode ¶
func (o *EditBackupSettingsOK) IsCode(code int) bool
IsCode returns true when this edit backup settings o k response a status code equal to that given
func (*EditBackupSettingsOK) IsRedirect ¶
func (o *EditBackupSettingsOK) IsRedirect() bool
IsRedirect returns true when this edit backup settings o k response has a 3xx status code
func (*EditBackupSettingsOK) IsServerError ¶
func (o *EditBackupSettingsOK) IsServerError() bool
IsServerError returns true when this edit backup settings o k response has a 5xx status code
func (*EditBackupSettingsOK) IsSuccess ¶
func (o *EditBackupSettingsOK) IsSuccess() bool
IsSuccess returns true when this edit backup settings o k response has a 2xx status code
func (*EditBackupSettingsOK) String ¶
func (o *EditBackupSettingsOK) String() string
type EditBackupSettingsParams ¶
type EditBackupSettingsParams struct { /* BackupConfigurationSpec. backupConfigurationSpec */ BackupConfigurationSpec *models.BackupConfigurationSpec Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EditBackupSettingsParams contains all the parameters to send to the API endpoint
for the edit backup settings operation. Typically these are written to a http.Request.
func NewEditBackupSettingsParams ¶
func NewEditBackupSettingsParams() *EditBackupSettingsParams
NewEditBackupSettingsParams creates a new EditBackupSettingsParams 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 NewEditBackupSettingsParamsWithContext ¶
func NewEditBackupSettingsParamsWithContext(ctx context.Context) *EditBackupSettingsParams
NewEditBackupSettingsParamsWithContext creates a new EditBackupSettingsParams object with the ability to set a context for a request.
func NewEditBackupSettingsParamsWithHTTPClient ¶
func NewEditBackupSettingsParamsWithHTTPClient(client *http.Client) *EditBackupSettingsParams
NewEditBackupSettingsParamsWithHTTPClient creates a new EditBackupSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewEditBackupSettingsParamsWithTimeout ¶
func NewEditBackupSettingsParamsWithTimeout(timeout time.Duration) *EditBackupSettingsParams
NewEditBackupSettingsParamsWithTimeout creates a new EditBackupSettingsParams object with the ability to set a timeout on a request.
func (*EditBackupSettingsParams) SetBackupConfigurationSpec ¶
func (o *EditBackupSettingsParams) SetBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec)
SetBackupConfigurationSpec adds the backupConfigurationSpec to the edit backup settings params
func (*EditBackupSettingsParams) SetContext ¶
func (o *EditBackupSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the edit backup settings params
func (*EditBackupSettingsParams) SetDefaults ¶
func (o *EditBackupSettingsParams) SetDefaults()
SetDefaults hydrates default values in the edit backup settings params (not the query body).
All values with no default are reset to their zero value.
func (*EditBackupSettingsParams) SetHTTPClient ¶
func (o *EditBackupSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edit backup settings params
func (*EditBackupSettingsParams) SetTimeout ¶
func (o *EditBackupSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edit backup settings params
func (*EditBackupSettingsParams) WithBackupConfigurationSpec ¶
func (o *EditBackupSettingsParams) WithBackupConfigurationSpec(backupConfigurationSpec *models.BackupConfigurationSpec) *EditBackupSettingsParams
WithBackupConfigurationSpec adds the backupConfigurationSpec to the edit backup settings params
func (*EditBackupSettingsParams) WithContext ¶
func (o *EditBackupSettingsParams) WithContext(ctx context.Context) *EditBackupSettingsParams
WithContext adds the context to the edit backup settings params
func (*EditBackupSettingsParams) WithDefaults ¶
func (o *EditBackupSettingsParams) WithDefaults() *EditBackupSettingsParams
WithDefaults hydrates default values in the edit backup settings params (not the query body).
All values with no default are reset to their zero value.
func (*EditBackupSettingsParams) WithHTTPClient ¶
func (o *EditBackupSettingsParams) WithHTTPClient(client *http.Client) *EditBackupSettingsParams
WithHTTPClient adds the HTTPClient to the edit backup settings params
func (*EditBackupSettingsParams) WithTimeout ¶
func (o *EditBackupSettingsParams) WithTimeout(timeout time.Duration) *EditBackupSettingsParams
WithTimeout adds the timeout to the edit backup settings params
func (*EditBackupSettingsParams) WriteToRequest ¶
func (o *EditBackupSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EditBackupSettingsReader ¶
type EditBackupSettingsReader struct {
// contains filtered or unexported fields
}
EditBackupSettingsReader is a Reader for the EditBackupSettings structure.
func (*EditBackupSettingsReader) ReadResponse ¶
func (o *EditBackupSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBackupSettingsBadRequest ¶ added in v0.1.1
GetBackupSettingsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetBackupSettingsBadRequest ¶ added in v0.1.1
func NewGetBackupSettingsBadRequest() *GetBackupSettingsBadRequest
NewGetBackupSettingsBadRequest creates a GetBackupSettingsBadRequest with default headers values
func (*GetBackupSettingsBadRequest) Error ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) Error() string
func (*GetBackupSettingsBadRequest) GetPayload ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) GetPayload() *models.Error
func (*GetBackupSettingsBadRequest) IsClientError ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) IsClientError() bool
IsClientError returns true when this get backup settings bad request response has a 4xx status code
func (*GetBackupSettingsBadRequest) IsCode ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this get backup settings bad request response a status code equal to that given
func (*GetBackupSettingsBadRequest) IsRedirect ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this get backup settings bad request response has a 3xx status code
func (*GetBackupSettingsBadRequest) IsServerError ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) IsServerError() bool
IsServerError returns true when this get backup settings bad request response has a 5xx status code
func (*GetBackupSettingsBadRequest) IsSuccess ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this get backup settings bad request response has a 2xx status code
func (*GetBackupSettingsBadRequest) String ¶ added in v0.1.1
func (o *GetBackupSettingsBadRequest) String() string
type GetBackupSettingsInternalServerError ¶ added in v0.1.1
GetBackupSettingsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetBackupSettingsInternalServerError ¶ added in v0.1.1
func NewGetBackupSettingsInternalServerError() *GetBackupSettingsInternalServerError
NewGetBackupSettingsInternalServerError creates a GetBackupSettingsInternalServerError with default headers values
func (*GetBackupSettingsInternalServerError) Error ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) Error() string
func (*GetBackupSettingsInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) GetPayload() *models.Error
func (*GetBackupSettingsInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this get backup settings internal server error response has a 4xx status code
func (*GetBackupSettingsInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this get backup settings internal server error response a status code equal to that given
func (*GetBackupSettingsInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get backup settings internal server error response has a 3xx status code
func (*GetBackupSettingsInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this get backup settings internal server error response has a 5xx status code
func (*GetBackupSettingsInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get backup settings internal server error response has a 2xx status code
func (*GetBackupSettingsInternalServerError) String ¶ added in v0.1.1
func (o *GetBackupSettingsInternalServerError) String() string
type GetBackupSettingsOK ¶ added in v0.1.1
type GetBackupSettingsOK struct {
Payload *models.BackupConfiguration
}
GetBackupSettingsOK describes a response with status code 200, with default header values.
Ok
func NewGetBackupSettingsOK ¶ added in v0.1.1
func NewGetBackupSettingsOK() *GetBackupSettingsOK
NewGetBackupSettingsOK creates a GetBackupSettingsOK with default headers values
func (*GetBackupSettingsOK) Error ¶ added in v0.1.1
func (o *GetBackupSettingsOK) Error() string
func (*GetBackupSettingsOK) GetPayload ¶ added in v0.1.1
func (o *GetBackupSettingsOK) GetPayload() *models.BackupConfiguration
func (*GetBackupSettingsOK) IsClientError ¶ added in v0.1.1
func (o *GetBackupSettingsOK) IsClientError() bool
IsClientError returns true when this get backup settings o k response has a 4xx status code
func (*GetBackupSettingsOK) IsCode ¶ added in v0.1.1
func (o *GetBackupSettingsOK) IsCode(code int) bool
IsCode returns true when this get backup settings o k response a status code equal to that given
func (*GetBackupSettingsOK) IsRedirect ¶ added in v0.1.1
func (o *GetBackupSettingsOK) IsRedirect() bool
IsRedirect returns true when this get backup settings o k response has a 3xx status code
func (*GetBackupSettingsOK) IsServerError ¶ added in v0.1.1
func (o *GetBackupSettingsOK) IsServerError() bool
IsServerError returns true when this get backup settings o k response has a 5xx status code
func (*GetBackupSettingsOK) IsSuccess ¶ added in v0.1.1
func (o *GetBackupSettingsOK) IsSuccess() bool
IsSuccess returns true when this get backup settings o k response has a 2xx status code
func (*GetBackupSettingsOK) String ¶ added in v0.1.1
func (o *GetBackupSettingsOK) String() string
type GetBackupSettingsParams ¶ added in v0.1.1
type GetBackupSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBackupSettingsParams contains all the parameters to send to the API endpoint
for the get backup settings operation. Typically these are written to a http.Request.
func NewGetBackupSettingsParams ¶ added in v0.1.1
func NewGetBackupSettingsParams() *GetBackupSettingsParams
NewGetBackupSettingsParams creates a new GetBackupSettingsParams 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 NewGetBackupSettingsParamsWithContext ¶ added in v0.1.1
func NewGetBackupSettingsParamsWithContext(ctx context.Context) *GetBackupSettingsParams
NewGetBackupSettingsParamsWithContext creates a new GetBackupSettingsParams object with the ability to set a context for a request.
func NewGetBackupSettingsParamsWithHTTPClient ¶ added in v0.1.1
func NewGetBackupSettingsParamsWithHTTPClient(client *http.Client) *GetBackupSettingsParams
NewGetBackupSettingsParamsWithHTTPClient creates a new GetBackupSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBackupSettingsParamsWithTimeout ¶ added in v0.1.1
func NewGetBackupSettingsParamsWithTimeout(timeout time.Duration) *GetBackupSettingsParams
NewGetBackupSettingsParamsWithTimeout creates a new GetBackupSettingsParams object with the ability to set a timeout on a request.
func (*GetBackupSettingsParams) SetContext ¶ added in v0.1.1
func (o *GetBackupSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get backup settings params
func (*GetBackupSettingsParams) SetDefaults ¶ added in v0.1.1
func (o *GetBackupSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get backup settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupSettingsParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetBackupSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get backup settings params
func (*GetBackupSettingsParams) SetTimeout ¶ added in v0.1.1
func (o *GetBackupSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get backup settings params
func (*GetBackupSettingsParams) WithContext ¶ added in v0.1.1
func (o *GetBackupSettingsParams) WithContext(ctx context.Context) *GetBackupSettingsParams
WithContext adds the context to the get backup settings params
func (*GetBackupSettingsParams) WithDefaults ¶ added in v0.1.1
func (o *GetBackupSettingsParams) WithDefaults() *GetBackupSettingsParams
WithDefaults hydrates default values in the get backup settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetBackupSettingsParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetBackupSettingsParams) WithHTTPClient(client *http.Client) *GetBackupSettingsParams
WithHTTPClient adds the HTTPClient to the get backup settings params
func (*GetBackupSettingsParams) WithTimeout ¶ added in v0.1.1
func (o *GetBackupSettingsParams) WithTimeout(timeout time.Duration) *GetBackupSettingsParams
WithTimeout adds the timeout to the get backup settings params
func (*GetBackupSettingsParams) WriteToRequest ¶ added in v0.1.1
func (o *GetBackupSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBackupSettingsReader ¶ added in v0.1.1
type GetBackupSettingsReader struct {
// contains filtered or unexported fields
}
GetBackupSettingsReader is a Reader for the GetBackupSettings structure.
func (*GetBackupSettingsReader) ReadResponse ¶ added in v0.1.1
func (o *GetBackupSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoresTasks1Accepted ¶
RestoresTasks1Accepted describes a response with status code 202, with default header values.
Accepted
func NewRestoresTasks1Accepted ¶
func NewRestoresTasks1Accepted() *RestoresTasks1Accepted
NewRestoresTasks1Accepted creates a RestoresTasks1Accepted with default headers values
func (*RestoresTasks1Accepted) Error ¶
func (o *RestoresTasks1Accepted) Error() string
func (*RestoresTasks1Accepted) GetPayload ¶
func (o *RestoresTasks1Accepted) GetPayload() *models.Task
func (*RestoresTasks1Accepted) IsClientError ¶
func (o *RestoresTasks1Accepted) IsClientError() bool
IsClientError returns true when this restores tasks1 accepted response has a 4xx status code
func (*RestoresTasks1Accepted) IsCode ¶
func (o *RestoresTasks1Accepted) IsCode(code int) bool
IsCode returns true when this restores tasks1 accepted response a status code equal to that given
func (*RestoresTasks1Accepted) IsRedirect ¶
func (o *RestoresTasks1Accepted) IsRedirect() bool
IsRedirect returns true when this restores tasks1 accepted response has a 3xx status code
func (*RestoresTasks1Accepted) IsServerError ¶
func (o *RestoresTasks1Accepted) IsServerError() bool
IsServerError returns true when this restores tasks1 accepted response has a 5xx status code
func (*RestoresTasks1Accepted) IsSuccess ¶
func (o *RestoresTasks1Accepted) IsSuccess() bool
IsSuccess returns true when this restores tasks1 accepted response has a 2xx status code
func (*RestoresTasks1Accepted) String ¶
func (o *RestoresTasks1Accepted) String() string
type RestoresTasks1BadRequest ¶
RestoresTasks1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRestoresTasks1BadRequest ¶
func NewRestoresTasks1BadRequest() *RestoresTasks1BadRequest
NewRestoresTasks1BadRequest creates a RestoresTasks1BadRequest with default headers values
func (*RestoresTasks1BadRequest) Error ¶
func (o *RestoresTasks1BadRequest) Error() string
func (*RestoresTasks1BadRequest) GetPayload ¶
func (o *RestoresTasks1BadRequest) GetPayload() *models.Error
func (*RestoresTasks1BadRequest) IsClientError ¶
func (o *RestoresTasks1BadRequest) IsClientError() bool
IsClientError returns true when this restores tasks1 bad request response has a 4xx status code
func (*RestoresTasks1BadRequest) IsCode ¶
func (o *RestoresTasks1BadRequest) IsCode(code int) bool
IsCode returns true when this restores tasks1 bad request response a status code equal to that given
func (*RestoresTasks1BadRequest) IsRedirect ¶
func (o *RestoresTasks1BadRequest) IsRedirect() bool
IsRedirect returns true when this restores tasks1 bad request response has a 3xx status code
func (*RestoresTasks1BadRequest) IsServerError ¶
func (o *RestoresTasks1BadRequest) IsServerError() bool
IsServerError returns true when this restores tasks1 bad request response has a 5xx status code
func (*RestoresTasks1BadRequest) IsSuccess ¶
func (o *RestoresTasks1BadRequest) IsSuccess() bool
IsSuccess returns true when this restores tasks1 bad request response has a 2xx status code
func (*RestoresTasks1BadRequest) String ¶
func (o *RestoresTasks1BadRequest) String() string
type RestoresTasks1InternalServerError ¶
RestoresTasks1InternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewRestoresTasks1InternalServerError ¶
func NewRestoresTasks1InternalServerError() *RestoresTasks1InternalServerError
NewRestoresTasks1InternalServerError creates a RestoresTasks1InternalServerError with default headers values
func (*RestoresTasks1InternalServerError) Error ¶
func (o *RestoresTasks1InternalServerError) Error() string
func (*RestoresTasks1InternalServerError) GetPayload ¶
func (o *RestoresTasks1InternalServerError) GetPayload() *models.Error
func (*RestoresTasks1InternalServerError) IsClientError ¶
func (o *RestoresTasks1InternalServerError) IsClientError() bool
IsClientError returns true when this restores tasks1 internal server error response has a 4xx status code
func (*RestoresTasks1InternalServerError) IsCode ¶
func (o *RestoresTasks1InternalServerError) IsCode(code int) bool
IsCode returns true when this restores tasks1 internal server error response a status code equal to that given
func (*RestoresTasks1InternalServerError) IsRedirect ¶
func (o *RestoresTasks1InternalServerError) IsRedirect() bool
IsRedirect returns true when this restores tasks1 internal server error response has a 3xx status code
func (*RestoresTasks1InternalServerError) IsServerError ¶
func (o *RestoresTasks1InternalServerError) IsServerError() bool
IsServerError returns true when this restores tasks1 internal server error response has a 5xx status code
func (*RestoresTasks1InternalServerError) IsSuccess ¶
func (o *RestoresTasks1InternalServerError) IsSuccess() bool
IsSuccess returns true when this restores tasks1 internal server error response has a 2xx status code
func (*RestoresTasks1InternalServerError) String ¶
func (o *RestoresTasks1InternalServerError) String() string
type RestoresTasks1OK ¶
RestoresTasks1OK describes a response with status code 200, with default header values.
OK
func NewRestoresTasks1OK ¶
func NewRestoresTasks1OK() *RestoresTasks1OK
NewRestoresTasks1OK creates a RestoresTasks1OK with default headers values
func (*RestoresTasks1OK) Error ¶
func (o *RestoresTasks1OK) Error() string
func (*RestoresTasks1OK) GetPayload ¶
func (o *RestoresTasks1OK) GetPayload() *models.Task
func (*RestoresTasks1OK) IsClientError ¶
func (o *RestoresTasks1OK) IsClientError() bool
IsClientError returns true when this restores tasks1 o k response has a 4xx status code
func (*RestoresTasks1OK) IsCode ¶
func (o *RestoresTasks1OK) IsCode(code int) bool
IsCode returns true when this restores tasks1 o k response a status code equal to that given
func (*RestoresTasks1OK) IsRedirect ¶
func (o *RestoresTasks1OK) IsRedirect() bool
IsRedirect returns true when this restores tasks1 o k response has a 3xx status code
func (*RestoresTasks1OK) IsServerError ¶
func (o *RestoresTasks1OK) IsServerError() bool
IsServerError returns true when this restores tasks1 o k response has a 5xx status code
func (*RestoresTasks1OK) IsSuccess ¶
func (o *RestoresTasks1OK) IsSuccess() bool
IsSuccess returns true when this restores tasks1 o k response has a 2xx status code
func (*RestoresTasks1OK) String ¶
func (o *RestoresTasks1OK) String() string
type RestoresTasks1Params ¶
type RestoresTasks1Params struct { /* RestoreSpec. restoreSpec */ RestoreSpec *models.RestoreSpec Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoresTasks1Params contains all the parameters to send to the API endpoint
for the restores tasks 1 operation. Typically these are written to a http.Request.
func NewRestoresTasks1Params ¶
func NewRestoresTasks1Params() *RestoresTasks1Params
NewRestoresTasks1Params creates a new RestoresTasks1Params 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 NewRestoresTasks1ParamsWithContext ¶
func NewRestoresTasks1ParamsWithContext(ctx context.Context) *RestoresTasks1Params
NewRestoresTasks1ParamsWithContext creates a new RestoresTasks1Params object with the ability to set a context for a request.
func NewRestoresTasks1ParamsWithHTTPClient ¶
func NewRestoresTasks1ParamsWithHTTPClient(client *http.Client) *RestoresTasks1Params
NewRestoresTasks1ParamsWithHTTPClient creates a new RestoresTasks1Params object with the ability to set a custom HTTPClient for a request.
func NewRestoresTasks1ParamsWithTimeout ¶
func NewRestoresTasks1ParamsWithTimeout(timeout time.Duration) *RestoresTasks1Params
NewRestoresTasks1ParamsWithTimeout creates a new RestoresTasks1Params object with the ability to set a timeout on a request.
func (*RestoresTasks1Params) SetContext ¶
func (o *RestoresTasks1Params) SetContext(ctx context.Context)
SetContext adds the context to the restores tasks 1 params
func (*RestoresTasks1Params) SetDefaults ¶
func (o *RestoresTasks1Params) SetDefaults()
SetDefaults hydrates default values in the restores tasks 1 params (not the query body).
All values with no default are reset to their zero value.
func (*RestoresTasks1Params) SetHTTPClient ¶
func (o *RestoresTasks1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restores tasks 1 params
func (*RestoresTasks1Params) SetRestoreSpec ¶
func (o *RestoresTasks1Params) SetRestoreSpec(restoreSpec *models.RestoreSpec)
SetRestoreSpec adds the restoreSpec to the restores tasks 1 params
func (*RestoresTasks1Params) SetTimeout ¶
func (o *RestoresTasks1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restores tasks 1 params
func (*RestoresTasks1Params) WithContext ¶
func (o *RestoresTasks1Params) WithContext(ctx context.Context) *RestoresTasks1Params
WithContext adds the context to the restores tasks 1 params
func (*RestoresTasks1Params) WithDefaults ¶
func (o *RestoresTasks1Params) WithDefaults() *RestoresTasks1Params
WithDefaults hydrates default values in the restores tasks 1 params (not the query body).
All values with no default are reset to their zero value.
func (*RestoresTasks1Params) WithHTTPClient ¶
func (o *RestoresTasks1Params) WithHTTPClient(client *http.Client) *RestoresTasks1Params
WithHTTPClient adds the HTTPClient to the restores tasks 1 params
func (*RestoresTasks1Params) WithRestoreSpec ¶
func (o *RestoresTasks1Params) WithRestoreSpec(restoreSpec *models.RestoreSpec) *RestoresTasks1Params
WithRestoreSpec adds the restoreSpec to the restores tasks 1 params
func (*RestoresTasks1Params) WithTimeout ¶
func (o *RestoresTasks1Params) WithTimeout(timeout time.Duration) *RestoresTasks1Params
WithTimeout adds the timeout to the restores tasks 1 params
func (*RestoresTasks1Params) WriteToRequest ¶
func (o *RestoresTasks1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoresTasks1Reader ¶
type RestoresTasks1Reader struct {
// contains filtered or unexported fields
}
RestoresTasks1Reader is a Reader for the RestoresTasks1 structure.
func (*RestoresTasks1Reader) ReadResponse ¶
func (o *RestoresTasks1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoresTasksBadRequest ¶
RestoresTasksBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRestoresTasksBadRequest ¶
func NewRestoresTasksBadRequest() *RestoresTasksBadRequest
NewRestoresTasksBadRequest creates a RestoresTasksBadRequest with default headers values
func (*RestoresTasksBadRequest) Error ¶
func (o *RestoresTasksBadRequest) Error() string
func (*RestoresTasksBadRequest) GetPayload ¶
func (o *RestoresTasksBadRequest) GetPayload() *models.Error
func (*RestoresTasksBadRequest) IsClientError ¶
func (o *RestoresTasksBadRequest) IsClientError() bool
IsClientError returns true when this restores tasks bad request response has a 4xx status code
func (*RestoresTasksBadRequest) IsCode ¶
func (o *RestoresTasksBadRequest) IsCode(code int) bool
IsCode returns true when this restores tasks bad request response a status code equal to that given
func (*RestoresTasksBadRequest) IsRedirect ¶
func (o *RestoresTasksBadRequest) IsRedirect() bool
IsRedirect returns true when this restores tasks bad request response has a 3xx status code
func (*RestoresTasksBadRequest) IsServerError ¶
func (o *RestoresTasksBadRequest) IsServerError() bool
IsServerError returns true when this restores tasks bad request response has a 5xx status code
func (*RestoresTasksBadRequest) IsSuccess ¶
func (o *RestoresTasksBadRequest) IsSuccess() bool
IsSuccess returns true when this restores tasks bad request response has a 2xx status code
func (*RestoresTasksBadRequest) String ¶
func (o *RestoresTasksBadRequest) String() string
type RestoresTasksInternalServerError ¶
RestoresTasksInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewRestoresTasksInternalServerError ¶
func NewRestoresTasksInternalServerError() *RestoresTasksInternalServerError
NewRestoresTasksInternalServerError creates a RestoresTasksInternalServerError with default headers values
func (*RestoresTasksInternalServerError) Error ¶
func (o *RestoresTasksInternalServerError) Error() string
func (*RestoresTasksInternalServerError) GetPayload ¶
func (o *RestoresTasksInternalServerError) GetPayload() *models.Error
func (*RestoresTasksInternalServerError) IsClientError ¶
func (o *RestoresTasksInternalServerError) IsClientError() bool
IsClientError returns true when this restores tasks internal server error response has a 4xx status code
func (*RestoresTasksInternalServerError) IsCode ¶
func (o *RestoresTasksInternalServerError) IsCode(code int) bool
IsCode returns true when this restores tasks internal server error response a status code equal to that given
func (*RestoresTasksInternalServerError) IsRedirect ¶
func (o *RestoresTasksInternalServerError) IsRedirect() bool
IsRedirect returns true when this restores tasks internal server error response has a 3xx status code
func (*RestoresTasksInternalServerError) IsServerError ¶
func (o *RestoresTasksInternalServerError) IsServerError() bool
IsServerError returns true when this restores tasks internal server error response has a 5xx status code
func (*RestoresTasksInternalServerError) IsSuccess ¶
func (o *RestoresTasksInternalServerError) IsSuccess() bool
IsSuccess returns true when this restores tasks internal server error response has a 2xx status code
func (*RestoresTasksInternalServerError) String ¶
func (o *RestoresTasksInternalServerError) String() string
type RestoresTasksOK ¶
RestoresTasksOK describes a response with status code 200, with default header values.
Ok
func NewRestoresTasksOK ¶
func NewRestoresTasksOK() *RestoresTasksOK
NewRestoresTasksOK creates a RestoresTasksOK with default headers values
func (*RestoresTasksOK) Error ¶
func (o *RestoresTasksOK) Error() string
func (*RestoresTasksOK) GetPayload ¶
func (o *RestoresTasksOK) GetPayload() *models.Task
func (*RestoresTasksOK) IsClientError ¶
func (o *RestoresTasksOK) IsClientError() bool
IsClientError returns true when this restores tasks o k response has a 4xx status code
func (*RestoresTasksOK) IsCode ¶
func (o *RestoresTasksOK) IsCode(code int) bool
IsCode returns true when this restores tasks o k response a status code equal to that given
func (*RestoresTasksOK) IsRedirect ¶
func (o *RestoresTasksOK) IsRedirect() bool
IsRedirect returns true when this restores tasks o k response has a 3xx status code
func (*RestoresTasksOK) IsServerError ¶
func (o *RestoresTasksOK) IsServerError() bool
IsServerError returns true when this restores tasks o k response has a 5xx status code
func (*RestoresTasksOK) IsSuccess ¶
func (o *RestoresTasksOK) IsSuccess() bool
IsSuccess returns true when this restores tasks o k response has a 2xx status code
func (*RestoresTasksOK) String ¶
func (o *RestoresTasksOK) String() string
type RestoresTasksParams ¶
type RestoresTasksParams struct { /* ID. The restore task ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoresTasksParams contains all the parameters to send to the API endpoint
for the restores tasks operation. Typically these are written to a http.Request.
func NewRestoresTasksParams ¶
func NewRestoresTasksParams() *RestoresTasksParams
NewRestoresTasksParams creates a new RestoresTasksParams 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 NewRestoresTasksParamsWithContext ¶
func NewRestoresTasksParamsWithContext(ctx context.Context) *RestoresTasksParams
NewRestoresTasksParamsWithContext creates a new RestoresTasksParams object with the ability to set a context for a request.
func NewRestoresTasksParamsWithHTTPClient ¶
func NewRestoresTasksParamsWithHTTPClient(client *http.Client) *RestoresTasksParams
NewRestoresTasksParamsWithHTTPClient creates a new RestoresTasksParams object with the ability to set a custom HTTPClient for a request.
func NewRestoresTasksParamsWithTimeout ¶
func NewRestoresTasksParamsWithTimeout(timeout time.Duration) *RestoresTasksParams
NewRestoresTasksParamsWithTimeout creates a new RestoresTasksParams object with the ability to set a timeout on a request.
func (*RestoresTasksParams) SetContext ¶
func (o *RestoresTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the restores tasks params
func (*RestoresTasksParams) SetDefaults ¶
func (o *RestoresTasksParams) SetDefaults()
SetDefaults hydrates default values in the restores tasks params (not the query body).
All values with no default are reset to their zero value.
func (*RestoresTasksParams) SetHTTPClient ¶
func (o *RestoresTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restores tasks params
func (*RestoresTasksParams) SetID ¶
func (o *RestoresTasksParams) SetID(id string)
SetID adds the id to the restores tasks params
func (*RestoresTasksParams) SetTimeout ¶
func (o *RestoresTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restores tasks params
func (*RestoresTasksParams) WithContext ¶
func (o *RestoresTasksParams) WithContext(ctx context.Context) *RestoresTasksParams
WithContext adds the context to the restores tasks params
func (*RestoresTasksParams) WithDefaults ¶
func (o *RestoresTasksParams) WithDefaults() *RestoresTasksParams
WithDefaults hydrates default values in the restores tasks params (not the query body).
All values with no default are reset to their zero value.
func (*RestoresTasksParams) WithHTTPClient ¶
func (o *RestoresTasksParams) WithHTTPClient(client *http.Client) *RestoresTasksParams
WithHTTPClient adds the HTTPClient to the restores tasks params
func (*RestoresTasksParams) WithID ¶
func (o *RestoresTasksParams) WithID(id string) *RestoresTasksParams
WithID adds the id to the restores tasks params
func (*RestoresTasksParams) WithTimeout ¶
func (o *RestoresTasksParams) WithTimeout(timeout time.Duration) *RestoresTasksParams
WithTimeout adds the timeout to the restores tasks params
func (*RestoresTasksParams) WriteToRequest ¶
func (o *RestoresTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoresTasksReader ¶
type RestoresTasksReader struct {
// contains filtered or unexported fields
}
RestoresTasksReader is a Reader for the RestoresTasks structure.
func (*RestoresTasksReader) ReadResponse ¶
func (o *RestoresTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- backup_restore_client.go
- backup_tasks_parameters.go
- backup_tasks_responses.go
- configure_backup_settings_parameters.go
- configure_backup_settings_responses.go
- edit_backup_settings_parameters.go
- edit_backup_settings_responses.go
- get_backup_settings_parameters.go
- get_backup_settings_responses.go
- restores_tasks1_parameters.go
- restores_tasks1_responses.go
- restores_tasks_parameters.go
- restores_tasks_responses.go