v1api

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Server Backup Management API API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateBackupRequest

type ApiCreateBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateBackupRequest) CreateBackupPayload

func (r ApiCreateBackupRequest) CreateBackupPayload(createBackupPayload CreateBackupPayload) ApiCreateBackupRequest

func (ApiCreateBackupRequest) Execute

func (r ApiCreateBackupRequest) Execute() (*BackupJob, error)

type ApiCreateBackupScheduleRequest

type ApiCreateBackupScheduleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload

func (r ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload(createBackupSchedulePayload CreateBackupSchedulePayload) ApiCreateBackupScheduleRequest

func (ApiCreateBackupScheduleRequest) Execute

type ApiDeleteBackupRequest

type ApiDeleteBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteBackupRequest) Execute

func (r ApiDeleteBackupRequest) Execute() error

func (ApiDeleteBackupRequest) Force

force delete the backup

type ApiDeleteBackupScheduleRequest

type ApiDeleteBackupScheduleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteBackupScheduleRequest) Execute

type ApiDeleteVolumeBackupRequest

type ApiDeleteVolumeBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteVolumeBackupRequest) Execute

func (r ApiDeleteVolumeBackupRequest) Execute() error

func (ApiDeleteVolumeBackupRequest) Force

Force delete the volume backup

type ApiDisableServiceRequest

type ApiDisableServiceRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDisableServiceRequest) Execute

func (r ApiDisableServiceRequest) Execute() error

type ApiDisableServiceResourceRequest

type ApiDisableServiceResourceRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDisableServiceResourceRequest) Execute

type ApiEnableServiceRequest

type ApiEnableServiceRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiEnableServiceRequest) EnableServicePayload

func (r ApiEnableServiceRequest) EnableServicePayload(enableServicePayload EnableServicePayload) ApiEnableServiceRequest

func (ApiEnableServiceRequest) Execute

func (r ApiEnableServiceRequest) Execute() error

type ApiEnableServiceResourceRequest

type ApiEnableServiceResourceRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiEnableServiceResourceRequest) EnableServiceResourcePayload

func (r ApiEnableServiceResourceRequest) EnableServiceResourcePayload(enableServiceResourcePayload EnableServiceResourcePayload) ApiEnableServiceResourceRequest

func (ApiEnableServiceResourceRequest) Execute

type ApiGetBackupRequest

type ApiGetBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetBackupRequest) Execute

func (r ApiGetBackupRequest) Execute() (*Backup, error)

type ApiGetBackupScheduleRequest

type ApiGetBackupScheduleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetBackupScheduleRequest) Execute

type ApiGetServiceResourceRequest

type ApiGetServiceResourceRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetServiceResourceRequest) Execute

type ApiListBackupPoliciesRequest

type ApiListBackupPoliciesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListBackupPoliciesRequest) Execute

type ApiListBackupSchedulesRequest

type ApiListBackupSchedulesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListBackupSchedulesRequest) Execute

type ApiListBackupsRequest

type ApiListBackupsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListBackupsRequest) Execute

type ApiRestoreBackupRequest

type ApiRestoreBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRestoreBackupRequest) Execute

func (r ApiRestoreBackupRequest) Execute() error

func (ApiRestoreBackupRequest) RestoreBackupPayload

func (r ApiRestoreBackupRequest) RestoreBackupPayload(restoreBackupPayload RestoreBackupPayload) ApiRestoreBackupRequest

type ApiRestoreVolumeBackupRequest

type ApiRestoreVolumeBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRestoreVolumeBackupRequest) Execute

func (ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload

func (r ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload(restoreVolumeBackupPayload RestoreVolumeBackupPayload) ApiRestoreVolumeBackupRequest

type ApiUpdateBackupScheduleRequest

type ApiUpdateBackupScheduleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateBackupScheduleRequest) Execute

func (ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload

func (r ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload(updateBackupSchedulePayload UpdateBackupSchedulePayload) ApiUpdateBackupScheduleRequest

type Backup

type Backup struct {
	CreatedAt      string                     `json:"createdAt"`
	ExpireAt       string                     `json:"expireAt"`
	Id             string                     `json:"id"`
	LastRestoredAt *string                    `json:"lastRestoredAt,omitempty"`
	Name           string                     `json:"name"`
	Size           *int32                     `json:"size,omitempty"`
	Status         string                     `json:"status"`
	VolumeBackups  []BackupVolumeBackupsInner `json:"volumeBackups,omitempty"`
}

Backup struct for Backup

func NewBackup

func NewBackup(createdAt string, expireAt string, id string, name string, status string) *Backup

NewBackup instantiates a new Backup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupWithDefaults

func NewBackupWithDefaults() *Backup

NewBackupWithDefaults instantiates a new Backup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Backup) GetCreatedAt

func (o *Backup) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*Backup) GetCreatedAtOk

func (o *Backup) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*Backup) GetExpireAt

func (o *Backup) GetExpireAt() string

GetExpireAt returns the ExpireAt field value

func (*Backup) GetExpireAtOk

func (o *Backup) GetExpireAtOk() (*string, bool)

GetExpireAtOk returns a tuple with the ExpireAt field value and a boolean to check if the value has been set.

func (*Backup) GetId

func (o *Backup) GetId() string

GetId returns the Id field value

func (*Backup) GetIdOk

func (o *Backup) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Backup) GetLastRestoredAt

func (o *Backup) GetLastRestoredAt() string

GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.

func (*Backup) GetLastRestoredAtOk

func (o *Backup) GetLastRestoredAtOk() (*string, bool)

GetLastRestoredAtOk returns a tuple with the LastRestoredAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Backup) GetName

func (o *Backup) GetName() string

GetName returns the Name field value

func (*Backup) GetNameOk

func (o *Backup) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Backup) GetSize

func (o *Backup) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Backup) GetSizeOk

func (o *Backup) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Backup) GetStatus

func (o *Backup) GetStatus() string

GetStatus returns the Status field value

func (*Backup) GetStatusOk

func (o *Backup) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Backup) GetVolumeBackups

func (o *Backup) GetVolumeBackups() []BackupVolumeBackupsInner

GetVolumeBackups returns the VolumeBackups field value if set, zero value otherwise.

func (*Backup) GetVolumeBackupsOk

func (o *Backup) GetVolumeBackupsOk() ([]BackupVolumeBackupsInner, bool)

GetVolumeBackupsOk returns a tuple with the VolumeBackups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Backup) HasLastRestoredAt

func (o *Backup) HasLastRestoredAt() bool

HasLastRestoredAt returns a boolean if a field has been set.

func (*Backup) HasSize

func (o *Backup) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Backup) HasVolumeBackups

func (o *Backup) HasVolumeBackups() bool

HasVolumeBackups returns a boolean if a field has been set.

func (Backup) MarshalJSON

func (o Backup) MarshalJSON() ([]byte, error)

func (*Backup) SetCreatedAt

func (o *Backup) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*Backup) SetExpireAt

func (o *Backup) SetExpireAt(v string)

SetExpireAt sets field value

func (*Backup) SetId

func (o *Backup) SetId(v string)

SetId sets field value

func (*Backup) SetLastRestoredAt

func (o *Backup) SetLastRestoredAt(v string)

SetLastRestoredAt gets a reference to the given string and assigns it to the LastRestoredAt field.

func (*Backup) SetName

func (o *Backup) SetName(v string)

SetName sets field value

func (*Backup) SetSize

func (o *Backup) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*Backup) SetStatus

func (o *Backup) SetStatus(v string)

SetStatus sets field value

func (*Backup) SetVolumeBackups

func (o *Backup) SetVolumeBackups(v []BackupVolumeBackupsInner)

SetVolumeBackups gets a reference to the given []BackupVolumeBackupsInner and assigns it to the VolumeBackups field.

func (Backup) ToMap

func (o Backup) ToMap() (map[string]interface{}, error)

func (*Backup) UnmarshalJSON

func (o *Backup) UnmarshalJSON(data []byte) (err error)

type BackupJob

type BackupJob struct {
	Id string `json:"id"`
}

BackupJob struct for BackupJob

func NewBackupJob

func NewBackupJob(id string) *BackupJob

NewBackupJob instantiates a new BackupJob object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupJobWithDefaults

func NewBackupJobWithDefaults() *BackupJob

NewBackupJobWithDefaults instantiates a new BackupJob object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BackupJob) GetId

func (o *BackupJob) GetId() string

GetId returns the Id field value

func (*BackupJob) GetIdOk

func (o *BackupJob) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (BackupJob) MarshalJSON

func (o BackupJob) MarshalJSON() ([]byte, error)

func (*BackupJob) SetId

func (o *BackupJob) SetId(v string)

SetId sets field value

func (BackupJob) ToMap

func (o BackupJob) ToMap() (map[string]interface{}, error)

func (*BackupJob) UnmarshalJSON

func (o *BackupJob) UnmarshalJSON(data []byte) (err error)

type BackupPolicy

type BackupPolicy struct {
	BackupProperties *BackupPolicyBackupProperties `json:"backupProperties,omitempty"`
	Default          *bool                         `json:"default,omitempty"`
	Description      *string                       `json:"description,omitempty"`
	Enabled          *bool                         `json:"enabled,omitempty"`
	Id               *string                       `json:"id,omitempty"`
	Name             *string                       `json:"name,omitempty"`
	// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
	Rrule *string `json:"rrule,omitempty"`
}

BackupPolicy struct for BackupPolicy

func NewBackupPolicy

func NewBackupPolicy() *BackupPolicy

NewBackupPolicy instantiates a new BackupPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupPolicyWithDefaults

func NewBackupPolicyWithDefaults() *BackupPolicy

NewBackupPolicyWithDefaults instantiates a new BackupPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BackupPolicy) GetBackupProperties

func (o *BackupPolicy) GetBackupProperties() BackupPolicyBackupProperties

GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.

func (*BackupPolicy) GetBackupPropertiesOk

func (o *BackupPolicy) GetBackupPropertiesOk() (*BackupPolicyBackupProperties, bool)

GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicy) GetDefault

func (o *BackupPolicy) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*BackupPolicy) GetDefaultOk

func (o *BackupPolicy) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicy) GetDescription

func (o *BackupPolicy) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*BackupPolicy) GetDescriptionOk

func (o *BackupPolicy) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicy) GetEnabled

func (o *BackupPolicy) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*BackupPolicy) GetEnabledOk

func (o *BackupPolicy) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicy) GetId

func (o *BackupPolicy) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BackupPolicy) GetIdOk

func (o *BackupPolicy) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicy) GetName

func (o *BackupPolicy) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*BackupPolicy) GetNameOk

func (o *BackupPolicy) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicy) GetRrule

func (o *BackupPolicy) GetRrule() string

GetRrule returns the Rrule field value if set, zero value otherwise.

func (*BackupPolicy) GetRruleOk

func (o *BackupPolicy) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicy) HasBackupProperties

func (o *BackupPolicy) HasBackupProperties() bool

HasBackupProperties returns a boolean if a field has been set.

func (*BackupPolicy) HasDefault

func (o *BackupPolicy) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*BackupPolicy) HasDescription

func (o *BackupPolicy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*BackupPolicy) HasEnabled

func (o *BackupPolicy) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*BackupPolicy) HasId

func (o *BackupPolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*BackupPolicy) HasName

func (o *BackupPolicy) HasName() bool

HasName returns a boolean if a field has been set.

func (*BackupPolicy) HasRrule

func (o *BackupPolicy) HasRrule() bool

HasRrule returns a boolean if a field has been set.

func (BackupPolicy) MarshalJSON

func (o BackupPolicy) MarshalJSON() ([]byte, error)

func (*BackupPolicy) SetBackupProperties

func (o *BackupPolicy) SetBackupProperties(v BackupPolicyBackupProperties)

SetBackupProperties gets a reference to the given BackupPolicyBackupProperties and assigns it to the BackupProperties field.

func (*BackupPolicy) SetDefault

func (o *BackupPolicy) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*BackupPolicy) SetDescription

func (o *BackupPolicy) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*BackupPolicy) SetEnabled

func (o *BackupPolicy) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*BackupPolicy) SetId

func (o *BackupPolicy) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BackupPolicy) SetName

func (o *BackupPolicy) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*BackupPolicy) SetRrule

func (o *BackupPolicy) SetRrule(v string)

SetRrule gets a reference to the given string and assigns it to the Rrule field.

func (BackupPolicy) ToMap

func (o BackupPolicy) ToMap() (map[string]interface{}, error)

type BackupPolicyBackupProperties

type BackupPolicyBackupProperties struct {
	Name            *string `json:"name,omitempty"`
	RetentionPeriod *int32  `json:"retentionPeriod,omitempty"`
}

BackupPolicyBackupProperties struct for BackupPolicyBackupProperties

func NewBackupPolicyBackupProperties

func NewBackupPolicyBackupProperties() *BackupPolicyBackupProperties

NewBackupPolicyBackupProperties instantiates a new BackupPolicyBackupProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupPolicyBackupPropertiesWithDefaults

func NewBackupPolicyBackupPropertiesWithDefaults() *BackupPolicyBackupProperties

NewBackupPolicyBackupPropertiesWithDefaults instantiates a new BackupPolicyBackupProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BackupPolicyBackupProperties) GetName

func (o *BackupPolicyBackupProperties) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*BackupPolicyBackupProperties) GetNameOk

func (o *BackupPolicyBackupProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicyBackupProperties) GetRetentionPeriod

func (o *BackupPolicyBackupProperties) GetRetentionPeriod() int32

GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.

func (*BackupPolicyBackupProperties) GetRetentionPeriodOk

func (o *BackupPolicyBackupProperties) GetRetentionPeriodOk() (*int32, bool)

GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupPolicyBackupProperties) HasName

func (o *BackupPolicyBackupProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*BackupPolicyBackupProperties) HasRetentionPeriod

func (o *BackupPolicyBackupProperties) HasRetentionPeriod() bool

HasRetentionPeriod returns a boolean if a field has been set.

func (BackupPolicyBackupProperties) MarshalJSON

func (o BackupPolicyBackupProperties) MarshalJSON() ([]byte, error)

func (*BackupPolicyBackupProperties) SetName

func (o *BackupPolicyBackupProperties) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*BackupPolicyBackupProperties) SetRetentionPeriod

func (o *BackupPolicyBackupProperties) SetRetentionPeriod(v int32)

SetRetentionPeriod gets a reference to the given int32 and assigns it to the RetentionPeriod field.

func (BackupPolicyBackupProperties) ToMap

func (o BackupPolicyBackupProperties) ToMap() (map[string]interface{}, error)

type BackupProperties

type BackupProperties struct {
	// Max 255 characters
	Name string `json:"name"`
	// Values are set in days (1-36500)
	RetentionPeriod int32    `json:"retentionPeriod"`
	VolumeIds       []string `json:"volumeIds,omitempty"`
}

BackupProperties struct for BackupProperties

func NewBackupProperties

func NewBackupProperties(name string, retentionPeriod int32) *BackupProperties

NewBackupProperties instantiates a new BackupProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupPropertiesWithDefaults

func NewBackupPropertiesWithDefaults() *BackupProperties

NewBackupPropertiesWithDefaults instantiates a new BackupProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BackupProperties) GetName

func (o *BackupProperties) GetName() string

GetName returns the Name field value

func (*BackupProperties) GetNameOk

func (o *BackupProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*BackupProperties) GetRetentionPeriod

func (o *BackupProperties) GetRetentionPeriod() int32

GetRetentionPeriod returns the RetentionPeriod field value

func (*BackupProperties) GetRetentionPeriodOk

func (o *BackupProperties) GetRetentionPeriodOk() (*int32, bool)

GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value and a boolean to check if the value has been set.

func (*BackupProperties) GetVolumeIds

func (o *BackupProperties) GetVolumeIds() []string

GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.

func (*BackupProperties) GetVolumeIdsOk

func (o *BackupProperties) GetVolumeIdsOk() ([]string, bool)

GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupProperties) HasVolumeIds

func (o *BackupProperties) HasVolumeIds() bool

HasVolumeIds returns a boolean if a field has been set.

func (BackupProperties) MarshalJSON

func (o BackupProperties) MarshalJSON() ([]byte, error)

func (*BackupProperties) SetName

func (o *BackupProperties) SetName(v string)

SetName sets field value

func (*BackupProperties) SetRetentionPeriod

func (o *BackupProperties) SetRetentionPeriod(v int32)

SetRetentionPeriod sets field value

func (*BackupProperties) SetVolumeIds

func (o *BackupProperties) SetVolumeIds(v []string)

SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.

func (BackupProperties) ToMap

func (o BackupProperties) ToMap() (map[string]interface{}, error)

func (*BackupProperties) UnmarshalJSON

func (o *BackupProperties) UnmarshalJSON(data []byte) (err error)

type BackupSchedule

type BackupSchedule struct {
	BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
	Enabled          bool              `json:"enabled"`
	Id               int32             `json:"id"`
	Name             string            `json:"name"`
	// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
	Rrule string `json:"rrule"`
}

BackupSchedule struct for BackupSchedule

func NewBackupSchedule

func NewBackupSchedule(enabled bool, id int32, name string, rrule string) *BackupSchedule

NewBackupSchedule instantiates a new BackupSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupScheduleWithDefaults

func NewBackupScheduleWithDefaults() *BackupSchedule

NewBackupScheduleWithDefaults instantiates a new BackupSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BackupSchedule) GetBackupProperties

func (o *BackupSchedule) GetBackupProperties() BackupProperties

GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.

func (*BackupSchedule) GetBackupPropertiesOk

func (o *BackupSchedule) GetBackupPropertiesOk() (*BackupProperties, bool)

GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupSchedule) GetEnabled

func (o *BackupSchedule) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*BackupSchedule) GetEnabledOk

func (o *BackupSchedule) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*BackupSchedule) GetId

func (o *BackupSchedule) GetId() int32

GetId returns the Id field value

func (*BackupSchedule) GetIdOk

func (o *BackupSchedule) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*BackupSchedule) GetName

func (o *BackupSchedule) GetName() string

GetName returns the Name field value

func (*BackupSchedule) GetNameOk

func (o *BackupSchedule) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*BackupSchedule) GetRrule

func (o *BackupSchedule) GetRrule() string

GetRrule returns the Rrule field value

func (*BackupSchedule) GetRruleOk

func (o *BackupSchedule) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.

func (*BackupSchedule) HasBackupProperties

func (o *BackupSchedule) HasBackupProperties() bool

HasBackupProperties returns a boolean if a field has been set.

func (BackupSchedule) MarshalJSON

func (o BackupSchedule) MarshalJSON() ([]byte, error)

func (*BackupSchedule) SetBackupProperties

func (o *BackupSchedule) SetBackupProperties(v BackupProperties)

SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.

func (*BackupSchedule) SetEnabled

func (o *BackupSchedule) SetEnabled(v bool)

SetEnabled sets field value

func (*BackupSchedule) SetId

func (o *BackupSchedule) SetId(v int32)

SetId sets field value

func (*BackupSchedule) SetName

func (o *BackupSchedule) SetName(v string)

SetName sets field value

func (*BackupSchedule) SetRrule

func (o *BackupSchedule) SetRrule(v string)

SetRrule sets field value

func (BackupSchedule) ToMap

func (o BackupSchedule) ToMap() (map[string]interface{}, error)

func (*BackupSchedule) UnmarshalJSON

func (o *BackupSchedule) UnmarshalJSON(data []byte) (err error)

type BackupVolumeBackupsInner

type BackupVolumeBackupsInner struct {
	Id                   *string `json:"id,omitempty"`
	LastRestoredAt       *string `json:"lastRestoredAt,omitempty"`
	LastRestoredVolumeId *string `json:"lastRestoredVolumeId,omitempty"`
	Size                 *int32  `json:"size,omitempty"`
	Status               *string `json:"status,omitempty"`
	VolumeId             *string `json:"volumeId,omitempty"`
}

BackupVolumeBackupsInner struct for BackupVolumeBackupsInner

func NewBackupVolumeBackupsInner

func NewBackupVolumeBackupsInner() *BackupVolumeBackupsInner

NewBackupVolumeBackupsInner instantiates a new BackupVolumeBackupsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupVolumeBackupsInnerWithDefaults

func NewBackupVolumeBackupsInnerWithDefaults() *BackupVolumeBackupsInner

NewBackupVolumeBackupsInnerWithDefaults instantiates a new BackupVolumeBackupsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BackupVolumeBackupsInner) GetId

func (o *BackupVolumeBackupsInner) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BackupVolumeBackupsInner) GetIdOk

func (o *BackupVolumeBackupsInner) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupVolumeBackupsInner) GetLastRestoredAt

func (o *BackupVolumeBackupsInner) GetLastRestoredAt() string

GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.

func (*BackupVolumeBackupsInner) GetLastRestoredAtOk

func (o *BackupVolumeBackupsInner) GetLastRestoredAtOk() (*string, bool)

GetLastRestoredAtOk returns a tuple with the LastRestoredAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupVolumeBackupsInner) GetLastRestoredVolumeId

func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeId() string

GetLastRestoredVolumeId returns the LastRestoredVolumeId field value if set, zero value otherwise.

func (*BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk

func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk() (*string, bool)

GetLastRestoredVolumeIdOk returns a tuple with the LastRestoredVolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupVolumeBackupsInner) GetSize

func (o *BackupVolumeBackupsInner) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*BackupVolumeBackupsInner) GetSizeOk

func (o *BackupVolumeBackupsInner) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupVolumeBackupsInner) GetStatus

func (o *BackupVolumeBackupsInner) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*BackupVolumeBackupsInner) GetStatusOk

func (o *BackupVolumeBackupsInner) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupVolumeBackupsInner) GetVolumeId

func (o *BackupVolumeBackupsInner) GetVolumeId() string

GetVolumeId returns the VolumeId field value if set, zero value otherwise.

func (*BackupVolumeBackupsInner) GetVolumeIdOk

func (o *BackupVolumeBackupsInner) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BackupVolumeBackupsInner) HasId

func (o *BackupVolumeBackupsInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasLastRestoredAt

func (o *BackupVolumeBackupsInner) HasLastRestoredAt() bool

HasLastRestoredAt returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasLastRestoredVolumeId

func (o *BackupVolumeBackupsInner) HasLastRestoredVolumeId() bool

HasLastRestoredVolumeId returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasSize

func (o *BackupVolumeBackupsInner) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasStatus

func (o *BackupVolumeBackupsInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasVolumeId

func (o *BackupVolumeBackupsInner) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (BackupVolumeBackupsInner) MarshalJSON

func (o BackupVolumeBackupsInner) MarshalJSON() ([]byte, error)

func (*BackupVolumeBackupsInner) SetId

func (o *BackupVolumeBackupsInner) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BackupVolumeBackupsInner) SetLastRestoredAt

func (o *BackupVolumeBackupsInner) SetLastRestoredAt(v string)

SetLastRestoredAt gets a reference to the given string and assigns it to the LastRestoredAt field.

func (*BackupVolumeBackupsInner) SetLastRestoredVolumeId

func (o *BackupVolumeBackupsInner) SetLastRestoredVolumeId(v string)

SetLastRestoredVolumeId gets a reference to the given string and assigns it to the LastRestoredVolumeId field.

func (*BackupVolumeBackupsInner) SetSize

func (o *BackupVolumeBackupsInner) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*BackupVolumeBackupsInner) SetStatus

func (o *BackupVolumeBackupsInner) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*BackupVolumeBackupsInner) SetVolumeId

func (o *BackupVolumeBackupsInner) SetVolumeId(v string)

SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.

func (BackupVolumeBackupsInner) ToMap

func (o BackupVolumeBackupsInner) ToMap() (map[string]interface{}, error)

type CreateBackupPayload

type CreateBackupPayload struct {
	// Max 255 characters
	Name string `json:"name"`
	// Values are set in days (1-36500)
	RetentionPeriod int32    `json:"retentionPeriod"`
	VolumeIds       []string `json:"volumeIds,omitempty"`
}

CreateBackupPayload struct for CreateBackupPayload

func NewCreateBackupPayload

func NewCreateBackupPayload(name string, retentionPeriod int32) *CreateBackupPayload

NewCreateBackupPayload instantiates a new CreateBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateBackupPayloadWithDefaults

func NewCreateBackupPayloadWithDefaults() *CreateBackupPayload

NewCreateBackupPayloadWithDefaults instantiates a new CreateBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateBackupPayload) GetName

func (o *CreateBackupPayload) GetName() string

GetName returns the Name field value

func (*CreateBackupPayload) GetNameOk

func (o *CreateBackupPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateBackupPayload) GetRetentionPeriod

func (o *CreateBackupPayload) GetRetentionPeriod() int32

GetRetentionPeriod returns the RetentionPeriod field value

func (*CreateBackupPayload) GetRetentionPeriodOk

func (o *CreateBackupPayload) GetRetentionPeriodOk() (*int32, bool)

GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value and a boolean to check if the value has been set.

func (*CreateBackupPayload) GetVolumeIds

func (o *CreateBackupPayload) GetVolumeIds() []string

GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.

func (*CreateBackupPayload) GetVolumeIdsOk

func (o *CreateBackupPayload) GetVolumeIdsOk() ([]string, bool)

GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateBackupPayload) HasVolumeIds

func (o *CreateBackupPayload) HasVolumeIds() bool

HasVolumeIds returns a boolean if a field has been set.

func (CreateBackupPayload) MarshalJSON

func (o CreateBackupPayload) MarshalJSON() ([]byte, error)

func (*CreateBackupPayload) SetName

func (o *CreateBackupPayload) SetName(v string)

SetName sets field value

func (*CreateBackupPayload) SetRetentionPeriod

func (o *CreateBackupPayload) SetRetentionPeriod(v int32)

SetRetentionPeriod sets field value

func (*CreateBackupPayload) SetVolumeIds

func (o *CreateBackupPayload) SetVolumeIds(v []string)

SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.

func (CreateBackupPayload) ToMap

func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)

func (*CreateBackupPayload) UnmarshalJSON

func (o *CreateBackupPayload) UnmarshalJSON(data []byte) (err error)

type CreateBackupSchedulePayload

type CreateBackupSchedulePayload struct {
	BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
	Enabled          bool              `json:"enabled"`
	// Max 255 characters
	Name string `json:"name"`
	// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
	Rrule string `json:"rrule"`
}

CreateBackupSchedulePayload struct for CreateBackupSchedulePayload

func NewCreateBackupSchedulePayload

func NewCreateBackupSchedulePayload(enabled bool, name string, rrule string) *CreateBackupSchedulePayload

NewCreateBackupSchedulePayload instantiates a new CreateBackupSchedulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateBackupSchedulePayloadWithDefaults

func NewCreateBackupSchedulePayloadWithDefaults() *CreateBackupSchedulePayload

NewCreateBackupSchedulePayloadWithDefaults instantiates a new CreateBackupSchedulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateBackupSchedulePayload) GetBackupProperties

func (o *CreateBackupSchedulePayload) GetBackupProperties() BackupProperties

GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.

func (*CreateBackupSchedulePayload) GetBackupPropertiesOk

func (o *CreateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)

GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateBackupSchedulePayload) GetEnabled

func (o *CreateBackupSchedulePayload) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*CreateBackupSchedulePayload) GetEnabledOk

func (o *CreateBackupSchedulePayload) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*CreateBackupSchedulePayload) GetName

func (o *CreateBackupSchedulePayload) GetName() string

GetName returns the Name field value

func (*CreateBackupSchedulePayload) GetNameOk

func (o *CreateBackupSchedulePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateBackupSchedulePayload) GetRrule

func (o *CreateBackupSchedulePayload) GetRrule() string

GetRrule returns the Rrule field value

func (*CreateBackupSchedulePayload) GetRruleOk

func (o *CreateBackupSchedulePayload) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.

func (*CreateBackupSchedulePayload) HasBackupProperties

func (o *CreateBackupSchedulePayload) HasBackupProperties() bool

HasBackupProperties returns a boolean if a field has been set.

func (CreateBackupSchedulePayload) MarshalJSON

func (o CreateBackupSchedulePayload) MarshalJSON() ([]byte, error)

func (*CreateBackupSchedulePayload) SetBackupProperties

func (o *CreateBackupSchedulePayload) SetBackupProperties(v BackupProperties)

SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.

func (*CreateBackupSchedulePayload) SetEnabled

func (o *CreateBackupSchedulePayload) SetEnabled(v bool)

SetEnabled sets field value

func (*CreateBackupSchedulePayload) SetName

func (o *CreateBackupSchedulePayload) SetName(v string)

SetName sets field value

func (*CreateBackupSchedulePayload) SetRrule

func (o *CreateBackupSchedulePayload) SetRrule(v string)

SetRrule sets field value

func (CreateBackupSchedulePayload) ToMap

func (o CreateBackupSchedulePayload) ToMap() (map[string]interface{}, error)

func (*CreateBackupSchedulePayload) UnmarshalJSON

func (o *CreateBackupSchedulePayload) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateBackup create backup

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiCreateBackupRequest
	*/
	CreateBackup(ctx context.Context, projectId string, serverId string) ApiCreateBackupRequest

	// CreateBackupExecute executes the request
	//  @return BackupJob
	CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)

	/*
		CreateBackupSchedule create backup schedule

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiCreateBackupScheduleRequest
	*/
	CreateBackupSchedule(ctx context.Context, projectId string, serverId string) ApiCreateBackupScheduleRequest

	// CreateBackupScheduleExecute executes the request
	//  @return BackupSchedule
	CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)

	/*
		DeleteBackup delete backup

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupId id of the backup
		@return ApiDeleteBackupRequest
	*/
	DeleteBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiDeleteBackupRequest

	// DeleteBackupExecute executes the request
	DeleteBackupExecute(r ApiDeleteBackupRequest) error

	/*
		DeleteBackupSchedule delete backup schedule

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupScheduleId backup schedule id
		@return ApiDeleteBackupScheduleRequest
	*/
	DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiDeleteBackupScheduleRequest

	// DeleteBackupScheduleExecute executes the request
	DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error

	/*
		DeleteVolumeBackup delete volume backup

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupId id of the backup
		@param volumeBackupId id of the volume backup
		@return ApiDeleteVolumeBackupRequest
	*/
	DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiDeleteVolumeBackupRequest

	// DeleteVolumeBackupExecute executes the request
	DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error

	/*
		DisableService disable backup service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiDisableServiceRequest

		Deprecated
	*/
	DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest

	// DisableServiceExecute executes the request
	// Deprecated
	DisableServiceExecute(r ApiDisableServiceRequest) error

	/*
		DisableServiceResource disable backup service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiDisableServiceResourceRequest
	*/
	DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest

	// DisableServiceResourceExecute executes the request
	DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error

	/*
		EnableService enable backup service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiEnableServiceRequest

		Deprecated
	*/
	EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest

	// EnableServiceExecute executes the request
	// Deprecated
	EnableServiceExecute(r ApiEnableServiceRequest) error

	/*
		EnableServiceResource enable backup service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiEnableServiceResourceRequest
	*/
	EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest

	// EnableServiceResourceExecute executes the request
	EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error

	/*
		GetBackup get backup

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupId id of the backup
		@return ApiGetBackupRequest
	*/
	GetBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiGetBackupRequest

	// GetBackupExecute executes the request
	//  @return Backup
	GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

	/*
		GetBackupSchedule get single backup schedule details

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupScheduleId backup schedule id
		@return ApiGetBackupScheduleRequest
	*/
	GetBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiGetBackupScheduleRequest

	// GetBackupScheduleExecute executes the request
	//  @return BackupSchedule
	GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)

	/*
		GetServiceResource get backup service details

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiGetServiceResourceRequest
	*/
	GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest

	// GetServiceResourceExecute executes the request
	//  @return GetBackupServiceResponse
	GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)

	/*
		ListBackupPolicies get list of backup policies

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@return ApiListBackupPoliciesRequest
	*/
	ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest

	// ListBackupPoliciesExecute executes the request
	//  @return GetBackupPoliciesResponse
	ListBackupPoliciesExecute(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)

	/*
		ListBackupSchedules get list of backup schedules

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiListBackupSchedulesRequest
	*/
	ListBackupSchedules(ctx context.Context, projectId string, serverId string) ApiListBackupSchedulesRequest

	// ListBackupSchedulesExecute executes the request
	//  @return GetBackupSchedulesResponse
	ListBackupSchedulesExecute(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)

	/*
		ListBackups get list of backups

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiListBackupsRequest
	*/
	ListBackups(ctx context.Context, projectId string, serverId string) ApiListBackupsRequest

	// ListBackupsExecute executes the request
	//  @return GetBackupsListResponse
	ListBackupsExecute(r ApiListBackupsRequest) (*GetBackupsListResponse, error)

	/*
		RestoreBackup trigger restore of the requested backup

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupId id of the backup
		@return ApiRestoreBackupRequest
	*/
	RestoreBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiRestoreBackupRequest

	// RestoreBackupExecute executes the request
	RestoreBackupExecute(r ApiRestoreBackupRequest) error

	/*
		RestoreVolumeBackup trigger restore of the requested volume backup

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupId id of the backup
		@param volumeBackupId id of the volume backup
		@return ApiRestoreVolumeBackupRequest
	*/
	RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiRestoreVolumeBackupRequest

	// RestoreVolumeBackupExecute executes the request
	RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error

	/*
		UpdateBackupSchedule update backup schedule

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param backupScheduleId backup schedule id
		@return ApiUpdateBackupScheduleRequest
	*/
	UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiUpdateBackupScheduleRequest

	// UpdateBackupScheduleExecute executes the request
	//  @return BackupSchedule
	UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateBackup

func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string, serverId string) ApiCreateBackupRequest

CreateBackup create backup

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiCreateBackupRequest

func (*DefaultAPIService) CreateBackupExecute

func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)

Execute executes the request

@return BackupJob

func (*DefaultAPIService) CreateBackupSchedule

func (a *DefaultAPIService) CreateBackupSchedule(ctx context.Context, projectId string, serverId string) ApiCreateBackupScheduleRequest

CreateBackupSchedule create backup schedule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiCreateBackupScheduleRequest

func (*DefaultAPIService) CreateBackupScheduleExecute

func (a *DefaultAPIService) CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)

Execute executes the request

@return BackupSchedule

func (*DefaultAPIService) DeleteBackup

func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiDeleteBackupRequest

DeleteBackup delete backup

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupId id of the backup
@return ApiDeleteBackupRequest

func (*DefaultAPIService) DeleteBackupExecute

func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteBackupSchedule

func (a *DefaultAPIService) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiDeleteBackupScheduleRequest

DeleteBackupSchedule delete backup schedule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupScheduleId backup schedule id
@return ApiDeleteBackupScheduleRequest

func (*DefaultAPIService) DeleteBackupScheduleExecute

func (a *DefaultAPIService) DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteVolumeBackup

func (a *DefaultAPIService) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiDeleteVolumeBackupRequest

DeleteVolumeBackup delete volume backup

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupId id of the backup
@param volumeBackupId id of the volume backup
@return ApiDeleteVolumeBackupRequest

func (*DefaultAPIService) DeleteVolumeBackupExecute

func (a *DefaultAPIService) DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error

Execute executes the request

func (*DefaultAPIService) DisableService

func (a *DefaultAPIService) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest

DisableService disable backup service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiDisableServiceRequest

Deprecated

func (*DefaultAPIService) DisableServiceExecute

func (a *DefaultAPIService) DisableServiceExecute(r ApiDisableServiceRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DisableServiceResource

func (a *DefaultAPIService) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest

DisableServiceResource disable backup service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiDisableServiceResourceRequest

func (*DefaultAPIService) DisableServiceResourceExecute

func (a *DefaultAPIService) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error

Execute executes the request

func (*DefaultAPIService) EnableService

func (a *DefaultAPIService) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest

EnableService enable backup service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiEnableServiceRequest

Deprecated

func (*DefaultAPIService) EnableServiceExecute

func (a *DefaultAPIService) EnableServiceExecute(r ApiEnableServiceRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) EnableServiceResource

func (a *DefaultAPIService) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest

EnableServiceResource enable backup service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiEnableServiceResourceRequest

func (*DefaultAPIService) EnableServiceResourceExecute

func (a *DefaultAPIService) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error

Execute executes the request

func (*DefaultAPIService) GetBackup

func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiGetBackupRequest

GetBackup get backup

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupId id of the backup
@return ApiGetBackupRequest

func (*DefaultAPIService) GetBackupExecute

func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

Execute executes the request

@return Backup

func (*DefaultAPIService) GetBackupSchedule

func (a *DefaultAPIService) GetBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiGetBackupScheduleRequest

GetBackupSchedule get single backup schedule details

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupScheduleId backup schedule id
@return ApiGetBackupScheduleRequest

func (*DefaultAPIService) GetBackupScheduleExecute

func (a *DefaultAPIService) GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)

Execute executes the request

@return BackupSchedule

func (*DefaultAPIService) GetServiceResource

func (a *DefaultAPIService) GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest

GetServiceResource get backup service details

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiGetServiceResourceRequest

func (*DefaultAPIService) GetServiceResourceExecute

Execute executes the request

@return GetBackupServiceResponse

func (*DefaultAPIService) ListBackupPolicies

func (a *DefaultAPIService) ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest

ListBackupPolicies get list of backup policies

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@return ApiListBackupPoliciesRequest

func (*DefaultAPIService) ListBackupPoliciesExecute

Execute executes the request

@return GetBackupPoliciesResponse

func (*DefaultAPIService) ListBackupSchedules

func (a *DefaultAPIService) ListBackupSchedules(ctx context.Context, projectId string, serverId string) ApiListBackupSchedulesRequest

ListBackupSchedules get list of backup schedules

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiListBackupSchedulesRequest

func (*DefaultAPIService) ListBackupSchedulesExecute

Execute executes the request

@return GetBackupSchedulesResponse

func (*DefaultAPIService) ListBackups

func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, serverId string) ApiListBackupsRequest

ListBackups get list of backups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiListBackupsRequest

func (*DefaultAPIService) ListBackupsExecute

Execute executes the request

@return GetBackupsListResponse

func (*DefaultAPIService) RestoreBackup

func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiRestoreBackupRequest

RestoreBackup trigger restore of the requested backup

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupId id of the backup
@return ApiRestoreBackupRequest

func (*DefaultAPIService) RestoreBackupExecute

func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error

Execute executes the request

func (*DefaultAPIService) RestoreVolumeBackup

func (a *DefaultAPIService) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiRestoreVolumeBackupRequest

RestoreVolumeBackup trigger restore of the requested volume backup

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupId id of the backup
@param volumeBackupId id of the volume backup
@return ApiRestoreVolumeBackupRequest

func (*DefaultAPIService) RestoreVolumeBackupExecute

func (a *DefaultAPIService) RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateBackupSchedule

func (a *DefaultAPIService) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiUpdateBackupScheduleRequest

UpdateBackupSchedule update backup schedule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param backupScheduleId backup schedule id
@return ApiUpdateBackupScheduleRequest

func (*DefaultAPIService) UpdateBackupScheduleExecute

func (a *DefaultAPIService) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)

Execute executes the request

@return BackupSchedule

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateBackupExecuteMock can be populated to implement the behavior of the CreateBackupExecute function of this mock
	CreateBackupExecuteMock *func(r ApiCreateBackupRequest) (*BackupJob, error)
	// CreateBackupScheduleExecuteMock can be populated to implement the behavior of the CreateBackupScheduleExecute function of this mock
	CreateBackupScheduleExecuteMock *func(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)
	// DeleteBackupExecuteMock can be populated to implement the behavior of the DeleteBackupExecute function of this mock
	DeleteBackupExecuteMock *func(r ApiDeleteBackupRequest) error
	// DeleteBackupScheduleExecuteMock can be populated to implement the behavior of the DeleteBackupScheduleExecute function of this mock
	DeleteBackupScheduleExecuteMock *func(r ApiDeleteBackupScheduleRequest) error
	// DeleteVolumeBackupExecuteMock can be populated to implement the behavior of the DeleteVolumeBackupExecute function of this mock
	DeleteVolumeBackupExecuteMock *func(r ApiDeleteVolumeBackupRequest) error
	// Deprecated: DisableServiceExecuteMock can be populated to implement the behavior of the DisableServiceExecute function of this mock
	DisableServiceExecuteMock *func(r ApiDisableServiceRequest) error
	// DisableServiceResourceExecuteMock can be populated to implement the behavior of the DisableServiceResourceExecute function of this mock
	DisableServiceResourceExecuteMock *func(r ApiDisableServiceResourceRequest) error
	// Deprecated: EnableServiceExecuteMock can be populated to implement the behavior of the EnableServiceExecute function of this mock
	EnableServiceExecuteMock *func(r ApiEnableServiceRequest) error
	// EnableServiceResourceExecuteMock can be populated to implement the behavior of the EnableServiceResourceExecute function of this mock
	EnableServiceResourceExecuteMock *func(r ApiEnableServiceResourceRequest) error
	// GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
	GetBackupExecuteMock *func(r ApiGetBackupRequest) (*Backup, error)
	// GetBackupScheduleExecuteMock can be populated to implement the behavior of the GetBackupScheduleExecute function of this mock
	GetBackupScheduleExecuteMock *func(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)
	// GetServiceResourceExecuteMock can be populated to implement the behavior of the GetServiceResourceExecute function of this mock
	GetServiceResourceExecuteMock *func(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)
	// ListBackupPoliciesExecuteMock can be populated to implement the behavior of the ListBackupPoliciesExecute function of this mock
	ListBackupPoliciesExecuteMock *func(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)
	// ListBackupSchedulesExecuteMock can be populated to implement the behavior of the ListBackupSchedulesExecute function of this mock
	ListBackupSchedulesExecuteMock *func(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)
	// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
	ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*GetBackupsListResponse, error)
	// RestoreBackupExecuteMock can be populated to implement the behavior of the RestoreBackupExecute function of this mock
	RestoreBackupExecuteMock *func(r ApiRestoreBackupRequest) error
	// RestoreVolumeBackupExecuteMock can be populated to implement the behavior of the RestoreVolumeBackupExecute function of this mock
	RestoreVolumeBackupExecuteMock *func(r ApiRestoreVolumeBackupRequest) error
	// UpdateBackupScheduleExecuteMock can be populated to implement the behavior of the UpdateBackupScheduleExecute function of this mock
	UpdateBackupScheduleExecuteMock *func(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateBackup

func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string, serverId string) ApiCreateBackupRequest

func (DefaultAPIServiceMock) CreateBackupExecute

func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)

CreateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateBackupSchedule

func (a DefaultAPIServiceMock) CreateBackupSchedule(ctx context.Context, projectId string, serverId string) ApiCreateBackupScheduleRequest

func (DefaultAPIServiceMock) CreateBackupScheduleExecute

func (a DefaultAPIServiceMock) CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)

CreateBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteBackup

func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiDeleteBackupRequest

func (DefaultAPIServiceMock) DeleteBackupExecute

func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error

DeleteBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteBackupSchedule

func (a DefaultAPIServiceMock) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiDeleteBackupScheduleRequest

func (DefaultAPIServiceMock) DeleteBackupScheduleExecute

func (a DefaultAPIServiceMock) DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error

DeleteBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteVolumeBackup

func (a DefaultAPIServiceMock) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiDeleteVolumeBackupRequest

func (DefaultAPIServiceMock) DeleteVolumeBackupExecute

func (a DefaultAPIServiceMock) DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error

DeleteVolumeBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteVolumeBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DisableService

func (a DefaultAPIServiceMock) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest

Deprecated

func (DefaultAPIServiceMock) DisableServiceExecute deprecated

func (a DefaultAPIServiceMock) DisableServiceExecute(r ApiDisableServiceRequest) error

Deprecated: DisableServiceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableServiceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DisableServiceResource

func (a DefaultAPIServiceMock) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest

func (DefaultAPIServiceMock) DisableServiceResourceExecute

func (a DefaultAPIServiceMock) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error

DisableServiceResourceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableServiceResourceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) EnableService

func (a DefaultAPIServiceMock) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest

Deprecated

func (DefaultAPIServiceMock) EnableServiceExecute deprecated

func (a DefaultAPIServiceMock) EnableServiceExecute(r ApiEnableServiceRequest) error

Deprecated: EnableServiceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableServiceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) EnableServiceResource

func (a DefaultAPIServiceMock) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest

func (DefaultAPIServiceMock) EnableServiceResourceExecute

func (a DefaultAPIServiceMock) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error

EnableServiceResourceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableServiceResourceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetBackup

func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiGetBackupRequest

func (DefaultAPIServiceMock) GetBackupExecute

func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

GetBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetBackupSchedule

func (a DefaultAPIServiceMock) GetBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiGetBackupScheduleRequest

func (DefaultAPIServiceMock) GetBackupScheduleExecute

func (a DefaultAPIServiceMock) GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)

GetBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServiceResource

func (a DefaultAPIServiceMock) GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest

func (DefaultAPIServiceMock) GetServiceResourceExecute

GetServiceResourceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServiceResourceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListBackupPolicies

func (a DefaultAPIServiceMock) ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest

func (DefaultAPIServiceMock) ListBackupPoliciesExecute

ListBackupPoliciesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupPoliciesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListBackupSchedules

func (a DefaultAPIServiceMock) ListBackupSchedules(ctx context.Context, projectId string, serverId string) ApiListBackupSchedulesRequest

func (DefaultAPIServiceMock) ListBackupSchedulesExecute

ListBackupSchedulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupSchedulesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListBackups

func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, serverId string) ApiListBackupsRequest

func (DefaultAPIServiceMock) ListBackupsExecute

ListBackupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreBackup

func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiRestoreBackupRequest

func (DefaultAPIServiceMock) RestoreBackupExecute

func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error

RestoreBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreVolumeBackup

func (a DefaultAPIServiceMock) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiRestoreVolumeBackupRequest

func (DefaultAPIServiceMock) RestoreVolumeBackupExecute

func (a DefaultAPIServiceMock) RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error

RestoreVolumeBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreVolumeBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateBackupSchedule

func (a DefaultAPIServiceMock) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiUpdateBackupScheduleRequest

func (DefaultAPIServiceMock) UpdateBackupScheduleExecute

func (a DefaultAPIServiceMock) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)

UpdateBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.

type EnableServicePayload

type EnableServicePayload struct {
	BackupPolicyId *string `json:"backupPolicyId,omitempty"`
}

EnableServicePayload struct for EnableServicePayload

func NewEnableServicePayload

func NewEnableServicePayload() *EnableServicePayload

NewEnableServicePayload instantiates a new EnableServicePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnableServicePayloadWithDefaults

func NewEnableServicePayloadWithDefaults() *EnableServicePayload

NewEnableServicePayloadWithDefaults instantiates a new EnableServicePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnableServicePayload) GetBackupPolicyId

func (o *EnableServicePayload) GetBackupPolicyId() string

GetBackupPolicyId returns the BackupPolicyId field value if set, zero value otherwise.

func (*EnableServicePayload) GetBackupPolicyIdOk

func (o *EnableServicePayload) GetBackupPolicyIdOk() (*string, bool)

GetBackupPolicyIdOk returns a tuple with the BackupPolicyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnableServicePayload) HasBackupPolicyId

func (o *EnableServicePayload) HasBackupPolicyId() bool

HasBackupPolicyId returns a boolean if a field has been set.

func (EnableServicePayload) MarshalJSON

func (o EnableServicePayload) MarshalJSON() ([]byte, error)

func (*EnableServicePayload) SetBackupPolicyId

func (o *EnableServicePayload) SetBackupPolicyId(v string)

SetBackupPolicyId gets a reference to the given string and assigns it to the BackupPolicyId field.

func (EnableServicePayload) ToMap

func (o EnableServicePayload) ToMap() (map[string]interface{}, error)

type EnableServiceResourcePayload

type EnableServiceResourcePayload struct {
	BackupPolicyId *string `json:"backupPolicyId,omitempty"`
}

EnableServiceResourcePayload struct for EnableServiceResourcePayload

func NewEnableServiceResourcePayload

func NewEnableServiceResourcePayload() *EnableServiceResourcePayload

NewEnableServiceResourcePayload instantiates a new EnableServiceResourcePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnableServiceResourcePayloadWithDefaults

func NewEnableServiceResourcePayloadWithDefaults() *EnableServiceResourcePayload

NewEnableServiceResourcePayloadWithDefaults instantiates a new EnableServiceResourcePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnableServiceResourcePayload) GetBackupPolicyId

func (o *EnableServiceResourcePayload) GetBackupPolicyId() string

GetBackupPolicyId returns the BackupPolicyId field value if set, zero value otherwise.

func (*EnableServiceResourcePayload) GetBackupPolicyIdOk

func (o *EnableServiceResourcePayload) GetBackupPolicyIdOk() (*string, bool)

GetBackupPolicyIdOk returns a tuple with the BackupPolicyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnableServiceResourcePayload) HasBackupPolicyId

func (o *EnableServiceResourcePayload) HasBackupPolicyId() bool

HasBackupPolicyId returns a boolean if a field has been set.

func (EnableServiceResourcePayload) MarshalJSON

func (o EnableServiceResourcePayload) MarshalJSON() ([]byte, error)

func (*EnableServiceResourcePayload) SetBackupPolicyId

func (o *EnableServiceResourcePayload) SetBackupPolicyId(v string)

SetBackupPolicyId gets a reference to the given string and assigns it to the BackupPolicyId field.

func (EnableServiceResourcePayload) ToMap

func (o EnableServiceResourcePayload) ToMap() (map[string]interface{}, error)

type GetBackupPoliciesResponse

type GetBackupPoliciesResponse struct {
	Items []BackupPolicy `json:"items,omitempty"`
}

GetBackupPoliciesResponse struct for GetBackupPoliciesResponse

func NewGetBackupPoliciesResponse

func NewGetBackupPoliciesResponse() *GetBackupPoliciesResponse

NewGetBackupPoliciesResponse instantiates a new GetBackupPoliciesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetBackupPoliciesResponseWithDefaults

func NewGetBackupPoliciesResponseWithDefaults() *GetBackupPoliciesResponse

NewGetBackupPoliciesResponseWithDefaults instantiates a new GetBackupPoliciesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetBackupPoliciesResponse) GetItems

func (o *GetBackupPoliciesResponse) GetItems() []BackupPolicy

GetItems returns the Items field value if set, zero value otherwise.

func (*GetBackupPoliciesResponse) GetItemsOk

func (o *GetBackupPoliciesResponse) GetItemsOk() ([]BackupPolicy, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetBackupPoliciesResponse) HasItems

func (o *GetBackupPoliciesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GetBackupPoliciesResponse) MarshalJSON

func (o GetBackupPoliciesResponse) MarshalJSON() ([]byte, error)

func (*GetBackupPoliciesResponse) SetItems

func (o *GetBackupPoliciesResponse) SetItems(v []BackupPolicy)

SetItems gets a reference to the given []BackupPolicy and assigns it to the Items field.

func (GetBackupPoliciesResponse) ToMap

func (o GetBackupPoliciesResponse) ToMap() (map[string]interface{}, error)

type GetBackupSchedulesResponse

type GetBackupSchedulesResponse struct {
	Items []BackupSchedule `json:"items,omitempty"`
}

GetBackupSchedulesResponse struct for GetBackupSchedulesResponse

func NewGetBackupSchedulesResponse

func NewGetBackupSchedulesResponse() *GetBackupSchedulesResponse

NewGetBackupSchedulesResponse instantiates a new GetBackupSchedulesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetBackupSchedulesResponseWithDefaults

func NewGetBackupSchedulesResponseWithDefaults() *GetBackupSchedulesResponse

NewGetBackupSchedulesResponseWithDefaults instantiates a new GetBackupSchedulesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetBackupSchedulesResponse) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*GetBackupSchedulesResponse) GetItemsOk

func (o *GetBackupSchedulesResponse) GetItemsOk() ([]BackupSchedule, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetBackupSchedulesResponse) HasItems

func (o *GetBackupSchedulesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GetBackupSchedulesResponse) MarshalJSON

func (o GetBackupSchedulesResponse) MarshalJSON() ([]byte, error)

func (*GetBackupSchedulesResponse) SetItems

func (o *GetBackupSchedulesResponse) SetItems(v []BackupSchedule)

SetItems gets a reference to the given []BackupSchedule and assigns it to the Items field.

func (GetBackupSchedulesResponse) ToMap

func (o GetBackupSchedulesResponse) ToMap() (map[string]interface{}, error)

type GetBackupServiceResponse

type GetBackupServiceResponse struct {
	Enabled *bool `json:"enabled,omitempty"`
}

GetBackupServiceResponse struct for GetBackupServiceResponse

func NewGetBackupServiceResponse

func NewGetBackupServiceResponse() *GetBackupServiceResponse

NewGetBackupServiceResponse instantiates a new GetBackupServiceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetBackupServiceResponseWithDefaults

func NewGetBackupServiceResponseWithDefaults() *GetBackupServiceResponse

NewGetBackupServiceResponseWithDefaults instantiates a new GetBackupServiceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetBackupServiceResponse) GetEnabled

func (o *GetBackupServiceResponse) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*GetBackupServiceResponse) GetEnabledOk

func (o *GetBackupServiceResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetBackupServiceResponse) HasEnabled

func (o *GetBackupServiceResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (GetBackupServiceResponse) MarshalJSON

func (o GetBackupServiceResponse) MarshalJSON() ([]byte, error)

func (*GetBackupServiceResponse) SetEnabled

func (o *GetBackupServiceResponse) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (GetBackupServiceResponse) ToMap

func (o GetBackupServiceResponse) ToMap() (map[string]interface{}, error)

type GetBackupsListResponse

type GetBackupsListResponse struct {
	Items []Backup `json:"items,omitempty"`
}

GetBackupsListResponse struct for GetBackupsListResponse

func NewGetBackupsListResponse

func NewGetBackupsListResponse() *GetBackupsListResponse

NewGetBackupsListResponse instantiates a new GetBackupsListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetBackupsListResponseWithDefaults

func NewGetBackupsListResponseWithDefaults() *GetBackupsListResponse

NewGetBackupsListResponseWithDefaults instantiates a new GetBackupsListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetBackupsListResponse) GetItems

func (o *GetBackupsListResponse) GetItems() []Backup

GetItems returns the Items field value if set, zero value otherwise.

func (*GetBackupsListResponse) GetItemsOk

func (o *GetBackupsListResponse) GetItemsOk() ([]Backup, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetBackupsListResponse) HasItems

func (o *GetBackupsListResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GetBackupsListResponse) MarshalJSON

func (o GetBackupsListResponse) MarshalJSON() ([]byte, error)

func (*GetBackupsListResponse) SetItems

func (o *GetBackupsListResponse) SetItems(v []Backup)

SetItems gets a reference to the given []Backup and assigns it to the Items field.

func (GetBackupsListResponse) ToMap

func (o GetBackupsListResponse) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBackup

type NullableBackup struct {
	// contains filtered or unexported fields
}

func NewNullableBackup

func NewNullableBackup(val *Backup) *NullableBackup

func (NullableBackup) Get

func (v NullableBackup) Get() *Backup

func (NullableBackup) IsSet

func (v NullableBackup) IsSet() bool

func (NullableBackup) MarshalJSON

func (v NullableBackup) MarshalJSON() ([]byte, error)

func (*NullableBackup) Set

func (v *NullableBackup) Set(val *Backup)

func (*NullableBackup) UnmarshalJSON

func (v *NullableBackup) UnmarshalJSON(src []byte) error

func (*NullableBackup) Unset

func (v *NullableBackup) Unset()

type NullableBackupJob

type NullableBackupJob struct {
	// contains filtered or unexported fields
}

func NewNullableBackupJob

func NewNullableBackupJob(val *BackupJob) *NullableBackupJob

func (NullableBackupJob) Get

func (v NullableBackupJob) Get() *BackupJob

func (NullableBackupJob) IsSet

func (v NullableBackupJob) IsSet() bool

func (NullableBackupJob) MarshalJSON

func (v NullableBackupJob) MarshalJSON() ([]byte, error)

func (*NullableBackupJob) Set

func (v *NullableBackupJob) Set(val *BackupJob)

func (*NullableBackupJob) UnmarshalJSON

func (v *NullableBackupJob) UnmarshalJSON(src []byte) error

func (*NullableBackupJob) Unset

func (v *NullableBackupJob) Unset()

type NullableBackupPolicy

type NullableBackupPolicy struct {
	// contains filtered or unexported fields
}

func NewNullableBackupPolicy

func NewNullableBackupPolicy(val *BackupPolicy) *NullableBackupPolicy

func (NullableBackupPolicy) Get

func (NullableBackupPolicy) IsSet

func (v NullableBackupPolicy) IsSet() bool

func (NullableBackupPolicy) MarshalJSON

func (v NullableBackupPolicy) MarshalJSON() ([]byte, error)

func (*NullableBackupPolicy) Set

func (v *NullableBackupPolicy) Set(val *BackupPolicy)

func (*NullableBackupPolicy) UnmarshalJSON

func (v *NullableBackupPolicy) UnmarshalJSON(src []byte) error

func (*NullableBackupPolicy) Unset

func (v *NullableBackupPolicy) Unset()

type NullableBackupPolicyBackupProperties

type NullableBackupPolicyBackupProperties struct {
	// contains filtered or unexported fields
}

func (NullableBackupPolicyBackupProperties) Get

func (NullableBackupPolicyBackupProperties) IsSet

func (NullableBackupPolicyBackupProperties) MarshalJSON

func (v NullableBackupPolicyBackupProperties) MarshalJSON() ([]byte, error)

func (*NullableBackupPolicyBackupProperties) Set

func (*NullableBackupPolicyBackupProperties) UnmarshalJSON

func (v *NullableBackupPolicyBackupProperties) UnmarshalJSON(src []byte) error

func (*NullableBackupPolicyBackupProperties) Unset

type NullableBackupProperties

type NullableBackupProperties struct {
	// contains filtered or unexported fields
}

func NewNullableBackupProperties

func NewNullableBackupProperties(val *BackupProperties) *NullableBackupProperties

func (NullableBackupProperties) Get

func (NullableBackupProperties) IsSet

func (v NullableBackupProperties) IsSet() bool

func (NullableBackupProperties) MarshalJSON

func (v NullableBackupProperties) MarshalJSON() ([]byte, error)

func (*NullableBackupProperties) Set

func (*NullableBackupProperties) UnmarshalJSON

func (v *NullableBackupProperties) UnmarshalJSON(src []byte) error

func (*NullableBackupProperties) Unset

func (v *NullableBackupProperties) Unset()

type NullableBackupSchedule

type NullableBackupSchedule struct {
	// contains filtered or unexported fields
}

func NewNullableBackupSchedule

func NewNullableBackupSchedule(val *BackupSchedule) *NullableBackupSchedule

func (NullableBackupSchedule) Get

func (NullableBackupSchedule) IsSet

func (v NullableBackupSchedule) IsSet() bool

func (NullableBackupSchedule) MarshalJSON

func (v NullableBackupSchedule) MarshalJSON() ([]byte, error)

func (*NullableBackupSchedule) Set

func (*NullableBackupSchedule) UnmarshalJSON

func (v *NullableBackupSchedule) UnmarshalJSON(src []byte) error

func (*NullableBackupSchedule) Unset

func (v *NullableBackupSchedule) Unset()

type NullableBackupVolumeBackupsInner

type NullableBackupVolumeBackupsInner struct {
	// contains filtered or unexported fields
}

func (NullableBackupVolumeBackupsInner) Get

func (NullableBackupVolumeBackupsInner) IsSet

func (NullableBackupVolumeBackupsInner) MarshalJSON

func (v NullableBackupVolumeBackupsInner) MarshalJSON() ([]byte, error)

func (*NullableBackupVolumeBackupsInner) Set

func (*NullableBackupVolumeBackupsInner) UnmarshalJSON

func (v *NullableBackupVolumeBackupsInner) UnmarshalJSON(src []byte) error

func (*NullableBackupVolumeBackupsInner) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateBackupPayload

type NullableCreateBackupPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateBackupPayload

func NewNullableCreateBackupPayload(val *CreateBackupPayload) *NullableCreateBackupPayload

func (NullableCreateBackupPayload) Get

func (NullableCreateBackupPayload) IsSet

func (NullableCreateBackupPayload) MarshalJSON

func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateBackupPayload) Set

func (*NullableCreateBackupPayload) UnmarshalJSON

func (v *NullableCreateBackupPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateBackupPayload) Unset

func (v *NullableCreateBackupPayload) Unset()

type NullableCreateBackupSchedulePayload

type NullableCreateBackupSchedulePayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateBackupSchedulePayload) Get

func (NullableCreateBackupSchedulePayload) IsSet

func (NullableCreateBackupSchedulePayload) MarshalJSON

func (v NullableCreateBackupSchedulePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateBackupSchedulePayload) Set

func (*NullableCreateBackupSchedulePayload) UnmarshalJSON

func (v *NullableCreateBackupSchedulePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateBackupSchedulePayload) Unset

type NullableEnableServicePayload

type NullableEnableServicePayload struct {
	// contains filtered or unexported fields
}

func NewNullableEnableServicePayload

func NewNullableEnableServicePayload(val *EnableServicePayload) *NullableEnableServicePayload

func (NullableEnableServicePayload) Get

func (NullableEnableServicePayload) IsSet

func (NullableEnableServicePayload) MarshalJSON

func (v NullableEnableServicePayload) MarshalJSON() ([]byte, error)

func (*NullableEnableServicePayload) Set

func (*NullableEnableServicePayload) UnmarshalJSON

func (v *NullableEnableServicePayload) UnmarshalJSON(src []byte) error

func (*NullableEnableServicePayload) Unset

func (v *NullableEnableServicePayload) Unset()

type NullableEnableServiceResourcePayload

type NullableEnableServiceResourcePayload struct {
	// contains filtered or unexported fields
}

func (NullableEnableServiceResourcePayload) Get

func (NullableEnableServiceResourcePayload) IsSet

func (NullableEnableServiceResourcePayload) MarshalJSON

func (v NullableEnableServiceResourcePayload) MarshalJSON() ([]byte, error)

func (*NullableEnableServiceResourcePayload) Set

func (*NullableEnableServiceResourcePayload) UnmarshalJSON

func (v *NullableEnableServiceResourcePayload) UnmarshalJSON(src []byte) error

func (*NullableEnableServiceResourcePayload) Unset

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetBackupPoliciesResponse

type NullableGetBackupPoliciesResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetBackupPoliciesResponse) Get

func (NullableGetBackupPoliciesResponse) IsSet

func (NullableGetBackupPoliciesResponse) MarshalJSON

func (v NullableGetBackupPoliciesResponse) MarshalJSON() ([]byte, error)

func (*NullableGetBackupPoliciesResponse) Set

func (*NullableGetBackupPoliciesResponse) UnmarshalJSON

func (v *NullableGetBackupPoliciesResponse) UnmarshalJSON(src []byte) error

func (*NullableGetBackupPoliciesResponse) Unset

type NullableGetBackupSchedulesResponse

type NullableGetBackupSchedulesResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetBackupSchedulesResponse) Get

func (NullableGetBackupSchedulesResponse) IsSet

func (NullableGetBackupSchedulesResponse) MarshalJSON

func (v NullableGetBackupSchedulesResponse) MarshalJSON() ([]byte, error)

func (*NullableGetBackupSchedulesResponse) Set

func (*NullableGetBackupSchedulesResponse) UnmarshalJSON

func (v *NullableGetBackupSchedulesResponse) UnmarshalJSON(src []byte) error

func (*NullableGetBackupSchedulesResponse) Unset

type NullableGetBackupServiceResponse

type NullableGetBackupServiceResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetBackupServiceResponse) Get

func (NullableGetBackupServiceResponse) IsSet

func (NullableGetBackupServiceResponse) MarshalJSON

func (v NullableGetBackupServiceResponse) MarshalJSON() ([]byte, error)

func (*NullableGetBackupServiceResponse) Set

func (*NullableGetBackupServiceResponse) UnmarshalJSON

func (v *NullableGetBackupServiceResponse) UnmarshalJSON(src []byte) error

func (*NullableGetBackupServiceResponse) Unset

type NullableGetBackupsListResponse

type NullableGetBackupsListResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetBackupsListResponse) Get

func (NullableGetBackupsListResponse) IsSet

func (NullableGetBackupsListResponse) MarshalJSON

func (v NullableGetBackupsListResponse) MarshalJSON() ([]byte, error)

func (*NullableGetBackupsListResponse) Set

