Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- 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
- type APIResponse
- 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() string
- func (o *Backup) GetCreatedAtOk() (*string, bool)
- func (o *Backup) GetExpireAt() string
- func (o *Backup) GetExpireAtOk() (*string, bool)
- func (o *Backup) GetId() string
- func (o *Backup) GetIdOk() (*string, bool)
- func (o *Backup) GetLastRestoredAt() string
- func (o *Backup) GetLastRestoredAtOk() (*string, bool)
- func (o *Backup) GetName() string
- func (o *Backup) GetNameOk() (*string, bool)
- func (o *Backup) GetSize() int32
- func (o *Backup) GetSizeOk() (*int32, bool)
- func (o *Backup) GetStatus() string
- func (o *Backup) GetStatusOk() (*string, bool)
- func (o *Backup) GetVolumeBackups() []BackupVolumeBackupsInner
- func (o *Backup) GetVolumeBackupsOk() ([]BackupVolumeBackupsInner, bool)
- func (o *Backup) HasLastRestoredAt() bool
- func (o *Backup) HasSize() bool
- func (o *Backup) HasVolumeBackups() bool
- func (o Backup) MarshalJSON() ([]byte, error)
- func (o *Backup) SetCreatedAt(v string)
- func (o *Backup) SetExpireAt(v string)
- func (o *Backup) SetId(v string)
- func (o *Backup) SetLastRestoredAt(v string)
- func (o *Backup) SetName(v string)
- func (o *Backup) SetSize(v int32)
- func (o *Backup) SetStatus(v string)
- func (o *Backup) SetVolumeBackups(v []BackupVolumeBackupsInner)
- func (o Backup) ToMap() (map[string]interface{}, error)
- func (o *Backup) UnmarshalJSON(data []byte) (err error)
- type BackupJob
- type BackupPolicy
- func (o *BackupPolicy) GetBackupProperties() BackupPolicyBackupProperties
- func (o *BackupPolicy) GetBackupPropertiesOk() (*BackupPolicyBackupProperties, bool)
- func (o *BackupPolicy) GetDefault() bool
- func (o *BackupPolicy) GetDefaultOk() (*bool, bool)
- func (o *BackupPolicy) GetDescription() string
- func (o *BackupPolicy) GetDescriptionOk() (*string, bool)
- func (o *BackupPolicy) GetEnabled() bool
- func (o *BackupPolicy) GetEnabledOk() (*bool, bool)
- func (o *BackupPolicy) GetId() string
- func (o *BackupPolicy) GetIdOk() (*string, bool)
- func (o *BackupPolicy) GetName() string
- func (o *BackupPolicy) GetNameOk() (*string, bool)
- func (o *BackupPolicy) GetRrule() string
- func (o *BackupPolicy) GetRruleOk() (*string, 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) MarshalJSON() ([]byte, error)
- func (o *BackupPolicy) SetBackupProperties(v BackupPolicyBackupProperties)
- func (o *BackupPolicy) SetDefault(v bool)
- func (o *BackupPolicy) SetDescription(v string)
- func (o *BackupPolicy) SetEnabled(v bool)
- func (o *BackupPolicy) SetId(v string)
- func (o *BackupPolicy) SetName(v string)
- func (o *BackupPolicy) SetRrule(v string)
- func (o BackupPolicy) ToMap() (map[string]interface{}, error)
- type BackupPolicyBackupProperties
- func (o *BackupPolicyBackupProperties) GetName() string
- func (o *BackupPolicyBackupProperties) GetNameOk() (*string, bool)
- func (o *BackupPolicyBackupProperties) GetRetentionPeriod() int32
- func (o *BackupPolicyBackupProperties) GetRetentionPeriodOk() (*int32, bool)
- func (o *BackupPolicyBackupProperties) HasName() bool
- func (o *BackupPolicyBackupProperties) HasRetentionPeriod() bool
- func (o BackupPolicyBackupProperties) MarshalJSON() ([]byte, error)
- func (o *BackupPolicyBackupProperties) SetName(v string)
- func (o *BackupPolicyBackupProperties) SetRetentionPeriod(v int32)
- func (o BackupPolicyBackupProperties) ToMap() (map[string]interface{}, error)
- type BackupProperties
- func (o *BackupProperties) GetName() string
- func (o *BackupProperties) GetNameOk() (*string, bool)
- func (o *BackupProperties) GetRetentionPeriod() int32
- func (o *BackupProperties) GetRetentionPeriodOk() (*int32, bool)
- func (o *BackupProperties) GetVolumeIds() []string
- func (o *BackupProperties) GetVolumeIdsOk() ([]string, bool)
- func (o *BackupProperties) HasVolumeIds() bool
- func (o BackupProperties) MarshalJSON() ([]byte, error)
- func (o *BackupProperties) SetName(v string)
- func (o *BackupProperties) SetRetentionPeriod(v int32)
- func (o *BackupProperties) SetVolumeIds(v []string)
- func (o BackupProperties) ToMap() (map[string]interface{}, error)
- func (o *BackupProperties) UnmarshalJSON(data []byte) (err error)
- type BackupSchedule
- func (o *BackupSchedule) GetBackupProperties() BackupProperties
- func (o *BackupSchedule) GetBackupPropertiesOk() (*BackupProperties, bool)
- func (o *BackupSchedule) GetEnabled() bool
- func (o *BackupSchedule) GetEnabledOk() (*bool, bool)
- func (o *BackupSchedule) GetId() int32
- func (o *BackupSchedule) GetIdOk() (*int32, bool)
- func (o *BackupSchedule) GetName() string
- func (o *BackupSchedule) GetNameOk() (*string, bool)
- func (o *BackupSchedule) GetRrule() string
- func (o *BackupSchedule) GetRruleOk() (*string, bool)
- func (o *BackupSchedule) HasBackupProperties() bool
- func (o BackupSchedule) MarshalJSON() ([]byte, error)
- func (o *BackupSchedule) SetBackupProperties(v BackupProperties)
- func (o *BackupSchedule) SetEnabled(v bool)
- func (o *BackupSchedule) SetId(v int32)
- func (o *BackupSchedule) SetName(v string)
- func (o *BackupSchedule) SetRrule(v string)
- func (o BackupSchedule) ToMap() (map[string]interface{}, error)
- func (o *BackupSchedule) UnmarshalJSON(data []byte) (err error)
- type BackupVolumeBackupsInner
- func (o *BackupVolumeBackupsInner) GetId() string
- func (o *BackupVolumeBackupsInner) GetIdOk() (*string, bool)
- func (o *BackupVolumeBackupsInner) GetLastRestoredAt() string
- func (o *BackupVolumeBackupsInner) GetLastRestoredAtOk() (*string, bool)
- func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeId() string
- func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk() (*string, bool)
- func (o *BackupVolumeBackupsInner) GetSize() int32
- func (o *BackupVolumeBackupsInner) GetSizeOk() (*int32, bool)
- func (o *BackupVolumeBackupsInner) GetStatus() string
- func (o *BackupVolumeBackupsInner) GetStatusOk() (*string, bool)
- func (o *BackupVolumeBackupsInner) GetVolumeId() string
- func (o *BackupVolumeBackupsInner) GetVolumeIdOk() (*string, 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) MarshalJSON() ([]byte, error)
- func (o *BackupVolumeBackupsInner) SetId(v string)
- func (o *BackupVolumeBackupsInner) SetLastRestoredAt(v string)
- func (o *BackupVolumeBackupsInner) SetLastRestoredVolumeId(v string)
- func (o *BackupVolumeBackupsInner) SetSize(v int32)
- func (o *BackupVolumeBackupsInner) SetStatus(v string)
- func (o *BackupVolumeBackupsInner) SetVolumeId(v string)
- func (o BackupVolumeBackupsInner) ToMap() (map[string]interface{}, error)
- type CreateBackupPayload
- func (o *CreateBackupPayload) GetName() string
- func (o *CreateBackupPayload) GetNameOk() (*string, bool)
- func (o *CreateBackupPayload) GetRetentionPeriod() int32
- func (o *CreateBackupPayload) GetRetentionPeriodOk() (*int32, bool)
- func (o *CreateBackupPayload) GetVolumeIds() []string
- func (o *CreateBackupPayload) GetVolumeIdsOk() ([]string, bool)
- func (o *CreateBackupPayload) HasVolumeIds() bool
- func (o CreateBackupPayload) MarshalJSON() ([]byte, error)
- func (o *CreateBackupPayload) SetName(v string)
- func (o *CreateBackupPayload) SetRetentionPeriod(v int32)
- func (o *CreateBackupPayload) SetVolumeIds(v []string)
- func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateBackupPayload) UnmarshalJSON(data []byte) (err error)
- type CreateBackupSchedulePayload
- func (o *CreateBackupSchedulePayload) GetBackupProperties() BackupProperties
- func (o *CreateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)
- func (o *CreateBackupSchedulePayload) GetEnabled() bool
- func (o *CreateBackupSchedulePayload) GetEnabledOk() (*bool, bool)
- func (o *CreateBackupSchedulePayload) GetName() string
- func (o *CreateBackupSchedulePayload) GetNameOk() (*string, bool)
- func (o *CreateBackupSchedulePayload) GetRrule() string
- func (o *CreateBackupSchedulePayload) GetRruleOk() (*string, bool)
- func (o *CreateBackupSchedulePayload) HasBackupProperties() bool
- func (o CreateBackupSchedulePayload) MarshalJSON() ([]byte, error)
- func (o *CreateBackupSchedulePayload) SetBackupProperties(v BackupProperties)
- func (o *CreateBackupSchedulePayload) SetEnabled(v bool)
- func (o *CreateBackupSchedulePayload) SetName(v string)
- func (o *CreateBackupSchedulePayload) SetRrule(v string)
- func (o CreateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateBackupSchedulePayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupRequest
- func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)
- func (a *DefaultAPIService) CreateBackupSchedule(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupScheduleRequest
- func (a *DefaultAPIService) CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)
- func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteBackupRequest
- func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error
- func (a *DefaultAPIService) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteBackupScheduleRequest
- func (a *DefaultAPIService) DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error
- func (a *DefaultAPIService) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteVolumeBackupRequest
- func (a *DefaultAPIService) DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error
- func (a *DefaultAPIService) DisableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiDisableServiceResourceRequest
- func (a *DefaultAPIService) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error
- func (a *DefaultAPIService) EnableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiEnableServiceResourceRequest
- func (a *DefaultAPIService) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error
- func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiGetBackupRequest
- func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
- func (a *DefaultAPIService) GetBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiGetBackupScheduleRequest
- func (a *DefaultAPIService) GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)
- func (a *DefaultAPIService) GetServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiGetServiceResourceRequest
- func (a *DefaultAPIService) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)
- func (a *DefaultAPIService) ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest
- func (a *DefaultAPIService) ListBackupPoliciesExecute(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)
- func (a *DefaultAPIService) ListBackupSchedules(ctx context.Context, projectId string, serverId string, region string) ApiListBackupSchedulesRequest
- func (a *DefaultAPIService) ListBackupSchedulesExecute(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)
- func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, serverId string, region string) ApiListBackupsRequest
- func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*GetBackupsListResponse, error)
- func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiRestoreBackupRequest
- func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error
- func (a *DefaultAPIService) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiRestoreVolumeBackupRequest
- func (a *DefaultAPIService) RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error
- func (a *DefaultAPIService) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiUpdateBackupScheduleRequest
- func (a *DefaultAPIService) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupRequest
- func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)
- func (a DefaultAPIServiceMock) CreateBackupSchedule(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupScheduleRequest
- func (a DefaultAPIServiceMock) CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)
- func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteBackupRequest
- func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error
- func (a DefaultAPIServiceMock) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteBackupScheduleRequest
- func (a DefaultAPIServiceMock) DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error
- func (a DefaultAPIServiceMock) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiDeleteVolumeBackupRequest
- func (a DefaultAPIServiceMock) DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error
- func (a DefaultAPIServiceMock) DisableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiDisableServiceResourceRequest
- func (a DefaultAPIServiceMock) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error
- func (a DefaultAPIServiceMock) EnableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiEnableServiceResourceRequest
- func (a DefaultAPIServiceMock) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error
- func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiGetBackupRequest
- func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
- func (a DefaultAPIServiceMock) GetBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiGetBackupScheduleRequest
- func (a DefaultAPIServiceMock) GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)
- func (a DefaultAPIServiceMock) GetServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiGetServiceResourceRequest
- func (a DefaultAPIServiceMock) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)
- func (a DefaultAPIServiceMock) ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest
- func (a DefaultAPIServiceMock) ListBackupPoliciesExecute(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)
- func (a DefaultAPIServiceMock) ListBackupSchedules(ctx context.Context, projectId string, serverId string, region string) ApiListBackupSchedulesRequest
- func (a DefaultAPIServiceMock) ListBackupSchedulesExecute(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)
- func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, serverId string, region string) ApiListBackupsRequest
- func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*GetBackupsListResponse, error)
- func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiRestoreBackupRequest
- func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error
- func (a DefaultAPIServiceMock) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, region string, ...) ApiRestoreVolumeBackupRequest
- func (a DefaultAPIServiceMock) RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error
- func (a DefaultAPIServiceMock) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, region string, ...) ApiUpdateBackupScheduleRequest
- func (a DefaultAPIServiceMock) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
- type EnableServiceResourcePayload
- func (o *EnableServiceResourcePayload) GetBackupPolicyId() string
- func (o *EnableServiceResourcePayload) GetBackupPolicyIdOk() (*string, bool)
- func (o *EnableServiceResourcePayload) HasBackupPolicyId() bool
- func (o EnableServiceResourcePayload) MarshalJSON() ([]byte, error)
- func (o *EnableServiceResourcePayload) SetBackupPolicyId(v string)
- func (o EnableServiceResourcePayload) ToMap() (map[string]interface{}, error)
- type ErrorResponse
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() string
- func (o *ErrorResponse) GetStatusOk() (*string, bool)
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetMessage(v string)
- func (o *ErrorResponse) SetStatus(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type GetBackupPoliciesResponse
- func (o *GetBackupPoliciesResponse) GetItems() []BackupPolicy
- func (o *GetBackupPoliciesResponse) GetItemsOk() ([]BackupPolicy, bool)
- func (o *GetBackupPoliciesResponse) HasItems() bool
- func (o GetBackupPoliciesResponse) MarshalJSON() ([]byte, error)
- func (o *GetBackupPoliciesResponse) SetItems(v []BackupPolicy)
- func (o GetBackupPoliciesResponse) ToMap() (map[string]interface{}, error)
- type GetBackupSchedulesResponse
- func (o *GetBackupSchedulesResponse) GetItems() []BackupSchedule
- func (o *GetBackupSchedulesResponse) GetItemsOk() ([]BackupSchedule, bool)
- func (o *GetBackupSchedulesResponse) HasItems() bool
- func (o GetBackupSchedulesResponse) MarshalJSON() ([]byte, error)
- func (o *GetBackupSchedulesResponse) SetItems(v []BackupSchedule)
- func (o GetBackupSchedulesResponse) ToMap() (map[string]interface{}, error)
- type GetBackupServiceResponse
- func (o *GetBackupServiceResponse) GetEnabled() bool
- func (o *GetBackupServiceResponse) GetEnabledOk() (*bool, bool)
- func (o *GetBackupServiceResponse) HasEnabled() bool
- func (o GetBackupServiceResponse) MarshalJSON() ([]byte, error)
- func (o *GetBackupServiceResponse) SetEnabled(v bool)
- func (o GetBackupServiceResponse) ToMap() (map[string]interface{}, error)
- type GetBackupsListResponse
- func (o *GetBackupsListResponse) GetItems() []Backup
- func (o *GetBackupsListResponse) GetItemsOk() ([]Backup, bool)
- func (o *GetBackupsListResponse) HasItems() bool
- func (o GetBackupsListResponse) MarshalJSON() ([]byte, error)
- func (o *GetBackupsListResponse) SetItems(v []Backup)
- func (o GetBackupsListResponse) ToMap() (map[string]interface{}, error)
- 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 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 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 RestoreBackupPayload
- func (o *RestoreBackupPayload) GetStartServerAfterRestore() bool
- func (o *RestoreBackupPayload) GetStartServerAfterRestoreOk() (*bool, bool)
- func (o *RestoreBackupPayload) GetVolumeIds() []string
- func (o *RestoreBackupPayload) GetVolumeIdsOk() ([]string, bool)
- func (o *RestoreBackupPayload) HasVolumeIds() bool
- func (o RestoreBackupPayload) MarshalJSON() ([]byte, error)
- func (o *RestoreBackupPayload) SetStartServerAfterRestore(v bool)
- func (o *RestoreBackupPayload) SetVolumeIds(v []string)
- func (o RestoreBackupPayload) ToMap() (map[string]interface{}, error)
- func (o *RestoreBackupPayload) UnmarshalJSON(data []byte) (err error)
- type RestoreVolumeBackupPayload
- func (o *RestoreVolumeBackupPayload) GetRestoreVolumeId() string
- func (o *RestoreVolumeBackupPayload) GetRestoreVolumeIdOk() (*string, bool)
- func (o RestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)
- func (o *RestoreVolumeBackupPayload) SetRestoreVolumeId(v string)
- func (o RestoreVolumeBackupPayload) ToMap() (map[string]interface{}, error)
- func (o *RestoreVolumeBackupPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateBackupSchedulePayload
- func (o *UpdateBackupSchedulePayload) GetBackupProperties() BackupProperties
- func (o *UpdateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)
- func (o *UpdateBackupSchedulePayload) GetEnabled() bool
- func (o *UpdateBackupSchedulePayload) GetEnabledOk() (*bool, bool)
- func (o *UpdateBackupSchedulePayload) GetName() string
- func (o *UpdateBackupSchedulePayload) GetNameOk() (*string, bool)
- func (o *UpdateBackupSchedulePayload) GetRrule() string
- func (o *UpdateBackupSchedulePayload) GetRruleOk() (*string, bool)
- func (o *UpdateBackupSchedulePayload) HasBackupProperties() bool
- func (o UpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateBackupSchedulePayload) SetBackupProperties(v BackupProperties)
- func (o *UpdateBackupSchedulePayload) SetEnabled(v bool)
- func (o *UpdateBackupSchedulePayload) SetName(v string)
- func (o *UpdateBackupSchedulePayload) SetRrule(v string)
- func (o UpdateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateBackupSchedulePayload) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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 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 {
DefaultAPI DefaultAPI
// 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. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateBackupRequest ¶
type ApiCreateBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateBackupRequest) CreateBackupPayload ¶
func (r ApiCreateBackupRequest) CreateBackupPayload(createBackupPayload CreateBackupPayload) ApiCreateBackupRequest
func (ApiCreateBackupRequest) Execute ¶
func (r ApiCreateBackupRequest) Execute() (*BackupJob, error)
type ApiCreateBackupScheduleRequest ¶
type ApiCreateBackupScheduleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload ¶
func (r ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload(createBackupSchedulePayload CreateBackupSchedulePayload) ApiCreateBackupScheduleRequest
func (ApiCreateBackupScheduleRequest) Execute ¶
func (r ApiCreateBackupScheduleRequest) Execute() (*BackupSchedule, error)
type ApiDeleteBackupRequest ¶
type ApiDeleteBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteBackupRequest) Execute ¶
func (r ApiDeleteBackupRequest) Execute() error
func (ApiDeleteBackupRequest) Force ¶
func (r ApiDeleteBackupRequest) Force(force bool) ApiDeleteBackupRequest
force delete the backup
type ApiDeleteBackupScheduleRequest ¶
type ApiDeleteBackupScheduleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteBackupScheduleRequest) Execute ¶
func (r ApiDeleteBackupScheduleRequest) Execute() error
type ApiDeleteVolumeBackupRequest ¶
type ApiDeleteVolumeBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteVolumeBackupRequest) Execute ¶
func (r ApiDeleteVolumeBackupRequest) Execute() error
func (ApiDeleteVolumeBackupRequest) Force ¶
func (r ApiDeleteVolumeBackupRequest) Force(force bool) ApiDeleteVolumeBackupRequest
Force delete the volume backup
type ApiDisableServiceResourceRequest ¶
type ApiDisableServiceResourceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDisableServiceResourceRequest) Execute ¶
func (r ApiDisableServiceResourceRequest) Execute() error
type ApiEnableServiceResourceRequest ¶
type ApiEnableServiceResourceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiEnableServiceResourceRequest) EnableServiceResourcePayload ¶
func (r ApiEnableServiceResourceRequest) EnableServiceResourcePayload(enableServiceResourcePayload EnableServiceResourcePayload) ApiEnableServiceResourceRequest
func (ApiEnableServiceResourceRequest) Execute ¶
func (r ApiEnableServiceResourceRequest) Execute() error
type ApiGetBackupRequest ¶
type ApiGetBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetBackupRequest) Execute ¶
func (r ApiGetBackupRequest) Execute() (*Backup, error)
type ApiGetBackupScheduleRequest ¶
type ApiGetBackupScheduleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetBackupScheduleRequest) Execute ¶
func (r ApiGetBackupScheduleRequest) Execute() (*BackupSchedule, error)
type ApiGetServiceResourceRequest ¶
type ApiGetServiceResourceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetServiceResourceRequest) Execute ¶
func (r ApiGetServiceResourceRequest) Execute() (*GetBackupServiceResponse, error)
type ApiListBackupPoliciesRequest ¶
type ApiListBackupPoliciesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupPoliciesRequest) Execute ¶
func (r ApiListBackupPoliciesRequest) Execute() (*GetBackupPoliciesResponse, error)
type ApiListBackupSchedulesRequest ¶
type ApiListBackupSchedulesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupSchedulesRequest) Execute ¶
func (r ApiListBackupSchedulesRequest) Execute() (*GetBackupSchedulesResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*GetBackupsListResponse, error)
type ApiRestoreBackupRequest ¶
type ApiRestoreBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRestoreBackupRequest) Execute ¶
func (r ApiRestoreBackupRequest) Execute() error
func (ApiRestoreBackupRequest) RestoreBackupPayload ¶
func (r ApiRestoreBackupRequest) RestoreBackupPayload(restoreBackupPayload RestoreBackupPayload) ApiRestoreBackupRequest
type ApiRestoreVolumeBackupRequest ¶
type ApiRestoreVolumeBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRestoreVolumeBackupRequest) Execute ¶
func (r ApiRestoreVolumeBackupRequest) Execute() error
func (ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload ¶
func (r ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload(restoreVolumeBackupPayload RestoreVolumeBackupPayload) ApiRestoreVolumeBackupRequest
type ApiUpdateBackupScheduleRequest ¶
type ApiUpdateBackupScheduleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateBackupScheduleRequest) Execute ¶
func (r ApiUpdateBackupScheduleRequest) Execute() (*BackupSchedule, error)
func (ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload ¶
func (r ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload(updateBackupSchedulePayload UpdateBackupSchedulePayload) ApiUpdateBackupScheduleRequest
type Backup ¶
type Backup struct {
CreatedAt string `json:"createdAt"`
ExpireAt string `json:"expireAt"`
Id string `json:"id"`
LastRestoredAt *string `json:"lastRestoredAt,omitempty"`
Name string `json:"name"`
Size *int32 `json:"size,omitempty"`
Status string `json:"status"`
VolumeBackups []BackupVolumeBackupsInner `json:"volumeBackups,omitempty"`
}
Backup struct for Backup
func NewBackup ¶
NewBackup instantiates a new Backup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupWithDefaults ¶
func NewBackupWithDefaults() *Backup
NewBackupWithDefaults instantiates a new Backup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Backup) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Backup) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Backup) GetExpireAt ¶
GetExpireAt returns the ExpireAt field value
func (*Backup) GetExpireAtOk ¶
GetExpireAtOk returns a tuple with the ExpireAt field value and a boolean to check if the value has been set.
func (*Backup) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Backup) GetLastRestoredAt ¶
GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.
func (*Backup) GetLastRestoredAtOk ¶
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) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Backup) GetSizeOk ¶
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) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Backup) GetVolumeBackups ¶
func (o *Backup) GetVolumeBackups() []BackupVolumeBackupsInner
GetVolumeBackups returns the VolumeBackups field value if set, zero value otherwise.
func (*Backup) GetVolumeBackupsOk ¶
func (o *Backup) GetVolumeBackupsOk() ([]BackupVolumeBackupsInner, bool)
GetVolumeBackupsOk returns a tuple with the VolumeBackups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) HasLastRestoredAt ¶
HasLastRestoredAt returns a boolean if a field has been set.
func (*Backup) HasVolumeBackups ¶
HasVolumeBackups returns a boolean if a field has been set.
func (Backup) MarshalJSON ¶
func (*Backup) SetLastRestoredAt ¶
SetLastRestoredAt gets a reference to the given string and assigns it to the LastRestoredAt field.
func (*Backup) SetSize ¶
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*Backup) SetVolumeBackups ¶
func (o *Backup) SetVolumeBackups(v []BackupVolumeBackupsInner)
SetVolumeBackups gets a reference to the given []BackupVolumeBackupsInner and assigns it to the VolumeBackups field.
func (*Backup) UnmarshalJSON ¶
type BackupJob ¶
type BackupJob struct {
Id string `json:"id"`
}
BackupJob struct for BackupJob
func NewBackupJob ¶
NewBackupJob instantiates a new BackupJob object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupJobWithDefaults ¶
func NewBackupJobWithDefaults() *BackupJob
NewBackupJobWithDefaults instantiates a new BackupJob object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupJob) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (BackupJob) MarshalJSON ¶
func (*BackupJob) UnmarshalJSON ¶
type BackupPolicy ¶
type BackupPolicy struct {
BackupProperties *BackupPolicyBackupProperties `json:"backupProperties,omitempty"`
Default *bool `json:"default,omitempty"`
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
Rrule *string `json:"rrule,omitempty"`
}
BackupPolicy struct for BackupPolicy
func NewBackupPolicy ¶
func NewBackupPolicy() *BackupPolicy
NewBackupPolicy instantiates a new BackupPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupPolicyWithDefaults ¶
func NewBackupPolicyWithDefaults() *BackupPolicy
NewBackupPolicyWithDefaults instantiates a new BackupPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupPolicy) GetBackupProperties ¶
func (o *BackupPolicy) GetBackupProperties() BackupPolicyBackupProperties
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*BackupPolicy) GetBackupPropertiesOk ¶
func (o *BackupPolicy) GetBackupPropertiesOk() (*BackupPolicyBackupProperties, bool)
GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetDefault ¶
func (o *BackupPolicy) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*BackupPolicy) GetDefaultOk ¶
func (o *BackupPolicy) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetDescription ¶
func (o *BackupPolicy) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*BackupPolicy) GetDescriptionOk ¶
func (o *BackupPolicy) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetEnabled ¶
func (o *BackupPolicy) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*BackupPolicy) GetEnabledOk ¶
func (o *BackupPolicy) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetId ¶
func (o *BackupPolicy) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BackupPolicy) GetIdOk ¶
func (o *BackupPolicy) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetName ¶
func (o *BackupPolicy) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BackupPolicy) GetNameOk ¶
func (o *BackupPolicy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetRrule ¶
func (o *BackupPolicy) GetRrule() string
GetRrule returns the Rrule field value if set, zero value otherwise.
func (*BackupPolicy) GetRruleOk ¶
func (o *BackupPolicy) GetRruleOk() (*string, bool)
GetRruleOk returns a tuple with the Rrule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) HasBackupProperties ¶
func (o *BackupPolicy) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (*BackupPolicy) HasDefault ¶
func (o *BackupPolicy) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*BackupPolicy) HasDescription ¶
func (o *BackupPolicy) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*BackupPolicy) HasEnabled ¶
func (o *BackupPolicy) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*BackupPolicy) HasId ¶
func (o *BackupPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupPolicy) HasName ¶
func (o *BackupPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (*BackupPolicy) HasRrule ¶
func (o *BackupPolicy) HasRrule() bool
HasRrule returns a boolean if a field has been set.
func (BackupPolicy) MarshalJSON ¶
func (o BackupPolicy) MarshalJSON() ([]byte, error)
func (*BackupPolicy) SetBackupProperties ¶
func (o *BackupPolicy) SetBackupProperties(v BackupPolicyBackupProperties)
SetBackupProperties gets a reference to the given BackupPolicyBackupProperties and assigns it to the BackupProperties field.
func (*BackupPolicy) SetDefault ¶
func (o *BackupPolicy) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*BackupPolicy) SetDescription ¶
func (o *BackupPolicy) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*BackupPolicy) SetEnabled ¶
func (o *BackupPolicy) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*BackupPolicy) SetId ¶
func (o *BackupPolicy) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BackupPolicy) SetName ¶
func (o *BackupPolicy) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BackupPolicy) SetRrule ¶
func (o *BackupPolicy) SetRrule(v string)
SetRrule gets a reference to the given string and assigns it to the Rrule field.
func (BackupPolicy) ToMap ¶
func (o BackupPolicy) ToMap() (map[string]interface{}, error)
type BackupPolicyBackupProperties ¶
type BackupPolicyBackupProperties struct {
Name *string `json:"name,omitempty"`
RetentionPeriod *int32 `json:"retentionPeriod,omitempty"`
}
BackupPolicyBackupProperties struct for BackupPolicyBackupProperties
func NewBackupPolicyBackupProperties ¶
func NewBackupPolicyBackupProperties() *BackupPolicyBackupProperties
NewBackupPolicyBackupProperties instantiates a new BackupPolicyBackupProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupPolicyBackupPropertiesWithDefaults ¶
func NewBackupPolicyBackupPropertiesWithDefaults() *BackupPolicyBackupProperties
NewBackupPolicyBackupPropertiesWithDefaults instantiates a new BackupPolicyBackupProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupPolicyBackupProperties) GetName ¶
func (o *BackupPolicyBackupProperties) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BackupPolicyBackupProperties) GetNameOk ¶
func (o *BackupPolicyBackupProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicyBackupProperties) GetRetentionPeriod ¶
func (o *BackupPolicyBackupProperties) GetRetentionPeriod() int32
GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.
func (*BackupPolicyBackupProperties) GetRetentionPeriodOk ¶
func (o *BackupPolicyBackupProperties) GetRetentionPeriodOk() (*int32, bool)
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicyBackupProperties) HasName ¶
func (o *BackupPolicyBackupProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (*BackupPolicyBackupProperties) HasRetentionPeriod ¶
func (o *BackupPolicyBackupProperties) HasRetentionPeriod() bool
HasRetentionPeriod returns a boolean if a field has been set.
func (BackupPolicyBackupProperties) MarshalJSON ¶
func (o BackupPolicyBackupProperties) MarshalJSON() ([]byte, error)
func (*BackupPolicyBackupProperties) SetName ¶
func (o *BackupPolicyBackupProperties) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BackupPolicyBackupProperties) SetRetentionPeriod ¶
func (o *BackupPolicyBackupProperties) SetRetentionPeriod(v int32)
SetRetentionPeriod gets a reference to the given int32 and assigns it to the RetentionPeriod field.
func (BackupPolicyBackupProperties) ToMap ¶
func (o BackupPolicyBackupProperties) ToMap() (map[string]interface{}, error)
type BackupProperties ¶
type BackupProperties struct {
// Max 255 characters
Name string `json:"name"`
// Values are set in days (1-36500)
RetentionPeriod int32 `json:"retentionPeriod"`
VolumeIds []string `json:"volumeIds,omitempty"`
}
BackupProperties struct for BackupProperties
func NewBackupProperties ¶
func NewBackupProperties(name string, retentionPeriod int32) *BackupProperties
NewBackupProperties instantiates a new BackupProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupPropertiesWithDefaults ¶
func NewBackupPropertiesWithDefaults() *BackupProperties
NewBackupPropertiesWithDefaults instantiates a new BackupProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupProperties) GetName ¶
func (o *BackupProperties) GetName() string
GetName returns the Name field value
func (*BackupProperties) GetNameOk ¶
func (o *BackupProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BackupProperties) GetRetentionPeriod ¶
func (o *BackupProperties) GetRetentionPeriod() int32
GetRetentionPeriod returns the RetentionPeriod field value
func (*BackupProperties) GetRetentionPeriodOk ¶
func (o *BackupProperties) GetRetentionPeriodOk() (*int32, bool)
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value and a boolean to check if the value has been set.
func (*BackupProperties) GetVolumeIds ¶
func (o *BackupProperties) GetVolumeIds() []string
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*BackupProperties) GetVolumeIdsOk ¶
func (o *BackupProperties) GetVolumeIdsOk() ([]string, bool)
GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupProperties) HasVolumeIds ¶
func (o *BackupProperties) HasVolumeIds() bool
HasVolumeIds returns a boolean if a field has been set.
func (BackupProperties) MarshalJSON ¶
func (o BackupProperties) MarshalJSON() ([]byte, error)
func (*BackupProperties) SetName ¶
func (o *BackupProperties) SetName(v string)
SetName sets field value
func (*BackupProperties) SetRetentionPeriod ¶
func (o *BackupProperties) SetRetentionPeriod(v int32)
SetRetentionPeriod sets field value
func (*BackupProperties) SetVolumeIds ¶
func (o *BackupProperties) SetVolumeIds(v []string)
SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.
func (BackupProperties) ToMap ¶
func (o BackupProperties) ToMap() (map[string]interface{}, error)
func (*BackupProperties) UnmarshalJSON ¶
func (o *BackupProperties) UnmarshalJSON(data []byte) (err error)
type BackupSchedule ¶
type BackupSchedule struct {
BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
Enabled bool `json:"enabled"`
Id int32 `json:"id"`
Name string `json:"name"`
// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
Rrule string `json:"rrule"`
}
BackupSchedule struct for BackupSchedule
func NewBackupSchedule ¶
func NewBackupSchedule(enabled bool, id int32, name string, rrule string) *BackupSchedule
NewBackupSchedule instantiates a new BackupSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupScheduleWithDefaults ¶
func NewBackupScheduleWithDefaults() *BackupSchedule
NewBackupScheduleWithDefaults instantiates a new BackupSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupSchedule) GetBackupProperties ¶
func (o *BackupSchedule) GetBackupProperties() BackupProperties
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*BackupSchedule) GetBackupPropertiesOk ¶
func (o *BackupSchedule) GetBackupPropertiesOk() (*BackupProperties, bool)
GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupSchedule) GetEnabled ¶
func (o *BackupSchedule) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*BackupSchedule) GetEnabledOk ¶
func (o *BackupSchedule) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*BackupSchedule) GetId ¶
func (o *BackupSchedule) GetId() int32
GetId returns the Id field value
func (*BackupSchedule) GetIdOk ¶
func (o *BackupSchedule) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BackupSchedule) GetName ¶
func (o *BackupSchedule) GetName() string
GetName returns the Name field value
func (*BackupSchedule) GetNameOk ¶
func (o *BackupSchedule) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BackupSchedule) GetRrule ¶
func (o *BackupSchedule) GetRrule() string
GetRrule returns the Rrule field value
func (*BackupSchedule) GetRruleOk ¶
func (o *BackupSchedule) GetRruleOk() (*string, bool)
GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.
func (*BackupSchedule) HasBackupProperties ¶
func (o *BackupSchedule) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (BackupSchedule) MarshalJSON ¶
func (o BackupSchedule) MarshalJSON() ([]byte, error)
func (*BackupSchedule) SetBackupProperties ¶
func (o *BackupSchedule) SetBackupProperties(v BackupProperties)
SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.
func (*BackupSchedule) SetEnabled ¶
func (o *BackupSchedule) SetEnabled(v bool)
SetEnabled sets field value
func (*BackupSchedule) SetName ¶
func (o *BackupSchedule) SetName(v string)
SetName sets field value
func (*BackupSchedule) SetRrule ¶
func (o *BackupSchedule) SetRrule(v string)
SetRrule sets field value
func (BackupSchedule) ToMap ¶
func (o BackupSchedule) ToMap() (map[string]interface{}, error)
func (*BackupSchedule) UnmarshalJSON ¶
func (o *BackupSchedule) UnmarshalJSON(data []byte) (err error)
type BackupVolumeBackupsInner ¶
type BackupVolumeBackupsInner struct {
Id *string `json:"id,omitempty"`
LastRestoredAt *string `json:"lastRestoredAt,omitempty"`
LastRestoredVolumeId *string `json:"lastRestoredVolumeId,omitempty"`
Size *int32 `json:"size,omitempty"`
Status *string `json:"status,omitempty"`
VolumeId *string `json:"volumeId,omitempty"`
}
BackupVolumeBackupsInner struct for BackupVolumeBackupsInner
func NewBackupVolumeBackupsInner ¶
func NewBackupVolumeBackupsInner() *BackupVolumeBackupsInner
NewBackupVolumeBackupsInner instantiates a new BackupVolumeBackupsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupVolumeBackupsInnerWithDefaults ¶
func NewBackupVolumeBackupsInnerWithDefaults() *BackupVolumeBackupsInner
NewBackupVolumeBackupsInnerWithDefaults instantiates a new BackupVolumeBackupsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupVolumeBackupsInner) GetId ¶
func (o *BackupVolumeBackupsInner) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetIdOk ¶
func (o *BackupVolumeBackupsInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetLastRestoredAt ¶
func (o *BackupVolumeBackupsInner) GetLastRestoredAt() string
GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetLastRestoredAtOk ¶
func (o *BackupVolumeBackupsInner) GetLastRestoredAtOk() (*string, bool)
GetLastRestoredAtOk returns a tuple with the LastRestoredAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetLastRestoredVolumeId ¶
func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeId() string
GetLastRestoredVolumeId returns the LastRestoredVolumeId field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk ¶
func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk() (*string, bool)
GetLastRestoredVolumeIdOk returns a tuple with the LastRestoredVolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetSize ¶
func (o *BackupVolumeBackupsInner) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetSizeOk ¶
func (o *BackupVolumeBackupsInner) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetStatus ¶
func (o *BackupVolumeBackupsInner) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetStatusOk ¶
func (o *BackupVolumeBackupsInner) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetVolumeId ¶
func (o *BackupVolumeBackupsInner) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetVolumeIdOk ¶
func (o *BackupVolumeBackupsInner) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) HasId ¶
func (o *BackupVolumeBackupsInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasLastRestoredAt ¶
func (o *BackupVolumeBackupsInner) HasLastRestoredAt() bool
HasLastRestoredAt returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasLastRestoredVolumeId ¶
func (o *BackupVolumeBackupsInner) HasLastRestoredVolumeId() bool
HasLastRestoredVolumeId returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasSize ¶
func (o *BackupVolumeBackupsInner) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasStatus ¶
func (o *BackupVolumeBackupsInner) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasVolumeId ¶
func (o *BackupVolumeBackupsInner) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (BackupVolumeBackupsInner) MarshalJSON ¶
func (o BackupVolumeBackupsInner) MarshalJSON() ([]byte, error)
func (*BackupVolumeBackupsInner) SetId ¶
func (o *BackupVolumeBackupsInner) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BackupVolumeBackupsInner) SetLastRestoredAt ¶
func (o *BackupVolumeBackupsInner) SetLastRestoredAt(v string)
SetLastRestoredAt gets a reference to the given string and assigns it to the LastRestoredAt field.
func (*BackupVolumeBackupsInner) SetLastRestoredVolumeId ¶
func (o *BackupVolumeBackupsInner) SetLastRestoredVolumeId(v string)
SetLastRestoredVolumeId gets a reference to the given string and assigns it to the LastRestoredVolumeId field.
func (*BackupVolumeBackupsInner) SetSize ¶
func (o *BackupVolumeBackupsInner) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*BackupVolumeBackupsInner) SetStatus ¶
func (o *BackupVolumeBackupsInner) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*BackupVolumeBackupsInner) SetVolumeId ¶
func (o *BackupVolumeBackupsInner) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (BackupVolumeBackupsInner) ToMap ¶
func (o BackupVolumeBackupsInner) ToMap() (map[string]interface{}, error)
type CreateBackupPayload ¶
type CreateBackupPayload struct {
// Max 255 characters
Name string `json:"name"`
// Values are set in days (1-36500)
RetentionPeriod int32 `json:"retentionPeriod"`
VolumeIds []string `json:"volumeIds,omitempty"`
}
CreateBackupPayload struct for CreateBackupPayload
func NewCreateBackupPayload ¶
func NewCreateBackupPayload(name string, retentionPeriod int32) *CreateBackupPayload
NewCreateBackupPayload instantiates a new CreateBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateBackupPayloadWithDefaults ¶
func NewCreateBackupPayloadWithDefaults() *CreateBackupPayload
NewCreateBackupPayloadWithDefaults instantiates a new CreateBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateBackupPayload) GetName ¶
func (o *CreateBackupPayload) GetName() string
GetName returns the Name field value
func (*CreateBackupPayload) GetNameOk ¶
func (o *CreateBackupPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateBackupPayload) GetRetentionPeriod ¶
func (o *CreateBackupPayload) GetRetentionPeriod() int32
GetRetentionPeriod returns the RetentionPeriod field value
func (*CreateBackupPayload) GetRetentionPeriodOk ¶
func (o *CreateBackupPayload) GetRetentionPeriodOk() (*int32, bool)
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value and a boolean to check if the value has been set.
func (*CreateBackupPayload) GetVolumeIds ¶
func (o *CreateBackupPayload) GetVolumeIds() []string
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*CreateBackupPayload) GetVolumeIdsOk ¶
func (o *CreateBackupPayload) GetVolumeIdsOk() ([]string, bool)
GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateBackupPayload) HasVolumeIds ¶
func (o *CreateBackupPayload) HasVolumeIds() bool
HasVolumeIds returns a boolean if a field has been set.
func (CreateBackupPayload) MarshalJSON ¶
func (o CreateBackupPayload) MarshalJSON() ([]byte, error)
func (*CreateBackupPayload) SetName ¶
func (o *CreateBackupPayload) SetName(v string)
SetName sets field value
func (*CreateBackupPayload) SetRetentionPeriod ¶
func (o *CreateBackupPayload) SetRetentionPeriod(v int32)
SetRetentionPeriod sets field value
func (*CreateBackupPayload) SetVolumeIds ¶
func (o *CreateBackupPayload) SetVolumeIds(v []string)
SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.
func (CreateBackupPayload) ToMap ¶
func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)
func (*CreateBackupPayload) UnmarshalJSON ¶
func (o *CreateBackupPayload) UnmarshalJSON(data []byte) (err error)
type CreateBackupSchedulePayload ¶
type CreateBackupSchedulePayload struct {
BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
Enabled bool `json:"enabled"`
// Max 255 characters
Name string `json:"name"`
// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
Rrule string `json:"rrule"`
}
CreateBackupSchedulePayload struct for CreateBackupSchedulePayload
func NewCreateBackupSchedulePayload ¶
func NewCreateBackupSchedulePayload(enabled bool, name string, rrule string) *CreateBackupSchedulePayload
NewCreateBackupSchedulePayload instantiates a new CreateBackupSchedulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateBackupSchedulePayloadWithDefaults ¶
func NewCreateBackupSchedulePayloadWithDefaults() *CreateBackupSchedulePayload
NewCreateBackupSchedulePayloadWithDefaults instantiates a new CreateBackupSchedulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateBackupSchedulePayload) GetBackupProperties ¶
func (o *CreateBackupSchedulePayload) GetBackupProperties() BackupProperties
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*CreateBackupSchedulePayload) GetBackupPropertiesOk ¶
func (o *CreateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)
GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) GetEnabled ¶
func (o *CreateBackupSchedulePayload) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*CreateBackupSchedulePayload) GetEnabledOk ¶
func (o *CreateBackupSchedulePayload) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) GetName ¶
func (o *CreateBackupSchedulePayload) GetName() string
GetName returns the Name field value
func (*CreateBackupSchedulePayload) GetNameOk ¶
func (o *CreateBackupSchedulePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) GetRrule ¶
func (o *CreateBackupSchedulePayload) GetRrule() string
GetRrule returns the Rrule field value
func (*CreateBackupSchedulePayload) GetRruleOk ¶
func (o *CreateBackupSchedulePayload) GetRruleOk() (*string, bool)
GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) HasBackupProperties ¶
func (o *CreateBackupSchedulePayload) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (CreateBackupSchedulePayload) MarshalJSON ¶
func (o CreateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*CreateBackupSchedulePayload) SetBackupProperties ¶
func (o *CreateBackupSchedulePayload) SetBackupProperties(v BackupProperties)
SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.
func (*CreateBackupSchedulePayload) SetEnabled ¶
func (o *CreateBackupSchedulePayload) SetEnabled(v bool)
SetEnabled sets field value
func (*CreateBackupSchedulePayload) SetName ¶
func (o *CreateBackupSchedulePayload) SetName(v string)
SetName sets field value
func (*CreateBackupSchedulePayload) SetRrule ¶
func (o *CreateBackupSchedulePayload) SetRrule(v string)
SetRrule sets field value
func (CreateBackupSchedulePayload) ToMap ¶
func (o CreateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
func (*CreateBackupSchedulePayload) UnmarshalJSON ¶
func (o *CreateBackupSchedulePayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateBackup create backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@return ApiCreateBackupRequest
*/
CreateBackup(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupRequest
// CreateBackupExecute executes the request
// @return BackupJob
CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)
/*
CreateBackupSchedule create backup schedule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@return ApiCreateBackupScheduleRequest
*/
CreateBackupSchedule(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupScheduleRequest
// CreateBackupScheduleExecute executes the request
// @return BackupSchedule
CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)
/*
DeleteBackup delete backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupId id of the backup
@return ApiDeleteBackupRequest
*/
DeleteBackup(ctx context.Context, projectId string, serverId string, region string, backupId string) ApiDeleteBackupRequest
// DeleteBackupExecute executes the request
DeleteBackupExecute(r ApiDeleteBackupRequest) error
/*
DeleteBackupSchedule delete backup schedule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupScheduleId backup schedule id
@return ApiDeleteBackupScheduleRequest
*/
DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, region string, backupScheduleId string) ApiDeleteBackupScheduleRequest
// DeleteBackupScheduleExecute executes the request
DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error
/*
DeleteVolumeBackup delete volume backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupId id of the backup
@param volumeBackupId id of the volume backup
@return ApiDeleteVolumeBackupRequest
*/
DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, region string, backupId string, volumeBackupId string) ApiDeleteVolumeBackupRequest
// DeleteVolumeBackupExecute executes the request
DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error
/*
DisableServiceResource disable backup service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@return ApiDisableServiceResourceRequest
*/
DisableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiDisableServiceResourceRequest
// DisableServiceResourceExecute executes the request
DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error
/*
EnableServiceResource enable backup service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@return ApiEnableServiceResourceRequest
*/
EnableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiEnableServiceResourceRequest
// EnableServiceResourceExecute executes the request
EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error
/*
GetBackup get backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupId id of the backup
@return ApiGetBackupRequest
*/
GetBackup(ctx context.Context, projectId string, serverId string, region string, backupId string) ApiGetBackupRequest
// GetBackupExecute executes the request
// @return Backup
GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
/*
GetBackupSchedule get single backup schedule details
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupScheduleId backup schedule id
@return ApiGetBackupScheduleRequest
*/
GetBackupSchedule(ctx context.Context, projectId string, serverId string, region string, backupScheduleId string) ApiGetBackupScheduleRequest
// GetBackupScheduleExecute executes the request
// @return BackupSchedule
GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)
/*
GetServiceResource get backup service details
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@return ApiGetServiceResourceRequest
*/
GetServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiGetServiceResourceRequest
// GetServiceResourceExecute executes the request
// @return GetBackupServiceResponse
GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)
/*
ListBackupPolicies get list of backup policies
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@return ApiListBackupPoliciesRequest
*/
ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest
// ListBackupPoliciesExecute executes the request
// @return GetBackupPoliciesResponse
ListBackupPoliciesExecute(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)
/*
ListBackupSchedules get list of backup schedules
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@return ApiListBackupSchedulesRequest
*/
ListBackupSchedules(ctx context.Context, projectId string, serverId string, region string) ApiListBackupSchedulesRequest
// ListBackupSchedulesExecute executes the request
// @return GetBackupSchedulesResponse
ListBackupSchedulesExecute(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)
/*
ListBackups get list of backups
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@return ApiListBackupsRequest
*/
ListBackups(ctx context.Context, projectId string, serverId string, region string) ApiListBackupsRequest
// ListBackupsExecute executes the request
// @return GetBackupsListResponse
ListBackupsExecute(r ApiListBackupsRequest) (*GetBackupsListResponse, error)
/*
RestoreBackup trigger restore of the requested backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupId id of the backup
@return ApiRestoreBackupRequest
*/
RestoreBackup(ctx context.Context, projectId string, serverId string, region string, backupId string) ApiRestoreBackupRequest
// RestoreBackupExecute executes the request
RestoreBackupExecute(r ApiRestoreBackupRequest) error
/*
RestoreVolumeBackup trigger restore of the requested volume backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupId id of the backup
@param volumeBackupId id of the volume backup
@return ApiRestoreVolumeBackupRequest
*/
RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, region string, backupId string, volumeBackupId string) ApiRestoreVolumeBackupRequest
// RestoreVolumeBackupExecute executes the request
RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error
/*
UpdateBackupSchedule update backup schedule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param region region
@param backupScheduleId backup schedule id
@return ApiUpdateBackupScheduleRequest
*/
UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, region string, backupScheduleId string) ApiUpdateBackupScheduleRequest
// UpdateBackupScheduleExecute executes the request
// @return BackupSchedule
UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateBackup ¶
func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) CreateBackupExecute ¶
func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)
Execute executes the request
@return BackupJob
func (*DefaultAPIService) CreateBackupSchedule ¶
func (a *DefaultAPIService) CreateBackupSchedule(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) CreateBackupScheduleExecute ¶
func (a *DefaultAPIService) CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)
Execute executes the request
@return BackupSchedule
func (*DefaultAPIService) DeleteBackup ¶
func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) DeleteBackupExecute ¶
func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteBackupSchedule ¶
func (a *DefaultAPIService) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) DeleteBackupScheduleExecute ¶
func (a *DefaultAPIService) DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteVolumeBackup ¶
func (a *DefaultAPIService) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) DeleteVolumeBackupExecute ¶
func (a *DefaultAPIService) DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error
Execute executes the request
func (*DefaultAPIService) DisableServiceResource ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) DisableServiceResourceExecute ¶
func (a *DefaultAPIService) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error
Execute executes the request
func (*DefaultAPIService) EnableServiceResource ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) EnableServiceResourceExecute ¶
func (a *DefaultAPIService) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error
Execute executes the request
func (*DefaultAPIService) GetBackup ¶
func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) GetBackupExecute ¶
func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
Execute executes the request
@return Backup
func (*DefaultAPIService) GetBackupSchedule ¶
func (a *DefaultAPIService) GetBackupSchedule(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) GetBackupScheduleExecute ¶
func (a *DefaultAPIService) GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)
Execute executes the request
@return BackupSchedule
func (*DefaultAPIService) GetServiceResource ¶
func (a *DefaultAPIService) GetServiceResource(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) GetServiceResourceExecute ¶
func (a *DefaultAPIService) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)
Execute executes the request
@return GetBackupServiceResponse
func (*DefaultAPIService) ListBackupPolicies ¶
func (a *DefaultAPIService) ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest
ListBackupPolicies get list of backup policies
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @return ApiListBackupPoliciesRequest
func (*DefaultAPIService) ListBackupPoliciesExecute ¶
func (a *DefaultAPIService) ListBackupPoliciesExecute(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)
Execute executes the request
@return GetBackupPoliciesResponse
func (*DefaultAPIService) ListBackupSchedules ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListBackupSchedulesExecute ¶
func (a *DefaultAPIService) ListBackupSchedulesExecute(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)
Execute executes the request
@return GetBackupSchedulesResponse
func (*DefaultAPIService) ListBackups ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListBackupsExecute ¶
func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*GetBackupsListResponse, error)
Execute executes the request
@return GetBackupsListResponse
func (*DefaultAPIService) RestoreBackup ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) RestoreBackupExecute ¶
func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error
Execute executes the request
func (*DefaultAPIService) RestoreVolumeBackup ¶
func (a *DefaultAPIService) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, 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 (*DefaultAPIService) RestoreVolumeBackupExecute ¶
func (a *DefaultAPIService) RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateBackupSchedule ¶
func (a *DefaultAPIService) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, 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
func (*DefaultAPIService) UpdateBackupScheduleExecute ¶
func (a *DefaultAPIService) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
Execute executes the request
@return BackupSchedule
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateBackupExecuteMock can be populated to implement the behavior of the CreateBackupExecute function of this mock
CreateBackupExecuteMock *func(r ApiCreateBackupRequest) (*BackupJob, error)
// CreateBackupScheduleExecuteMock can be populated to implement the behavior of the CreateBackupScheduleExecute function of this mock
CreateBackupScheduleExecuteMock *func(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)
// DeleteBackupExecuteMock can be populated to implement the behavior of the DeleteBackupExecute function of this mock
DeleteBackupExecuteMock *func(r ApiDeleteBackupRequest) error
// DeleteBackupScheduleExecuteMock can be populated to implement the behavior of the DeleteBackupScheduleExecute function of this mock
DeleteBackupScheduleExecuteMock *func(r ApiDeleteBackupScheduleRequest) error
// DeleteVolumeBackupExecuteMock can be populated to implement the behavior of the DeleteVolumeBackupExecute function of this mock
DeleteVolumeBackupExecuteMock *func(r ApiDeleteVolumeBackupRequest) error
// DisableServiceResourceExecuteMock can be populated to implement the behavior of the DisableServiceResourceExecute function of this mock
DisableServiceResourceExecuteMock *func(r ApiDisableServiceResourceRequest) error
// EnableServiceResourceExecuteMock can be populated to implement the behavior of the EnableServiceResourceExecute function of this mock
EnableServiceResourceExecuteMock *func(r ApiEnableServiceResourceRequest) error
// GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
GetBackupExecuteMock *func(r ApiGetBackupRequest) (*Backup, error)
// GetBackupScheduleExecuteMock can be populated to implement the behavior of the GetBackupScheduleExecute function of this mock
GetBackupScheduleExecuteMock *func(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)
// GetServiceResourceExecuteMock can be populated to implement the behavior of the GetServiceResourceExecute function of this mock
GetServiceResourceExecuteMock *func(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)
// ListBackupPoliciesExecuteMock can be populated to implement the behavior of the ListBackupPoliciesExecute function of this mock
ListBackupPoliciesExecuteMock *func(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)
// ListBackupSchedulesExecuteMock can be populated to implement the behavior of the ListBackupSchedulesExecute function of this mock
ListBackupSchedulesExecuteMock *func(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)
// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*GetBackupsListResponse, error)
// RestoreBackupExecuteMock can be populated to implement the behavior of the RestoreBackupExecute function of this mock
RestoreBackupExecuteMock *func(r ApiRestoreBackupRequest) error
// RestoreVolumeBackupExecuteMock can be populated to implement the behavior of the RestoreVolumeBackupExecute function of this mock
RestoreVolumeBackupExecuteMock *func(r ApiRestoreVolumeBackupRequest) error
// UpdateBackupScheduleExecuteMock can be populated to implement the behavior of the UpdateBackupScheduleExecute function of this mock
UpdateBackupScheduleExecuteMock *func(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateBackup ¶
func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupRequest
func (DefaultAPIServiceMock) CreateBackupExecute ¶
func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*BackupJob, error)
CreateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateBackupSchedule ¶
func (a DefaultAPIServiceMock) CreateBackupSchedule(ctx context.Context, projectId string, serverId string, region string) ApiCreateBackupScheduleRequest
func (DefaultAPIServiceMock) CreateBackupScheduleExecute ¶
func (a DefaultAPIServiceMock) CreateBackupScheduleExecute(r ApiCreateBackupScheduleRequest) (*BackupSchedule, error)
CreateBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteBackup ¶
func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, serverId string, region string, backupId string) ApiDeleteBackupRequest
func (DefaultAPIServiceMock) DeleteBackupExecute ¶
func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error
DeleteBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteBackupSchedule ¶
func (a DefaultAPIServiceMock) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, region string, backupScheduleId string) ApiDeleteBackupScheduleRequest
func (DefaultAPIServiceMock) DeleteBackupScheduleExecute ¶
func (a DefaultAPIServiceMock) DeleteBackupScheduleExecute(r ApiDeleteBackupScheduleRequest) error
DeleteBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteVolumeBackup ¶
func (a DefaultAPIServiceMock) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, region string, backupId string, volumeBackupId string) ApiDeleteVolumeBackupRequest
func (DefaultAPIServiceMock) DeleteVolumeBackupExecute ¶
func (a DefaultAPIServiceMock) DeleteVolumeBackupExecute(r ApiDeleteVolumeBackupRequest) error
DeleteVolumeBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteVolumeBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DisableServiceResource ¶
func (a DefaultAPIServiceMock) DisableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiDisableServiceResourceRequest
func (DefaultAPIServiceMock) DisableServiceResourceExecute ¶
func (a DefaultAPIServiceMock) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error
DisableServiceResourceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableServiceResourceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) EnableServiceResource ¶
func (a DefaultAPIServiceMock) EnableServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiEnableServiceResourceRequest
func (DefaultAPIServiceMock) EnableServiceResourceExecute ¶
func (a DefaultAPIServiceMock) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error
EnableServiceResourceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableServiceResourceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetBackup ¶
func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, serverId string, region string, backupId string) ApiGetBackupRequest
func (DefaultAPIServiceMock) GetBackupExecute ¶
func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
GetBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetBackupSchedule ¶
func (a DefaultAPIServiceMock) GetBackupSchedule(ctx context.Context, projectId string, serverId string, region string, backupScheduleId string) ApiGetBackupScheduleRequest
func (DefaultAPIServiceMock) GetBackupScheduleExecute ¶
func (a DefaultAPIServiceMock) GetBackupScheduleExecute(r ApiGetBackupScheduleRequest) (*BackupSchedule, error)
GetBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetServiceResource ¶
func (a DefaultAPIServiceMock) GetServiceResource(ctx context.Context, projectId string, serverId string, region string) ApiGetServiceResourceRequest
func (DefaultAPIServiceMock) GetServiceResourceExecute ¶
func (a DefaultAPIServiceMock) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetBackupServiceResponse, error)
GetServiceResourceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServiceResourceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListBackupPolicies ¶
func (a DefaultAPIServiceMock) ListBackupPolicies(ctx context.Context, projectId string) ApiListBackupPoliciesRequest
func (DefaultAPIServiceMock) ListBackupPoliciesExecute ¶
func (a DefaultAPIServiceMock) ListBackupPoliciesExecute(r ApiListBackupPoliciesRequest) (*GetBackupPoliciesResponse, error)
ListBackupPoliciesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupPoliciesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListBackupSchedules ¶
func (a DefaultAPIServiceMock) ListBackupSchedules(ctx context.Context, projectId string, serverId string, region string) ApiListBackupSchedulesRequest
func (DefaultAPIServiceMock) ListBackupSchedulesExecute ¶
func (a DefaultAPIServiceMock) ListBackupSchedulesExecute(r ApiListBackupSchedulesRequest) (*GetBackupSchedulesResponse, error)
ListBackupSchedulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupSchedulesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListBackups ¶
func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, serverId string, region string) ApiListBackupsRequest
func (DefaultAPIServiceMock) ListBackupsExecute ¶
func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*GetBackupsListResponse, error)
ListBackupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RestoreBackup ¶
func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, serverId string, region string, backupId string) ApiRestoreBackupRequest
func (DefaultAPIServiceMock) RestoreBackupExecute ¶
func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error
RestoreBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RestoreVolumeBackup ¶
func (a DefaultAPIServiceMock) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, region string, backupId string, volumeBackupId string) ApiRestoreVolumeBackupRequest
func (DefaultAPIServiceMock) RestoreVolumeBackupExecute ¶
func (a DefaultAPIServiceMock) RestoreVolumeBackupExecute(r ApiRestoreVolumeBackupRequest) error
RestoreVolumeBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreVolumeBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateBackupSchedule ¶
func (a DefaultAPIServiceMock) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, region string, backupScheduleId string) ApiUpdateBackupScheduleRequest
func (DefaultAPIServiceMock) UpdateBackupScheduleExecute ¶
func (a DefaultAPIServiceMock) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
UpdateBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateBackupScheduleExecuteMock field in the DefaultAPIServiceMock struct.
type EnableServiceResourcePayload ¶
type EnableServiceResourcePayload struct {
BackupPolicyId *string `json:"backupPolicyId,omitempty"`
}
EnableServiceResourcePayload struct for EnableServiceResourcePayload
func NewEnableServiceResourcePayload ¶
func NewEnableServiceResourcePayload() *EnableServiceResourcePayload
NewEnableServiceResourcePayload instantiates a new EnableServiceResourcePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnableServiceResourcePayloadWithDefaults ¶
func NewEnableServiceResourcePayloadWithDefaults() *EnableServiceResourcePayload
NewEnableServiceResourcePayloadWithDefaults instantiates a new EnableServiceResourcePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EnableServiceResourcePayload) GetBackupPolicyId ¶
func (o *EnableServiceResourcePayload) GetBackupPolicyId() string
GetBackupPolicyId returns the BackupPolicyId field value if set, zero value otherwise.
func (*EnableServiceResourcePayload) GetBackupPolicyIdOk ¶
func (o *EnableServiceResourcePayload) GetBackupPolicyIdOk() (*string, bool)
GetBackupPolicyIdOk returns a tuple with the BackupPolicyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnableServiceResourcePayload) HasBackupPolicyId ¶
func (o *EnableServiceResourcePayload) HasBackupPolicyId() bool
HasBackupPolicyId returns a boolean if a field has been set.
func (EnableServiceResourcePayload) MarshalJSON ¶
func (o EnableServiceResourcePayload) MarshalJSON() ([]byte, error)
func (*EnableServiceResourcePayload) SetBackupPolicyId ¶
func (o *EnableServiceResourcePayload) SetBackupPolicyId(v string)
SetBackupPolicyId gets a reference to the given string and assigns it to the BackupPolicyId field.
func (EnableServiceResourcePayload) ToMap ¶
func (o EnableServiceResourcePayload) ToMap() (map[string]interface{}, error)
type ErrorResponse ¶
type ErrorResponse struct {
// Details about the error
Message string `json:"message"`
// The string representation of the http status code (i.e. Not Found, Bad Request, etc)
Status string `json:"status"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(message string, status string) *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 ¶
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 ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶
func (o *ErrorResponse) GetStatus() string
GetStatus returns the Status field value
func (*ErrorResponse) GetStatusOk ¶
func (o *ErrorResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage sets field value
func (*ErrorResponse) SetStatus ¶
func (o *ErrorResponse) SetStatus(v string)
SetStatus sets field value
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type GetBackupPoliciesResponse ¶
type GetBackupPoliciesResponse struct {
Items []BackupPolicy `json:"items,omitempty"`
}
GetBackupPoliciesResponse struct for GetBackupPoliciesResponse
func NewGetBackupPoliciesResponse ¶
func NewGetBackupPoliciesResponse() *GetBackupPoliciesResponse
NewGetBackupPoliciesResponse instantiates a new GetBackupPoliciesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBackupPoliciesResponseWithDefaults ¶
func NewGetBackupPoliciesResponseWithDefaults() *GetBackupPoliciesResponse
NewGetBackupPoliciesResponseWithDefaults instantiates a new GetBackupPoliciesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBackupPoliciesResponse) GetItems ¶
func (o *GetBackupPoliciesResponse) GetItems() []BackupPolicy
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupPoliciesResponse) GetItemsOk ¶
func (o *GetBackupPoliciesResponse) GetItemsOk() ([]BackupPolicy, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupPoliciesResponse) HasItems ¶
func (o *GetBackupPoliciesResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (GetBackupPoliciesResponse) MarshalJSON ¶
func (o GetBackupPoliciesResponse) MarshalJSON() ([]byte, error)
func (*GetBackupPoliciesResponse) SetItems ¶
func (o *GetBackupPoliciesResponse) SetItems(v []BackupPolicy)
SetItems gets a reference to the given []BackupPolicy and assigns it to the Items field.
func (GetBackupPoliciesResponse) ToMap ¶
func (o GetBackupPoliciesResponse) ToMap() (map[string]interface{}, error)
type GetBackupSchedulesResponse ¶
type GetBackupSchedulesResponse struct {
Items []BackupSchedule `json:"items,omitempty"`
}
GetBackupSchedulesResponse struct for GetBackupSchedulesResponse
func NewGetBackupSchedulesResponse ¶
func NewGetBackupSchedulesResponse() *GetBackupSchedulesResponse
NewGetBackupSchedulesResponse instantiates a new GetBackupSchedulesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBackupSchedulesResponseWithDefaults ¶
func NewGetBackupSchedulesResponseWithDefaults() *GetBackupSchedulesResponse
NewGetBackupSchedulesResponseWithDefaults instantiates a new GetBackupSchedulesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBackupSchedulesResponse) GetItems ¶
func (o *GetBackupSchedulesResponse) GetItems() []BackupSchedule
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupSchedulesResponse) GetItemsOk ¶
func (o *GetBackupSchedulesResponse) GetItemsOk() ([]BackupSchedule, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupSchedulesResponse) HasItems ¶
func (o *GetBackupSchedulesResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (GetBackupSchedulesResponse) MarshalJSON ¶
func (o GetBackupSchedulesResponse) MarshalJSON() ([]byte, error)
func (*GetBackupSchedulesResponse) SetItems ¶
func (o *GetBackupSchedulesResponse) SetItems(v []BackupSchedule)
SetItems gets a reference to the given []BackupSchedule and assigns it to the Items field.
func (GetBackupSchedulesResponse) ToMap ¶
func (o GetBackupSchedulesResponse) ToMap() (map[string]interface{}, error)
type GetBackupServiceResponse ¶
type GetBackupServiceResponse struct {
Enabled *bool `json:"enabled,omitempty"`
}
GetBackupServiceResponse struct for GetBackupServiceResponse
func NewGetBackupServiceResponse ¶
func NewGetBackupServiceResponse() *GetBackupServiceResponse
NewGetBackupServiceResponse instantiates a new GetBackupServiceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBackupServiceResponseWithDefaults ¶
func NewGetBackupServiceResponseWithDefaults() *GetBackupServiceResponse
NewGetBackupServiceResponseWithDefaults instantiates a new GetBackupServiceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBackupServiceResponse) GetEnabled ¶
func (o *GetBackupServiceResponse) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*GetBackupServiceResponse) GetEnabledOk ¶
func (o *GetBackupServiceResponse) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupServiceResponse) HasEnabled ¶
func (o *GetBackupServiceResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (GetBackupServiceResponse) MarshalJSON ¶
func (o GetBackupServiceResponse) MarshalJSON() ([]byte, error)
func (*GetBackupServiceResponse) SetEnabled ¶
func (o *GetBackupServiceResponse) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (GetBackupServiceResponse) ToMap ¶
func (o GetBackupServiceResponse) ToMap() (map[string]interface{}, error)
type GetBackupsListResponse ¶
type GetBackupsListResponse struct {
Items []Backup `json:"items,omitempty"`
}
GetBackupsListResponse struct for GetBackupsListResponse
func NewGetBackupsListResponse ¶
func NewGetBackupsListResponse() *GetBackupsListResponse
NewGetBackupsListResponse instantiates a new GetBackupsListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBackupsListResponseWithDefaults ¶
func NewGetBackupsListResponseWithDefaults() *GetBackupsListResponse
NewGetBackupsListResponseWithDefaults instantiates a new GetBackupsListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBackupsListResponse) GetItems ¶
func (o *GetBackupsListResponse) GetItems() []Backup
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupsListResponse) GetItemsOk ¶
func (o *GetBackupsListResponse) GetItemsOk() ([]Backup, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupsListResponse) HasItems ¶
func (o *GetBackupsListResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (GetBackupsListResponse) MarshalJSON ¶
func (o GetBackupsListResponse) MarshalJSON() ([]byte, error)
func (*GetBackupsListResponse) SetItems ¶
func (o *GetBackupsListResponse) SetItems(v []Backup)
SetItems gets a reference to the given []Backup and assigns it to the Items field.
func (GetBackupsListResponse) ToMap ¶
func (o GetBackupsListResponse) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableBackup ¶
type NullableBackup struct {
// contains filtered or unexported fields
}
func NewNullableBackup ¶
func NewNullableBackup(val *Backup) *NullableBackup
func (NullableBackup) Get ¶
func (v NullableBackup) Get() *Backup
func (NullableBackup) IsSet ¶
func (v NullableBackup) IsSet() bool
func (NullableBackup) MarshalJSON ¶
func (v NullableBackup) MarshalJSON() ([]byte, error)
func (*NullableBackup) Set ¶
func (v *NullableBackup) Set(val *Backup)
func (*NullableBackup) UnmarshalJSON ¶
func (v *NullableBackup) UnmarshalJSON(src []byte) error
func (*NullableBackup) Unset ¶
func (v *NullableBackup) Unset()
type NullableBackupJob ¶
type NullableBackupJob struct {
// contains filtered or unexported fields
}
func NewNullableBackupJob ¶
func NewNullableBackupJob(val *BackupJob) *NullableBackupJob
func (NullableBackupJob) Get ¶
func (v NullableBackupJob) Get() *BackupJob
func (NullableBackupJob) IsSet ¶
func (v NullableBackupJob) IsSet() bool
func (NullableBackupJob) MarshalJSON ¶
func (v NullableBackupJob) MarshalJSON() ([]byte, error)
func (*NullableBackupJob) Set ¶
func (v *NullableBackupJob) Set(val *BackupJob)
func (*NullableBackupJob) UnmarshalJSON ¶
func (v *NullableBackupJob) UnmarshalJSON(src []byte) error
func (*NullableBackupJob) Unset ¶
func (v *NullableBackupJob) Unset()
type NullableBackupPolicy ¶
type NullableBackupPolicy struct {
// contains filtered or unexported fields
}
func NewNullableBackupPolicy ¶
func NewNullableBackupPolicy(val *BackupPolicy) *NullableBackupPolicy
func (NullableBackupPolicy) Get ¶
func (v NullableBackupPolicy) Get() *BackupPolicy
func (NullableBackupPolicy) IsSet ¶
func (v NullableBackupPolicy) IsSet() bool
func (NullableBackupPolicy) MarshalJSON ¶
func (v NullableBackupPolicy) MarshalJSON() ([]byte, error)
func (*NullableBackupPolicy) Set ¶
func (v *NullableBackupPolicy) Set(val *BackupPolicy)
func (*NullableBackupPolicy) UnmarshalJSON ¶
func (v *NullableBackupPolicy) UnmarshalJSON(src []byte) error
func (*NullableBackupPolicy) Unset ¶
func (v *NullableBackupPolicy) Unset()
type NullableBackupPolicyBackupProperties ¶
type NullableBackupPolicyBackupProperties struct {
// contains filtered or unexported fields
}
func NewNullableBackupPolicyBackupProperties ¶
func NewNullableBackupPolicyBackupProperties(val *BackupPolicyBackupProperties) *NullableBackupPolicyBackupProperties
func (NullableBackupPolicyBackupProperties) Get ¶
func (v NullableBackupPolicyBackupProperties) Get() *BackupPolicyBackupProperties
func (NullableBackupPolicyBackupProperties) IsSet ¶
func (v NullableBackupPolicyBackupProperties) IsSet() bool
func (NullableBackupPolicyBackupProperties) MarshalJSON ¶
func (v NullableBackupPolicyBackupProperties) MarshalJSON() ([]byte, error)
func (*NullableBackupPolicyBackupProperties) Set ¶
func (v *NullableBackupPolicyBackupProperties) Set(val *BackupPolicyBackupProperties)
func (*NullableBackupPolicyBackupProperties) UnmarshalJSON ¶
func (v *NullableBackupPolicyBackupProperties) UnmarshalJSON(src []byte) error
func (*NullableBackupPolicyBackupProperties) Unset ¶
func (v *NullableBackupPolicyBackupProperties) Unset()
type NullableBackupProperties ¶
type NullableBackupProperties struct {
// contains filtered or unexported fields
}
func NewNullableBackupProperties ¶
func NewNullableBackupProperties(val *BackupProperties) *NullableBackupProperties
func (NullableBackupProperties) Get ¶
func (v NullableBackupProperties) Get() *BackupProperties
func (NullableBackupProperties) IsSet ¶
func (v NullableBackupProperties) IsSet() bool
func (NullableBackupProperties) MarshalJSON ¶
func (v NullableBackupProperties) MarshalJSON() ([]byte, error)
func (*NullableBackupProperties) Set ¶
func (v *NullableBackupProperties) Set(val *BackupProperties)
func (*NullableBackupProperties) UnmarshalJSON ¶
func (v *NullableBackupProperties) UnmarshalJSON(src []byte) error
func (*NullableBackupProperties) Unset ¶
func (v *NullableBackupProperties) Unset()
type NullableBackupSchedule ¶
type NullableBackupSchedule struct {
// contains filtered or unexported fields
}
func NewNullableBackupSchedule ¶
func NewNullableBackupSchedule(val *BackupSchedule) *NullableBackupSchedule
func (NullableBackupSchedule) Get ¶
func (v NullableBackupSchedule) Get() *BackupSchedule
func (NullableBackupSchedule) IsSet ¶
func (v NullableBackupSchedule) IsSet() bool
func (NullableBackupSchedule) MarshalJSON ¶
func (v NullableBackupSchedule) MarshalJSON() ([]byte, error)
func (*NullableBackupSchedule) Set ¶
func (v *NullableBackupSchedule) Set(val *BackupSchedule)
func (*NullableBackupSchedule) UnmarshalJSON ¶
func (v *NullableBackupSchedule) UnmarshalJSON(src []byte) error
func (*NullableBackupSchedule) Unset ¶
func (v *NullableBackupSchedule) Unset()
type NullableBackupVolumeBackupsInner ¶
type NullableBackupVolumeBackupsInner struct {
// contains filtered or unexported fields
}
func NewNullableBackupVolumeBackupsInner ¶
func NewNullableBackupVolumeBackupsInner(val *BackupVolumeBackupsInner) *NullableBackupVolumeBackupsInner
func (NullableBackupVolumeBackupsInner) Get ¶
func (v NullableBackupVolumeBackupsInner) Get() *BackupVolumeBackupsInner
func (NullableBackupVolumeBackupsInner) IsSet ¶
func (v NullableBackupVolumeBackupsInner) IsSet() bool
func (NullableBackupVolumeBackupsInner) MarshalJSON ¶
func (v NullableBackupVolumeBackupsInner) MarshalJSON() ([]byte, error)
func (*NullableBackupVolumeBackupsInner) Set ¶
func (v *NullableBackupVolumeBackupsInner) Set(val *BackupVolumeBackupsInner)
func (*NullableBackupVolumeBackupsInner) UnmarshalJSON ¶
func (v *NullableBackupVolumeBackupsInner) UnmarshalJSON(src []byte) error
func (*NullableBackupVolumeBackupsInner) Unset ¶
func (v *NullableBackupVolumeBackupsInner) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateBackupPayload ¶
type NullableCreateBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateBackupPayload ¶
func NewNullableCreateBackupPayload(val *CreateBackupPayload) *NullableCreateBackupPayload
func (NullableCreateBackupPayload) Get ¶
func (v NullableCreateBackupPayload) Get() *CreateBackupPayload
func (NullableCreateBackupPayload) IsSet ¶
func (v NullableCreateBackupPayload) IsSet() bool
func (NullableCreateBackupPayload) MarshalJSON ¶
func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateBackupPayload) Set ¶
func (v *NullableCreateBackupPayload) Set(val *CreateBackupPayload)
func (*NullableCreateBackupPayload) UnmarshalJSON ¶
func (v *NullableCreateBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateBackupPayload) Unset ¶
func (v *NullableCreateBackupPayload) Unset()
type NullableCreateBackupSchedulePayload ¶
type NullableCreateBackupSchedulePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateBackupSchedulePayload ¶
func NewNullableCreateBackupSchedulePayload(val *CreateBackupSchedulePayload) *NullableCreateBackupSchedulePayload
func (NullableCreateBackupSchedulePayload) Get ¶
func (v NullableCreateBackupSchedulePayload) Get() *CreateBackupSchedulePayload
func (NullableCreateBackupSchedulePayload) IsSet ¶
func (v NullableCreateBackupSchedulePayload) IsSet() bool
func (NullableCreateBackupSchedulePayload) MarshalJSON ¶
func (v NullableCreateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateBackupSchedulePayload) Set ¶
func (v *NullableCreateBackupSchedulePayload) Set(val *CreateBackupSchedulePayload)
func (*NullableCreateBackupSchedulePayload) UnmarshalJSON ¶
func (v *NullableCreateBackupSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateBackupSchedulePayload) Unset ¶
func (v *NullableCreateBackupSchedulePayload) Unset()
type NullableEnableServiceResourcePayload ¶
type NullableEnableServiceResourcePayload struct {
// contains filtered or unexported fields
}
func NewNullableEnableServiceResourcePayload ¶
func NewNullableEnableServiceResourcePayload(val *EnableServiceResourcePayload) *NullableEnableServiceResourcePayload
func (NullableEnableServiceResourcePayload) Get ¶
func (v NullableEnableServiceResourcePayload) Get() *EnableServiceResourcePayload
func (NullableEnableServiceResourcePayload) IsSet ¶
func (v NullableEnableServiceResourcePayload) IsSet() bool
func (NullableEnableServiceResourcePayload) MarshalJSON ¶
func (v NullableEnableServiceResourcePayload) MarshalJSON() ([]byte, error)
func (*NullableEnableServiceResourcePayload) Set ¶
func (v *NullableEnableServiceResourcePayload) Set(val *EnableServiceResourcePayload)
func (*NullableEnableServiceResourcePayload) UnmarshalJSON ¶
func (v *NullableEnableServiceResourcePayload) UnmarshalJSON(src []byte) error
func (*NullableEnableServiceResourcePayload) Unset ¶
func (v *NullableEnableServiceResourcePayload) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
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 ¶
type NullableGetBackupPoliciesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupPoliciesResponse ¶
func NewNullableGetBackupPoliciesResponse(val *GetBackupPoliciesResponse) *NullableGetBackupPoliciesResponse
func (NullableGetBackupPoliciesResponse) Get ¶
func (v NullableGetBackupPoliciesResponse) Get() *GetBackupPoliciesResponse
func (NullableGetBackupPoliciesResponse) IsSet ¶
func (v NullableGetBackupPoliciesResponse) IsSet() bool
func (NullableGetBackupPoliciesResponse) MarshalJSON ¶
func (v NullableGetBackupPoliciesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupPoliciesResponse) Set ¶
func (v *NullableGetBackupPoliciesResponse) Set(val *GetBackupPoliciesResponse)
func (*NullableGetBackupPoliciesResponse) UnmarshalJSON ¶
func (v *NullableGetBackupPoliciesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupPoliciesResponse) Unset ¶
func (v *NullableGetBackupPoliciesResponse) Unset()
type NullableGetBackupSchedulesResponse ¶
type NullableGetBackupSchedulesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupSchedulesResponse ¶
func NewNullableGetBackupSchedulesResponse(val *GetBackupSchedulesResponse) *NullableGetBackupSchedulesResponse
func (NullableGetBackupSchedulesResponse) Get ¶
func (v NullableGetBackupSchedulesResponse) Get() *GetBackupSchedulesResponse
func (NullableGetBackupSchedulesResponse) IsSet ¶
func (v NullableGetBackupSchedulesResponse) IsSet() bool
func (NullableGetBackupSchedulesResponse) MarshalJSON ¶
func (v NullableGetBackupSchedulesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupSchedulesResponse) Set ¶
func (v *NullableGetBackupSchedulesResponse) Set(val *GetBackupSchedulesResponse)
func (*NullableGetBackupSchedulesResponse) UnmarshalJSON ¶
func (v *NullableGetBackupSchedulesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupSchedulesResponse) Unset ¶
func (v *NullableGetBackupSchedulesResponse) Unset()
type NullableGetBackupServiceResponse ¶
type NullableGetBackupServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupServiceResponse ¶
func NewNullableGetBackupServiceResponse(val *GetBackupServiceResponse) *NullableGetBackupServiceResponse
func (NullableGetBackupServiceResponse) Get ¶
func (v NullableGetBackupServiceResponse) Get() *GetBackupServiceResponse
func (NullableGetBackupServiceResponse) IsSet ¶
func (v NullableGetBackupServiceResponse) IsSet() bool
func (NullableGetBackupServiceResponse) MarshalJSON ¶
func (v NullableGetBackupServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupServiceResponse) Set ¶
func (v *NullableGetBackupServiceResponse) Set(val *GetBackupServiceResponse)
func (*NullableGetBackupServiceResponse) UnmarshalJSON ¶
func (v *NullableGetBackupServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupServiceResponse) Unset ¶
func (v *NullableGetBackupServiceResponse) Unset()
type NullableGetBackupsListResponse ¶
type NullableGetBackupsListResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupsListResponse ¶
func NewNullableGetBackupsListResponse(val *GetBackupsListResponse) *NullableGetBackupsListResponse
func (NullableGetBackupsListResponse) Get ¶
func (v NullableGetBackupsListResponse) Get() *GetBackupsListResponse
func (NullableGetBackupsListResponse) IsSet ¶
func (v NullableGetBackupsListResponse) IsSet() bool
func (NullableGetBackupsListResponse) MarshalJSON ¶
func (v NullableGetBackupsListResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupsListResponse) Set ¶
func (v *NullableGetBackupsListResponse) Set(val *GetBackupsListResponse)
func (*NullableGetBackupsListResponse) UnmarshalJSON ¶
func (v *NullableGetBackupsListResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupsListResponse) Unset ¶
func (v *NullableGetBackupsListResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableRestoreBackupPayload ¶
type NullableRestoreBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableRestoreBackupPayload ¶
func NewNullableRestoreBackupPayload(val *RestoreBackupPayload) *NullableRestoreBackupPayload
func (NullableRestoreBackupPayload) Get ¶
func (v NullableRestoreBackupPayload) Get() *RestoreBackupPayload
func (NullableRestoreBackupPayload) IsSet ¶
func (v NullableRestoreBackupPayload) IsSet() bool
func (NullableRestoreBackupPayload) MarshalJSON ¶
func (v NullableRestoreBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreBackupPayload) Set ¶
func (v *NullableRestoreBackupPayload) Set(val *RestoreBackupPayload)
func (*NullableRestoreBackupPayload) UnmarshalJSON ¶
func (v *NullableRestoreBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableRestoreBackupPayload) Unset ¶
func (v *NullableRestoreBackupPayload) Unset()
type NullableRestoreVolumeBackupPayload ¶
type NullableRestoreVolumeBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableRestoreVolumeBackupPayload ¶
func NewNullableRestoreVolumeBackupPayload(val *RestoreVolumeBackupPayload) *NullableRestoreVolumeBackupPayload
func (NullableRestoreVolumeBackupPayload) Get ¶
func (v NullableRestoreVolumeBackupPayload) Get() *RestoreVolumeBackupPayload
func (NullableRestoreVolumeBackupPayload) IsSet ¶
func (v NullableRestoreVolumeBackupPayload) IsSet() bool
func (NullableRestoreVolumeBackupPayload) MarshalJSON ¶
func (v NullableRestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreVolumeBackupPayload) Set ¶
func (v *NullableRestoreVolumeBackupPayload) Set(val *RestoreVolumeBackupPayload)
func (*NullableRestoreVolumeBackupPayload) UnmarshalJSON ¶
func (v *NullableRestoreVolumeBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableRestoreVolumeBackupPayload) Unset ¶
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 ¶
type NullableUpdateBackupSchedulePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateBackupSchedulePayload ¶
func NewNullableUpdateBackupSchedulePayload(val *UpdateBackupSchedulePayload) *NullableUpdateBackupSchedulePayload
func (NullableUpdateBackupSchedulePayload) Get ¶
func (v NullableUpdateBackupSchedulePayload) Get() *UpdateBackupSchedulePayload
func (NullableUpdateBackupSchedulePayload) IsSet ¶
func (v NullableUpdateBackupSchedulePayload) IsSet() bool
func (NullableUpdateBackupSchedulePayload) MarshalJSON ¶
func (v NullableUpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateBackupSchedulePayload) Set ¶
func (v *NullableUpdateBackupSchedulePayload) Set(val *UpdateBackupSchedulePayload)
func (*NullableUpdateBackupSchedulePayload) UnmarshalJSON ¶
func (v *NullableUpdateBackupSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateBackupSchedulePayload) Unset ¶
func (v *NullableUpdateBackupSchedulePayload) Unset()
type RestoreBackupPayload ¶
type RestoreBackupPayload struct {
StartServerAfterRestore bool `json:"startServerAfterRestore"`
VolumeIds []string `json:"volumeIds,omitempty"`
}
RestoreBackupPayload struct for RestoreBackupPayload
func NewRestoreBackupPayload ¶
func NewRestoreBackupPayload(startServerAfterRestore bool) *RestoreBackupPayload
NewRestoreBackupPayload instantiates a new RestoreBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestoreBackupPayloadWithDefaults ¶
func NewRestoreBackupPayloadWithDefaults() *RestoreBackupPayload
NewRestoreBackupPayloadWithDefaults instantiates a new RestoreBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestoreBackupPayload) GetStartServerAfterRestore ¶
func (o *RestoreBackupPayload) GetStartServerAfterRestore() bool
GetStartServerAfterRestore returns the StartServerAfterRestore field value
func (*RestoreBackupPayload) GetStartServerAfterRestoreOk ¶
func (o *RestoreBackupPayload) GetStartServerAfterRestoreOk() (*bool, bool)
GetStartServerAfterRestoreOk returns a tuple with the StartServerAfterRestore field value and a boolean to check if the value has been set.
func (*RestoreBackupPayload) GetVolumeIds ¶
func (o *RestoreBackupPayload) GetVolumeIds() []string
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*RestoreBackupPayload) GetVolumeIdsOk ¶
func (o *RestoreBackupPayload) GetVolumeIdsOk() ([]string, bool)
GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreBackupPayload) HasVolumeIds ¶
func (o *RestoreBackupPayload) HasVolumeIds() bool
HasVolumeIds returns a boolean if a field has been set.
func (RestoreBackupPayload) MarshalJSON ¶
func (o RestoreBackupPayload) MarshalJSON() ([]byte, error)
func (*RestoreBackupPayload) SetStartServerAfterRestore ¶
func (o *RestoreBackupPayload) SetStartServerAfterRestore(v bool)
SetStartServerAfterRestore sets field value
func (*RestoreBackupPayload) SetVolumeIds ¶
func (o *RestoreBackupPayload) SetVolumeIds(v []string)
SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.
func (RestoreBackupPayload) ToMap ¶
func (o RestoreBackupPayload) ToMap() (map[string]interface{}, error)
func (*RestoreBackupPayload) UnmarshalJSON ¶
func (o *RestoreBackupPayload) UnmarshalJSON(data []byte) (err error)
type RestoreVolumeBackupPayload ¶
type RestoreVolumeBackupPayload struct {
RestoreVolumeId string `json:"restoreVolumeId"`
}
RestoreVolumeBackupPayload struct for RestoreVolumeBackupPayload
func NewRestoreVolumeBackupPayload ¶
func NewRestoreVolumeBackupPayload(restoreVolumeId string) *RestoreVolumeBackupPayload
NewRestoreVolumeBackupPayload instantiates a new RestoreVolumeBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestoreVolumeBackupPayloadWithDefaults ¶
func NewRestoreVolumeBackupPayloadWithDefaults() *RestoreVolumeBackupPayload
NewRestoreVolumeBackupPayloadWithDefaults instantiates a new RestoreVolumeBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestoreVolumeBackupPayload) GetRestoreVolumeId ¶
func (o *RestoreVolumeBackupPayload) GetRestoreVolumeId() string
GetRestoreVolumeId returns the RestoreVolumeId field value
func (*RestoreVolumeBackupPayload) GetRestoreVolumeIdOk ¶
func (o *RestoreVolumeBackupPayload) GetRestoreVolumeIdOk() (*string, bool)
GetRestoreVolumeIdOk returns a tuple with the RestoreVolumeId field value and a boolean to check if the value has been set.
func (RestoreVolumeBackupPayload) MarshalJSON ¶
func (o RestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)
func (*RestoreVolumeBackupPayload) SetRestoreVolumeId ¶
func (o *RestoreVolumeBackupPayload) SetRestoreVolumeId(v string)
SetRestoreVolumeId sets field value
func (RestoreVolumeBackupPayload) ToMap ¶
func (o RestoreVolumeBackupPayload) ToMap() (map[string]interface{}, error)
func (*RestoreVolumeBackupPayload) UnmarshalJSON ¶
func (o *RestoreVolumeBackupPayload) UnmarshalJSON(data []byte) (err error)
type UpdateBackupSchedulePayload ¶
type UpdateBackupSchedulePayload struct {
BackupProperties *BackupProperties `json:"backupProperties,omitempty"`
Enabled bool `json:"enabled"`
// Max 255 characters
Name string `json:"name"`
// An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates
Rrule string `json:"rrule"`
}
UpdateBackupSchedulePayload struct for UpdateBackupSchedulePayload
func NewUpdateBackupSchedulePayload ¶
func NewUpdateBackupSchedulePayload(enabled bool, name string, rrule string) *UpdateBackupSchedulePayload
NewUpdateBackupSchedulePayload instantiates a new UpdateBackupSchedulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateBackupSchedulePayloadWithDefaults ¶
func NewUpdateBackupSchedulePayloadWithDefaults() *UpdateBackupSchedulePayload
NewUpdateBackupSchedulePayloadWithDefaults instantiates a new UpdateBackupSchedulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateBackupSchedulePayload) GetBackupProperties ¶
func (o *UpdateBackupSchedulePayload) GetBackupProperties() BackupProperties
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*UpdateBackupSchedulePayload) GetBackupPropertiesOk ¶
func (o *UpdateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)
GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) GetEnabled ¶
func (o *UpdateBackupSchedulePayload) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*UpdateBackupSchedulePayload) GetEnabledOk ¶
func (o *UpdateBackupSchedulePayload) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) GetName ¶
func (o *UpdateBackupSchedulePayload) GetName() string
GetName returns the Name field value
func (*UpdateBackupSchedulePayload) GetNameOk ¶
func (o *UpdateBackupSchedulePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) GetRrule ¶
func (o *UpdateBackupSchedulePayload) GetRrule() string
GetRrule returns the Rrule field value
func (*UpdateBackupSchedulePayload) GetRruleOk ¶
func (o *UpdateBackupSchedulePayload) GetRruleOk() (*string, bool)
GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) HasBackupProperties ¶
func (o *UpdateBackupSchedulePayload) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (UpdateBackupSchedulePayload) MarshalJSON ¶
func (o UpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*UpdateBackupSchedulePayload) SetBackupProperties ¶
func (o *UpdateBackupSchedulePayload) SetBackupProperties(v BackupProperties)
SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.
func (*UpdateBackupSchedulePayload) SetEnabled ¶
func (o *UpdateBackupSchedulePayload) SetEnabled(v bool)
SetEnabled sets field value
func (*UpdateBackupSchedulePayload) SetName ¶
func (o *UpdateBackupSchedulePayload) SetName(v string)
SetName sets field value
func (*UpdateBackupSchedulePayload) SetRrule ¶
func (o *UpdateBackupSchedulePayload) SetRrule(v string)
SetRrule sets field value
func (UpdateBackupSchedulePayload) ToMap ¶
func (o UpdateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
func (*UpdateBackupSchedulePayload) UnmarshalJSON ¶
func (o *UpdateBackupSchedulePayload) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.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
- response.go
- utils.go