backup_restore

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

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

type BackupTasksBadRequest struct {
	Payload *models.Error
}

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

type BackupTasksInternalServerError struct {
	Payload *models.Error
}

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 (*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

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

ConfigureBackupSettings configures backup settings to backup n s x and SDDC manager

func (*Client) EditBackupSettings

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

type ConfigureBackupSettingsAccepted struct {
	Payload *models.Task
}

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 (*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

type ConfigureBackupSettingsBadRequest

type ConfigureBackupSettingsBadRequest struct {
	Payload *models.Error
}

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 (*ConfigureBackupSettingsBadRequest) GetPayload

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

type ConfigureBackupSettingsInternalServerError

type ConfigureBackupSettingsInternalServerError struct {
	Payload *models.Error
}

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 (*ConfigureBackupSettingsInternalServerError) GetPayload

func (*ConfigureBackupSettingsInternalServerError) IsClientError

IsClientError returns true when this configure backup settings internal server error response has a 4xx status code

func (*ConfigureBackupSettingsInternalServerError) IsCode

IsCode returns true when this configure backup settings internal server error response a status code equal to that given

func (*ConfigureBackupSettingsInternalServerError) IsRedirect

IsRedirect returns true when this configure backup settings internal server error response has a 3xx status code

func (*ConfigureBackupSettingsInternalServerError) IsServerError

IsServerError returns true when this configure backup settings internal server error response has a 5xx status code

func (*ConfigureBackupSettingsInternalServerError) IsSuccess

IsSuccess returns true when this configure backup settings internal server error response has a 2xx status code

func (*ConfigureBackupSettingsInternalServerError) String

type ConfigureBackupSettingsOK

type ConfigureBackupSettingsOK struct {
	Payload *models.Task
}

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

WithContext adds the context to the configure backup settings params

func (*ConfigureBackupSettingsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the configure backup settings params

func (*ConfigureBackupSettingsParams) WithTimeout

WithTimeout adds the timeout to the configure backup settings params

func (*ConfigureBackupSettingsParams) WriteToRequest

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

type EditBackupSettingsAccepted struct {
	Payload *models.Task
}

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 (*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

type EditBackupSettingsBadRequest struct {
	Payload *models.Error
}

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 (*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

type EditBackupSettingsInternalServerError

type EditBackupSettingsInternalServerError struct {
	Payload *models.Error
}

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 (*EditBackupSettingsInternalServerError) GetPayload

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

IsCode returns true when this edit backup settings internal server error response a status code equal to that given

func (*EditBackupSettingsInternalServerError) IsRedirect

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

IsSuccess returns true when this edit backup settings internal server error response has a 2xx status code

func (*EditBackupSettingsInternalServerError) String

type EditBackupSettingsOK

type EditBackupSettingsOK struct {
	Payload *models.Task
}

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

WithContext adds the context to the edit backup settings params

func (*EditBackupSettingsParams) WithDefaults

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

WithTimeout adds the timeout to the edit backup settings params

func (*EditBackupSettingsParams) WriteToRequest

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

type GetBackupSettingsBadRequest struct {
	Payload *models.Error
}

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 (*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

type GetBackupSettingsInternalServerError struct {
	Payload *models.Error
}

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 (*GetBackupSettingsInternalServerError) GetPayload added in v0.1.1

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

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

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

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

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 (*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

WithContext adds the context to the get backup settings params

func (*GetBackupSettingsParams) WithDefaults added in v0.1.1

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

WithTimeout adds the timeout to the get backup settings params

func (*GetBackupSettingsParams) WriteToRequest added in v0.1.1

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

type RestoresTasks1Accepted struct {
	Payload *models.Task
}

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

type RestoresTasks1BadRequest struct {
	Payload *models.Error
}

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

type RestoresTasks1InternalServerError struct {
	Payload *models.Error
}

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 (*RestoresTasks1InternalServerError) GetPayload

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

type RestoresTasks1OK

type RestoresTasks1OK struct {
	Payload *models.Task
}

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

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

type RestoresTasksBadRequest struct {
	Payload *models.Error
}

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

type RestoresTasksInternalServerError struct {
	Payload *models.Error
}

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 (*RestoresTasksInternalServerError) GetPayload

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

type RestoresTasksOK

type RestoresTasksOK struct {
	Payload *models.Task
}

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL