serverbackup

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

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 {
	// 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. Optionally receives configuration options

func (*APIClient) CreateBackup

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiCreateBackupRequest

func (*APIClient) CreateBackupExecute

func (a *APIClient) CreateBackupExecute(ctx context.Context, projectId string, serverId string) (*BackupJob, error)

func (*APIClient) CreateBackupSchedule

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiCreateBackupScheduleRequest

func (*APIClient) CreateBackupScheduleExecute

func (a *APIClient) CreateBackupScheduleExecute(ctx context.Context, projectId string, serverId string) (*BackupSchedule, error)

func (*APIClient) DeleteBackup

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupId id of the backup
@return ApiDeleteBackupRequest

func (*APIClient) DeleteBackupExecute

func (a *APIClient) DeleteBackupExecute(ctx context.Context, projectId string, serverId string, backupId string) error

func (*APIClient) DeleteBackupSchedule

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupScheduleId backup schedule id
@return ApiDeleteBackupScheduleRequest

func (*APIClient) DeleteBackupScheduleExecute

func (a *APIClient) DeleteBackupScheduleExecute(ctx context.Context, projectId string, serverId string, backupScheduleId string) error

func (*APIClient) DeleteVolumeBackup

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupId id of the backup
@param volumeBackupId id of the volume backup
@return ApiDeleteVolumeBackupRequest

func (*APIClient) DeleteVolumeBackupExecute

func (a *APIClient) DeleteVolumeBackupExecute(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) error

func (*APIClient) DisableService

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiDisableServiceRequest

func (*APIClient) DisableServiceExecute deprecated

func (a *APIClient) DisableServiceExecute(ctx context.Context, projectId string, serverId string) error

Deprecated:

func (*APIClient) DisableServiceResource added in v0.3.0

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiDisableServiceResourceRequest

func (*APIClient) DisableServiceResourceExecute added in v0.3.0

func (a *APIClient) DisableServiceResourceExecute(ctx context.Context, projectId string, serverId string) error

func (*APIClient) EnableService

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiEnableServiceRequest

func (*APIClient) EnableServiceExecute deprecated

func (a *APIClient) EnableServiceExecute(ctx context.Context, projectId string, serverId string) error

Deprecated:

func (*APIClient) EnableServiceResource added in v0.3.0

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiEnableServiceResourceRequest

func (*APIClient) EnableServiceResourceExecute added in v0.3.0

func (a *APIClient) EnableServiceResourceExecute(ctx context.Context, projectId string, serverId string) error

func (*APIClient) GetBackup

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupId id of the backup
@return ApiGetBackupRequest

func (*APIClient) GetBackupExecute

func (a *APIClient) GetBackupExecute(ctx context.Context, projectId string, serverId string, backupId string) (*Backup, error)

func (*APIClient) GetBackupSchedule

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupScheduleId backup schedule id
@return ApiGetBackupScheduleRequest

func (*APIClient) GetBackupScheduleExecute

func (a *APIClient) GetBackupScheduleExecute(ctx context.Context, projectId string, serverId string, backupScheduleId string) (*BackupSchedule, error)

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

func (*APIClient) ListBackupSchedules

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiListBackupSchedulesRequest

func (*APIClient) ListBackupSchedulesExecute

func (a *APIClient) ListBackupSchedulesExecute(ctx context.Context, projectId string, serverId string) (*GetBackupSchedulesResponse, error)

func (*APIClient) ListBackups

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@return ApiListBackupsRequest

func (*APIClient) ListBackupsExecute

func (a *APIClient) ListBackupsExecute(ctx context.Context, projectId string, serverId string) (*GetBackupsListResponse, error)

func (*APIClient) RestoreBackup

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupId id of the backup
@return ApiRestoreBackupRequest

func (*APIClient) RestoreBackupExecute

func (a *APIClient) RestoreBackupExecute(ctx context.Context, projectId string, serverId string, backupId string) error

func (*APIClient) RestoreVolumeBackup

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupId id of the backup
@param volumeBackupId id of the volume backup
@return ApiRestoreVolumeBackupRequest

func (*APIClient) RestoreVolumeBackupExecute

func (a *APIClient) RestoreVolumeBackupExecute(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) error

func (*APIClient) UpdateBackupSchedule

func (a *APIClient) 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 portal project id
@param serverId openstack server id
@param backupScheduleId backup schedule id
@return ApiUpdateBackupScheduleRequest

func (*APIClient) UpdateBackupScheduleExecute

func (a *APIClient) UpdateBackupScheduleExecute(ctx context.Context, projectId string, serverId string, backupScheduleId string) (*BackupSchedule, error)

type ApiCreateBackupRequest

type ApiCreateBackupRequest struct {
	// 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 {
	// contains filtered or unexported fields
}

func (ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload

func (r ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload(createBackupSchedulePayload CreateBackupSchedulePayload) ApiCreateBackupScheduleRequest

func (ApiCreateBackupScheduleRequest) Execute

type ApiDeleteBackupRequest

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

func (ApiDeleteBackupRequest) Execute

func (r ApiDeleteBackupRequest) Execute() error

type ApiDeleteBackupScheduleRequest

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

func (ApiDeleteBackupScheduleRequest) Execute

type ApiDeleteVolumeBackupRequest

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

func (ApiDeleteVolumeBackupRequest) Execute

func (r ApiDeleteVolumeBackupRequest) Execute() error

type ApiDisableServiceRequest

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

func (ApiDisableServiceRequest) Execute

func (r ApiDisableServiceRequest) Execute() error

type ApiDisableServiceResourceRequest added in v0.3.0

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

func (ApiDisableServiceResourceRequest) Execute added in v0.3.0

type ApiEnableServiceRequest

type ApiEnableServiceRequest struct {
	// 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 added in v0.3.0

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

func (ApiEnableServiceResourceRequest) EnableServiceResourcePayload added in v0.3.0

func (r ApiEnableServiceResourceRequest) EnableServiceResourcePayload(enableServiceResourcePayload EnableServiceResourcePayload) ApiEnableServiceResourceRequest

func (ApiEnableServiceResourceRequest) Execute added in v0.3.0

type ApiGetBackupRequest

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

func (ApiGetBackupRequest) Execute

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

type ApiGetBackupScheduleRequest

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

func (ApiGetBackupScheduleRequest) Execute

type ApiListBackupSchedulesRequest

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

func (ApiListBackupSchedulesRequest) Execute

type ApiListBackupsRequest

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

func (ApiListBackupsRequest) Execute

type ApiRestoreBackupRequest

type ApiRestoreBackupRequest struct {
	// 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 {
	// contains filtered or unexported fields
}

func (ApiRestoreVolumeBackupRequest) Execute

func (ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload

func (r ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload(restoreVolumeBackupPayload RestoreVolumeBackupPayload) ApiRestoreVolumeBackupRequest

type ApiUpdateBackupScheduleRequest

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

func (ApiUpdateBackupScheduleRequest) Execute

func (ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload

func (r ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload(updateBackupSchedulePayload UpdateBackupSchedulePayload) ApiUpdateBackupScheduleRequest

type Backup

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

Backup struct for Backup

func NewBackup added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *Backup) GetCreatedAt() *string

GetCreatedAt returns the CreatedAt field value

func (*Backup) GetCreatedAtOk added in v0.2.0

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 added in v0.2.0

func (o *Backup) GetExpireAt() *string

GetExpireAt returns the ExpireAt field value

func (*Backup) GetExpireAtOk added in v0.2.0

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 added in v0.2.0

func (o *Backup) GetId() *string

GetId returns the Id field value

func (*Backup) GetIdOk added in v0.2.0

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 added in v0.2.0

func (o *Backup) GetLastRestoredAt() *string

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

func (*Backup) GetLastRestoredAtOk added in v0.2.0

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 added in v0.2.0

func (o *Backup) GetName() *string

GetName returns the Name field value

func (*Backup) GetNameOk added in v0.2.0

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 added in v0.2.0

func (o *Backup) GetSize() *int64

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

func (*Backup) GetSizeOk added in v0.2.0

func (o *Backup) GetSizeOk() (*int64, 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 added in v0.2.0

func (o *Backup) GetStatus() *string

GetStatus returns the Status field value

func (*Backup) GetStatusOk added in v0.2.0

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 added in v0.2.0

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

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

func (*Backup) GetVolumeBackupsOk added in v0.2.0

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 added in v0.2.0

func (o *Backup) HasLastRestoredAt() bool

HasLastRestoredAt returns a boolean if a field has been set.

func (*Backup) HasSize added in v0.2.0

func (o *Backup) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Backup) HasVolumeBackups added in v0.2.0

func (o *Backup) HasVolumeBackups() bool

HasVolumeBackups returns a boolean if a field has been set.

func (*Backup) SetCreatedAt added in v0.2.0

func (o *Backup) SetCreatedAt(v *string)

SetCreatedAt sets field value

func (*Backup) SetExpireAt added in v0.2.0

func (o *Backup) SetExpireAt(v *string)

SetExpireAt sets field value

func (*Backup) SetId added in v0.2.0

func (o *Backup) SetId(v *string)

SetId sets field value

func (*Backup) SetLastRestoredAt added in v0.2.0

func (o *Backup) SetLastRestoredAt(v *string)

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

func (*Backup) SetName added in v0.2.0

func (o *Backup) SetName(v *string)

SetName sets field value

func (*Backup) SetSize added in v0.2.0

func (o *Backup) SetSize(v *int64)

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

func (*Backup) SetStatus added in v0.2.0

func (o *Backup) SetStatus(v *string)

SetStatus sets field value

func (*Backup) SetVolumeBackups added in v0.2.0

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

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

func (Backup) ToMap added in v0.2.0

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

type BackupJob

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

BackupJob struct for BackupJob

func NewBackupJob added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *BackupJob) GetId() *string

GetId returns the Id field value

func (*BackupJob) GetIdOk added in v0.2.0

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) SetId added in v0.2.0

func (o *BackupJob) SetId(v *string)

SetId sets field value

func (BackupJob) ToMap added in v0.2.0

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

type BackupProperties

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

BackupProperties struct for BackupProperties

func NewBackupProperties added in v0.2.0

func NewBackupProperties(name *string, retentionPeriod *int64) *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 added in v0.2.0

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 added in v0.2.0

func (o *BackupProperties) GetName() *string

GetName returns the Name field value

func (*BackupProperties) GetNameOk added in v0.2.0

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 added in v0.2.0

func (o *BackupProperties) GetRetentionPeriod() *int64

GetRetentionPeriod returns the RetentionPeriod field value

func (*BackupProperties) GetRetentionPeriodOk added in v0.2.0

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

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

func (*BackupProperties) GetVolumeIds added in v0.2.0

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

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

func (*BackupProperties) GetVolumeIdsOk added in v0.2.0

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 added in v0.2.0

func (o *BackupProperties) HasVolumeIds() bool

HasVolumeIds returns a boolean if a field has been set.

func (*BackupProperties) SetName added in v0.2.0

func (o *BackupProperties) SetName(v *string)

SetName sets field value

func (*BackupProperties) SetRetentionPeriod added in v0.2.0

func (o *BackupProperties) SetRetentionPeriod(v *int64)

SetRetentionPeriod sets field value

func (*BackupProperties) SetVolumeIds added in v0.2.0

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

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

func (BackupProperties) ToMap added in v0.2.0

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

type BackupSchedule

type BackupSchedule struct {
	BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
	// REQUIRED
	Enabled *bool `json:"enabled"`
	// REQUIRED
	Id *int64 `json:"id"`
	// REQUIRED
	Name *string `json:"name"`
	// REQUIRED
	Rrule *string `json:"rrule"`
}

BackupSchedule struct for BackupSchedule

func NewBackupSchedule added in v0.2.0

func NewBackupSchedule(enabled *bool, id *int64, 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 added in v0.2.0

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 added in v0.2.0

func (o *BackupSchedule) GetBackupProperties() *BackupProperties

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

func (*BackupSchedule) GetBackupPropertiesOk added in v0.2.0

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 added in v0.2.0

func (o *BackupSchedule) GetEnabled() *bool

GetEnabled returns the Enabled field value

func (*BackupSchedule) GetEnabledOk added in v0.2.0

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 added in v0.2.0

func (o *BackupSchedule) GetId() *int64

GetId returns the Id field value

func (*BackupSchedule) GetIdOk added in v0.2.0

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

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

func (*BackupSchedule) GetName added in v0.2.0

func (o *BackupSchedule) GetName() *string

GetName returns the Name field value

func (*BackupSchedule) GetNameOk added in v0.2.0

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 added in v0.2.0

func (o *BackupSchedule) GetRrule() *string

GetRrule returns the Rrule field value

func (*BackupSchedule) GetRruleOk added in v0.2.0

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 added in v0.2.0

func (o *BackupSchedule) HasBackupProperties() bool

HasBackupProperties returns a boolean if a field has been set.

func (*BackupSchedule) SetBackupProperties added in v0.2.0

func (o *BackupSchedule) SetBackupProperties(v *BackupProperties)

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

func (*BackupSchedule) SetEnabled added in v0.2.0

func (o *BackupSchedule) SetEnabled(v *bool)

SetEnabled sets field value

func (*BackupSchedule) SetId added in v0.2.0

func (o *BackupSchedule) SetId(v *int64)

SetId sets field value

func (*BackupSchedule) SetName added in v0.2.0

func (o *BackupSchedule) SetName(v *string)

SetName sets field value

func (*BackupSchedule) SetRrule added in v0.2.0

func (o *BackupSchedule) SetRrule(v *string)

SetRrule sets field value

func (BackupSchedule) ToMap added in v0.2.0

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

type BackupVolumeBackupsInner

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

BackupVolumeBackupsInner struct for BackupVolumeBackupsInner

func NewBackupVolumeBackupsInner added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *BackupVolumeBackupsInner) GetId() *string

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

func (*BackupVolumeBackupsInner) GetIdOk added in v0.2.0

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 added in v0.2.0

func (o *BackupVolumeBackupsInner) GetLastRestoredAt() *string

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

func (*BackupVolumeBackupsInner) GetLastRestoredAtOk added in v0.2.0

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 added in v0.2.0

func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeId() *string

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

func (*BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk added in v0.2.0

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 added in v0.2.0

func (o *BackupVolumeBackupsInner) GetSize() *int64

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

func (*BackupVolumeBackupsInner) GetSizeOk added in v0.2.0

func (o *BackupVolumeBackupsInner) GetSizeOk() (*int64, 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 added in v0.2.0

func (o *BackupVolumeBackupsInner) GetStatus() *string

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

func (*BackupVolumeBackupsInner) GetStatusOk added in v0.2.0

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 added in v0.2.0

func (o *BackupVolumeBackupsInner) GetVolumeId() *string

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

func (*BackupVolumeBackupsInner) GetVolumeIdOk added in v0.2.0

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 added in v0.2.0

func (o *BackupVolumeBackupsInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasLastRestoredAt added in v0.2.0

func (o *BackupVolumeBackupsInner) HasLastRestoredAt() bool

HasLastRestoredAt returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasLastRestoredVolumeId added in v0.2.0

func (o *BackupVolumeBackupsInner) HasLastRestoredVolumeId() bool

HasLastRestoredVolumeId returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasSize added in v0.2.0

func (o *BackupVolumeBackupsInner) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasStatus added in v0.2.0

func (o *BackupVolumeBackupsInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) HasVolumeId added in v0.2.0

func (o *BackupVolumeBackupsInner) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (*BackupVolumeBackupsInner) SetId added in v0.2.0

func (o *BackupVolumeBackupsInner) SetId(v *string)

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

func (*BackupVolumeBackupsInner) SetLastRestoredAt added in v0.2.0

func (o *BackupVolumeBackupsInner) SetLastRestoredAt(v *string)

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

func (*BackupVolumeBackupsInner) SetLastRestoredVolumeId added in v0.2.0

func (o *BackupVolumeBackupsInner) SetLastRestoredVolumeId(v *string)

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

func (*BackupVolumeBackupsInner) SetSize added in v0.2.0

func (o *BackupVolumeBackupsInner) SetSize(v *int64)

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

func (*BackupVolumeBackupsInner) SetStatus added in v0.2.0

func (o *BackupVolumeBackupsInner) SetStatus(v *string)

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

func (*BackupVolumeBackupsInner) SetVolumeId added in v0.2.0

func (o *BackupVolumeBackupsInner) SetVolumeId(v *string)

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

func (BackupVolumeBackupsInner) ToMap added in v0.2.0

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

type CreateBackupPayload

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

CreateBackupPayload struct for CreateBackupPayload

func NewCreateBackupPayload added in v0.2.0

func NewCreateBackupPayload(name *string, retentionPeriod *int64) *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 added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupPayload) GetName() *string

GetName returns the Name field value

func (*CreateBackupPayload) GetNameOk added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupPayload) GetRetentionPeriod() *int64

GetRetentionPeriod returns the RetentionPeriod field value

func (*CreateBackupPayload) GetRetentionPeriodOk added in v0.2.0

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

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

func (*CreateBackupPayload) GetVolumeIds added in v0.2.0

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

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

func (*CreateBackupPayload) GetVolumeIdsOk added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupPayload) HasVolumeIds() bool

HasVolumeIds returns a boolean if a field has been set.

func (*CreateBackupPayload) SetName added in v0.2.0

func (o *CreateBackupPayload) SetName(v *string)

SetName sets field value

func (*CreateBackupPayload) SetRetentionPeriod added in v0.2.0

func (o *CreateBackupPayload) SetRetentionPeriod(v *int64)

SetRetentionPeriod sets field value

func (*CreateBackupPayload) SetVolumeIds added in v0.2.0

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

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

func (CreateBackupPayload) ToMap added in v0.2.0

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

type CreateBackupSchedulePayload

type CreateBackupSchedulePayload struct {
	BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
	// REQUIRED
	Enabled *bool `json:"enabled"`
	// Max 255 characters
	// REQUIRED
	Name *string `json:"name"`
	// REQUIRED
	Rrule *string `json:"rrule"`
}

CreateBackupSchedulePayload struct for CreateBackupSchedulePayload

func NewCreateBackupSchedulePayload added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupSchedulePayload) GetBackupProperties() *BackupProperties

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

func (*CreateBackupSchedulePayload) GetBackupPropertiesOk added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupSchedulePayload) GetEnabled() *bool

GetEnabled returns the Enabled field value

func (*CreateBackupSchedulePayload) GetEnabledOk added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupSchedulePayload) GetName() *string

GetName returns the Name field value

func (*CreateBackupSchedulePayload) GetNameOk added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupSchedulePayload) GetRrule() *string

GetRrule returns the Rrule field value

func (*CreateBackupSchedulePayload) GetRruleOk added in v0.2.0

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 added in v0.2.0

func (o *CreateBackupSchedulePayload) HasBackupProperties() bool

HasBackupProperties returns a boolean if a field has been set.

func (*CreateBackupSchedulePayload) SetBackupProperties added in v0.2.0

func (o *CreateBackupSchedulePayload) SetBackupProperties(v *BackupProperties)

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

func (*CreateBackupSchedulePayload) SetEnabled added in v0.2.0

func (o *CreateBackupSchedulePayload) SetEnabled(v *bool)

SetEnabled sets field value

func (*CreateBackupSchedulePayload) SetName added in v0.2.0

func (o *CreateBackupSchedulePayload) SetName(v *string)

SetName sets field value

func (*CreateBackupSchedulePayload) SetRrule added in v0.2.0

func (o *CreateBackupSchedulePayload) SetRrule(v *string)

SetRrule sets field value

func (CreateBackupSchedulePayload) ToMap added in v0.2.0

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

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type EnableServicePayload

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

EnableServicePayload struct for EnableServicePayload

func NewEnableServicePayload added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *EnableServicePayload) GetBackupPolicyId() *string

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

func (*EnableServicePayload) GetBackupPolicyIdOk added in v0.2.0

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 added in v0.2.0

func (o *EnableServicePayload) HasBackupPolicyId() bool

HasBackupPolicyId returns a boolean if a field has been set.

func (*EnableServicePayload) SetBackupPolicyId added in v0.2.0

func (o *EnableServicePayload) SetBackupPolicyId(v *string)

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

func (EnableServicePayload) ToMap added in v0.2.0

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

type EnableServiceResourcePayload added in v0.3.0

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

EnableServiceResourcePayload struct for EnableServiceResourcePayload

func NewEnableServiceResourcePayload added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

func (o *EnableServiceResourcePayload) GetBackupPolicyId() *string

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

func (*EnableServiceResourcePayload) GetBackupPolicyIdOk added in v0.3.0

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 added in v0.3.0

func (o *EnableServiceResourcePayload) HasBackupPolicyId() bool

HasBackupPolicyId returns a boolean if a field has been set.

func (*EnableServiceResourcePayload) SetBackupPolicyId added in v0.3.0

func (o *EnableServiceResourcePayload) SetBackupPolicyId(v *string)

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

func (EnableServiceResourcePayload) ToMap added in v0.3.0

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

type GetBackupSchedulesResponse added in v0.3.0

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

GetBackupSchedulesResponse struct for GetBackupSchedulesResponse

func NewGetBackupSchedulesResponse added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

func (o *GetBackupSchedulesResponse) GetItems() *[]BackupSchedule

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

func (*GetBackupSchedulesResponse) GetItemsOk added in v0.3.0

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 added in v0.3.0

func (o *GetBackupSchedulesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*GetBackupSchedulesResponse) SetItems added in v0.3.0

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

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

func (GetBackupSchedulesResponse) ToMap added in v0.3.0

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

type GetBackupsListResponse added in v0.3.0

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

GetBackupsListResponse struct for GetBackupsListResponse

func NewGetBackupsListResponse added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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

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

func (*GetBackupsListResponse) GetItemsOk added in v0.3.0

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 added in v0.3.0

func (o *GetBackupsListResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*GetBackupsListResponse) SetItems added in v0.3.0

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

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

func (GetBackupsListResponse) ToMap added in v0.3.0

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

type MappedNullable

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

type NullableBackup added in v0.2.0

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

func NewNullableBackup added in v0.2.0

func NewNullableBackup(val *Backup) *NullableBackup

func (NullableBackup) Get added in v0.2.0

func (v NullableBackup) Get() *Backup

func (NullableBackup) IsSet added in v0.2.0

func (v NullableBackup) IsSet() bool

func (NullableBackup) MarshalJSON added in v0.2.0

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

func (*NullableBackup) Set added in v0.2.0

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

func (*NullableBackup) UnmarshalJSON added in v0.2.0

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

func (*NullableBackup) Unset added in v0.2.0

func (v *NullableBackup) Unset()

type NullableBackupJob added in v0.2.0

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

func NewNullableBackupJob added in v0.2.0

func NewNullableBackupJob(val *BackupJob) *NullableBackupJob

func (NullableBackupJob) Get added in v0.2.0

func (v NullableBackupJob) Get() *BackupJob

func (NullableBackupJob) IsSet added in v0.2.0

func (v NullableBackupJob) IsSet() bool

func (NullableBackupJob) MarshalJSON added in v0.2.0

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

func (*NullableBackupJob) Set added in v0.2.0

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

func (*NullableBackupJob) UnmarshalJSON added in v0.2.0

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

func (*NullableBackupJob) Unset added in v0.2.0

func (v *NullableBackupJob) Unset()

type NullableBackupProperties added in v0.2.0

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

func NewNullableBackupProperties added in v0.2.0

func NewNullableBackupProperties(val *BackupProperties) *NullableBackupProperties

func (NullableBackupProperties) Get added in v0.2.0

func (NullableBackupProperties) IsSet added in v0.2.0

func (v NullableBackupProperties) IsSet() bool

func (NullableBackupProperties) MarshalJSON added in v0.2.0

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

func (*NullableBackupProperties) Set added in v0.2.0

func (*NullableBackupProperties) UnmarshalJSON added in v0.2.0

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

func (*NullableBackupProperties) Unset added in v0.2.0

func (v *NullableBackupProperties) Unset()

type NullableBackupSchedule added in v0.2.0

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

func NewNullableBackupSchedule added in v0.2.0

func NewNullableBackupSchedule(val *BackupSchedule) *NullableBackupSchedule

func (NullableBackupSchedule) Get added in v0.2.0

func (NullableBackupSchedule) IsSet added in v0.2.0

func (v NullableBackupSchedule) IsSet() bool

func (NullableBackupSchedule) MarshalJSON added in v0.2.0

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

func (*NullableBackupSchedule) Set added in v0.2.0

func (*NullableBackupSchedule) UnmarshalJSON added in v0.2.0

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

func (*NullableBackupSchedule) Unset added in v0.2.0

func (v *NullableBackupSchedule) Unset()

type NullableBackupVolumeBackupsInner added in v0.2.0

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

func NewNullableBackupVolumeBackupsInner added in v0.2.0