func (*NullableGetBackupsListResponse) UnmarshalJSON

func (v *NullableGetBackupsListResponse) UnmarshalJSON(src []byte) error

func (*NullableGetBackupsListResponse) Unset

func (v *NullableGetBackupsListResponse) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableRestoreBackupPayload

type NullableRestoreBackupPayload struct {
	// contains filtered or unexported fields
}

func NewNullableRestoreBackupPayload

func NewNullableRestoreBackupPayload(val *RestoreBackupPayload) *NullableRestoreBackupPayload

func (NullableRestoreBackupPayload) Get

func (NullableRestoreBackupPayload) IsSet

func (NullableRestoreBackupPayload) MarshalJSON

func (v NullableRestoreBackupPayload) MarshalJSON() ([]byte, error)

func (*NullableRestoreBackupPayload) Set

func (*NullableRestoreBackupPayload) UnmarshalJSON

func (v *NullableRestoreBackupPayload) UnmarshalJSON(src []byte) error

func (*NullableRestoreBackupPayload) Unset

func (v *NullableRestoreBackupPayload) Unset()

type NullableRestoreVolumeBackupPayload

type NullableRestoreVolumeBackupPayload struct {
	// contains filtered or unexported fields
}

func (NullableRestoreVolumeBackupPayload) Get

func (NullableRestoreVolumeBackupPayload) IsSet

func (NullableRestoreVolumeBackupPayload) MarshalJSON

func (v NullableRestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)

func (*NullableRestoreVolumeBackupPayload) Set

func (*NullableRestoreVolumeBackupPayload) UnmarshalJSON

func (v *NullableRestoreVolumeBackupPayload) UnmarshalJSON(src []byte) error

func (*NullableRestoreVolumeBackupPayload) Unset

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateBackupSchedulePayload

type NullableUpdateBackupSchedulePayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateBackupSchedulePayload) Get

func (NullableUpdateBackupSchedulePayload) IsSet

func (NullableUpdateBackupSchedulePayload) MarshalJSON

func (v NullableUpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateBackupSchedulePayload) Set

func (*NullableUpdateBackupSchedulePayload) UnmarshalJSON

func (v *NullableUpdateBackupSchedulePayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateBackupSchedulePayload) Unset

type RestoreBackupPayload

type RestoreBackupPayload struct {
	StartServerAfterRestore bool     `json:"startServerAfterRestore"`
	VolumeIds               []string `json:"volumeIds,omitempty"`
}

RestoreBackupPayload struct for RestoreBackupPayload

func NewRestoreBackupPayload

func NewRestoreBackupPayload(startServerAfterRestore bool) *RestoreBackupPayload

NewRestoreBackupPayload instantiates a new RestoreBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRestoreBackupPayloadWithDefaults

func NewRestoreBackupPayloadWithDefaults() *RestoreBackupPayload

NewRestoreBackupPayloadWithDefaults instantiates a new RestoreBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RestoreBackupPayload) GetStartServerAfterRestore

func (o *RestoreBackupPayload) GetStartServerAfterRestore() bool

GetStartServerAfterRestore returns the StartServerAfterRestore field value

func (*RestoreBackupPayload) GetStartServerAfterRestoreOk

func (o *RestoreBackupPayload) GetStartServerAfterRestoreOk() (*bool, bool)

GetStartServerAfterRestoreOk returns a tuple with the StartServerAfterRestore field value and a boolean to check if the value has been set.

func (*RestoreBackupPayload) GetVolumeIds

func (o *RestoreBackupPayload) GetVolumeIds() []string

GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.

func (*RestoreBackupPayload) GetVolumeIdsOk

func (o *RestoreBackupPayload) GetVolumeIdsOk() ([]string, bool)

GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RestoreBackupPayload) HasVolumeIds

func (o *RestoreBackupPayload) HasVolumeIds() bool

HasVolumeIds returns a boolean if a field has been set.

func (RestoreBackupPayload) MarshalJSON

func (o RestoreBackupPayload) MarshalJSON() ([]byte, error)

func (*RestoreBackupPayload) SetStartServerAfterRestore

func (o *RestoreBackupPayload) SetStartServerAfterRestore(v bool)

SetStartServerAfterRestore sets field value

func (*RestoreBackupPayload) SetVolumeIds

func (o *RestoreBackupPayload) SetVolumeIds(v []string)

SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.

func (RestoreBackupPayload) ToMap

func (o RestoreBackupPayload) ToMap() (map[string]interface{}, error)

func (*RestoreBackupPayload) UnmarshalJSON

func (o *RestoreBackupPayload) UnmarshalJSON(data []byte) (err error)

type RestoreVolumeBackupPayload

type RestoreVolumeBackupPayload struct {
	RestoreVolumeId string `json:"restoreVolumeId"`
}

RestoreVolumeBackupPayload struct for RestoreVolumeBackupPayload

func NewRestoreVolumeBackupPayload

func NewRestoreVolumeBackupPayload(restoreVolumeId string) *RestoreVolumeBackupPayload

NewRestoreVolumeBackupPayload instantiates a new RestoreVolumeBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRestoreVolumeBackupPayloadWithDefaults

func NewRestoreVolumeBackupPayloadWithDefaults() *RestoreVolumeBackupPayload

NewRestoreVolumeBackupPayloadWithDefaults instantiates a new RestoreVolumeBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RestoreVolumeBackupPayload) GetRestoreVolumeId

func (o *RestoreVolumeBackupPayload) GetRestoreVolumeId() string

GetRestoreVolumeId returns the RestoreVolumeId field value

func (*RestoreVolumeBackupPayload) GetRestoreVolumeIdOk

func (o *RestoreVolumeBackupPayload) GetRestoreVolumeIdOk() (*string, bool)

GetRestoreVolumeIdOk returns a tuple with the RestoreVolumeId field value and a boolean to check if the value has been set.

func (RestoreVolumeBackupPayload) MarshalJSON

func (o RestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)

func (*RestoreVolumeBackupPayload) SetRestoreVolumeId

func (o *RestoreVolumeBackupPayload) SetRestoreVolumeId(v string)

SetRestoreVolumeId sets field value

func (RestoreVolumeBackupPayload) ToMap

func (o RestoreVolumeBackupPayload) ToMap() (map[string]interface{}, error)

func (*RestoreVolumeBackupPayload) UnmarshalJSON

func (o *RestoreVolumeBackupPayload) UnmarshalJSON(data []byte) (err error)

type UpdateBackupSchedulePayload

type UpdateBackupSchedulePayload struct {
	BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
	Enabled          bool              `json:"enabled"`
	// Max 255 characters
	Name string `json:"name"`
	// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
	Rrule string `json:"rrule"`
}

UpdateBackupSchedulePayload struct for UpdateBackupSchedulePayload

func NewUpdateBackupSchedulePayload

func NewUpdateBackupSchedulePayload(enabled bool, name string, rrule string) *UpdateBackupSchedulePayload

NewUpdateBackupSchedulePayload instantiates a new UpdateBackupSchedulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateBackupSchedulePayloadWithDefaults

func NewUpdateBackupSchedulePayloadWithDefaults() *UpdateBackupSchedulePayload

NewUpdateBackupSchedulePayloadWithDefaults instantiates a new UpdateBackupSchedulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateBackupSchedulePayload) GetBackupProperties

func (o *UpdateBackupSchedulePayload) GetBackupProperties() BackupProperties

GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.

func (*UpdateBackupSchedulePayload) GetBackupPropertiesOk

func (o *UpdateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)

GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupSchedulePayload) GetEnabled

func (o *UpdateBackupSchedulePayload) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*UpdateBackupSchedulePayload) GetEnabledOk

func (o *UpdateBackupSchedulePayload) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*UpdateBackupSchedulePayload) GetName

func (o *UpdateBackupSchedulePayload) GetName() string

GetName returns the Name field value

func (*UpdateBackupSchedulePayload) GetNameOk

func (o *UpdateBackupSchedulePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpdateBackupSchedulePayload) GetRrule

func (o *UpdateBackupSchedulePayload) GetRrule() string

GetRrule returns the Rrule field value

func (*UpdateBackupSchedulePayload) GetRruleOk

func (o *UpdateBackupSchedulePayload) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.

func (*UpdateBackupSchedulePayload) HasBackupProperties

func (o *UpdateBackupSchedulePayload) HasBackupProperties() bool

HasBackupProperties returns a boolean if a field has been set.

func (UpdateBackupSchedulePayload) MarshalJSON

func (o UpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)

func (*UpdateBackupSchedulePayload) SetBackupProperties

func (o *UpdateBackupSchedulePayload) SetBackupProperties(v BackupProperties)

SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.

func (*UpdateBackupSchedulePayload) SetEnabled

func (o *UpdateBackupSchedulePayload) SetEnabled(v bool)

SetEnabled sets field value

func (*UpdateBackupSchedulePayload) SetName

func (o *UpdateBackupSchedulePayload) SetName(v string)

SetName sets field value

func (*UpdateBackupSchedulePayload) SetRrule

func (o *UpdateBackupSchedulePayload) SetRrule(v string)

SetRrule sets field value

func (UpdateBackupSchedulePayload) ToMap

func (o UpdateBackupSchedulePayload) ToMap() (map[string]interface{}, error)

func (*UpdateBackupSchedulePayload) UnmarshalJSON

func (o *UpdateBackupSchedulePayload) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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