Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- func (a *APIClient) CreateBackup(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupRequest
- func (a *APIClient) CreateBackupExecute(ctx context.Context, projectId string, serverId string, region string) (*BackupJob, error)
- func (a *APIClient) CreateBackupSchedule(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupScheduleRequest
- func (a *APIClient) CreateBackupScheduleExecute(ctx context.Context, projectId string, serverId string, region string) (*BackupSchedule, error)
- func (a *APIClient) DeleteBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteBackupRequest
- func (a *APIClient) DeleteBackupExecute(ctx context.Context, projectId string, serverId string, region string, ...) error
- func (a *APIClient) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteBackupScheduleRequest
- func (a *APIClient) DeleteBackupScheduleExecute(ctx context.Context, projectId string, serverId string, region string, ...) error
- func (a *APIClient) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteVolumeBackupRequest
- func (a *APIClient) DeleteVolumeBackupExecute(ctx context.Context, projectId string, serverId string, region string, ...) error
- func (a *APIClient) DisableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiDisableServiceResourceRequest
- func (a *APIClient) DisableServiceResourceExecute(ctx context.Context, projectId string, serverId string, region string) error
- func (a *APIClient) EnableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiEnableServiceResourceRequest
- func (a *APIClient) EnableServiceResourceExecute(ctx context.Context, projectId string, serverId string, region string) error
- func (a *APIClient) GetBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiGetBackupRequest
- func (a *APIClient) GetBackupExecute(ctx context.Context, projectId string, serverId string, region string, ...) (*Backup, error)
- func (a *APIClient) GetBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiGetBackupScheduleRequest
- func (a *APIClient) GetBackupScheduleExecute(ctx context.Context, projectId string, serverId string, region string, ...) (*BackupSchedule, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiGetServiceResourceRequest
- func (a *APIClient) GetServiceResourceExecute(ctx context.Context, projectId string, serverId string, region string) (*GetBackupServiceResponse, error)
- func (a *APIClient) ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest
- func (a *APIClient) ListBackupPoliciesExecute(ctx context.Context, projectId string) (*GetBackupPoliciesResponse, error)
- func (a *APIClient) ListBackupSchedules(ctx context.Context, projectId string, serverId string, region string) ApiListBackupSchedulesRequest
- func (a *APIClient) ListBackupSchedulesExecute(ctx context.Context, projectId string, serverId string, region string) (*GetBackupSchedulesResponse, error)
- func (a *APIClient) ListBackups(ctx context.Context, projectId string, serverId string, region string) ApiListBackupsRequest
- func (a *APIClient) ListBackupsExecute(ctx context.Context, projectId string, serverId string, region string) (*GetBackupsListResponse, error)
- func (a *APIClient) RestoreBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiRestoreBackupRequest
- func (a *APIClient) RestoreBackupExecute(ctx context.Context, projectId string, serverId string, region string, ...) error
- func (a *APIClient) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiRestoreVolumeBackupRequest
- func (a *APIClient) RestoreVolumeBackupExecute(ctx context.Context, projectId string, serverId string, region string, ...) error
- func (a *APIClient) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiUpdateBackupScheduleRequest
- func (a *APIClient) UpdateBackupScheduleExecute(ctx context.Context, projectId string, serverId string, region string, ...) (*BackupSchedule, error)
- type ApiCreateBackupRequest
- type ApiCreateBackupScheduleRequest
- type ApiDeleteBackupRequest
- type ApiDeleteBackupScheduleRequest
- type ApiDeleteVolumeBackupRequest
- type ApiDisableServiceResourceRequest
- type ApiEnableServiceResourceRequest
- type ApiGetBackupRequest
- type ApiGetBackupScheduleRequest
- type ApiGetServiceResourceRequest
- type ApiListBackupPoliciesRequest
- type ApiListBackupSchedulesRequest
- type ApiListBackupsRequest
- type ApiRestoreBackupRequest
- type ApiRestoreVolumeBackupRequest
- type ApiUpdateBackupScheduleRequest
- type Backup
- func (o *Backup) GetCreatedAt() (ret BackupGetCreatedAtRetType)
- func (o *Backup) GetCreatedAtOk() (ret BackupGetCreatedAtRetType, ok bool)
- func (o *Backup) GetExpireAt() (ret BackupGetExpireAtRetType)
- func (o *Backup) GetExpireAtOk() (ret BackupGetExpireAtRetType, ok bool)
- func (o *Backup) GetId() (ret BackupGetIdRetType)
- func (o *Backup) GetIdOk() (ret BackupGetIdRetType, ok bool)
- func (o *Backup) GetLastRestoredAt() (res BackupGetLastRestoredAtRetType)
- func (o *Backup) GetLastRestoredAtOk() (ret BackupGetLastRestoredAtRetType, ok bool)
- func (o *Backup) GetName() (ret BackupGetNameRetType)
- func (o *Backup) GetNameOk() (ret BackupGetNameRetType, ok bool)
- func (o *Backup) GetSize() (res BackupGetSizeRetType)
- func (o *Backup) GetSizeOk() (ret BackupGetSizeRetType, ok bool)
- func (o *Backup) GetStatus() (ret BackupGetStatusRetType)
- func (o *Backup) GetStatusOk() (ret BackupGetStatusRetType, ok bool)
- func (o *Backup) GetVolumeBackups() (res BackupGetVolumeBackupsRetType)
- func (o *Backup) GetVolumeBackupsOk() (ret BackupGetVolumeBackupsRetType, ok bool)
- func (o *Backup) HasLastRestoredAt() bool
- func (o *Backup) HasSize() bool
- func (o *Backup) HasVolumeBackups() bool
- func (o *Backup) SetCreatedAt(v BackupGetCreatedAtRetType)
- func (o *Backup) SetExpireAt(v BackupGetExpireAtRetType)
- func (o *Backup) SetId(v BackupGetIdRetType)
- func (o *Backup) SetLastRestoredAt(v BackupGetLastRestoredAtRetType)
- func (o *Backup) SetName(v BackupGetNameRetType)
- func (o *Backup) SetSize(v BackupGetSizeRetType)
- func (o *Backup) SetStatus(v BackupGetStatusRetType)
- func (o *Backup) SetVolumeBackups(v BackupGetVolumeBackupsRetType)
- func (o Backup) ToMap() (map[string]interface{}, error)
- type BackupGetCreatedAtArgType
- type BackupGetCreatedAtAttributeType
- type BackupGetCreatedAtRetType
- type BackupGetExpireAtArgType
- type BackupGetExpireAtAttributeType
- type BackupGetExpireAtRetType
- type BackupGetIdArgType
- type BackupGetIdAttributeType
- type BackupGetIdRetType
- type BackupGetLastRestoredAtArgType
- type BackupGetLastRestoredAtAttributeType
- type BackupGetLastRestoredAtRetType
- type BackupGetNameArgType
- type BackupGetNameAttributeType
- type BackupGetNameRetType
- type BackupGetSizeArgType
- type BackupGetSizeAttributeType
- type BackupGetSizeRetType
- type BackupGetStatusArgType
- type BackupGetStatusAttributeType
- type BackupGetStatusRetType
- type BackupGetVolumeBackupsArgType
- type BackupGetVolumeBackupsAttributeType
- type BackupGetVolumeBackupsRetType
- type BackupJob
- type BackupJobGetIdArgType
- type BackupJobGetIdAttributeType
- type BackupJobGetIdRetType
- type BackupPolicy
- func (o *BackupPolicy) GetBackupProperties() (res BackupPolicyGetBackupPropertiesRetType)
- func (o *BackupPolicy) GetBackupPropertiesOk() (ret BackupPolicyGetBackupPropertiesRetType, ok bool)
- func (o *BackupPolicy) GetDefault() (res BackupPolicygetDefaultRetType)
- func (o *BackupPolicy) GetDefaultOk() (ret BackupPolicygetDefaultRetType, ok bool)
- func (o *BackupPolicy) GetDescription() (res BackupPolicyGetDescriptionRetType)
- func (o *BackupPolicy) GetDescriptionOk() (ret BackupPolicyGetDescriptionRetType, ok bool)
- func (o *BackupPolicy) GetEnabled() (res BackupPolicygetEnabledRetType)
- func (o *BackupPolicy) GetEnabledOk() (ret BackupPolicygetEnabledRetType, ok bool)
- func (o *BackupPolicy) GetId() (res BackupPolicyGetIdRetType)
- func (o *BackupPolicy) GetIdOk() (ret BackupPolicyGetIdRetType, ok bool)
- func (o *BackupPolicy) GetName() (res BackupPolicyGetNameRetType)
- func (o *BackupPolicy) GetNameOk() (ret BackupPolicyGetNameRetType, ok bool)
- func (o *BackupPolicy) GetRrule() (res BackupPolicyGetRruleRetType)
- func (o *BackupPolicy) GetRruleOk() (ret BackupPolicyGetRruleRetType, ok bool)
- func (o *BackupPolicy) HasBackupProperties() bool
- func (o *BackupPolicy) HasDefault() bool
- func (o *BackupPolicy) HasDescription() bool
- func (o *BackupPolicy) HasEnabled() bool
- func (o *BackupPolicy) HasId() bool
- func (o *BackupPolicy) HasName() bool
- func (o *BackupPolicy) HasRrule() bool
- func (o *BackupPolicy) SetBackupProperties(v BackupPolicyGetBackupPropertiesRetType)
- func (o *BackupPolicy) SetDefault(v BackupPolicygetDefaultRetType)
- func (o *BackupPolicy) SetDescription(v BackupPolicyGetDescriptionRetType)
- func (o *BackupPolicy) SetEnabled(v BackupPolicygetEnabledRetType)
- func (o *BackupPolicy) SetId(v BackupPolicyGetIdRetType)
- func (o *BackupPolicy) SetName(v BackupPolicyGetNameRetType)
- func (o *BackupPolicy) SetRrule(v BackupPolicyGetRruleRetType)
- func (o BackupPolicy) ToMap() (map[string]interface{}, error)
- type BackupPolicyBackupProperties
- func (o *BackupPolicyBackupProperties) GetName() (res BackupPolicyBackupPropertiesGetNameRetType)
- func (o *BackupPolicyBackupProperties) GetNameOk() (ret BackupPolicyBackupPropertiesGetNameRetType, ok bool)
- func (o *BackupPolicyBackupProperties) GetRetentionPeriod() (res BackupPolicyBackupPropertiesGetRetentionPeriodRetType)
- func (o *BackupPolicyBackupProperties) GetRetentionPeriodOk() (ret BackupPolicyBackupPropertiesGetRetentionPeriodRetType, ok bool)
- func (o *BackupPolicyBackupProperties) HasName() bool
- func (o *BackupPolicyBackupProperties) HasRetentionPeriod() bool
- func (o *BackupPolicyBackupProperties) SetName(v BackupPolicyBackupPropertiesGetNameRetType)
- func (o *BackupPolicyBackupProperties) SetRetentionPeriod(v BackupPolicyBackupPropertiesGetRetentionPeriodRetType)
- func (o BackupPolicyBackupProperties) ToMap() (map[string]interface{}, error)
- type BackupPolicyBackupPropertiesGetNameArgType
- type BackupPolicyBackupPropertiesGetNameAttributeType
- type BackupPolicyBackupPropertiesGetNameRetType
- type BackupPolicyBackupPropertiesGetRetentionPeriodArgType
- type BackupPolicyBackupPropertiesGetRetentionPeriodAttributeType
- type BackupPolicyBackupPropertiesGetRetentionPeriodRetType
- type BackupPolicyGetBackupPropertiesArgType
- type BackupPolicyGetBackupPropertiesAttributeType
- type BackupPolicyGetBackupPropertiesRetType
- type BackupPolicyGetDescriptionArgType
- type BackupPolicyGetDescriptionAttributeType
- type BackupPolicyGetDescriptionRetType
- type BackupPolicyGetIdArgType
- type BackupPolicyGetIdAttributeType
- type BackupPolicyGetIdRetType
- type BackupPolicyGetNameArgType
- type BackupPolicyGetNameAttributeType
- type BackupPolicyGetNameRetType
- type BackupPolicyGetRruleArgType
- type BackupPolicyGetRruleAttributeType
- type BackupPolicyGetRruleRetType
- type BackupPolicygetDefaultArgType
- type BackupPolicygetDefaultAttributeType
- type BackupPolicygetDefaultRetType
- type BackupPolicygetEnabledArgType
- type BackupPolicygetEnabledAttributeType
- type BackupPolicygetEnabledRetType
- type BackupProperties
- func (o *BackupProperties) GetName() (ret BackupPropertiesGetNameRetType)
- func (o *BackupProperties) GetNameOk() (ret BackupPropertiesGetNameRetType, ok bool)
- func (o *BackupProperties) GetRetentionPeriod() (ret BackupPropertiesGetRetentionPeriodRetType)
- func (o *BackupProperties) GetRetentionPeriodOk() (ret BackupPropertiesGetRetentionPeriodRetType, ok bool)
- func (o *BackupProperties) GetVolumeIds() (res BackupPropertiesGetVolumeIdsRetType)
- func (o *BackupProperties) GetVolumeIdsOk() (ret BackupPropertiesGetVolumeIdsRetType, ok bool)
- func (o *BackupProperties) HasVolumeIds() bool
- func (o *BackupProperties) SetName(v BackupPropertiesGetNameRetType)
- func (o *BackupProperties) SetRetentionPeriod(v BackupPropertiesGetRetentionPeriodRetType)
- func (o *BackupProperties) SetVolumeIds(v BackupPropertiesGetVolumeIdsRetType)
- func (o BackupProperties) ToMap() (map[string]interface{}, error)
- type BackupPropertiesGetNameArgType
- type BackupPropertiesGetNameAttributeType
- type BackupPropertiesGetNameRetType
- type BackupPropertiesGetRetentionPeriodArgType
- type BackupPropertiesGetRetentionPeriodAttributeType
- type BackupPropertiesGetRetentionPeriodRetType
- type BackupPropertiesGetVolumeIdsArgType
- type BackupPropertiesGetVolumeIdsAttributeType
- type BackupPropertiesGetVolumeIdsRetType
- type BackupSchedule
- func (o *BackupSchedule) GetBackupProperties() (res BackupScheduleGetBackupPropertiesRetType)
- func (o *BackupSchedule) GetBackupPropertiesOk() (ret BackupScheduleGetBackupPropertiesRetType, ok bool)
- func (o *BackupSchedule) GetEnabled() (ret BackupSchedulegetEnabledRetType)
- func (o *BackupSchedule) GetEnabledOk() (ret BackupSchedulegetEnabledRetType, ok bool)
- func (o *BackupSchedule) GetId() (ret BackupScheduleGetIdRetType)
- func (o *BackupSchedule) GetIdOk() (ret BackupScheduleGetIdRetType, ok bool)
- func (o *BackupSchedule) GetName() (ret BackupScheduleGetNameRetType)
- func (o *BackupSchedule) GetNameOk() (ret BackupScheduleGetNameRetType, ok bool)
- func (o *BackupSchedule) GetRrule() (ret BackupScheduleGetRruleRetType)
- func (o *BackupSchedule) GetRruleOk() (ret BackupScheduleGetRruleRetType, ok bool)
- func (o *BackupSchedule) HasBackupProperties() bool
- func (o *BackupSchedule) SetBackupProperties(v BackupScheduleGetBackupPropertiesRetType)
- func (o *BackupSchedule) SetEnabled(v BackupSchedulegetEnabledRetType)
- func (o *BackupSchedule) SetId(v BackupScheduleGetIdRetType)
- func (o *BackupSchedule) SetName(v BackupScheduleGetNameRetType)
- func (o *BackupSchedule) SetRrule(v BackupScheduleGetRruleRetType)
- func (o BackupSchedule) ToMap() (map[string]interface{}, error)
- type BackupScheduleGetBackupPropertiesArgType
- type BackupScheduleGetBackupPropertiesAttributeType
- type BackupScheduleGetBackupPropertiesRetType
- type BackupScheduleGetIdArgType
- type BackupScheduleGetIdAttributeType
- type BackupScheduleGetIdRetType
- type BackupScheduleGetNameArgType
- type BackupScheduleGetNameAttributeType
- type BackupScheduleGetNameRetType
- type BackupScheduleGetRruleArgType
- type BackupScheduleGetRruleAttributeType
- type BackupScheduleGetRruleRetType
- type BackupSchedulegetEnabledArgType
- type BackupSchedulegetEnabledAttributeType
- type BackupSchedulegetEnabledRetType
- type BackupStatus
- type BackupVolumeBackupsInner
- func (o *BackupVolumeBackupsInner) GetId() (res BackupVolumeBackupsInnerGetIdRetType)
- func (o *BackupVolumeBackupsInner) GetIdOk() (ret BackupVolumeBackupsInnerGetIdRetType, ok bool)
- func (o *BackupVolumeBackupsInner) GetLastRestoredAt() (res BackupVolumeBackupsInnerGetLastRestoredAtRetType)
- func (o *BackupVolumeBackupsInner) GetLastRestoredAtOk() (ret BackupVolumeBackupsInnerGetLastRestoredAtRetType, ok bool)
- func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeId() (res BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType)
- func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk() (ret BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType, ok bool)
- func (o *BackupVolumeBackupsInner) GetSize() (res BackupVolumeBackupsInnerGetSizeRetType)
- func (o *BackupVolumeBackupsInner) GetSizeOk() (ret BackupVolumeBackupsInnerGetSizeRetType, ok bool)
- func (o *BackupVolumeBackupsInner) GetStatus() (res BackupVolumeBackupsInnerGetStatusRetType)
- func (o *BackupVolumeBackupsInner) GetStatusOk() (ret BackupVolumeBackupsInnerGetStatusRetType, ok bool)
- func (o *BackupVolumeBackupsInner) GetVolumeId() (res BackupVolumeBackupsInnerGetVolumeIdRetType)
- func (o *BackupVolumeBackupsInner) GetVolumeIdOk() (ret BackupVolumeBackupsInnerGetVolumeIdRetType, ok bool)
- func (o *BackupVolumeBackupsInner) HasId() bool
- func (o *BackupVolumeBackupsInner) HasLastRestoredAt() bool
- func (o *BackupVolumeBackupsInner) HasLastRestoredVolumeId() bool
- func (o *BackupVolumeBackupsInner) HasSize() bool
- func (o *BackupVolumeBackupsInner) HasStatus() bool
- func (o *BackupVolumeBackupsInner) HasVolumeId() bool
- func (o *BackupVolumeBackupsInner) SetId(v BackupVolumeBackupsInnerGetIdRetType)
- func (o *BackupVolumeBackupsInner) SetLastRestoredAt(v BackupVolumeBackupsInnerGetLastRestoredAtRetType)
- func (o *BackupVolumeBackupsInner) SetLastRestoredVolumeId(v BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType)
- func (o *BackupVolumeBackupsInner) SetSize(v BackupVolumeBackupsInnerGetSizeRetType)
- func (o *BackupVolumeBackupsInner) SetStatus(v BackupVolumeBackupsInnerGetStatusRetType)
- func (o *BackupVolumeBackupsInner) SetVolumeId(v BackupVolumeBackupsInnerGetVolumeIdRetType)
- func (o BackupVolumeBackupsInner) ToMap() (map[string]interface{}, error)
- type BackupVolumeBackupsInnerGetIdArgType
- type BackupVolumeBackupsInnerGetIdAttributeType
- type BackupVolumeBackupsInnerGetIdRetType
- type BackupVolumeBackupsInnerGetLastRestoredAtArgType
- type BackupVolumeBackupsInnerGetLastRestoredAtAttributeType
- type BackupVolumeBackupsInnerGetLastRestoredAtRetType
- type BackupVolumeBackupsInnerGetLastRestoredVolumeIdArgType
- type BackupVolumeBackupsInnerGetLastRestoredVolumeIdAttributeType
- type BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType
- type BackupVolumeBackupsInnerGetSizeArgType
- type BackupVolumeBackupsInnerGetSizeAttributeType
- type BackupVolumeBackupsInnerGetSizeRetType
- type BackupVolumeBackupsInnerGetStatusArgType
- type BackupVolumeBackupsInnerGetStatusAttributeType
- type BackupVolumeBackupsInnerGetStatusRetType
- type BackupVolumeBackupsInnerGetVolumeIdArgType
- type BackupVolumeBackupsInnerGetVolumeIdAttributeType
- type BackupVolumeBackupsInnerGetVolumeIdRetType
- type BackupVolumeBackupsInnerStatus
- type CreateBackupPayload
- func (o *CreateBackupPayload) GetName() (ret CreateBackupPayloadGetNameRetType)
- func (o *CreateBackupPayload) GetNameOk() (ret CreateBackupPayloadGetNameRetType, ok bool)
- func (o *CreateBackupPayload) GetRetentionPeriod() (ret CreateBackupPayloadGetRetentionPeriodRetType)
- func (o *CreateBackupPayload) GetRetentionPeriodOk() (ret CreateBackupPayloadGetRetentionPeriodRetType, ok bool)
- func (o *CreateBackupPayload) GetVolumeIds() (res CreateBackupPayloadGetVolumeIdsRetType)
- func (o *CreateBackupPayload) GetVolumeIdsOk() (ret CreateBackupPayloadGetVolumeIdsRetType, ok bool)
- func (o *CreateBackupPayload) HasVolumeIds() bool
- func (o *CreateBackupPayload) SetName(v CreateBackupPayloadGetNameRetType)
- func (o *CreateBackupPayload) SetRetentionPeriod(v CreateBackupPayloadGetRetentionPeriodRetType)
- func (o *CreateBackupPayload) SetVolumeIds(v CreateBackupPayloadGetVolumeIdsRetType)
- func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)
- type CreateBackupPayloadGetNameArgType
- type CreateBackupPayloadGetNameAttributeType
- type CreateBackupPayloadGetNameRetType
- type CreateBackupPayloadGetRetentionPeriodArgType
- type CreateBackupPayloadGetRetentionPeriodAttributeType
- type CreateBackupPayloadGetRetentionPeriodRetType
- type CreateBackupPayloadGetVolumeIdsArgType
- type CreateBackupPayloadGetVolumeIdsAttributeType
- type CreateBackupPayloadGetVolumeIdsRetType
- type CreateBackupSchedulePayload
- func (o *CreateBackupSchedulePayload) GetBackupProperties() (res CreateBackupSchedulePayloadGetBackupPropertiesRetType)
- func (o *CreateBackupSchedulePayload) GetBackupPropertiesOk() (ret CreateBackupSchedulePayloadGetBackupPropertiesRetType, ok bool)
- func (o *CreateBackupSchedulePayload) GetEnabled() (ret CreateBackupSchedulePayloadgetEnabledRetType)
- func (o *CreateBackupSchedulePayload) GetEnabledOk() (ret CreateBackupSchedulePayloadgetEnabledRetType, ok bool)
- func (o *CreateBackupSchedulePayload) GetName() (ret CreateBackupSchedulePayloadGetNameRetType)
- func (o *CreateBackupSchedulePayload) GetNameOk() (ret CreateBackupSchedulePayloadGetNameRetType, ok bool)
- func (o *CreateBackupSchedulePayload) GetRrule() (ret CreateBackupSchedulePayloadGetRruleRetType)
- func (o *CreateBackupSchedulePayload) GetRruleOk() (ret CreateBackupSchedulePayloadGetRruleRetType, ok bool)
- func (o *CreateBackupSchedulePayload) HasBackupProperties() bool
- func (o *CreateBackupSchedulePayload) SetBackupProperties(v CreateBackupSchedulePayloadGetBackupPropertiesRetType)
- func (o *CreateBackupSchedulePayload) SetEnabled(v CreateBackupSchedulePayloadgetEnabledRetType)
- func (o *CreateBackupSchedulePayload) SetName(v CreateBackupSchedulePayloadGetNameRetType)
- func (o *CreateBackupSchedulePayload) SetRrule(v CreateBackupSchedulePayloadGetRruleRetType)
- func (o CreateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
- type CreateBackupSchedulePayloadGetBackupPropertiesArgType
- type CreateBackupSchedulePayloadGetBackupPropertiesAttributeType
- type CreateBackupSchedulePayloadGetBackupPropertiesRetType
- type CreateBackupSchedulePayloadGetNameArgType
- type CreateBackupSchedulePayloadGetNameAttributeType
- type CreateBackupSchedulePayloadGetNameRetType
- type CreateBackupSchedulePayloadGetRruleArgType
- type CreateBackupSchedulePayloadGetRruleAttributeType
- type CreateBackupSchedulePayloadGetRruleRetType
- type CreateBackupSchedulePayloadgetEnabledArgType
- type CreateBackupSchedulePayloadgetEnabledAttributeType
- type CreateBackupSchedulePayloadgetEnabledRetType
- type DefaultApiService
- type EnableServiceResourcePayload
- func (o *EnableServiceResourcePayload) GetBackupPolicyId() (res EnableServiceResourcePayloadGetBackupPolicyIdRetType)
- func (o *EnableServiceResourcePayload) GetBackupPolicyIdOk() (ret EnableServiceResourcePayloadGetBackupPolicyIdRetType, ok bool)
- func (o *EnableServiceResourcePayload) HasBackupPolicyId() bool
- func (o *EnableServiceResourcePayload) SetBackupPolicyId(v EnableServiceResourcePayloadGetBackupPolicyIdRetType)
- func (o EnableServiceResourcePayload) ToMap() (map[string]interface{}, error)
- type EnableServiceResourcePayloadGetBackupPolicyIdArgType
- type EnableServiceResourcePayloadGetBackupPolicyIdAttributeType
- type EnableServiceResourcePayloadGetBackupPolicyIdRetType
- type ErrorResponse
- func (o *ErrorResponse) GetMessage() (ret ErrorResponseGetMessageRetType)
- func (o *ErrorResponse) GetMessageOk() (ret ErrorResponseGetMessageRetType, ok bool)
- func (o *ErrorResponse) GetStatus() (ret ErrorResponseGetStatusRetType)
- func (o *ErrorResponse) GetStatusOk() (ret ErrorResponseGetStatusRetType, ok bool)
- func (o *ErrorResponse) SetMessage(v ErrorResponseGetMessageRetType)
- func (o *ErrorResponse) SetStatus(v ErrorResponseGetStatusRetType)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type ErrorResponseGetMessageArgType
- type ErrorResponseGetMessageAttributeType
- type ErrorResponseGetMessageRetType
- type ErrorResponseGetStatusArgType
- type ErrorResponseGetStatusAttributeType
- type ErrorResponseGetStatusRetType
- type GetBackupPoliciesResponse
- func (o *GetBackupPoliciesResponse) GetItems() (res GetBackupPoliciesResponseGetItemsRetType)
- func (o *GetBackupPoliciesResponse) GetItemsOk() (ret GetBackupPoliciesResponseGetItemsRetType, ok bool)
- func (o *GetBackupPoliciesResponse) HasItems() bool
- func (o *GetBackupPoliciesResponse) SetItems(v GetBackupPoliciesResponseGetItemsRetType)
- func (o GetBackupPoliciesResponse) ToMap() (map[string]interface{}, error)
- type GetBackupPoliciesResponseGetItemsArgType
- type GetBackupPoliciesResponseGetItemsAttributeType
- type GetBackupPoliciesResponseGetItemsRetType
- type GetBackupSchedulesResponse
- func (o *GetBackupSchedulesResponse) GetItems() (res GetBackupSchedulesResponseGetItemsRetType)
- func (o *GetBackupSchedulesResponse) GetItemsOk() (ret GetBackupSchedulesResponseGetItemsRetType, ok bool)
- func (o *GetBackupSchedulesResponse) HasItems() bool
- func (o *GetBackupSchedulesResponse) SetItems(v GetBackupSchedulesResponseGetItemsRetType)
- func (o GetBackupSchedulesResponse) ToMap() (map[string]interface{}, error)
- type GetBackupSchedulesResponseGetItemsArgType
- type GetBackupSchedulesResponseGetItemsAttributeType
- type GetBackupSchedulesResponseGetItemsRetType
- type GetBackupServiceResponse
- func (o *GetBackupServiceResponse) GetEnabled() (res GetBackupServiceResponsegetEnabledRetType)
- func (o *GetBackupServiceResponse) GetEnabledOk() (ret GetBackupServiceResponsegetEnabledRetType, ok bool)
- func (o *GetBackupServiceResponse) HasEnabled() bool
- func (o *GetBackupServiceResponse) SetEnabled(v GetBackupServiceResponsegetEnabledRetType)
- func (o GetBackupServiceResponse) ToMap() (map[string]interface{}, error)
- type GetBackupServiceResponsegetEnabledArgType
- type GetBackupServiceResponsegetEnabledAttributeType
- type GetBackupServiceResponsegetEnabledRetType
- type GetBackupsListResponse
- func (o *GetBackupsListResponse) GetItems() (res GetBackupsListResponseGetItemsRetType)
- func (o *GetBackupsListResponse) GetItemsOk() (ret GetBackupsListResponseGetItemsRetType, ok bool)
- func (o *GetBackupsListResponse) HasItems() bool
- func (o *GetBackupsListResponse) SetItems(v GetBackupsListResponseGetItemsRetType)
- func (o GetBackupsListResponse) ToMap() (map[string]interface{}, error)
- type GetBackupsListResponseGetItemsArgType
- type GetBackupsListResponseGetItemsAttributeType
- type GetBackupsListResponseGetItemsRetType
- type MappedNullable
- type NullableBackup
- type NullableBackupJob
- type NullableBackupPolicy
- func (v NullableBackupPolicy) Get() *BackupPolicy
- func (v NullableBackupPolicy) IsSet() bool
- func (v NullableBackupPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableBackupPolicy) Set(val *BackupPolicy)
- func (v *NullableBackupPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableBackupPolicy) Unset()
- type NullableBackupPolicyBackupProperties
- func (v NullableBackupPolicyBackupProperties) Get() *BackupPolicyBackupProperties
- func (v NullableBackupPolicyBackupProperties) IsSet() bool
- func (v NullableBackupPolicyBackupProperties) MarshalJSON() ([]byte, error)
- func (v *NullableBackupPolicyBackupProperties) Set(val *BackupPolicyBackupProperties)
- func (v *NullableBackupPolicyBackupProperties) UnmarshalJSON(src []byte) error
- func (v *NullableBackupPolicyBackupProperties) Unset()
- type NullableBackupProperties
- func (v NullableBackupProperties) Get() *BackupProperties
- func (v NullableBackupProperties) IsSet() bool
- func (v NullableBackupProperties) MarshalJSON() ([]byte, error)
- func (v *NullableBackupProperties) Set(val *BackupProperties)
- func (v *NullableBackupProperties) UnmarshalJSON(src []byte) error
- func (v *NullableBackupProperties) Unset()
- type NullableBackupSchedule
- func (v NullableBackupSchedule) Get() *BackupSchedule
- func (v NullableBackupSchedule) IsSet() bool
- func (v NullableBackupSchedule) MarshalJSON() ([]byte, error)
- func (v *NullableBackupSchedule) Set(val *BackupSchedule)
- func (v *NullableBackupSchedule) UnmarshalJSON(src []byte) error
- func (v *NullableBackupSchedule) Unset()
- type NullableBackupStatus
- func (v NullableBackupStatus) Get() *BackupStatus
- func (v NullableBackupStatus) IsSet() bool
- func (v NullableBackupStatus) MarshalJSON() ([]byte, error)
- func (v *NullableBackupStatus) Set(val *BackupStatus)
- func (v *NullableBackupStatus) UnmarshalJSON(src []byte) error
- func (v *NullableBackupStatus) Unset()
- type NullableBackupVolumeBackupsInner
- func (v NullableBackupVolumeBackupsInner) Get() *BackupVolumeBackupsInner
- func (v NullableBackupVolumeBackupsInner) IsSet() bool
- func (v NullableBackupVolumeBackupsInner) MarshalJSON() ([]byte, error)
- func (v *NullableBackupVolumeBackupsInner) Set(val *BackupVolumeBackupsInner)
- func (v *NullableBackupVolumeBackupsInner) UnmarshalJSON(src []byte) error
- func (v *NullableBackupVolumeBackupsInner) Unset()
- type NullableBackupVolumeBackupsInnerStatus
- func (v NullableBackupVolumeBackupsInnerStatus) Get() *BackupVolumeBackupsInnerStatus
- func (v NullableBackupVolumeBackupsInnerStatus) IsSet() bool
- func (v NullableBackupVolumeBackupsInnerStatus) MarshalJSON() ([]byte, error)
- func (v *NullableBackupVolumeBackupsInnerStatus) Set(val *BackupVolumeBackupsInnerStatus)
- func (v *NullableBackupVolumeBackupsInnerStatus) UnmarshalJSON(src []byte) error
- func (v *NullableBackupVolumeBackupsInnerStatus) Unset()
- type NullableBool
- type NullableCreateBackupPayload
- func (v NullableCreateBackupPayload) Get() *CreateBackupPayload
- func (v NullableCreateBackupPayload) IsSet() bool
- func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateBackupPayload) Set(val *CreateBackupPayload)
- func (v *NullableCreateBackupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateBackupPayload) Unset()
- type NullableCreateBackupSchedulePayload
- func (v NullableCreateBackupSchedulePayload) Get() *CreateBackupSchedulePayload
- func (v NullableCreateBackupSchedulePayload) IsSet() bool
- func (v NullableCreateBackupSchedulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateBackupSchedulePayload) Set(val *CreateBackupSchedulePayload)
- func (v *NullableCreateBackupSchedulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateBackupSchedulePayload) Unset()
- type NullableEnableServiceResourcePayload
- func (v NullableEnableServiceResourcePayload) Get() *EnableServiceResourcePayload
- func (v NullableEnableServiceResourcePayload) IsSet() bool
- func (v NullableEnableServiceResourcePayload) MarshalJSON() ([]byte, error)
- func (v *NullableEnableServiceResourcePayload) Set(val *EnableServiceResourcePayload)
- func (v *NullableEnableServiceResourcePayload) UnmarshalJSON(src []byte) error
- func (v *NullableEnableServiceResourcePayload) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetBackupPoliciesResponse
- func (v NullableGetBackupPoliciesResponse) Get() *GetBackupPoliciesResponse
- func (v NullableGetBackupPoliciesResponse) IsSet() bool
- func (v NullableGetBackupPoliciesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetBackupPoliciesResponse) Set(val *GetBackupPoliciesResponse)
- func (v *NullableGetBackupPoliciesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetBackupPoliciesResponse) Unset()
- type NullableGetBackupSchedulesResponse
- func (v NullableGetBackupSchedulesResponse) Get() *GetBackupSchedulesResponse
- func (v NullableGetBackupSchedulesResponse) IsSet() bool
- func (v NullableGetBackupSchedulesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetBackupSchedulesResponse) Set(val *GetBackupSchedulesResponse)
- func (v *NullableGetBackupSchedulesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetBackupSchedulesResponse) Unset()
- type NullableGetBackupServiceResponse
- func (v NullableGetBackupServiceResponse) Get() *GetBackupServiceResponse
- func (v NullableGetBackupServiceResponse) IsSet() bool
- func (v NullableGetBackupServiceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetBackupServiceResponse) Set(val *GetBackupServiceResponse)
- func (v *NullableGetBackupServiceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetBackupServiceResponse) Unset()
- type NullableGetBackupsListResponse
- func (v NullableGetBackupsListResponse) Get() *GetBackupsListResponse
- func (v NullableGetBackupsListResponse) IsSet() bool
- func (v NullableGetBackupsListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetBackupsListResponse) Set(val *GetBackupsListResponse)
- func (v *NullableGetBackupsListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetBackupsListResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableRestoreBackupPayload
- func (v NullableRestoreBackupPayload) Get() *RestoreBackupPayload
- func (v NullableRestoreBackupPayload) IsSet() bool
- func (v NullableRestoreBackupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreBackupPayload) Set(val *RestoreBackupPayload)
- func (v *NullableRestoreBackupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreBackupPayload) Unset()
- type NullableRestoreVolumeBackupPayload
- func (v NullableRestoreVolumeBackupPayload) Get() *RestoreVolumeBackupPayload
- func (v NullableRestoreVolumeBackupPayload) IsSet() bool
- func (v NullableRestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreVolumeBackupPayload) Set(val *RestoreVolumeBackupPayload)
- func (v *NullableRestoreVolumeBackupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreVolumeBackupPayload) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateBackupSchedulePayload
- func (v NullableUpdateBackupSchedulePayload) Get() *UpdateBackupSchedulePayload
- func (v NullableUpdateBackupSchedulePayload) IsSet() bool
- func (v NullableUpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateBackupSchedulePayload) Set(val *UpdateBackupSchedulePayload)
- func (v *NullableUpdateBackupSchedulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateBackupSchedulePayload) Unset()
- type NullableValue
- type RestoreBackupPayload
- func (o *RestoreBackupPayload) GetStartServerAfterRestore() (ret RestoreBackupPayloadgetStartServerAfterRestoreRetType)
- func (o *RestoreBackupPayload) GetStartServerAfterRestoreOk() (ret RestoreBackupPayloadgetStartServerAfterRestoreRetType, ok bool)
- func (o *RestoreBackupPayload) GetVolumeIds() (res RestoreBackupPayloadGetVolumeIdsRetType)
- func (o *RestoreBackupPayload) GetVolumeIdsOk() (ret RestoreBackupPayloadGetVolumeIdsRetType, ok bool)
- func (o *RestoreBackupPayload) HasVolumeIds() bool
- func (o *RestoreBackupPayload) SetStartServerAfterRestore(v RestoreBackupPayloadgetStartServerAfterRestoreRetType)
- func (o *RestoreBackupPayload) SetVolumeIds(v RestoreBackupPayloadGetVolumeIdsRetType)
- func (o RestoreBackupPayload) ToMap() (map[string]interface{}, error)
- type RestoreBackupPayloadGetVolumeIdsArgType
- type RestoreBackupPayloadGetVolumeIdsAttributeType
- type RestoreBackupPayloadGetVolumeIdsRetType
- type RestoreBackupPayloadgetStartServerAfterRestoreArgType
- type RestoreBackupPayloadgetStartServerAfterRestoreAttributeType
- type RestoreBackupPayloadgetStartServerAfterRestoreRetType
- type RestoreVolumeBackupPayload
- func (o *RestoreVolumeBackupPayload) GetRestoreVolumeId() (ret RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType)
- func (o *RestoreVolumeBackupPayload) GetRestoreVolumeIdOk() (ret RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType, ok bool)
- func (o *RestoreVolumeBackupPayload) SetRestoreVolumeId(v RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType)
- func (o RestoreVolumeBackupPayload) ToMap() (map[string]interface{}, error)
- type RestoreVolumeBackupPayloadGetRestoreVolumeIdArgType
- type RestoreVolumeBackupPayloadGetRestoreVolumeIdAttributeType
- type RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType
- type UpdateBackupSchedulePayload
- func (o *UpdateBackupSchedulePayload) GetBackupProperties() (res UpdateBackupSchedulePayloadGetBackupPropertiesRetType)
- func (o *UpdateBackupSchedulePayload) GetBackupPropertiesOk() (ret UpdateBackupSchedulePayloadGetBackupPropertiesRetType, ok bool)
- func (o *UpdateBackupSchedulePayload) GetEnabled() (ret UpdateBackupSchedulePayloadgetEnabledRetType)
- func (o *UpdateBackupSchedulePayload) GetEnabledOk() (ret UpdateBackupSchedulePayloadgetEnabledRetType, ok bool)
- func (o *UpdateBackupSchedulePayload) GetName() (ret UpdateBackupSchedulePayloadGetNameRetType)
- func (o *UpdateBackupSchedulePayload) GetNameOk() (ret UpdateBackupSchedulePayloadGetNameRetType, ok bool)
- func (o *UpdateBackupSchedulePayload) GetRrule() (ret UpdateBackupSchedulePayloadGetRruleRetType)
- func (o *UpdateBackupSchedulePayload) GetRruleOk() (ret UpdateBackupSchedulePayloadGetRruleRetType, ok bool)
- func (o *UpdateBackupSchedulePayload) HasBackupProperties() bool
- func (o *UpdateBackupSchedulePayload) SetBackupProperties(v UpdateBackupSchedulePayloadGetBackupPropertiesRetType)
- func (o *UpdateBackupSchedulePayload) SetEnabled(v UpdateBackupSchedulePayloadgetEnabledRetType)
- func (o *UpdateBackupSchedulePayload) SetName(v UpdateBackupSchedulePayloadGetNameRetType)
- func (o *UpdateBackupSchedulePayload) SetRrule(v UpdateBackupSchedulePayloadGetRruleRetType)
- func (o UpdateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
- type UpdateBackupSchedulePayloadGetBackupPropertiesArgType
- type UpdateBackupSchedulePayloadGetBackupPropertiesAttributeType
- type UpdateBackupSchedulePayloadGetBackupPropertiesRetType
- type UpdateBackupSchedulePayloadGetNameArgType
- type UpdateBackupSchedulePayloadGetNameAttributeType
- type UpdateBackupSchedulePayloadGetNameRetType
- type UpdateBackupSchedulePayloadGetRruleArgType
- type UpdateBackupSchedulePayloadGetRruleAttributeType
- type UpdateBackupSchedulePayloadGetRruleRetType
- type UpdateBackupSchedulePayloadgetEnabledArgType
- type UpdateBackupSchedulePayloadgetEnabledAttributeType
- type UpdateBackupSchedulePayloadgetEnabledRetType
Constants ¶
This section is empty.
Variables ¶
var AllowedBackupStatusEnumValues = []BackupStatus{
"creating",
"available",
"deleting",
"error",
"restoring",
"error_deleting",
"backing up",
"inconsistent",
"error-creating",
}
All allowed values of Backup enum
var AllowedBackupVolumeBackupsInnerStatusEnumValues = []BackupVolumeBackupsInnerStatus{
"creating",
"available",
"deleting",
"error",
"restoring",
"error_deleting",
"error-creating",
}
All allowed values of BackupVolumeBackupsInner enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Server Backup Management API API v2.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, region 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 @param region region @return ApiCreateBackupRequest
func (*APIClient) CreateBackupExecute ¶
func (*APIClient) CreateBackupSchedule ¶
func (a *APIClient) CreateBackupSchedule(ctx context.Context, projectId string, serverId string, region 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 @param region region @return ApiCreateBackupScheduleRequest
func (*APIClient) CreateBackupScheduleExecute ¶
func (*APIClient) DeleteBackup ¶
func (a *APIClient) DeleteBackup(ctx context.Context, projectId string, serverId string, region 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 region region @param backupId id of the backup @return ApiDeleteBackupRequest
func (*APIClient) DeleteBackupExecute ¶
func (*APIClient) DeleteBackupSchedule ¶
func (a *APIClient) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, region 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 region region @param backupScheduleId backup schedule id @return ApiDeleteBackupScheduleRequest
func (*APIClient) DeleteBackupScheduleExecute ¶
func (*APIClient) DeleteVolumeBackup ¶
func (a *APIClient) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, region 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 region region @param backupId id of the backup @param volumeBackupId id of the volume backup @return ApiDeleteVolumeBackupRequest
func (*APIClient) DeleteVolumeBackupExecute ¶
func (*APIClient) DisableServiceResource ¶ added in v0.3.0
func (a *APIClient) DisableServiceResource(ctx context.Context, projectId string, serverId string, region 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 @param region region @return ApiDisableServiceResourceRequest
func (*APIClient) DisableServiceResourceExecute ¶ added in v0.3.0
func (*APIClient) EnableServiceResource ¶ added in v0.3.0
func (a *APIClient) EnableServiceResource(ctx context.Context, projectId string, serverId string, region 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 @param region region @return ApiEnableServiceResourceRequest
func (*APIClient) EnableServiceResourceExecute ¶ added in v0.3.0
func (*APIClient) GetBackup ¶
func (a *APIClient) GetBackup(ctx context.Context, projectId string, serverId string, region 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 region region @param backupId id of the backup @return ApiGetBackupRequest
func (*APIClient) GetBackupExecute ¶
func (*APIClient) GetBackupSchedule ¶
func (a *APIClient) GetBackupSchedule(ctx context.Context, projectId string, serverId string, region 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 region region @param backupScheduleId backup schedule id @return ApiGetBackupScheduleRequest
func (*APIClient) GetBackupScheduleExecute ¶
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) GetServiceResource ¶ added in v0.5.0
func (a *APIClient) GetServiceResource(ctx context.Context, projectId string, serverId string, region 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 @param region region @return ApiGetServiceResourceRequest
func (*APIClient) GetServiceResourceExecute ¶ added in v0.5.0
func (*APIClient) ListBackupPolicies ¶ added in v0.4.0
func (a *APIClient) 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 (*APIClient) ListBackupPoliciesExecute ¶ added in v0.4.0
func (*APIClient) ListBackupSchedules ¶
func (a *APIClient) ListBackupSchedules(ctx context.Context, projectId string, serverId string, region 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 @param region region @return ApiListBackupSchedulesRequest
func (*APIClient) ListBackupSchedulesExecute ¶
func (*APIClient) ListBackups ¶
func (a *APIClient) ListBackups(ctx context.Context, projectId string, serverId string, region 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 @param region region @return ApiListBackupsRequest
func (*APIClient) ListBackupsExecute ¶
func (*APIClient) RestoreBackup ¶
func (a *APIClient) RestoreBackup(ctx context.Context, projectId string, serverId string, region 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 region region @param backupId id of the backup @return ApiRestoreBackupRequest
func (*APIClient) RestoreBackupExecute ¶
func (*APIClient) RestoreVolumeBackup ¶
func (a *APIClient) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, region 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 region region @param backupId id of the backup @param volumeBackupId id of the volume backup @return ApiRestoreVolumeBackupRequest
func (*APIClient) RestoreVolumeBackupExecute ¶
func (*APIClient) UpdateBackupSchedule ¶
func (a *APIClient) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, region 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 region region @param backupScheduleId backup schedule id @return ApiUpdateBackupScheduleRequest
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 ¶
func (r ApiCreateBackupScheduleRequest) Execute() (*BackupSchedule, error)
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 ¶
func (r ApiDeleteBackupScheduleRequest) Execute() error
type ApiDeleteVolumeBackupRequest ¶
type ApiDeleteVolumeBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteVolumeBackupRequest) Execute ¶
func (r ApiDeleteVolumeBackupRequest) 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
func (r ApiDisableServiceResourceRequest) 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
func (r ApiEnableServiceResourceRequest) Execute() error
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 ¶
func (r ApiGetBackupScheduleRequest) Execute() (*BackupSchedule, error)
type ApiGetServiceResourceRequest ¶ added in v0.5.0
type ApiGetServiceResourceRequest struct {
// contains filtered or unexported fields
}
func (ApiGetServiceResourceRequest) Execute ¶ added in v0.5.0
func (r ApiGetServiceResourceRequest) Execute() (*GetBackupServiceResponse, error)
type ApiListBackupPoliciesRequest ¶ added in v0.4.0
type ApiListBackupPoliciesRequest struct {
// contains filtered or unexported fields
}
func (ApiListBackupPoliciesRequest) Execute ¶ added in v0.4.0
func (r ApiListBackupPoliciesRequest) Execute() (*GetBackupPoliciesResponse, error)
type ApiListBackupSchedulesRequest ¶
type ApiListBackupSchedulesRequest struct {
// contains filtered or unexported fields
}
func (ApiListBackupSchedulesRequest) Execute ¶
func (r ApiListBackupSchedulesRequest) Execute() (*GetBackupSchedulesResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*GetBackupsListResponse, error)
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 (r ApiRestoreVolumeBackupRequest) Execute() error
func (ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload ¶
func (r ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload(restoreVolumeBackupPayload RestoreVolumeBackupPayload) ApiRestoreVolumeBackupRequest
type ApiUpdateBackupScheduleRequest ¶
type ApiUpdateBackupScheduleRequest struct {
// contains filtered or unexported fields
}
func (ApiUpdateBackupScheduleRequest) Execute ¶
func (r ApiUpdateBackupScheduleRequest) Execute() (*BackupSchedule, error)
func (ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload ¶
func (r ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload(updateBackupSchedulePayload UpdateBackupSchedulePayload) ApiUpdateBackupScheduleRequest
type Backup ¶
type Backup struct { // REQUIRED CreatedAt BackupGetCreatedAtAttributeType `json:"createdAt"` // REQUIRED ExpireAt BackupGetExpireAtAttributeType `json:"expireAt"` // REQUIRED Id BackupGetIdAttributeType `json:"id"` LastRestoredAt BackupGetLastRestoredAtAttributeType `json:"lastRestoredAt,omitempty"` // REQUIRED Name BackupGetNameAttributeType `json:"name"` // Can be cast to int32 without loss of precision. Size BackupGetSizeAttributeType `json:"size,omitempty"` // REQUIRED Status BackupGetStatusAttributeType `json:"status"` VolumeBackups BackupGetVolumeBackupsAttributeType `json:"volumeBackups,omitempty"` }
Backup struct for Backup
func NewBackup ¶ added in v0.2.0
func NewBackup(createdAt BackupGetCreatedAtArgType, expireAt BackupGetExpireAtArgType, id BackupGetIdArgType, name BackupGetNameArgType, status BackupGetStatusArgType) *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() (ret BackupGetCreatedAtRetType)
GetCreatedAt returns the CreatedAt field value
func (*Backup) GetCreatedAtOk ¶ added in v0.2.0
func (o *Backup) GetCreatedAtOk() (ret BackupGetCreatedAtRetType, ok 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() (ret BackupGetExpireAtRetType)
GetExpireAt returns the ExpireAt field value
func (*Backup) GetExpireAtOk ¶ added in v0.2.0
func (o *Backup) GetExpireAtOk() (ret BackupGetExpireAtRetType, ok 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() (ret BackupGetIdRetType)
GetId returns the Id field value
func (*Backup) GetIdOk ¶ added in v0.2.0
func (o *Backup) GetIdOk() (ret BackupGetIdRetType, ok 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() (res BackupGetLastRestoredAtRetType)
GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.
func (*Backup) GetLastRestoredAtOk ¶ added in v0.2.0
func (o *Backup) GetLastRestoredAtOk() (ret BackupGetLastRestoredAtRetType, ok 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() (ret BackupGetNameRetType)
GetName returns the Name field value
func (*Backup) GetNameOk ¶ added in v0.2.0
func (o *Backup) GetNameOk() (ret BackupGetNameRetType, ok 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() (res BackupGetSizeRetType)
GetSize returns the Size field value if set, zero value otherwise.
func (*Backup) GetSizeOk ¶ added in v0.2.0
func (o *Backup) GetSizeOk() (ret BackupGetSizeRetType, ok 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() (ret BackupGetStatusRetType)
GetStatus returns the Status field value
func (*Backup) GetStatusOk ¶ added in v0.2.0
func (o *Backup) GetStatusOk() (ret BackupGetStatusRetType, ok 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() (res BackupGetVolumeBackupsRetType)
GetVolumeBackups returns the VolumeBackups field value if set, zero value otherwise.
func (*Backup) GetVolumeBackupsOk ¶ added in v0.2.0
func (o *Backup) GetVolumeBackupsOk() (ret BackupGetVolumeBackupsRetType, ok 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
HasLastRestoredAt returns a boolean if a field has been set.
func (*Backup) HasVolumeBackups ¶ added in v0.2.0
HasVolumeBackups returns a boolean if a field has been set.
func (*Backup) SetCreatedAt ¶ added in v0.2.0
func (o *Backup) SetCreatedAt(v BackupGetCreatedAtRetType)
SetCreatedAt sets field value
func (*Backup) SetExpireAt ¶ added in v0.2.0
func (o *Backup) SetExpireAt(v BackupGetExpireAtRetType)
SetExpireAt sets field value
func (*Backup) SetId ¶ added in v0.2.0
func (o *Backup) SetId(v BackupGetIdRetType)
SetId sets field value
func (*Backup) SetLastRestoredAt ¶ added in v0.2.0
func (o *Backup) SetLastRestoredAt(v BackupGetLastRestoredAtRetType)
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 BackupGetNameRetType)
SetName sets field value
func (*Backup) SetSize ¶ added in v0.2.0
func (o *Backup) SetSize(v BackupGetSizeRetType)
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 BackupGetStatusRetType)
SetStatus sets field value
func (*Backup) SetVolumeBackups ¶ added in v0.2.0
func (o *Backup) SetVolumeBackups(v BackupGetVolumeBackupsRetType)
SetVolumeBackups gets a reference to the given []BackupVolumeBackupsInner and assigns it to the VolumeBackups field.
type BackupGetCreatedAtArgType ¶ added in v1.0.0
type BackupGetCreatedAtArgType = string
type BackupGetCreatedAtAttributeType ¶ added in v1.0.0
type BackupGetCreatedAtAttributeType = *string
isNotNullableString
type BackupGetCreatedAtRetType ¶ added in v1.0.0
type BackupGetCreatedAtRetType = string
type BackupGetExpireAtArgType ¶ added in v1.0.0
type BackupGetExpireAtArgType = string
type BackupGetExpireAtAttributeType ¶ added in v1.0.0
type BackupGetExpireAtAttributeType = *string
isNotNullableString
type BackupGetExpireAtRetType ¶ added in v1.0.0
type BackupGetExpireAtRetType = string
type BackupGetIdArgType ¶ added in v1.0.0
type BackupGetIdArgType = string
type BackupGetIdAttributeType ¶ added in v1.0.0
type BackupGetIdAttributeType = *string
isNotNullableString
type BackupGetIdRetType ¶ added in v1.0.0
type BackupGetIdRetType = string
type BackupGetLastRestoredAtArgType ¶ added in v1.0.0
type BackupGetLastRestoredAtArgType = string
type BackupGetLastRestoredAtAttributeType ¶ added in v1.0.0
type BackupGetLastRestoredAtAttributeType = *string
isNotNullableString
type BackupGetLastRestoredAtRetType ¶ added in v1.0.0
type BackupGetLastRestoredAtRetType = string
type BackupGetNameArgType ¶ added in v1.0.0
type BackupGetNameArgType = string
type BackupGetNameAttributeType ¶ added in v1.0.0
type BackupGetNameAttributeType = *string
isNotNullableString
type BackupGetNameRetType ¶ added in v1.0.0
type BackupGetNameRetType = string
type BackupGetSizeArgType ¶ added in v1.0.0
type BackupGetSizeArgType = int64
type BackupGetSizeAttributeType ¶ added in v1.0.0
type BackupGetSizeAttributeType = *int64
isInteger
type BackupGetSizeRetType ¶ added in v1.0.0
type BackupGetSizeRetType = int64
type BackupGetStatusArgType ¶ added in v1.0.0
type BackupGetStatusArgType = BackupStatus
type BackupGetStatusAttributeType ¶ added in v1.0.0
type BackupGetStatusAttributeType = *BackupStatus
type BackupGetStatusRetType ¶ added in v1.0.0
type BackupGetStatusRetType = BackupStatus
type BackupGetVolumeBackupsArgType ¶ added in v1.0.0
type BackupGetVolumeBackupsArgType = []BackupVolumeBackupsInner
type BackupGetVolumeBackupsAttributeType ¶ added in v1.0.0
type BackupGetVolumeBackupsAttributeType = *[]BackupVolumeBackupsInner
isArray
type BackupGetVolumeBackupsRetType ¶ added in v1.0.0
type BackupGetVolumeBackupsRetType = []BackupVolumeBackupsInner
type BackupJob ¶
type BackupJob struct { // REQUIRED Id BackupJobGetIdAttributeType `json:"id"` }
BackupJob struct for BackupJob
func NewBackupJob ¶ added in v0.2.0
func NewBackupJob(id BackupJobGetIdArgType) *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() (ret BackupJobGetIdRetType)
GetId returns the Id field value
func (*BackupJob) GetIdOk ¶ added in v0.2.0
func (o *BackupJob) GetIdOk() (ret BackupJobGetIdRetType, ok 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 BackupJobGetIdRetType)
SetId sets field value
type BackupJobGetIdArgType ¶ added in v1.0.0
type BackupJobGetIdArgType = string
type BackupJobGetIdAttributeType ¶ added in v1.0.0
type BackupJobGetIdAttributeType = *string
isNotNullableString
type BackupJobGetIdRetType ¶ added in v1.0.0
type BackupJobGetIdRetType = string
type BackupPolicy ¶ added in v0.4.0
type BackupPolicy struct { BackupProperties BackupPolicyGetBackupPropertiesAttributeType `json:"backupProperties,omitempty"` Default BackupPolicygetDefaultAttributeType `json:"default,omitempty"` Description BackupPolicyGetDescriptionAttributeType `json:"description,omitempty"` Enabled BackupPolicygetEnabledAttributeType `json:"enabled,omitempty"` Id BackupPolicyGetIdAttributeType `json:"id,omitempty"` Name BackupPolicyGetNameAttributeType `json:"name,omitempty"` Rrule BackupPolicyGetRruleAttributeType `json:"rrule,omitempty"` }
BackupPolicy struct for BackupPolicy
func NewBackupPolicy ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *BackupPolicy) GetBackupProperties() (res BackupPolicyGetBackupPropertiesRetType)
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*BackupPolicy) GetBackupPropertiesOk ¶ added in v0.4.0
func (o *BackupPolicy) GetBackupPropertiesOk() (ret BackupPolicyGetBackupPropertiesRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicy) GetDefault() (res BackupPolicygetDefaultRetType)
GetDefault returns the Default field value if set, zero value otherwise.
func (*BackupPolicy) GetDefaultOk ¶ added in v0.4.0
func (o *BackupPolicy) GetDefaultOk() (ret BackupPolicygetDefaultRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicy) GetDescription() (res BackupPolicyGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*BackupPolicy) GetDescriptionOk ¶ added in v0.4.0
func (o *BackupPolicy) GetDescriptionOk() (ret BackupPolicyGetDescriptionRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicy) GetEnabled() (res BackupPolicygetEnabledRetType)
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*BackupPolicy) GetEnabledOk ¶ added in v0.4.0
func (o *BackupPolicy) GetEnabledOk() (ret BackupPolicygetEnabledRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicy) GetId() (res BackupPolicyGetIdRetType)
GetId returns the Id field value if set, zero value otherwise.
func (*BackupPolicy) GetIdOk ¶ added in v0.4.0
func (o *BackupPolicy) GetIdOk() (ret BackupPolicyGetIdRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicy) GetName() (res BackupPolicyGetNameRetType)
GetName returns the Name field value if set, zero value otherwise.
func (*BackupPolicy) GetNameOk ¶ added in v0.4.0
func (o *BackupPolicy) GetNameOk() (ret BackupPolicyGetNameRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicy) GetRrule() (res BackupPolicyGetRruleRetType)
GetRrule returns the Rrule field value if set, zero value otherwise.
func (*BackupPolicy) GetRruleOk ¶ added in v0.4.0
func (o *BackupPolicy) GetRruleOk() (ret BackupPolicyGetRruleRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicy) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (*BackupPolicy) HasDefault ¶ added in v0.4.0
func (o *BackupPolicy) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*BackupPolicy) HasDescription ¶ added in v0.4.0
func (o *BackupPolicy) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*BackupPolicy) HasEnabled ¶ added in v0.4.0
func (o *BackupPolicy) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*BackupPolicy) HasId ¶ added in v0.4.0
func (o *BackupPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupPolicy) HasName ¶ added in v0.4.0
func (o *BackupPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (*BackupPolicy) HasRrule ¶ added in v0.4.0
func (o *BackupPolicy) HasRrule() bool
HasRrule returns a boolean if a field has been set.
func (*BackupPolicy) SetBackupProperties ¶ added in v0.4.0
func (o *BackupPolicy) SetBackupProperties(v BackupPolicyGetBackupPropertiesRetType)
SetBackupProperties gets a reference to the given BackupPolicyBackupProperties and assigns it to the BackupProperties field.
func (*BackupPolicy) SetDefault ¶ added in v0.4.0
func (o *BackupPolicy) SetDefault(v BackupPolicygetDefaultRetType)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*BackupPolicy) SetDescription ¶ added in v0.4.0
func (o *BackupPolicy) SetDescription(v BackupPolicyGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*BackupPolicy) SetEnabled ¶ added in v0.4.0
func (o *BackupPolicy) SetEnabled(v BackupPolicygetEnabledRetType)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*BackupPolicy) SetId ¶ added in v0.4.0
func (o *BackupPolicy) SetId(v BackupPolicyGetIdRetType)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BackupPolicy) SetName ¶ added in v0.4.0
func (o *BackupPolicy) SetName(v BackupPolicyGetNameRetType)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BackupPolicy) SetRrule ¶ added in v0.4.0
func (o *BackupPolicy) SetRrule(v BackupPolicyGetRruleRetType)
SetRrule gets a reference to the given string and assigns it to the Rrule field.
func (BackupPolicy) ToMap ¶ added in v0.4.0
func (o BackupPolicy) ToMap() (map[string]interface{}, error)
type BackupPolicyBackupProperties ¶ added in v0.4.0
type BackupPolicyBackupProperties struct { Name BackupPolicyBackupPropertiesGetNameAttributeType `json:"name,omitempty"` // Can be cast to int32 without loss of precision. RetentionPeriod BackupPolicyBackupPropertiesGetRetentionPeriodAttributeType `json:"retentionPeriod,omitempty"` }
BackupPolicyBackupProperties struct for BackupPolicyBackupProperties
func NewBackupPolicyBackupProperties ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) GetName() (res BackupPolicyBackupPropertiesGetNameRetType)
GetName returns the Name field value if set, zero value otherwise.
func (*BackupPolicyBackupProperties) GetNameOk ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) GetNameOk() (ret BackupPolicyBackupPropertiesGetNameRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) GetRetentionPeriod() (res BackupPolicyBackupPropertiesGetRetentionPeriodRetType)
GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.
func (*BackupPolicyBackupProperties) GetRetentionPeriodOk ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) GetRetentionPeriodOk() (ret BackupPolicyBackupPropertiesGetRetentionPeriodRetType, ok 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 ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (*BackupPolicyBackupProperties) HasRetentionPeriod ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) HasRetentionPeriod() bool
HasRetentionPeriod returns a boolean if a field has been set.
func (*BackupPolicyBackupProperties) SetName ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) SetName(v BackupPolicyBackupPropertiesGetNameRetType)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BackupPolicyBackupProperties) SetRetentionPeriod ¶ added in v0.4.0
func (o *BackupPolicyBackupProperties) SetRetentionPeriod(v BackupPolicyBackupPropertiesGetRetentionPeriodRetType)
SetRetentionPeriod gets a reference to the given int64 and assigns it to the RetentionPeriod field.
func (BackupPolicyBackupProperties) ToMap ¶ added in v0.4.0
func (o BackupPolicyBackupProperties) ToMap() (map[string]interface{}, error)
type BackupPolicyBackupPropertiesGetNameArgType ¶ added in v1.0.0
type BackupPolicyBackupPropertiesGetNameArgType = string
type BackupPolicyBackupPropertiesGetNameAttributeType ¶ added in v1.0.0
type BackupPolicyBackupPropertiesGetNameAttributeType = *string
isNotNullableString
type BackupPolicyBackupPropertiesGetNameRetType ¶ added in v1.0.0
type BackupPolicyBackupPropertiesGetNameRetType = string
type BackupPolicyBackupPropertiesGetRetentionPeriodArgType ¶ added in v1.0.0
type BackupPolicyBackupPropertiesGetRetentionPeriodArgType = int64
type BackupPolicyBackupPropertiesGetRetentionPeriodAttributeType ¶ added in v1.0.0
type BackupPolicyBackupPropertiesGetRetentionPeriodAttributeType = *int64
isInteger
type BackupPolicyBackupPropertiesGetRetentionPeriodRetType ¶ added in v1.0.0
type BackupPolicyBackupPropertiesGetRetentionPeriodRetType = int64
type BackupPolicyGetBackupPropertiesArgType ¶ added in v1.0.0
type BackupPolicyGetBackupPropertiesArgType = BackupPolicyBackupProperties
type BackupPolicyGetBackupPropertiesAttributeType ¶ added in v1.0.0
type BackupPolicyGetBackupPropertiesAttributeType = *BackupPolicyBackupProperties
isModel
type BackupPolicyGetBackupPropertiesRetType ¶ added in v1.0.0
type BackupPolicyGetBackupPropertiesRetType = BackupPolicyBackupProperties
type BackupPolicyGetDescriptionArgType ¶ added in v1.0.0
type BackupPolicyGetDescriptionArgType = string
type BackupPolicyGetDescriptionAttributeType ¶ added in v1.0.0
type BackupPolicyGetDescriptionAttributeType = *string
isNotNullableString
type BackupPolicyGetDescriptionRetType ¶ added in v1.0.0
type BackupPolicyGetDescriptionRetType = string
type BackupPolicyGetIdArgType ¶ added in v1.0.0
type BackupPolicyGetIdArgType = string
type BackupPolicyGetIdAttributeType ¶ added in v1.0.0
type BackupPolicyGetIdAttributeType = *string
isNotNullableString
type BackupPolicyGetIdRetType ¶ added in v1.0.0
type BackupPolicyGetIdRetType = string
type BackupPolicyGetNameArgType ¶ added in v1.0.0
type BackupPolicyGetNameArgType = string
type BackupPolicyGetNameAttributeType ¶ added in v1.0.0
type BackupPolicyGetNameAttributeType = *string
isNotNullableString
type BackupPolicyGetNameRetType ¶ added in v1.0.0
type BackupPolicyGetNameRetType = string
type BackupPolicyGetRruleArgType ¶ added in v1.0.0
type BackupPolicyGetRruleArgType = string
type BackupPolicyGetRruleAttributeType ¶ added in v1.0.0
type BackupPolicyGetRruleAttributeType = *string
isNotNullableString
type BackupPolicyGetRruleRetType ¶ added in v1.0.0
type BackupPolicyGetRruleRetType = string
type BackupPolicygetDefaultArgType ¶ added in v1.0.0
type BackupPolicygetDefaultArgType = bool
type BackupPolicygetDefaultAttributeType ¶ added in v1.0.0
type BackupPolicygetDefaultAttributeType = *bool
isBoolean
type BackupPolicygetDefaultRetType ¶ added in v1.0.0
type BackupPolicygetDefaultRetType = bool
type BackupPolicygetEnabledArgType ¶ added in v1.0.0
type BackupPolicygetEnabledArgType = bool
type BackupPolicygetEnabledAttributeType ¶ added in v1.0.0
type BackupPolicygetEnabledAttributeType = *bool
isBoolean
type BackupPolicygetEnabledRetType ¶ added in v1.0.0
type BackupPolicygetEnabledRetType = bool
type BackupProperties ¶
type BackupProperties struct { // Max 255 characters // REQUIRED Name BackupPropertiesGetNameAttributeType `json:"name"` // Values are set in days (1-36500) // Can be cast to int32 without loss of precision. // REQUIRED RetentionPeriod BackupPropertiesGetRetentionPeriodAttributeType `json:"retentionPeriod"` VolumeIds BackupPropertiesGetVolumeIdsAttributeType `json:"volumeIds,omitempty"` }
BackupProperties struct for BackupProperties
func NewBackupProperties ¶ added in v0.2.0
func NewBackupProperties(name BackupPropertiesGetNameArgType, retentionPeriod BackupPropertiesGetRetentionPeriodArgType) *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() (ret BackupPropertiesGetNameRetType)
GetName returns the Name field value
func (*BackupProperties) GetNameOk ¶ added in v0.2.0
func (o *BackupProperties) GetNameOk() (ret BackupPropertiesGetNameRetType, ok 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() (ret BackupPropertiesGetRetentionPeriodRetType)
GetRetentionPeriod returns the RetentionPeriod field value
func (*BackupProperties) GetRetentionPeriodOk ¶ added in v0.2.0
func (o *BackupProperties) GetRetentionPeriodOk() (ret BackupPropertiesGetRetentionPeriodRetType, ok 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() (res BackupPropertiesGetVolumeIdsRetType)
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*BackupProperties) GetVolumeIdsOk ¶ added in v0.2.0
func (o *BackupProperties) GetVolumeIdsOk() (ret BackupPropertiesGetVolumeIdsRetType, ok 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 BackupPropertiesGetNameRetType)
SetName sets field value
func (*BackupProperties) SetRetentionPeriod ¶ added in v0.2.0
func (o *BackupProperties) SetRetentionPeriod(v BackupPropertiesGetRetentionPeriodRetType)
SetRetentionPeriod sets field value
func (*BackupProperties) SetVolumeIds ¶ added in v0.2.0
func (o *BackupProperties) SetVolumeIds(v BackupPropertiesGetVolumeIdsRetType)
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 BackupPropertiesGetNameArgType ¶ added in v1.0.0
type BackupPropertiesGetNameArgType = string
type BackupPropertiesGetNameAttributeType ¶ added in v1.0.0
type BackupPropertiesGetNameAttributeType = *string
isNotNullableString
type BackupPropertiesGetNameRetType ¶ added in v1.0.0
type BackupPropertiesGetNameRetType = string
type BackupPropertiesGetRetentionPeriodArgType ¶ added in v1.0.0
type BackupPropertiesGetRetentionPeriodArgType = int64
type BackupPropertiesGetRetentionPeriodAttributeType ¶ added in v1.0.0
type BackupPropertiesGetRetentionPeriodAttributeType = *int64
isInteger
type BackupPropertiesGetRetentionPeriodRetType ¶ added in v1.0.0
type BackupPropertiesGetRetentionPeriodRetType = int64
type BackupPropertiesGetVolumeIdsArgType ¶ added in v1.0.0
type BackupPropertiesGetVolumeIdsArgType = []string
type BackupPropertiesGetVolumeIdsAttributeType ¶ added in v1.0.0
type BackupPropertiesGetVolumeIdsAttributeType = *[]string
isArray
type BackupPropertiesGetVolumeIdsRetType ¶ added in v1.0.0
type BackupPropertiesGetVolumeIdsRetType = []string
type BackupSchedule ¶
type BackupSchedule struct { BackupProperties BackupScheduleGetBackupPropertiesAttributeType `json:"backupProperties,omitempty"` // REQUIRED Enabled BackupSchedulegetEnabledAttributeType `json:"enabled"` // Can be cast to int32 without loss of precision. // REQUIRED Id BackupScheduleGetIdAttributeType `json:"id"` // REQUIRED Name BackupScheduleGetNameAttributeType `json:"name"` // REQUIRED Rrule BackupScheduleGetRruleAttributeType `json:"rrule"` }
BackupSchedule struct for BackupSchedule
func NewBackupSchedule ¶ added in v0.2.0
func NewBackupSchedule(enabled BackupSchedulegetEnabledArgType, id BackupScheduleGetIdArgType, name BackupScheduleGetNameArgType, rrule BackupScheduleGetRruleArgType) *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() (res BackupScheduleGetBackupPropertiesRetType)
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*BackupSchedule) GetBackupPropertiesOk ¶ added in v0.2.0
func (o *BackupSchedule) GetBackupPropertiesOk() (ret BackupScheduleGetBackupPropertiesRetType, ok 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() (ret BackupSchedulegetEnabledRetType)
GetEnabled returns the Enabled field value
func (*BackupSchedule) GetEnabledOk ¶ added in v0.2.0
func (o *BackupSchedule) GetEnabledOk() (ret BackupSchedulegetEnabledRetType, ok 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() (ret BackupScheduleGetIdRetType)
GetId returns the Id field value
func (*BackupSchedule) GetIdOk ¶ added in v0.2.0
func (o *BackupSchedule) GetIdOk() (ret BackupScheduleGetIdRetType, ok 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() (ret BackupScheduleGetNameRetType)
GetName returns the Name field value
func (*BackupSchedule) GetNameOk ¶ added in v0.2.0
func (o *BackupSchedule) GetNameOk() (ret BackupScheduleGetNameRetType, ok 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() (ret BackupScheduleGetRruleRetType)
GetRrule returns the Rrule field value
func (*BackupSchedule) GetRruleOk ¶ added in v0.2.0
func (o *BackupSchedule) GetRruleOk() (ret BackupScheduleGetRruleRetType, ok 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 BackupScheduleGetBackupPropertiesRetType)
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 BackupSchedulegetEnabledRetType)
SetEnabled sets field value
func (*BackupSchedule) SetId ¶ added in v0.2.0
func (o *BackupSchedule) SetId(v BackupScheduleGetIdRetType)
SetId sets field value
func (*BackupSchedule) SetName ¶ added in v0.2.0
func (o *BackupSchedule) SetName(v BackupScheduleGetNameRetType)
SetName sets field value
func (*BackupSchedule) SetRrule ¶ added in v0.2.0
func (o *BackupSchedule) SetRrule(v BackupScheduleGetRruleRetType)
SetRrule sets field value
func (BackupSchedule) ToMap ¶ added in v0.2.0
func (o BackupSchedule) ToMap() (map[string]interface{}, error)
type BackupScheduleGetBackupPropertiesArgType ¶ added in v1.0.0
type BackupScheduleGetBackupPropertiesArgType = BackupProperties
type BackupScheduleGetBackupPropertiesAttributeType ¶ added in v1.0.0
type BackupScheduleGetBackupPropertiesAttributeType = *BackupProperties
isModel
type BackupScheduleGetBackupPropertiesRetType ¶ added in v1.0.0
type BackupScheduleGetBackupPropertiesRetType = BackupProperties
type BackupScheduleGetIdArgType ¶ added in v1.0.0
type BackupScheduleGetIdArgType = int64
type BackupScheduleGetIdAttributeType ¶ added in v1.0.0
type BackupScheduleGetIdAttributeType = *int64
isInteger
type BackupScheduleGetIdRetType ¶ added in v1.0.0
type BackupScheduleGetIdRetType = int64
type BackupScheduleGetNameArgType ¶ added in v1.0.0
type BackupScheduleGetNameArgType = string
type BackupScheduleGetNameAttributeType ¶ added in v1.0.0
type BackupScheduleGetNameAttributeType = *string
isNotNullableString
type BackupScheduleGetNameRetType ¶ added in v1.0.0
type BackupScheduleGetNameRetType = string
type BackupScheduleGetRruleArgType ¶ added in v1.0.0
type BackupScheduleGetRruleArgType = string
type BackupScheduleGetRruleAttributeType ¶ added in v1.0.0
type BackupScheduleGetRruleAttributeType = *string
isNotNullableString
type BackupScheduleGetRruleRetType ¶ added in v1.0.0
type BackupScheduleGetRruleRetType = string
type BackupSchedulegetEnabledArgType ¶ added in v1.0.0
type BackupSchedulegetEnabledArgType = bool
type BackupSchedulegetEnabledAttributeType ¶ added in v1.0.0
type BackupSchedulegetEnabledAttributeType = *bool
isBoolean
type BackupSchedulegetEnabledRetType ¶ added in v1.0.0
type BackupSchedulegetEnabledRetType = bool
type BackupStatus ¶ added in v1.1.0
type BackupStatus string
BackupStatus the model 'Backup'
const ( BACKUPSTATUS_CREATING BackupStatus = "creating" BACKUPSTATUS_AVAILABLE BackupStatus = "available" BACKUPSTATUS_DELETING BackupStatus = "deleting" BACKUPSTATUS_ERROR BackupStatus = "error" BACKUPSTATUS_RESTORING BackupStatus = "restoring" BACKUPSTATUS_ERROR_DELETING BackupStatus = "error_deleting" BACKUPSTATUS_BACKING_UP BackupStatus = "backing up" BACKUPSTATUS_INCONSISTENT BackupStatus = "inconsistent" BACKUPSTATUS_ERROR_CREATING BackupStatus = "error-creating" )
List of Status
func NewBackupStatusFromValue ¶ added in v1.1.0
func NewBackupStatusFromValue(v string) (*BackupStatus, error)
NewBackupStatusFromValue returns a pointer to a valid BackupStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BackupStatus) IsValid ¶ added in v1.1.0
func (v BackupStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BackupStatus) Ptr ¶ added in v1.1.0
func (v BackupStatus) Ptr() *BackupStatus
Ptr returns reference to StatusStatus value
func (*BackupStatus) UnmarshalJSON ¶ added in v1.1.0
func (v *BackupStatus) UnmarshalJSON(src []byte) error
type BackupVolumeBackupsInner ¶
type BackupVolumeBackupsInner struct { Id BackupVolumeBackupsInnerGetIdAttributeType `json:"id,omitempty"` LastRestoredAt BackupVolumeBackupsInnerGetLastRestoredAtAttributeType `json:"lastRestoredAt,omitempty"` LastRestoredVolumeId BackupVolumeBackupsInnerGetLastRestoredVolumeIdAttributeType `json:"lastRestoredVolumeId,omitempty"` // Can be cast to int32 without loss of precision. Size BackupVolumeBackupsInnerGetSizeAttributeType `json:"size,omitempty"` Status BackupVolumeBackupsInnerGetStatusAttributeType `json:"status,omitempty"` VolumeId BackupVolumeBackupsInnerGetVolumeIdAttributeType `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() (res BackupVolumeBackupsInnerGetIdRetType)
GetId returns the Id field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetIdOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetIdOk() (ret BackupVolumeBackupsInnerGetIdRetType, ok 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() (res BackupVolumeBackupsInnerGetLastRestoredAtRetType)
GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetLastRestoredAtOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetLastRestoredAtOk() (ret BackupVolumeBackupsInnerGetLastRestoredAtRetType, ok 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() (res BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType)
GetLastRestoredVolumeId returns the LastRestoredVolumeId field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk() (ret BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType, ok 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() (res BackupVolumeBackupsInnerGetSizeRetType)
GetSize returns the Size field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetSizeOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetSizeOk() (ret BackupVolumeBackupsInnerGetSizeRetType, ok 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() (res BackupVolumeBackupsInnerGetStatusRetType)
GetStatus returns the Status field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetStatusOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetStatusOk() (ret BackupVolumeBackupsInnerGetStatusRetType, ok 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() (res BackupVolumeBackupsInnerGetVolumeIdRetType)
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetVolumeIdOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetVolumeIdOk() (ret BackupVolumeBackupsInnerGetVolumeIdRetType, ok 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 BackupVolumeBackupsInnerGetIdRetType)
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 BackupVolumeBackupsInnerGetLastRestoredAtRetType)
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 BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType)
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 BackupVolumeBackupsInnerGetSizeRetType)
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 BackupVolumeBackupsInnerGetStatusRetType)
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 BackupVolumeBackupsInnerGetVolumeIdRetType)
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 BackupVolumeBackupsInnerGetIdArgType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetIdArgType = string
type BackupVolumeBackupsInnerGetIdAttributeType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetIdAttributeType = *string
isNotNullableString
type BackupVolumeBackupsInnerGetIdRetType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetIdRetType = string
type BackupVolumeBackupsInnerGetLastRestoredAtArgType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetLastRestoredAtArgType = string
type BackupVolumeBackupsInnerGetLastRestoredAtAttributeType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetLastRestoredAtAttributeType = *string
isNotNullableString
type BackupVolumeBackupsInnerGetLastRestoredAtRetType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetLastRestoredAtRetType = string
type BackupVolumeBackupsInnerGetLastRestoredVolumeIdArgType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetLastRestoredVolumeIdArgType = string
type BackupVolumeBackupsInnerGetLastRestoredVolumeIdAttributeType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetLastRestoredVolumeIdAttributeType = *string
isNotNullableString
type BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetLastRestoredVolumeIdRetType = string
type BackupVolumeBackupsInnerGetSizeArgType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetSizeArgType = int64
type BackupVolumeBackupsInnerGetSizeAttributeType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetSizeAttributeType = *int64
isInteger
type BackupVolumeBackupsInnerGetSizeRetType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetSizeRetType = int64
type BackupVolumeBackupsInnerGetStatusArgType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetStatusArgType = BackupVolumeBackupsInnerStatus
type BackupVolumeBackupsInnerGetStatusAttributeType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetStatusAttributeType = *BackupVolumeBackupsInnerStatus
type BackupVolumeBackupsInnerGetStatusRetType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetStatusRetType = BackupVolumeBackupsInnerStatus
type BackupVolumeBackupsInnerGetVolumeIdArgType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetVolumeIdArgType = string
type BackupVolumeBackupsInnerGetVolumeIdAttributeType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetVolumeIdAttributeType = *string
isNotNullableString
type BackupVolumeBackupsInnerGetVolumeIdRetType ¶ added in v1.0.0
type BackupVolumeBackupsInnerGetVolumeIdRetType = string
type BackupVolumeBackupsInnerStatus ¶ added in v1.1.0
type BackupVolumeBackupsInnerStatus string
BackupVolumeBackupsInnerStatus the model 'BackupVolumeBackupsInner'
const ( BACKUPVOLUMEBACKUPSINNERSTATUS_CREATING BackupVolumeBackupsInnerStatus = "creating" BACKUPVOLUMEBACKUPSINNERSTATUS_AVAILABLE BackupVolumeBackupsInnerStatus = "available" BACKUPVOLUMEBACKUPSINNERSTATUS_DELETING BackupVolumeBackupsInnerStatus = "deleting" BACKUPVOLUMEBACKUPSINNERSTATUS_ERROR BackupVolumeBackupsInnerStatus = "error" BACKUPVOLUMEBACKUPSINNERSTATUS_RESTORING BackupVolumeBackupsInnerStatus = "restoring" BACKUPVOLUMEBACKUPSINNERSTATUS_ERROR_DELETING BackupVolumeBackupsInnerStatus = "error_deleting" BACKUPVOLUMEBACKUPSINNERSTATUS_ERROR_CREATING BackupVolumeBackupsInnerStatus = "error-creating" )
List of Status
func NewBackupVolumeBackupsInnerStatusFromValue ¶ added in v1.1.0
func NewBackupVolumeBackupsInnerStatusFromValue(v string) (*BackupVolumeBackupsInnerStatus, error)
NewBackupVolumeBackupsInnerStatusFromValue returns a pointer to a valid BackupVolumeBackupsInnerStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BackupVolumeBackupsInnerStatus) IsValid ¶ added in v1.1.0
func (v BackupVolumeBackupsInnerStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BackupVolumeBackupsInnerStatus) Ptr ¶ added in v1.1.0
func (v BackupVolumeBackupsInnerStatus) Ptr() *BackupVolumeBackupsInnerStatus
Ptr returns reference to StatusStatus value
func (*BackupVolumeBackupsInnerStatus) UnmarshalJSON ¶ added in v1.1.0
func (v *BackupVolumeBackupsInnerStatus) UnmarshalJSON(src []byte) error
type CreateBackupPayload ¶
type CreateBackupPayload struct { // Max 255 characters // REQUIRED Name CreateBackupPayloadGetNameAttributeType `json:"name"` // Values are set in days (1-36500) // Can be cast to int32 without loss of precision. // REQUIRED RetentionPeriod CreateBackupPayloadGetRetentionPeriodAttributeType `json:"retentionPeriod"` VolumeIds CreateBackupPayloadGetVolumeIdsAttributeType `json:"volumeIds,omitempty"` }
CreateBackupPayload struct for CreateBackupPayload
func NewCreateBackupPayload ¶ added in v0.2.0
func NewCreateBackupPayload(name CreateBackupPayloadGetNameArgType, retentionPeriod CreateBackupPayloadGetRetentionPeriodArgType) *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() (ret CreateBackupPayloadGetNameRetType)
GetName returns the Name field value
func (*CreateBackupPayload) GetNameOk ¶ added in v0.2.0
func (o *CreateBackupPayload) GetNameOk() (ret CreateBackupPayloadGetNameRetType, ok 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() (ret CreateBackupPayloadGetRetentionPeriodRetType)
GetRetentionPeriod returns the RetentionPeriod field value
func (*CreateBackupPayload) GetRetentionPeriodOk ¶ added in v0.2.0
func (o *CreateBackupPayload) GetRetentionPeriodOk() (ret CreateBackupPayloadGetRetentionPeriodRetType, ok 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() (res CreateBackupPayloadGetVolumeIdsRetType)
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*CreateBackupPayload) GetVolumeIdsOk ¶ added in v0.2.0
func (o *CreateBackupPayload) GetVolumeIdsOk() (ret CreateBackupPayloadGetVolumeIdsRetType, ok 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 CreateBackupPayloadGetNameRetType)
SetName sets field value
func (*CreateBackupPayload) SetRetentionPeriod ¶ added in v0.2.0
func (o *CreateBackupPayload) SetRetentionPeriod(v CreateBackupPayloadGetRetentionPeriodRetType)
SetRetentionPeriod sets field value
func (*CreateBackupPayload) SetVolumeIds ¶ added in v0.2.0
func (o *CreateBackupPayload) SetVolumeIds(v CreateBackupPayloadGetVolumeIdsRetType)
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 CreateBackupPayloadGetNameArgType ¶ added in v1.0.0
type CreateBackupPayloadGetNameArgType = string
type CreateBackupPayloadGetNameAttributeType ¶ added in v1.0.0
type CreateBackupPayloadGetNameAttributeType = *string
isNotNullableString
type CreateBackupPayloadGetNameRetType ¶ added in v1.0.0
type CreateBackupPayloadGetNameRetType = string
type CreateBackupPayloadGetRetentionPeriodArgType ¶ added in v1.0.0
type CreateBackupPayloadGetRetentionPeriodArgType = int64
type CreateBackupPayloadGetRetentionPeriodAttributeType ¶ added in v1.0.0
type CreateBackupPayloadGetRetentionPeriodAttributeType = *int64
isInteger
type CreateBackupPayloadGetRetentionPeriodRetType ¶ added in v1.0.0
type CreateBackupPayloadGetRetentionPeriodRetType = int64
type CreateBackupPayloadGetVolumeIdsArgType ¶ added in v1.0.0
type CreateBackupPayloadGetVolumeIdsArgType = []string
type CreateBackupPayloadGetVolumeIdsAttributeType ¶ added in v1.0.0
type CreateBackupPayloadGetVolumeIdsAttributeType = *[]string
isArray
type CreateBackupPayloadGetVolumeIdsRetType ¶ added in v1.0.0
type CreateBackupPayloadGetVolumeIdsRetType = []string
type CreateBackupSchedulePayload ¶
type CreateBackupSchedulePayload struct { BackupProperties CreateBackupSchedulePayloadGetBackupPropertiesAttributeType `json:"backupProperties,omitempty"` // REQUIRED Enabled CreateBackupSchedulePayloadgetEnabledAttributeType `json:"enabled"` // Max 255 characters // REQUIRED Name CreateBackupSchedulePayloadGetNameAttributeType `json:"name"` // REQUIRED Rrule CreateBackupSchedulePayloadGetRruleAttributeType `json:"rrule"` }
CreateBackupSchedulePayload struct for CreateBackupSchedulePayload
func NewCreateBackupSchedulePayload ¶ added in v0.2.0
func NewCreateBackupSchedulePayload(enabled CreateBackupSchedulePayloadgetEnabledArgType, name CreateBackupSchedulePayloadGetNameArgType, rrule CreateBackupSchedulePayloadGetRruleArgType) *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() (res CreateBackupSchedulePayloadGetBackupPropertiesRetType)
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*CreateBackupSchedulePayload) GetBackupPropertiesOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetBackupPropertiesOk() (ret CreateBackupSchedulePayloadGetBackupPropertiesRetType, ok 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() (ret CreateBackupSchedulePayloadgetEnabledRetType)
GetEnabled returns the Enabled field value
func (*CreateBackupSchedulePayload) GetEnabledOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetEnabledOk() (ret CreateBackupSchedulePayloadgetEnabledRetType, ok 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() (ret CreateBackupSchedulePayloadGetNameRetType)
GetName returns the Name field value
func (*CreateBackupSchedulePayload) GetNameOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetNameOk() (ret CreateBackupSchedulePayloadGetNameRetType, ok 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() (ret CreateBackupSchedulePayloadGetRruleRetType)
GetRrule returns the Rrule field value
func (*CreateBackupSchedulePayload) GetRruleOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetRruleOk() (ret CreateBackupSchedulePayloadGetRruleRetType, ok 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 CreateBackupSchedulePayloadGetBackupPropertiesRetType)
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 CreateBackupSchedulePayloadgetEnabledRetType)
SetEnabled sets field value
func (*CreateBackupSchedulePayload) SetName ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) SetName(v CreateBackupSchedulePayloadGetNameRetType)
SetName sets field value
func (*CreateBackupSchedulePayload) SetRrule ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) SetRrule(v CreateBackupSchedulePayloadGetRruleRetType)
SetRrule sets field value
func (CreateBackupSchedulePayload) ToMap ¶ added in v0.2.0
func (o CreateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
type CreateBackupSchedulePayloadGetBackupPropertiesArgType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetBackupPropertiesArgType = BackupProperties
type CreateBackupSchedulePayloadGetBackupPropertiesAttributeType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetBackupPropertiesAttributeType = *BackupProperties
isModel
type CreateBackupSchedulePayloadGetBackupPropertiesRetType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetBackupPropertiesRetType = BackupProperties
type CreateBackupSchedulePayloadGetNameArgType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetNameArgType = string
type CreateBackupSchedulePayloadGetNameAttributeType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetNameAttributeType = *string
isNotNullableString
type CreateBackupSchedulePayloadGetNameRetType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetNameRetType = string
type CreateBackupSchedulePayloadGetRruleArgType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetRruleArgType = string
type CreateBackupSchedulePayloadGetRruleAttributeType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetRruleAttributeType = *string
isNotNullableString
type CreateBackupSchedulePayloadGetRruleRetType ¶ added in v1.0.0
type CreateBackupSchedulePayloadGetRruleRetType = string
type CreateBackupSchedulePayloadgetEnabledArgType ¶ added in v1.0.0
type CreateBackupSchedulePayloadgetEnabledArgType = bool
type CreateBackupSchedulePayloadgetEnabledAttributeType ¶ added in v1.0.0
type CreateBackupSchedulePayloadgetEnabledAttributeType = *bool
isBoolean
type CreateBackupSchedulePayloadgetEnabledRetType ¶ added in v1.0.0
type CreateBackupSchedulePayloadgetEnabledRetType = bool
type EnableServiceResourcePayload ¶ added in v0.3.0
type EnableServiceResourcePayload struct {
BackupPolicyId EnableServiceResourcePayloadGetBackupPolicyIdAttributeType `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() (res EnableServiceResourcePayloadGetBackupPolicyIdRetType)
GetBackupPolicyId returns the BackupPolicyId field value if set, zero value otherwise.
func (*EnableServiceResourcePayload) GetBackupPolicyIdOk ¶ added in v0.3.0
func (o *EnableServiceResourcePayload) GetBackupPolicyIdOk() (ret EnableServiceResourcePayloadGetBackupPolicyIdRetType, ok 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 EnableServiceResourcePayloadGetBackupPolicyIdRetType)
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 EnableServiceResourcePayloadGetBackupPolicyIdArgType ¶ added in v1.0.0
type EnableServiceResourcePayloadGetBackupPolicyIdArgType = string
type EnableServiceResourcePayloadGetBackupPolicyIdAttributeType ¶ added in v1.0.0
type EnableServiceResourcePayloadGetBackupPolicyIdAttributeType = *string
isNotNullableString
type EnableServiceResourcePayloadGetBackupPolicyIdRetType ¶ added in v1.0.0
type EnableServiceResourcePayloadGetBackupPolicyIdRetType = string
type ErrorResponse ¶ added in v0.2.0
type ErrorResponse struct { // Details about the error // REQUIRED Message ErrorResponseGetMessageAttributeType `json:"message"` // The string representation of the http status code (i.e. Not Found, Bad Request, etc) // REQUIRED Status ErrorResponseGetStatusAttributeType `json:"status"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶ added in v0.2.0
func NewErrorResponse(message ErrorResponseGetMessageArgType, status ErrorResponseGetStatusArgType) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶ added in v0.2.0
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetMessage ¶ added in v0.2.0
func (o *ErrorResponse) GetMessage() (ret ErrorResponseGetMessageRetType)
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶ added in v0.2.0
func (o *ErrorResponse) GetMessageOk() (ret ErrorResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶ added in v0.2.0
func (o *ErrorResponse) GetStatus() (ret ErrorResponseGetStatusRetType)
GetStatus returns the Status field value
func (*ErrorResponse) GetStatusOk ¶ added in v0.2.0
func (o *ErrorResponse) GetStatusOk() (ret ErrorResponseGetStatusRetType, ok bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ErrorResponse) SetMessage ¶ added in v0.2.0
func (o *ErrorResponse) SetMessage(v ErrorResponseGetMessageRetType)
SetMessage sets field value
func (*ErrorResponse) SetStatus ¶ added in v0.2.0
func (o *ErrorResponse) SetStatus(v ErrorResponseGetStatusRetType)
SetStatus sets field value
func (ErrorResponse) ToMap ¶ added in v0.2.0
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type ErrorResponseGetMessageArgType ¶ added in v1.0.0
type ErrorResponseGetMessageArgType = string
type ErrorResponseGetMessageAttributeType ¶ added in v1.0.0
type ErrorResponseGetMessageAttributeType = *string
isNotNullableString
type ErrorResponseGetMessageRetType ¶ added in v1.0.0
type ErrorResponseGetMessageRetType = string
type ErrorResponseGetStatusArgType ¶ added in v1.0.0
type ErrorResponseGetStatusArgType = string
type ErrorResponseGetStatusAttributeType ¶ added in v1.0.0
type ErrorResponseGetStatusAttributeType = *string
isNotNullableString
type ErrorResponseGetStatusRetType ¶ added in v1.0.0
type ErrorResponseGetStatusRetType = string
type GetBackupPoliciesResponse ¶ added in v0.4.0
type GetBackupPoliciesResponse struct {
Items GetBackupPoliciesResponseGetItemsAttributeType `json:"items,omitempty"`
}
GetBackupPoliciesResponse struct for GetBackupPoliciesResponse
func NewGetBackupPoliciesResponse ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetBackupPoliciesResponse) GetItems() (res GetBackupPoliciesResponseGetItemsRetType)
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupPoliciesResponse) GetItemsOk ¶ added in v0.4.0
func (o *GetBackupPoliciesResponse) GetItemsOk() (ret GetBackupPoliciesResponseGetItemsRetType, ok 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 ¶ added in v0.4.0
func (o *GetBackupPoliciesResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GetBackupPoliciesResponse) SetItems ¶ added in v0.4.0
func (o *GetBackupPoliciesResponse) SetItems(v GetBackupPoliciesResponseGetItemsRetType)
SetItems gets a reference to the given []BackupPolicy and assigns it to the Items field.
func (GetBackupPoliciesResponse) ToMap ¶ added in v0.4.0
func (o GetBackupPoliciesResponse) ToMap() (map[string]interface{}, error)
type GetBackupPoliciesResponseGetItemsArgType ¶ added in v1.0.0
type GetBackupPoliciesResponseGetItemsArgType = []BackupPolicy
type GetBackupPoliciesResponseGetItemsAttributeType ¶ added in v1.0.0
type GetBackupPoliciesResponseGetItemsAttributeType = *[]BackupPolicy
isArray
type GetBackupPoliciesResponseGetItemsRetType ¶ added in v1.0.0
type GetBackupPoliciesResponseGetItemsRetType = []BackupPolicy
type GetBackupSchedulesResponse ¶ added in v0.3.0
type GetBackupSchedulesResponse struct {
Items GetBackupSchedulesResponseGetItemsAttributeType `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() (res GetBackupSchedulesResponseGetItemsRetType)
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupSchedulesResponse) GetItemsOk ¶ added in v0.3.0
func (o *GetBackupSchedulesResponse) GetItemsOk() (ret GetBackupSchedulesResponseGetItemsRetType, ok 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 GetBackupSchedulesResponseGetItemsRetType)
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 GetBackupSchedulesResponseGetItemsArgType ¶ added in v1.0.0
type GetBackupSchedulesResponseGetItemsArgType = []BackupSchedule
type GetBackupSchedulesResponseGetItemsAttributeType ¶ added in v1.0.0
type GetBackupSchedulesResponseGetItemsAttributeType = *[]BackupSchedule
isArray
type GetBackupSchedulesResponseGetItemsRetType ¶ added in v1.0.0
type GetBackupSchedulesResponseGetItemsRetType = []BackupSchedule
type GetBackupServiceResponse ¶ added in v0.5.0
type GetBackupServiceResponse struct {
Enabled GetBackupServiceResponsegetEnabledAttributeType `json:"enabled,omitempty"`
}
GetBackupServiceResponse struct for GetBackupServiceResponse
func NewGetBackupServiceResponse ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 ¶ added in v0.5.0
func (o *GetBackupServiceResponse) GetEnabled() (res GetBackupServiceResponsegetEnabledRetType)
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*GetBackupServiceResponse) GetEnabledOk ¶ added in v0.5.0
func (o *GetBackupServiceResponse) GetEnabledOk() (ret GetBackupServiceResponsegetEnabledRetType, ok 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 ¶ added in v0.5.0
func (o *GetBackupServiceResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*GetBackupServiceResponse) SetEnabled ¶ added in v0.5.0
func (o *GetBackupServiceResponse) SetEnabled(v GetBackupServiceResponsegetEnabledRetType)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (GetBackupServiceResponse) ToMap ¶ added in v0.5.0
func (o GetBackupServiceResponse) ToMap() (map[string]interface{}, error)
type GetBackupServiceResponsegetEnabledArgType ¶ added in v1.0.0
type GetBackupServiceResponsegetEnabledArgType = bool
type GetBackupServiceResponsegetEnabledAttributeType ¶ added in v1.0.0
type GetBackupServiceResponsegetEnabledAttributeType = *bool
isBoolean
type GetBackupServiceResponsegetEnabledRetType ¶ added in v1.0.0
type GetBackupServiceResponsegetEnabledRetType = bool
type GetBackupsListResponse ¶ added in v0.3.0
type GetBackupsListResponse struct {
Items GetBackupsListResponseGetItemsAttributeType `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() (res GetBackupsListResponseGetItemsRetType)
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupsListResponse) GetItemsOk ¶ added in v0.3.0
func (o *GetBackupsListResponse) GetItemsOk() (ret GetBackupsListResponseGetItemsRetType, ok 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 GetBackupsListResponseGetItemsRetType)
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 GetBackupsListResponseGetItemsArgType ¶ added in v1.0.0
type GetBackupsListResponseGetItemsArgType = []Backup
type GetBackupsListResponseGetItemsAttributeType ¶ added in v1.0.0
type GetBackupsListResponseGetItemsAttributeType = *[]Backup
isArray
type GetBackupsListResponseGetItemsRetType ¶ added in v1.0.0
type GetBackupsListResponseGetItemsRetType = []Backup
type MappedNullable ¶
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 NullableBackupPolicy ¶ added in v0.4.0
type NullableBackupPolicy struct {
// contains filtered or unexported fields
}
func NewNullableBackupPolicy ¶ added in v0.4.0
func NewNullableBackupPolicy(val *BackupPolicy) *NullableBackupPolicy
func (NullableBackupPolicy) Get ¶ added in v0.4.0
func (v NullableBackupPolicy) Get() *BackupPolicy
func (NullableBackupPolicy) IsSet ¶ added in v0.4.0
func (v NullableBackupPolicy) IsSet() bool
func (NullableBackupPolicy) MarshalJSON ¶ added in v0.4.0
func (v NullableBackupPolicy) MarshalJSON() ([]byte, error)
func (*NullableBackupPolicy) Set ¶ added in v0.4.0
func (v *NullableBackupPolicy) Set(val *BackupPolicy)
func (*NullableBackupPolicy) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableBackupPolicy) UnmarshalJSON(src []byte) error
func (*NullableBackupPolicy) Unset ¶ added in v0.4.0
func (v *NullableBackupPolicy) Unset()
type NullableBackupPolicyBackupProperties ¶ added in v0.4.0
type NullableBackupPolicyBackupProperties struct {
// contains filtered or unexported fields
}
func NewNullableBackupPolicyBackupProperties ¶ added in v0.4.0
func NewNullableBackupPolicyBackupProperties(val *BackupPolicyBackupProperties) *NullableBackupPolicyBackupProperties
func (NullableBackupPolicyBackupProperties) Get ¶ added in v0.4.0
func (v NullableBackupPolicyBackupProperties) Get() *BackupPolicyBackupProperties
func (NullableBackupPolicyBackupProperties) IsSet ¶ added in v0.4.0
func (v NullableBackupPolicyBackupProperties) IsSet() bool
func (NullableBackupPolicyBackupProperties) MarshalJSON ¶ added in v0.4.0
func (v NullableBackupPolicyBackupProperties) MarshalJSON() ([]byte, error)
func (*NullableBackupPolicyBackupProperties) Set ¶ added in v0.4.0
func (v *NullableBackupPolicyBackupProperties) Set(val *BackupPolicyBackupProperties)
func (*NullableBackupPolicyBackupProperties) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableBackupPolicyBackupProperties) UnmarshalJSON(src []byte) error
func (*NullableBackupPolicyBackupProperties) Unset ¶ added in v0.4.0
func (v *NullableBackupPolicyBackupProperties) 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 (v NullableBackupProperties) Get() *BackupProperties
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 (v *NullableBackupProperties) Set(val *BackupProperties)
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 (v NullableBackupSchedule) Get() *BackupSchedule
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 (v *NullableBackupSchedule) Set(val *BackupSchedule)
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 NullableBackupStatus ¶ added in v1.1.0
type NullableBackupStatus struct {
// contains filtered or unexported fields
}
func NewNullableBackupStatus ¶ added in v1.1.0
func NewNullableBackupStatus(val *BackupStatus) *NullableBackupStatus
func (NullableBackupStatus) Get ¶ added in v1.1.0
func (v NullableBackupStatus) Get() *BackupStatus
func (NullableBackupStatus) IsSet ¶ added in v1.1.0
func (v NullableBackupStatus) IsSet() bool
func (NullableBackupStatus) MarshalJSON ¶ added in v1.1.0
func (v NullableBackupStatus) MarshalJSON() ([]byte, error)
func (*NullableBackupStatus) Set ¶ added in v1.1.0
func (v *NullableBackupStatus) Set(val *BackupStatus)
func (*NullableBackupStatus) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableBackupStatus) UnmarshalJSON(src []byte) error
func (*NullableBackupStatus) Unset ¶ added in v1.1.0
func (v *NullableBackupStatus) 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 (v NullableBackupVolumeBackupsInner) Get() *BackupVolumeBackupsInner
func (NullableBackupVolumeBackupsInner) IsSet ¶ added in v0.2.0
func (v NullableBackupVolumeBackupsInner) IsSet() bool
func (NullableBackupVolumeBackupsInner) MarshalJSON ¶ added in v0.2.0
func (v NullableBackupVolumeBackupsInner) MarshalJSON() ([]byte, error)
func (*NullableBackupVolumeBackupsInner) Set ¶ added in v0.2.0
func (v *NullableBackupVolumeBackupsInner) Set(val *BackupVolumeBackupsInner)
func (*NullableBackupVolumeBackupsInner) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableBackupVolumeBackupsInner) UnmarshalJSON(src []byte) error
func (*NullableBackupVolumeBackupsInner) Unset ¶ added in v0.2.0
func (v *NullableBackupVolumeBackupsInner) Unset()
type NullableBackupVolumeBackupsInnerStatus ¶ added in v1.1.0
type NullableBackupVolumeBackupsInnerStatus struct {
// contains filtered or unexported fields
}
func NewNullableBackupVolumeBackupsInnerStatus ¶ added in v1.1.0
func NewNullableBackupVolumeBackupsInnerStatus(val *BackupVolumeBackupsInnerStatus) *NullableBackupVolumeBackupsInnerStatus
func (NullableBackupVolumeBackupsInnerStatus) Get ¶ added in v1.1.0
func (v NullableBackupVolumeBackupsInnerStatus) Get() *BackupVolumeBackupsInnerStatus
func (NullableBackupVolumeBackupsInnerStatus) IsSet ¶ added in v1.1.0
func (v NullableBackupVolumeBackupsInnerStatus) IsSet() bool
func (NullableBackupVolumeBackupsInnerStatus) MarshalJSON ¶ added in v1.1.0
func (v NullableBackupVolumeBackupsInnerStatus) MarshalJSON() ([]byte, error)
func (*NullableBackupVolumeBackupsInnerStatus) Set ¶ added in v1.1.0
func (v *NullableBackupVolumeBackupsInnerStatus) Set(val *BackupVolumeBackupsInnerStatus)
func (*NullableBackupVolumeBackupsInnerStatus) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableBackupVolumeBackupsInnerStatus) UnmarshalJSON(src []byte) error
func (*NullableBackupVolumeBackupsInnerStatus) Unset ¶ added in v1.1.0
func (v *NullableBackupVolumeBackupsInnerStatus) 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 ¶ 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 (v NullableCreateBackupPayload) Get() *CreateBackupPayload
func (NullableCreateBackupPayload) IsSet ¶ added in v0.2.0
func (v NullableCreateBackupPayload) IsSet() bool
func (NullableCreateBackupPayload) MarshalJSON ¶ added in v0.2.0
func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateBackupPayload) Set ¶ added in v0.2.0
func (v *NullableCreateBackupPayload) Set(val *CreateBackupPayload)
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 (v NullableCreateBackupSchedulePayload) Get() *CreateBackupSchedulePayload
func (NullableCreateBackupSchedulePayload) IsSet ¶ added in v0.2.0
func (v NullableCreateBackupSchedulePayload) IsSet() bool
func (NullableCreateBackupSchedulePayload) MarshalJSON ¶ added in v0.2.0
func (v NullableCreateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateBackupSchedulePayload) Set ¶ added in v0.2.0
func (v *NullableCreateBackupSchedulePayload) Set(val *CreateBackupSchedulePayload)
func (*NullableCreateBackupSchedulePayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableCreateBackupSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateBackupSchedulePayload) Unset ¶ added in v0.2.0
func (v *NullableCreateBackupSchedulePayload) 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 (v NullableEnableServiceResourcePayload) Get() *EnableServiceResourcePayload
func (NullableEnableServiceResourcePayload) IsSet ¶ added in v0.3.0
func (v NullableEnableServiceResourcePayload) IsSet() bool
func (NullableEnableServiceResourcePayload) MarshalJSON ¶ added in v0.3.0
func (v NullableEnableServiceResourcePayload) MarshalJSON() ([]byte, error)
func (*NullableEnableServiceResourcePayload) Set ¶ added in v0.3.0
func (v *NullableEnableServiceResourcePayload) Set(val *EnableServiceResourcePayload)
func (*NullableEnableServiceResourcePayload) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableEnableServiceResourcePayload) UnmarshalJSON(src []byte) error
func (*NullableEnableServiceResourcePayload) Unset ¶ added in v0.3.0
func (v *NullableEnableServiceResourcePayload) Unset()
type NullableErrorResponse ¶ added in v0.2.0
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶ added in v0.2.0
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶ added in v0.2.0
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶ added in v0.2.0
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶ added in v0.2.0
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶ added in v0.2.0
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶ added in v0.2.0
func (v *NullableErrorResponse) 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 ¶ added in v0.4.0
type NullableGetBackupPoliciesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupPoliciesResponse ¶ added in v0.4.0
func NewNullableGetBackupPoliciesResponse(val *GetBackupPoliciesResponse) *NullableGetBackupPoliciesResponse
func (NullableGetBackupPoliciesResponse) Get ¶ added in v0.4.0
func (v NullableGetBackupPoliciesResponse) Get() *GetBackupPoliciesResponse
func (NullableGetBackupPoliciesResponse) IsSet ¶ added in v0.4.0
func (v NullableGetBackupPoliciesResponse) IsSet() bool
func (NullableGetBackupPoliciesResponse) MarshalJSON ¶ added in v0.4.0
func (v NullableGetBackupPoliciesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupPoliciesResponse) Set ¶ added in v0.4.0
func (v *NullableGetBackupPoliciesResponse) Set(val *GetBackupPoliciesResponse)
func (*NullableGetBackupPoliciesResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableGetBackupPoliciesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupPoliciesResponse) Unset ¶ added in v0.4.0
func (v *NullableGetBackupPoliciesResponse) 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 (v NullableGetBackupSchedulesResponse) Get() *GetBackupSchedulesResponse
func (NullableGetBackupSchedulesResponse) IsSet ¶ added in v0.3.0
func (v NullableGetBackupSchedulesResponse) IsSet() bool
func (NullableGetBackupSchedulesResponse) MarshalJSON ¶ added in v0.3.0
func (v NullableGetBackupSchedulesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupSchedulesResponse) Set ¶ added in v0.3.0
func (v *NullableGetBackupSchedulesResponse) Set(val *GetBackupSchedulesResponse)
func (*NullableGetBackupSchedulesResponse) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableGetBackupSchedulesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupSchedulesResponse) Unset ¶ added in v0.3.0
func (v *NullableGetBackupSchedulesResponse) Unset()
type NullableGetBackupServiceResponse ¶ added in v0.5.0
type NullableGetBackupServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupServiceResponse ¶ added in v0.5.0
func NewNullableGetBackupServiceResponse(val *GetBackupServiceResponse) *NullableGetBackupServiceResponse
func (NullableGetBackupServiceResponse) Get ¶ added in v0.5.0
func (v NullableGetBackupServiceResponse) Get() *GetBackupServiceResponse
func (NullableGetBackupServiceResponse) IsSet ¶ added in v0.5.0
func (v NullableGetBackupServiceResponse) IsSet() bool
func (NullableGetBackupServiceResponse) MarshalJSON ¶ added in v0.5.0
func (v NullableGetBackupServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupServiceResponse) Set ¶ added in v0.5.0
func (v *NullableGetBackupServiceResponse) Set(val *GetBackupServiceResponse)
func (*NullableGetBackupServiceResponse) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableGetBackupServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupServiceResponse) Unset ¶ added in v0.5.0
func (v *NullableGetBackupServiceResponse) Unset()
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 (v NullableGetBackupsListResponse) Get() *GetBackupsListResponse
func (NullableGetBackupsListResponse) IsSet ¶ added in v0.3.0
func (v NullableGetBackupsListResponse) IsSet() bool
func (NullableGetBackupsListResponse) MarshalJSON ¶ added in v0.3.0
func (v NullableGetBackupsListResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupsListResponse) Set ¶ added in v0.3.0
func (v *NullableGetBackupsListResponse) Set(val *GetBackupsListResponse)
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 (v NullableRestoreBackupPayload) Get() *RestoreBackupPayload
func (NullableRestoreBackupPayload) IsSet ¶ added in v0.2.0
func (v NullableRestoreBackupPayload) IsSet() bool
func (NullableRestoreBackupPayload) MarshalJSON ¶ added in v0.2.0
func (v NullableRestoreBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreBackupPayload) Set ¶ added in v0.2.0
func (v *NullableRestoreBackupPayload) Set(val *RestoreBackupPayload)
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 (v NullableRestoreVolumeBackupPayload) Get() *RestoreVolumeBackupPayload
func (NullableRestoreVolumeBackupPayload) IsSet ¶ added in v0.2.0
func (v NullableRestoreVolumeBackupPayload) IsSet() bool
func (NullableRestoreVolumeBackupPayload) MarshalJSON ¶ added in v0.2.0
func (v NullableRestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreVolumeBackupPayload) Set ¶ added in v0.2.0
func (v *NullableRestoreVolumeBackupPayload) Set(val *RestoreVolumeBackupPayload)
func (*NullableRestoreVolumeBackupPayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableRestoreVolumeBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableRestoreVolumeBackupPayload) Unset ¶ added in v0.2.0
func (v *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 ¶ 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 (v NullableUpdateBackupSchedulePayload) Get() *UpdateBackupSchedulePayload
func (NullableUpdateBackupSchedulePayload) IsSet ¶ added in v0.2.0
func (v NullableUpdateBackupSchedulePayload) IsSet() bool
func (NullableUpdateBackupSchedulePayload) MarshalJSON ¶ added in v0.2.0
func (v NullableUpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateBackupSchedulePayload) Set ¶ added in v0.2.0
func (v *NullableUpdateBackupSchedulePayload) Set(val *UpdateBackupSchedulePayload)
func (*NullableUpdateBackupSchedulePayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableUpdateBackupSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateBackupSchedulePayload) Unset ¶ added in v0.2.0
func (v *NullableUpdateBackupSchedulePayload) Unset()
type NullableValue ¶ added in v1.0.0
type NullableValue[T any] struct { // contains filtered or unexported fields }
func (NullableValue[T]) Get ¶ added in v1.0.0
func (v NullableValue[T]) Get() *T
func (NullableValue[T]) IsSet ¶ added in v1.0.0
func (v NullableValue[T]) IsSet() bool
func (*NullableValue[T]) Set ¶ added in v1.0.0
func (v *NullableValue[T]) Set(val *T)
func (*NullableValue[T]) Unset ¶ added in v1.0.0
func (v *NullableValue[T]) Unset()
type RestoreBackupPayload ¶
type RestoreBackupPayload struct { // REQUIRED StartServerAfterRestore RestoreBackupPayloadgetStartServerAfterRestoreAttributeType `json:"startServerAfterRestore"` VolumeIds RestoreBackupPayloadGetVolumeIdsAttributeType `json:"volumeIds,omitempty"` }
RestoreBackupPayload struct for RestoreBackupPayload
func NewRestoreBackupPayload ¶ added in v0.2.0
func NewRestoreBackupPayload(startServerAfterRestore RestoreBackupPayloadgetStartServerAfterRestoreArgType) *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() (ret RestoreBackupPayloadgetStartServerAfterRestoreRetType)
GetStartServerAfterRestore returns the StartServerAfterRestore field value
func (*RestoreBackupPayload) GetStartServerAfterRestoreOk ¶ added in v0.2.0
func (o *RestoreBackupPayload) GetStartServerAfterRestoreOk() (ret RestoreBackupPayloadgetStartServerAfterRestoreRetType, ok 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() (res RestoreBackupPayloadGetVolumeIdsRetType)
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*RestoreBackupPayload) GetVolumeIdsOk ¶ added in v0.2.0
func (o *RestoreBackupPayload) GetVolumeIdsOk() (ret RestoreBackupPayloadGetVolumeIdsRetType, ok 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 RestoreBackupPayloadgetStartServerAfterRestoreRetType)
SetStartServerAfterRestore sets field value
func (*RestoreBackupPayload) SetVolumeIds ¶ added in v0.2.0
func (o *RestoreBackupPayload) SetVolumeIds(v RestoreBackupPayloadGetVolumeIdsRetType)
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 RestoreBackupPayloadGetVolumeIdsArgType ¶ added in v1.0.0
type RestoreBackupPayloadGetVolumeIdsArgType = []string
type RestoreBackupPayloadGetVolumeIdsAttributeType ¶ added in v1.0.0
type RestoreBackupPayloadGetVolumeIdsAttributeType = *[]string
isArray
type RestoreBackupPayloadGetVolumeIdsRetType ¶ added in v1.0.0
type RestoreBackupPayloadGetVolumeIdsRetType = []string
type RestoreBackupPayloadgetStartServerAfterRestoreArgType ¶ added in v1.0.0
type RestoreBackupPayloadgetStartServerAfterRestoreArgType = bool
type RestoreBackupPayloadgetStartServerAfterRestoreAttributeType ¶ added in v1.0.0
type RestoreBackupPayloadgetStartServerAfterRestoreAttributeType = *bool
isBoolean
type RestoreBackupPayloadgetStartServerAfterRestoreRetType ¶ added in v1.0.0
type RestoreBackupPayloadgetStartServerAfterRestoreRetType = bool
type RestoreVolumeBackupPayload ¶
type RestoreVolumeBackupPayload struct { // REQUIRED RestoreVolumeId RestoreVolumeBackupPayloadGetRestoreVolumeIdAttributeType `json:"restoreVolumeId"` }
RestoreVolumeBackupPayload struct for RestoreVolumeBackupPayload
func NewRestoreVolumeBackupPayload ¶ added in v0.2.0
func NewRestoreVolumeBackupPayload(restoreVolumeId RestoreVolumeBackupPayloadGetRestoreVolumeIdArgType) *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() (ret RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType)
GetRestoreVolumeId returns the RestoreVolumeId field value
func (*RestoreVolumeBackupPayload) GetRestoreVolumeIdOk ¶ added in v0.2.0
func (o *RestoreVolumeBackupPayload) GetRestoreVolumeIdOk() (ret RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType, ok 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 RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType)
SetRestoreVolumeId sets field value
func (RestoreVolumeBackupPayload) ToMap ¶ added in v0.2.0
func (o RestoreVolumeBackupPayload) ToMap() (map[string]interface{}, error)
type RestoreVolumeBackupPayloadGetRestoreVolumeIdArgType ¶ added in v1.0.0
type RestoreVolumeBackupPayloadGetRestoreVolumeIdArgType = string
type RestoreVolumeBackupPayloadGetRestoreVolumeIdAttributeType ¶ added in v1.0.0
type RestoreVolumeBackupPayloadGetRestoreVolumeIdAttributeType = *string
isNotNullableString
type RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType ¶ added in v1.0.0
type RestoreVolumeBackupPayloadGetRestoreVolumeIdRetType = string
type UpdateBackupSchedulePayload ¶
type UpdateBackupSchedulePayload struct { BackupProperties UpdateBackupSchedulePayloadGetBackupPropertiesAttributeType `json:"backupProperties,omitempty"` // REQUIRED Enabled UpdateBackupSchedulePayloadgetEnabledAttributeType `json:"enabled"` // Max 255 characters // REQUIRED Name UpdateBackupSchedulePayloadGetNameAttributeType `json:"name"` // REQUIRED Rrule UpdateBackupSchedulePayloadGetRruleAttributeType `json:"rrule"` }
UpdateBackupSchedulePayload struct for UpdateBackupSchedulePayload
func NewUpdateBackupSchedulePayload ¶ added in v0.2.0
func NewUpdateBackupSchedulePayload(enabled UpdateBackupSchedulePayloadgetEnabledArgType, name UpdateBackupSchedulePayloadGetNameArgType, rrule UpdateBackupSchedulePayloadGetRruleArgType) *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() (res UpdateBackupSchedulePayloadGetBackupPropertiesRetType)
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*UpdateBackupSchedulePayload) GetBackupPropertiesOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetBackupPropertiesOk() (ret UpdateBackupSchedulePayloadGetBackupPropertiesRetType, ok 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() (ret UpdateBackupSchedulePayloadgetEnabledRetType)
GetEnabled returns the Enabled field value
func (*UpdateBackupSchedulePayload) GetEnabledOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetEnabledOk() (ret UpdateBackupSchedulePayloadgetEnabledRetType, ok 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() (ret UpdateBackupSchedulePayloadGetNameRetType)
GetName returns the Name field value
func (*UpdateBackupSchedulePayload) GetNameOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetNameOk() (ret UpdateBackupSchedulePayloadGetNameRetType, ok 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() (ret UpdateBackupSchedulePayloadGetRruleRetType)
GetRrule returns the Rrule field value
func (*UpdateBackupSchedulePayload) GetRruleOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetRruleOk() (ret UpdateBackupSchedulePayloadGetRruleRetType, ok 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 UpdateBackupSchedulePayloadGetBackupPropertiesRetType)
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 UpdateBackupSchedulePayloadgetEnabledRetType)
SetEnabled sets field value
func (*UpdateBackupSchedulePayload) SetName ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) SetName(v UpdateBackupSchedulePayloadGetNameRetType)
SetName sets field value
func (*UpdateBackupSchedulePayload) SetRrule ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) SetRrule(v UpdateBackupSchedulePayloadGetRruleRetType)
SetRrule sets field value
func (UpdateBackupSchedulePayload) ToMap ¶ added in v0.2.0
func (o UpdateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
type UpdateBackupSchedulePayloadGetBackupPropertiesArgType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetBackupPropertiesArgType = BackupProperties
type UpdateBackupSchedulePayloadGetBackupPropertiesAttributeType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetBackupPropertiesAttributeType = *BackupProperties
isModel
type UpdateBackupSchedulePayloadGetBackupPropertiesRetType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetBackupPropertiesRetType = BackupProperties
type UpdateBackupSchedulePayloadGetNameArgType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetNameArgType = string
type UpdateBackupSchedulePayloadGetNameAttributeType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetNameAttributeType = *string
isNotNullableString
type UpdateBackupSchedulePayloadGetNameRetType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetNameRetType = string
type UpdateBackupSchedulePayloadGetRruleArgType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetRruleArgType = string
type UpdateBackupSchedulePayloadGetRruleAttributeType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetRruleAttributeType = *string
isNotNullableString
type UpdateBackupSchedulePayloadGetRruleRetType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadGetRruleRetType = string
type UpdateBackupSchedulePayloadgetEnabledArgType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadgetEnabledArgType = bool
type UpdateBackupSchedulePayloadgetEnabledAttributeType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadgetEnabledAttributeType = *bool
isBoolean
type UpdateBackupSchedulePayloadgetEnabledRetType ¶ added in v1.0.0
type UpdateBackupSchedulePayloadgetEnabledRetType = bool
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_backup.go
- model_backup_job.go
- model_backup_policy.go
- model_backup_policy_backup_properties.go
- model_backup_properties.go
- model_backup_schedule.go
- model_backup_volume_backups_inner.go
- model_create_backup_payload.go
- model_create_backup_schedule_payload.go
- model_enable_service_resource_payload.go
- model_error_response.go
- model_get_backup_policies_response.go
- model_get_backup_schedules_response.go
- model_get_backup_service_response.go
- model_get_backups_list_response.go
- model_restore_backup_payload.go
- model_restore_volume_backup_payload.go
- model_update_backup_schedule_payload.go
- utils.go