func NewNullableBackupVolumeBackupsInner(val *BackupVolumeBackupsInner) *NullableBackupVolumeBackupsInner

func (NullableBackupVolumeBackupsInner) Get added in v0.2.0

func (NullableBackupVolumeBackupsInner) IsSet added in v0.2.0

func (NullableBackupVolumeBackupsInner) MarshalJSON added in v0.2.0

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

func (*NullableBackupVolumeBackupsInner) Set added in v0.2.0

func (*NullableBackupVolumeBackupsInner) UnmarshalJSON added in v0.2.0

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

func (*NullableBackupVolumeBackupsInner) Unset added in v0.2.0

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 added in v0.2.0

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

func NewNullableCreateBackupPayload added in v0.2.0

func NewNullableCreateBackupPayload(val *CreateBackupPayload) *NullableCreateBackupPayload

func (NullableCreateBackupPayload) Get added in v0.2.0

func (NullableCreateBackupPayload) IsSet added in v0.2.0

func (NullableCreateBackupPayload) MarshalJSON added in v0.2.0

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

func (*NullableCreateBackupPayload) Set added in v0.2.0

func (*NullableCreateBackupPayload) UnmarshalJSON added in v0.2.0

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

func (*NullableCreateBackupPayload) Unset added in v0.2.0

func (v *NullableCreateBackupPayload) Unset()

type NullableCreateBackupSchedulePayload added in v0.2.0

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

func NewNullableCreateBackupSchedulePayload added in v0.2.0

func NewNullableCreateBackupSchedulePayload(val *CreateBackupSchedulePayload) *NullableCreateBackupSchedulePayload

func (NullableCreateBackupSchedulePayload) Get added in v0.2.0

func (NullableCreateBackupSchedulePayload) IsSet added in v0.2.0

func (NullableCreateBackupSchedulePayload) MarshalJSON added in v0.2.0

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

func (*NullableCreateBackupSchedulePayload) Set added in v0.2.0

func (*NullableCreateBackupSchedulePayload) UnmarshalJSON added in v0.2.0

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

func (*NullableCreateBackupSchedulePayload) Unset added in v0.2.0

type NullableEnableServicePayload added in v0.2.0

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

func NewNullableEnableServicePayload added in v0.2.0

func NewNullableEnableServicePayload(val *EnableServicePayload) *NullableEnableServicePayload

func (NullableEnableServicePayload) Get added in v0.2.0

func (NullableEnableServicePayload) IsSet added in v0.2.0

func (NullableEnableServicePayload) MarshalJSON added in v0.2.0

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

func (*NullableEnableServicePayload) Set added in v0.2.0

func (*NullableEnableServicePayload) UnmarshalJSON added in v0.2.0

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

func (*NullableEnableServicePayload) Unset added in v0.2.0

func (v *NullableEnableServicePayload) Unset()

type NullableEnableServiceResourcePayload added in v0.3.0

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

func NewNullableEnableServiceResourcePayload added in v0.3.0

func NewNullableEnableServiceResourcePayload(val *EnableServiceResourcePayload) *NullableEnableServiceResourcePayload

func (NullableEnableServiceResourcePayload) Get added in v0.3.0

func (NullableEnableServiceResourcePayload) IsSet added in v0.3.0

func (NullableEnableServiceResourcePayload) MarshalJSON added in v0.3.0

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

func (*NullableEnableServiceResourcePayload) Set added in v0.3.0

func (*NullableEnableServiceResourcePayload) UnmarshalJSON added in v0.3.0

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

func (*NullableEnableServiceResourcePayload) Unset added in v0.3.0

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 NullableGetBackupSchedulesResponse added in v0.3.0

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

func NewNullableGetBackupSchedulesResponse added in v0.3.0

func NewNullableGetBackupSchedulesResponse(val *GetBackupSchedulesResponse) *NullableGetBackupSchedulesResponse

func (NullableGetBackupSchedulesResponse) Get added in v0.3.0

func (NullableGetBackupSchedulesResponse) IsSet added in v0.3.0

func (NullableGetBackupSchedulesResponse) MarshalJSON added in v0.3.0

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

func (*NullableGetBackupSchedulesResponse) Set added in v0.3.0

func (*NullableGetBackupSchedulesResponse) UnmarshalJSON added in v0.3.0

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

func (*NullableGetBackupSchedulesResponse) Unset added in v0.3.0

type NullableGetBackupsListResponse added in v0.3.0

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

func NewNullableGetBackupsListResponse added in v0.3.0

func NewNullableGetBackupsListResponse(val *GetBackupsListResponse) *NullableGetBackupsListResponse

func (NullableGetBackupsListResponse) Get added in v0.3.0

func (NullableGetBackupsListResponse) IsSet added in v0.3.0

func (NullableGetBackupsListResponse) MarshalJSON added in v0.3.0

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

func (*NullableGetBackupsListResponse) Set added in v0.3.0

func (*NullableGetBackupsListResponse) UnmarshalJSON added in v0.3.0

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

func (*NullableGetBackupsListResponse) Unset added in v0.3.0

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 added in v0.2.0

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

func NewNullableRestoreBackupPayload added in v0.2.0

func NewNullableRestoreBackupPayload(val *RestoreBackupPayload) *NullableRestoreBackupPayload

func (NullableRestoreBackupPayload) Get added in v0.2.0

func (NullableRestoreBackupPayload) IsSet added in v0.2.0

func (NullableRestoreBackupPayload) MarshalJSON added in v0.2.0

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

func (*NullableRestoreBackupPayload) Set added in v0.2.0

func (*NullableRestoreBackupPayload) UnmarshalJSON added in v0.2.0

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

func (*NullableRestoreBackupPayload) Unset added in v0.2.0

func (v *NullableRestoreBackupPayload) Unset()

type NullableRestoreVolumeBackupPayload added in v0.2.0

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

func NewNullableRestoreVolumeBackupPayload added in v0.2.0

func NewNullableRestoreVolumeBackupPayload(val *RestoreVolumeBackupPayload) *NullableRestoreVolumeBackupPayload

func (NullableRestoreVolumeBackupPayload) Get added in v0.2.0

func (NullableRestoreVolumeBackupPayload) IsSet added in v0.2.0

func (NullableRestoreVolumeBackupPayload) MarshalJSON added in v0.2.0

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

func (*NullableRestoreVolumeBackupPayload) Set added in v0.2.0

func (*NullableRestoreVolumeBackupPayload) UnmarshalJSON added in v0.2.0

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

func (*NullableRestoreVolumeBackupPayload) Unset added in v0.2.0

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 added in v0.2.0

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

func NewNullableUpdateBackupSchedulePayload added in v0.2.0

func NewNullableUpdateBackupSchedulePayload(val *UpdateBackupSchedulePayload) *NullableUpdateBackupSchedulePayload

func (NullableUpdateBackupSchedulePayload) Get added in v0.2.0

func (NullableUpdateBackupSchedulePayload) IsSet added in v0.2.0

func (NullableUpdateBackupSchedulePayload) MarshalJSON added in v0.2.0

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

func (*NullableUpdateBackupSchedulePayload) Set added in v0.2.0

func (*NullableUpdateBackupSchedulePayload) UnmarshalJSON added in v0.2.0

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

func (*NullableUpdateBackupSchedulePayload) Unset added in v0.2.0

type RestoreBackupPayload

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

RestoreBackupPayload struct for RestoreBackupPayload

func NewRestoreBackupPayload added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *RestoreBackupPayload) GetStartServerAfterRestore() *bool

GetStartServerAfterRestore returns the StartServerAfterRestore field value

func (*RestoreBackupPayload) GetStartServerAfterRestoreOk added in v0.2.0

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 added in v0.2.0

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

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

func (*RestoreBackupPayload) GetVolumeIdsOk added in v0.2.0

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 added in v0.2.0

func (o *RestoreBackupPayload) HasVolumeIds() bool

HasVolumeIds returns a boolean if a field has been set.

func (*RestoreBackupPayload) SetStartServerAfterRestore added in v0.2.0

func (o *RestoreBackupPayload) SetStartServerAfterRestore(v *bool)

SetStartServerAfterRestore sets field value

func (*RestoreBackupPayload) SetVolumeIds added in v0.2.0

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

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

func (RestoreBackupPayload) ToMap added in v0.2.0

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

type RestoreVolumeBackupPayload

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

RestoreVolumeBackupPayload struct for RestoreVolumeBackupPayload

func NewRestoreVolumeBackupPayload added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *RestoreVolumeBackupPayload) GetRestoreVolumeId() *string

GetRestoreVolumeId returns the RestoreVolumeId field value

func (*RestoreVolumeBackupPayload) GetRestoreVolumeIdOk added in v0.2.0

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) SetRestoreVolumeId added in v0.2.0

func (o *RestoreVolumeBackupPayload) SetRestoreVolumeId(v *string)

SetRestoreVolumeId sets field value

func (RestoreVolumeBackupPayload) ToMap added in v0.2.0

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

type UpdateBackupSchedulePayload

type UpdateBackupSchedulePayload struct {
	BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
	// REQUIRED
	Enabled *bool `json:"enabled"`
	// Max 255 characters
	// REQUIRED
	Name *string `json:"name"`
	// REQUIRED
	Rrule *string `json:"rrule"`
}

UpdateBackupSchedulePayload struct for UpdateBackupSchedulePayload

func NewUpdateBackupSchedulePayload added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (o *UpdateBackupSchedulePayload) GetBackupProperties() *BackupProperties

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

func (*UpdateBackupSchedulePayload) GetBackupPropertiesOk added in v0.2.0

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 added in v0.2.0

func (o *UpdateBackupSchedulePayload) GetEnabled() *bool

GetEnabled returns the Enabled field value

func (*UpdateBackupSchedulePayload) GetEnabledOk added in v0.2.0

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 added in v0.2.0

func (o *UpdateBackupSchedulePayload) GetName() *string

GetName returns the Name field value

func (*UpdateBackupSchedulePayload) GetNameOk added in v0.2.0

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 added in v0.2.0

func (o *UpdateBackupSchedulePayload) GetRrule() *string

GetRrule returns the Rrule field value

func (*UpdateBackupSchedulePayload) GetRruleOk added in v0.2.0

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 added in v0.2.0

func (o *UpdateBackupSchedulePayload) HasBackupProperties() bool

HasBackupProperties returns a boolean if a field has been set.

func (*UpdateBackupSchedulePayload) SetBackupProperties added in v0.2.0

func (o *UpdateBackupSchedulePayload) SetBackupProperties(v *BackupProperties)

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

func (*UpdateBackupSchedulePayload) SetEnabled added in v0.2.0

func (o *UpdateBackupSchedulePayload) SetEnabled(v *bool)

SetEnabled sets field value

func (*UpdateBackupSchedulePayload) SetName added in v0.2.0

func (o *UpdateBackupSchedulePayload) SetName(v *string)

SetName sets field value

func (*UpdateBackupSchedulePayload) SetRrule added in v0.2.0

func (o *UpdateBackupSchedulePayload) SetRrule(v *string)

SetRrule sets field value

func (UpdateBackupSchedulePayload) ToMap added in v0.2.0

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

Jump to

Keyboard shortcuts

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