Documentation ¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- func (a *APIClient) CreateBackup(ctx context.Context, projectId string, serverId string) ApiCreateBackupRequest
- func (a *APIClient) CreateBackupExecute(ctx context.Context, projectId string, serverId string) (*BackupJob, error)
- func (a *APIClient) CreateBackupSchedule(ctx context.Context, projectId string, serverId string) ApiCreateBackupScheduleRequest
- func (a *APIClient) CreateBackupScheduleExecute(ctx context.Context, projectId string, serverId string) (*BackupSchedule, error)
- func (a *APIClient) DeleteBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiDeleteBackupRequest
- func (a *APIClient) DeleteBackupExecute(ctx context.Context, projectId string, serverId string, backupId string) error
- func (a *APIClient) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, ...) ApiDeleteBackupScheduleRequest
- func (a *APIClient) DeleteBackupScheduleExecute(ctx context.Context, projectId string, serverId string, ...) error
- func (a *APIClient) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, ...) ApiDeleteVolumeBackupRequest
- func (a *APIClient) DeleteVolumeBackupExecute(ctx context.Context, projectId string, serverId string, backupId string, ...) error
- func (a *APIClient) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest
- func (a *APIClient) DisableServiceExecute(ctx context.Context, projectId string, serverId string) errordeprecated
- func (a *APIClient) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest
- func (a *APIClient) DisableServiceResourceExecute(ctx context.Context, projectId string, serverId string) error
- func (a *APIClient) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest
- func (a *APIClient) EnableServiceExecute(ctx context.Context, projectId string, serverId string) errordeprecated
- func (a *APIClient) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest
- func (a *APIClient) EnableServiceResourceExecute(ctx context.Context, projectId string, serverId string) error
- func (a *APIClient) GetBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiGetBackupRequest
- func (a *APIClient) GetBackupExecute(ctx context.Context, projectId string, serverId string, backupId string) (*Backup, error)
- func (a *APIClient) GetBackupSchedule(ctx context.Context, projectId string, serverId string, ...) ApiGetBackupScheduleRequest
- func (a *APIClient) GetBackupScheduleExecute(ctx context.Context, projectId string, serverId string, ...) (*BackupSchedule, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) ListBackupSchedules(ctx context.Context, projectId string, serverId string) ApiListBackupSchedulesRequest
- func (a *APIClient) ListBackupSchedulesExecute(ctx context.Context, projectId string, serverId string) (*GetBackupSchedulesResponse, error)
- func (a *APIClient) ListBackups(ctx context.Context, projectId string, serverId string) ApiListBackupsRequest
- func (a *APIClient) ListBackupsExecute(ctx context.Context, projectId string, serverId string) (*GetBackupsListResponse, error)
- func (a *APIClient) RestoreBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiRestoreBackupRequest
- func (a *APIClient) RestoreBackupExecute(ctx context.Context, projectId string, serverId string, backupId string) error
- func (a *APIClient) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, ...) ApiRestoreVolumeBackupRequest
- func (a *APIClient) RestoreVolumeBackupExecute(ctx context.Context, projectId string, serverId string, backupId string, ...) error
- func (a *APIClient) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, ...) ApiUpdateBackupScheduleRequest
- func (a *APIClient) UpdateBackupScheduleExecute(ctx context.Context, projectId string, serverId string, ...) (*BackupSchedule, error)
- type ApiCreateBackupRequest
- type ApiCreateBackupScheduleRequest
- type ApiDeleteBackupRequest
- type ApiDeleteBackupScheduleRequest
- type ApiDeleteVolumeBackupRequest
- type ApiDisableServiceRequest
- type ApiDisableServiceResourceRequest
- type ApiEnableServiceRequest
- type ApiEnableServiceResourceRequest
- type ApiGetBackupRequest
- type ApiGetBackupScheduleRequest
- 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() *int64
- func (o *Backup) GetSizeOk() (*int64, 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) 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 *int64)
- func (o *Backup) SetStatus(v *string)
- func (o *Backup) SetVolumeBackups(v *[]BackupVolumeBackupsInner)
- func (o Backup) ToMap() (map[string]interface{}, error)
- type BackupJob
- type BackupProperties
- func (o *BackupProperties) GetName() *string
- func (o *BackupProperties) GetNameOk() (*string, bool)
- func (o *BackupProperties) GetRetentionPeriod() *int64
- func (o *BackupProperties) GetRetentionPeriodOk() (*int64, bool)
- func (o *BackupProperties) GetVolumeIds() *[]string
- func (o *BackupProperties) GetVolumeIdsOk() (*[]string, bool)
- func (o *BackupProperties) HasVolumeIds() bool
- func (o *BackupProperties) SetName(v *string)
- func (o *BackupProperties) SetRetentionPeriod(v *int64)
- func (o *BackupProperties) SetVolumeIds(v *[]string)
- func (o BackupProperties) ToMap() (map[string]interface{}, 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() *int64
- func (o *BackupSchedule) GetIdOk() (*int64, 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) SetBackupProperties(v *BackupProperties)
- func (o *BackupSchedule) SetEnabled(v *bool)
- func (o *BackupSchedule) SetId(v *int64)
- func (o *BackupSchedule) SetName(v *string)
- func (o *BackupSchedule) SetRrule(v *string)
- func (o BackupSchedule) ToMap() (map[string]interface{}, 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() *int64
- func (o *BackupVolumeBackupsInner) GetSizeOk() (*int64, 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) SetId(v *string)
- func (o *BackupVolumeBackupsInner) SetLastRestoredAt(v *string)
- func (o *BackupVolumeBackupsInner) SetLastRestoredVolumeId(v *string)
- func (o *BackupVolumeBackupsInner) SetSize(v *int64)
- 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() *int64
- func (o *CreateBackupPayload) GetRetentionPeriodOk() (*int64, bool)
- func (o *CreateBackupPayload) GetVolumeIds() *[]string
- func (o *CreateBackupPayload) GetVolumeIdsOk() (*[]string, bool)
- func (o *CreateBackupPayload) HasVolumeIds() bool
- func (o *CreateBackupPayload) SetName(v *string)
- func (o *CreateBackupPayload) SetRetentionPeriod(v *int64)
- func (o *CreateBackupPayload) SetVolumeIds(v *[]string)
- func (o CreateBackupPayload) ToMap() (map[string]interface{}, 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) 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)
- type DefaultApiService
- type EnableServicePayload
- func (o *EnableServicePayload) GetBackupPolicyId() *string
- func (o *EnableServicePayload) GetBackupPolicyIdOk() (*string, bool)
- func (o *EnableServicePayload) HasBackupPolicyId() bool
- func (o *EnableServicePayload) SetBackupPolicyId(v *string)
- func (o EnableServicePayload) ToMap() (map[string]interface{}, error)
- type EnableServiceResourcePayload
- func (o *EnableServiceResourcePayload) GetBackupPolicyId() *string
- func (o *EnableServiceResourcePayload) GetBackupPolicyIdOk() (*string, bool)
- func (o *EnableServiceResourcePayload) HasBackupPolicyId() bool
- func (o *EnableServiceResourcePayload) SetBackupPolicyId(v *string)
- func (o EnableServiceResourcePayload) 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) SetItems(v *[]BackupSchedule)
- func (o GetBackupSchedulesResponse) ToMap() (map[string]interface{}, error)
- type GetBackupsListResponse
- type MappedNullable
- type NullableBackup
- type NullableBackupJob
- 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 NullableEnableServicePayload
- func (v NullableEnableServicePayload) Get() *EnableServicePayload
- func (v NullableEnableServicePayload) IsSet() bool
- func (v NullableEnableServicePayload) MarshalJSON() ([]byte, error)
- func (v *NullableEnableServicePayload) Set(val *EnableServicePayload)
- func (v *NullableEnableServicePayload) UnmarshalJSON(src []byte) error
- func (v *NullableEnableServicePayload) 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 NullableFloat32
- type NullableFloat64
- 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 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) SetStartServerAfterRestore(v *bool)
- func (o *RestoreBackupPayload) SetVolumeIds(v *[]string)
- func (o RestoreBackupPayload) ToMap() (map[string]interface{}, error)
- type RestoreVolumeBackupPayload
- 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) 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Server Backup Management API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) CreateBackup ¶
func (a *APIClient) CreateBackup(ctx context.Context, projectId string, serverId string) ApiCreateBackupRequest
CreateBackup: create backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiCreateBackupRequest
func (*APIClient) CreateBackupExecute ¶
func (*APIClient) CreateBackupSchedule ¶
func (a *APIClient) CreateBackupSchedule(ctx context.Context, projectId string, serverId string) ApiCreateBackupScheduleRequest
CreateBackupSchedule: create backup schedule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiCreateBackupScheduleRequest
func (*APIClient) CreateBackupScheduleExecute ¶
func (*APIClient) DeleteBackup ¶
func (a *APIClient) DeleteBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiDeleteBackupRequest
DeleteBackup: delete backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupId id of the backup @return ApiDeleteBackupRequest
func (*APIClient) DeleteBackupExecute ¶
func (*APIClient) DeleteBackupSchedule ¶
func (a *APIClient) DeleteBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiDeleteBackupScheduleRequest
DeleteBackupSchedule: delete backup schedule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupScheduleId backup schedule id @return ApiDeleteBackupScheduleRequest
func (*APIClient) DeleteBackupScheduleExecute ¶
func (*APIClient) DeleteVolumeBackup ¶
func (a *APIClient) DeleteVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiDeleteVolumeBackupRequest
DeleteVolumeBackup: delete volume backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupId id of the backup @param volumeBackupId id of the volume backup @return ApiDeleteVolumeBackupRequest
func (*APIClient) DeleteVolumeBackupExecute ¶
func (*APIClient) DisableService ¶
func (a *APIClient) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest
DisableService: disable backup service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiDisableServiceRequest
func (*APIClient) DisableServiceResource ¶ added in v0.3.0
func (a *APIClient) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest
DisableServiceResource: disable backup service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiDisableServiceResourceRequest
func (*APIClient) DisableServiceResourceExecute ¶ added in v0.3.0
func (*APIClient) EnableService ¶
func (a *APIClient) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest
EnableService: enable backup service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiEnableServiceRequest
func (*APIClient) EnableServiceResource ¶ added in v0.3.0
func (a *APIClient) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest
EnableServiceResource: enable backup service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiEnableServiceResourceRequest
func (*APIClient) EnableServiceResourceExecute ¶ added in v0.3.0
func (*APIClient) GetBackup ¶
func (a *APIClient) GetBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiGetBackupRequest
GetBackup: get backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupId id of the backup @return ApiGetBackupRequest
func (*APIClient) GetBackupExecute ¶
func (*APIClient) GetBackupSchedule ¶
func (a *APIClient) GetBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiGetBackupScheduleRequest
GetBackupSchedule: get single backup schedule details
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupScheduleId backup schedule id @return ApiGetBackupScheduleRequest
func (*APIClient) GetBackupScheduleExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) ListBackupSchedules ¶
func (a *APIClient) ListBackupSchedules(ctx context.Context, projectId string, serverId string) ApiListBackupSchedulesRequest
ListBackupSchedules: get list of backup schedules
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiListBackupSchedulesRequest
func (*APIClient) ListBackupSchedulesExecute ¶
func (*APIClient) ListBackups ¶
func (a *APIClient) ListBackups(ctx context.Context, projectId string, serverId string) ApiListBackupsRequest
ListBackups: get list of backups
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @return ApiListBackupsRequest
func (*APIClient) ListBackupsExecute ¶
func (*APIClient) RestoreBackup ¶
func (a *APIClient) RestoreBackup(ctx context.Context, projectId string, serverId string, backupId string) ApiRestoreBackupRequest
RestoreBackup: trigger restore of the requested backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupId id of the backup @return ApiRestoreBackupRequest
func (*APIClient) RestoreBackupExecute ¶
func (*APIClient) RestoreVolumeBackup ¶
func (a *APIClient) RestoreVolumeBackup(ctx context.Context, projectId string, serverId string, backupId string, volumeBackupId string) ApiRestoreVolumeBackupRequest
RestoreVolumeBackup: trigger restore of the requested volume backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupId id of the backup @param volumeBackupId id of the volume backup @return ApiRestoreVolumeBackupRequest
func (*APIClient) RestoreVolumeBackupExecute ¶
func (*APIClient) UpdateBackupSchedule ¶
func (a *APIClient) UpdateBackupSchedule(ctx context.Context, projectId string, serverId string, backupScheduleId string) ApiUpdateBackupScheduleRequest
UpdateBackupSchedule: update backup schedule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param serverId openstack server id @param backupScheduleId backup schedule id @return ApiUpdateBackupScheduleRequest
func (*APIClient) UpdateBackupScheduleExecute ¶
type ApiCreateBackupRequest ¶
type ApiCreateBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateBackupRequest) CreateBackupPayload ¶
func (r ApiCreateBackupRequest) CreateBackupPayload(createBackupPayload CreateBackupPayload) ApiCreateBackupRequest
func (ApiCreateBackupRequest) Execute ¶
func (r ApiCreateBackupRequest) Execute() (*BackupJob, error)
type ApiCreateBackupScheduleRequest ¶
type ApiCreateBackupScheduleRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload ¶
func (r ApiCreateBackupScheduleRequest) CreateBackupSchedulePayload(createBackupSchedulePayload CreateBackupSchedulePayload) ApiCreateBackupScheduleRequest
func (ApiCreateBackupScheduleRequest) Execute ¶
func (r ApiCreateBackupScheduleRequest) Execute() (*BackupSchedule, error)
type ApiDeleteBackupRequest ¶
type ApiDeleteBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteBackupRequest) Execute ¶
func (r ApiDeleteBackupRequest) Execute() error
type ApiDeleteBackupScheduleRequest ¶
type ApiDeleteBackupScheduleRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteBackupScheduleRequest) Execute ¶
func (r ApiDeleteBackupScheduleRequest) Execute() error
type ApiDeleteVolumeBackupRequest ¶
type ApiDeleteVolumeBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteVolumeBackupRequest) Execute ¶
func (r ApiDeleteVolumeBackupRequest) Execute() error
type ApiDisableServiceRequest ¶
type ApiDisableServiceRequest struct {
// contains filtered or unexported fields
}
func (ApiDisableServiceRequest) Execute ¶
func (r ApiDisableServiceRequest) Execute() error
type ApiDisableServiceResourceRequest ¶ added in v0.3.0
type ApiDisableServiceResourceRequest struct {
// contains filtered or unexported fields
}
func (ApiDisableServiceResourceRequest) Execute ¶ added in v0.3.0
func (r ApiDisableServiceResourceRequest) Execute() error
type ApiEnableServiceRequest ¶
type ApiEnableServiceRequest struct {
// contains filtered or unexported fields
}
func (ApiEnableServiceRequest) EnableServicePayload ¶
func (r ApiEnableServiceRequest) EnableServicePayload(enableServicePayload EnableServicePayload) ApiEnableServiceRequest
func (ApiEnableServiceRequest) Execute ¶
func (r ApiEnableServiceRequest) Execute() error
type ApiEnableServiceResourceRequest ¶ added in v0.3.0
type ApiEnableServiceResourceRequest struct {
// contains filtered or unexported fields
}
func (ApiEnableServiceResourceRequest) EnableServiceResourcePayload ¶ added in v0.3.0
func (r ApiEnableServiceResourceRequest) EnableServiceResourcePayload(enableServiceResourcePayload EnableServiceResourcePayload) ApiEnableServiceResourceRequest
func (ApiEnableServiceResourceRequest) Execute ¶ added in v0.3.0
func (r ApiEnableServiceResourceRequest) Execute() error
type ApiGetBackupRequest ¶
type ApiGetBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiGetBackupRequest) Execute ¶
func (r ApiGetBackupRequest) Execute() (*Backup, error)
type ApiGetBackupScheduleRequest ¶
type ApiGetBackupScheduleRequest struct {
// contains filtered or unexported fields
}
func (ApiGetBackupScheduleRequest) Execute ¶
func (r ApiGetBackupScheduleRequest) Execute() (*BackupSchedule, error)
type ApiListBackupSchedulesRequest ¶
type ApiListBackupSchedulesRequest struct {
// contains filtered or unexported fields
}
func (ApiListBackupSchedulesRequest) Execute ¶
func (r ApiListBackupSchedulesRequest) Execute() (*GetBackupSchedulesResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*GetBackupsListResponse, error)
type ApiRestoreBackupRequest ¶
type ApiRestoreBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiRestoreBackupRequest) Execute ¶
func (r ApiRestoreBackupRequest) Execute() error
func (ApiRestoreBackupRequest) RestoreBackupPayload ¶
func (r ApiRestoreBackupRequest) RestoreBackupPayload(restoreBackupPayload RestoreBackupPayload) ApiRestoreBackupRequest
type ApiRestoreVolumeBackupRequest ¶
type ApiRestoreVolumeBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiRestoreVolumeBackupRequest) Execute ¶
func (r ApiRestoreVolumeBackupRequest) Execute() error
func (ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload ¶
func (r ApiRestoreVolumeBackupRequest) RestoreVolumeBackupPayload(restoreVolumeBackupPayload RestoreVolumeBackupPayload) ApiRestoreVolumeBackupRequest
type ApiUpdateBackupScheduleRequest ¶
type ApiUpdateBackupScheduleRequest struct {
// contains filtered or unexported fields
}
func (ApiUpdateBackupScheduleRequest) Execute ¶
func (r ApiUpdateBackupScheduleRequest) Execute() (*BackupSchedule, error)
func (ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload ¶
func (r ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload(updateBackupSchedulePayload UpdateBackupSchedulePayload) ApiUpdateBackupScheduleRequest
type Backup ¶
type Backup struct { // REQUIRED CreatedAt *string `json:"createdAt"` // REQUIRED ExpireAt *string `json:"expireAt"` // REQUIRED Id *string `json:"id"` LastRestoredAt *string `json:"lastRestoredAt,omitempty"` // REQUIRED Name *string `json:"name"` Size *int64 `json:"size,omitempty"` // REQUIRED Status *string `json:"status"` VolumeBackups *[]BackupVolumeBackupsInner `json:"volumeBackups,omitempty"` }
Backup struct for Backup
func NewBackup ¶ added in v0.2.0
func NewBackup(createdAt *string, expireAt *string, id *string, name *string, status *string) *Backup
NewBackup instantiates a new Backup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupWithDefaults ¶ added in v0.2.0
func NewBackupWithDefaults() *Backup
NewBackupWithDefaults instantiates a new Backup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Backup) GetCreatedAt ¶ added in v0.2.0
GetCreatedAt returns the CreatedAt field value
func (*Backup) GetCreatedAtOk ¶ added in v0.2.0
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Backup) GetExpireAt ¶ added in v0.2.0
GetExpireAt returns the ExpireAt field value
func (*Backup) GetExpireAtOk ¶ added in v0.2.0
GetExpireAtOk returns a tuple with the ExpireAt field value and a boolean to check if the value has been set.
func (*Backup) GetIdOk ¶ added in v0.2.0
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Backup) GetLastRestoredAt ¶ added in v0.2.0
GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.
func (*Backup) GetLastRestoredAtOk ¶ added in v0.2.0
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 ¶ added in v0.2.0
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Backup) GetSize ¶ added in v0.2.0
GetSize returns the Size field value if set, zero value otherwise.
func (*Backup) GetSizeOk ¶ added in v0.2.0
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 ¶ added in v0.2.0
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Backup) GetVolumeBackups ¶ added in v0.2.0
func (o *Backup) GetVolumeBackups() *[]BackupVolumeBackupsInner
GetVolumeBackups returns the VolumeBackups field value if set, zero value otherwise.
func (*Backup) GetVolumeBackupsOk ¶ added in v0.2.0
func (o *Backup) GetVolumeBackupsOk() (*[]BackupVolumeBackupsInner, bool)
GetVolumeBackupsOk returns a tuple with the VolumeBackups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) HasLastRestoredAt ¶ added in v0.2.0
HasLastRestoredAt returns a boolean if a field has been set.
func (*Backup) HasVolumeBackups ¶ added in v0.2.0
HasVolumeBackups returns a boolean if a field has been set.
func (*Backup) SetCreatedAt ¶ added in v0.2.0
SetCreatedAt sets field value
func (*Backup) SetExpireAt ¶ added in v0.2.0
SetExpireAt sets field value
func (*Backup) SetLastRestoredAt ¶ added in v0.2.0
SetLastRestoredAt gets a reference to the given string and assigns it to the LastRestoredAt field.
func (*Backup) SetSize ¶ added in v0.2.0
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Backup) SetVolumeBackups ¶ added in v0.2.0
func (o *Backup) SetVolumeBackups(v *[]BackupVolumeBackupsInner)
SetVolumeBackups gets a reference to the given []BackupVolumeBackupsInner and assigns it to the VolumeBackups field.
type BackupJob ¶
type BackupJob struct { // REQUIRED Id *string `json:"id"` }
BackupJob struct for BackupJob
func NewBackupJob ¶ added in v0.2.0
NewBackupJob instantiates a new BackupJob object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupJobWithDefaults ¶ added in v0.2.0
func NewBackupJobWithDefaults() *BackupJob
NewBackupJobWithDefaults instantiates a new BackupJob object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupJob) GetIdOk ¶ added in v0.2.0
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
type BackupProperties ¶
type BackupProperties struct { // Max 255 characters // REQUIRED Name *string `json:"name"` // Values are set in days (1-36500) // REQUIRED RetentionPeriod *int64 `json:"retentionPeriod"` VolumeIds *[]string `json:"volumeIds,omitempty"` }
BackupProperties struct for BackupProperties
func NewBackupProperties ¶ added in v0.2.0
func NewBackupProperties(name *string, retentionPeriod *int64) *BackupProperties
NewBackupProperties instantiates a new BackupProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupPropertiesWithDefaults ¶ added in v0.2.0
func NewBackupPropertiesWithDefaults() *BackupProperties
NewBackupPropertiesWithDefaults instantiates a new BackupProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupProperties) GetName ¶ added in v0.2.0
func (o *BackupProperties) GetName() *string
GetName returns the Name field value
func (*BackupProperties) GetNameOk ¶ added in v0.2.0
func (o *BackupProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BackupProperties) GetRetentionPeriod ¶ added in v0.2.0
func (o *BackupProperties) GetRetentionPeriod() *int64
GetRetentionPeriod returns the RetentionPeriod field value
func (*BackupProperties) GetRetentionPeriodOk ¶ added in v0.2.0
func (o *BackupProperties) GetRetentionPeriodOk() (*int64, bool)
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value and a boolean to check if the value has been set.
func (*BackupProperties) GetVolumeIds ¶ added in v0.2.0
func (o *BackupProperties) GetVolumeIds() *[]string
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*BackupProperties) GetVolumeIdsOk ¶ added in v0.2.0
func (o *BackupProperties) GetVolumeIdsOk() (*[]string, bool)
GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupProperties) HasVolumeIds ¶ added in v0.2.0
func (o *BackupProperties) HasVolumeIds() bool
HasVolumeIds returns a boolean if a field has been set.
func (*BackupProperties) SetName ¶ added in v0.2.0
func (o *BackupProperties) SetName(v *string)
SetName sets field value
func (*BackupProperties) SetRetentionPeriod ¶ added in v0.2.0
func (o *BackupProperties) SetRetentionPeriod(v *int64)
SetRetentionPeriod sets field value
func (*BackupProperties) SetVolumeIds ¶ added in v0.2.0
func (o *BackupProperties) SetVolumeIds(v *[]string)
SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.
func (BackupProperties) ToMap ¶ added in v0.2.0
func (o BackupProperties) ToMap() (map[string]interface{}, error)
type BackupSchedule ¶
type BackupSchedule struct { BackupProperties *BackupProperties `json:"backupProperties,omitempty"` // REQUIRED Enabled *bool `json:"enabled"` // REQUIRED Id *int64 `json:"id"` // REQUIRED Name *string `json:"name"` // REQUIRED Rrule *string `json:"rrule"` }
BackupSchedule struct for BackupSchedule
func NewBackupSchedule ¶ added in v0.2.0
func NewBackupSchedule(enabled *bool, id *int64, name *string, rrule *string) *BackupSchedule
NewBackupSchedule instantiates a new BackupSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupScheduleWithDefaults ¶ added in v0.2.0
func NewBackupScheduleWithDefaults() *BackupSchedule
NewBackupScheduleWithDefaults instantiates a new BackupSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupSchedule) GetBackupProperties ¶ added in v0.2.0
func (o *BackupSchedule) GetBackupProperties() *BackupProperties
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*BackupSchedule) GetBackupPropertiesOk ¶ added in v0.2.0
func (o *BackupSchedule) GetBackupPropertiesOk() (*BackupProperties, bool)
GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupSchedule) GetEnabled ¶ added in v0.2.0
func (o *BackupSchedule) GetEnabled() *bool
GetEnabled returns the Enabled field value
func (*BackupSchedule) GetEnabledOk ¶ added in v0.2.0
func (o *BackupSchedule) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*BackupSchedule) GetId ¶ added in v0.2.0
func (o *BackupSchedule) GetId() *int64
GetId returns the Id field value
func (*BackupSchedule) GetIdOk ¶ added in v0.2.0
func (o *BackupSchedule) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BackupSchedule) GetName ¶ added in v0.2.0
func (o *BackupSchedule) GetName() *string
GetName returns the Name field value
func (*BackupSchedule) GetNameOk ¶ added in v0.2.0
func (o *BackupSchedule) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BackupSchedule) GetRrule ¶ added in v0.2.0
func (o *BackupSchedule) GetRrule() *string
GetRrule returns the Rrule field value
func (*BackupSchedule) GetRruleOk ¶ added in v0.2.0
func (o *BackupSchedule) GetRruleOk() (*string, bool)
GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.
func (*BackupSchedule) HasBackupProperties ¶ added in v0.2.0
func (o *BackupSchedule) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (*BackupSchedule) SetBackupProperties ¶ added in v0.2.0
func (o *BackupSchedule) SetBackupProperties(v *BackupProperties)
SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.
func (*BackupSchedule) SetEnabled ¶ added in v0.2.0
func (o *BackupSchedule) SetEnabled(v *bool)
SetEnabled sets field value
func (*BackupSchedule) SetId ¶ added in v0.2.0
func (o *BackupSchedule) SetId(v *int64)
SetId sets field value
func (*BackupSchedule) SetName ¶ added in v0.2.0
func (o *BackupSchedule) SetName(v *string)
SetName sets field value
func (*BackupSchedule) SetRrule ¶ added in v0.2.0
func (o *BackupSchedule) SetRrule(v *string)
SetRrule sets field value
func (BackupSchedule) ToMap ¶ added in v0.2.0
func (o BackupSchedule) ToMap() (map[string]interface{}, error)
type BackupVolumeBackupsInner ¶
type BackupVolumeBackupsInner struct { Id *string `json:"id,omitempty"` LastRestoredAt *string `json:"lastRestoredAt,omitempty"` LastRestoredVolumeId *string `json:"lastRestoredVolumeId,omitempty"` Size *int64 `json:"size,omitempty"` Status *string `json:"status,omitempty"` VolumeId *string `json:"volumeId,omitempty"` }
BackupVolumeBackupsInner struct for BackupVolumeBackupsInner
func NewBackupVolumeBackupsInner ¶ added in v0.2.0
func NewBackupVolumeBackupsInner() *BackupVolumeBackupsInner
NewBackupVolumeBackupsInner instantiates a new BackupVolumeBackupsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupVolumeBackupsInnerWithDefaults ¶ added in v0.2.0
func NewBackupVolumeBackupsInnerWithDefaults() *BackupVolumeBackupsInner
NewBackupVolumeBackupsInnerWithDefaults instantiates a new BackupVolumeBackupsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupVolumeBackupsInner) GetId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetId() *string
GetId returns the Id field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetIdOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetLastRestoredAt ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetLastRestoredAt() *string
GetLastRestoredAt returns the LastRestoredAt field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetLastRestoredAtOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetLastRestoredAtOk() (*string, bool)
GetLastRestoredAtOk returns a tuple with the LastRestoredAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetLastRestoredVolumeId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeId() *string
GetLastRestoredVolumeId returns the LastRestoredVolumeId field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetLastRestoredVolumeIdOk() (*string, bool)
GetLastRestoredVolumeIdOk returns a tuple with the LastRestoredVolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetSize ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetSize() *int64
GetSize returns the Size field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetSizeOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetStatus ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetStatus() *string
GetStatus returns the Status field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetStatusOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) GetVolumeId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetVolumeId() *string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*BackupVolumeBackupsInner) GetVolumeIdOk ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupVolumeBackupsInner) HasId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasLastRestoredAt ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) HasLastRestoredAt() bool
HasLastRestoredAt returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasLastRestoredVolumeId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) HasLastRestoredVolumeId() bool
HasLastRestoredVolumeId returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasSize ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasStatus ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) HasVolumeId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (*BackupVolumeBackupsInner) SetId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) SetId(v *string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BackupVolumeBackupsInner) SetLastRestoredAt ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) SetLastRestoredAt(v *string)
SetLastRestoredAt gets a reference to the given string and assigns it to the LastRestoredAt field.
func (*BackupVolumeBackupsInner) SetLastRestoredVolumeId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) SetLastRestoredVolumeId(v *string)
SetLastRestoredVolumeId gets a reference to the given string and assigns it to the LastRestoredVolumeId field.
func (*BackupVolumeBackupsInner) SetSize ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) SetSize(v *int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*BackupVolumeBackupsInner) SetStatus ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) SetStatus(v *string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*BackupVolumeBackupsInner) SetVolumeId ¶ added in v0.2.0
func (o *BackupVolumeBackupsInner) SetVolumeId(v *string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (BackupVolumeBackupsInner) ToMap ¶ added in v0.2.0
func (o BackupVolumeBackupsInner) ToMap() (map[string]interface{}, error)
type CreateBackupPayload ¶
type CreateBackupPayload struct { // Max 255 characters // REQUIRED Name *string `json:"name"` // Values are set in days (1-36500) // REQUIRED RetentionPeriod *int64 `json:"retentionPeriod"` VolumeIds *[]string `json:"volumeIds,omitempty"` }
CreateBackupPayload struct for CreateBackupPayload
func NewCreateBackupPayload ¶ added in v0.2.0
func NewCreateBackupPayload(name *string, retentionPeriod *int64) *CreateBackupPayload
NewCreateBackupPayload instantiates a new CreateBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateBackupPayloadWithDefaults ¶ added in v0.2.0
func NewCreateBackupPayloadWithDefaults() *CreateBackupPayload
NewCreateBackupPayloadWithDefaults instantiates a new CreateBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateBackupPayload) GetName ¶ added in v0.2.0
func (o *CreateBackupPayload) GetName() *string
GetName returns the Name field value
func (*CreateBackupPayload) GetNameOk ¶ added in v0.2.0
func (o *CreateBackupPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateBackupPayload) GetRetentionPeriod ¶ added in v0.2.0
func (o *CreateBackupPayload) GetRetentionPeriod() *int64
GetRetentionPeriod returns the RetentionPeriod field value
func (*CreateBackupPayload) GetRetentionPeriodOk ¶ added in v0.2.0
func (o *CreateBackupPayload) GetRetentionPeriodOk() (*int64, bool)
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value and a boolean to check if the value has been set.
func (*CreateBackupPayload) GetVolumeIds ¶ added in v0.2.0
func (o *CreateBackupPayload) GetVolumeIds() *[]string
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*CreateBackupPayload) GetVolumeIdsOk ¶ added in v0.2.0
func (o *CreateBackupPayload) GetVolumeIdsOk() (*[]string, bool)
GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateBackupPayload) HasVolumeIds ¶ added in v0.2.0
func (o *CreateBackupPayload) HasVolumeIds() bool
HasVolumeIds returns a boolean if a field has been set.
func (*CreateBackupPayload) SetName ¶ added in v0.2.0
func (o *CreateBackupPayload) SetName(v *string)
SetName sets field value
func (*CreateBackupPayload) SetRetentionPeriod ¶ added in v0.2.0
func (o *CreateBackupPayload) SetRetentionPeriod(v *int64)
SetRetentionPeriod sets field value
func (*CreateBackupPayload) SetVolumeIds ¶ added in v0.2.0
func (o *CreateBackupPayload) SetVolumeIds(v *[]string)
SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.
func (CreateBackupPayload) ToMap ¶ added in v0.2.0
func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)
type CreateBackupSchedulePayload ¶
type CreateBackupSchedulePayload struct { BackupProperties *BackupProperties `json:"backupProperties,omitempty"` // REQUIRED Enabled *bool `json:"enabled"` // Max 255 characters // REQUIRED Name *string `json:"name"` // REQUIRED Rrule *string `json:"rrule"` }
CreateBackupSchedulePayload struct for CreateBackupSchedulePayload
func NewCreateBackupSchedulePayload ¶ added in v0.2.0
func NewCreateBackupSchedulePayload(enabled *bool, name *string, rrule *string) *CreateBackupSchedulePayload
NewCreateBackupSchedulePayload instantiates a new CreateBackupSchedulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateBackupSchedulePayloadWithDefaults ¶ added in v0.2.0
func NewCreateBackupSchedulePayloadWithDefaults() *CreateBackupSchedulePayload
NewCreateBackupSchedulePayloadWithDefaults instantiates a new CreateBackupSchedulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateBackupSchedulePayload) GetBackupProperties ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetBackupProperties() *BackupProperties
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*CreateBackupSchedulePayload) GetBackupPropertiesOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)
GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) GetEnabled ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetEnabled() *bool
GetEnabled returns the Enabled field value
func (*CreateBackupSchedulePayload) GetEnabledOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) GetName ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetName() *string
GetName returns the Name field value
func (*CreateBackupSchedulePayload) GetNameOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) GetRrule ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetRrule() *string
GetRrule returns the Rrule field value
func (*CreateBackupSchedulePayload) GetRruleOk ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) GetRruleOk() (*string, bool)
GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.
func (*CreateBackupSchedulePayload) HasBackupProperties ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (*CreateBackupSchedulePayload) SetBackupProperties ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) SetBackupProperties(v *BackupProperties)
SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.
func (*CreateBackupSchedulePayload) SetEnabled ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) SetEnabled(v *bool)
SetEnabled sets field value
func (*CreateBackupSchedulePayload) SetName ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) SetName(v *string)
SetName sets field value
func (*CreateBackupSchedulePayload) SetRrule ¶ added in v0.2.0
func (o *CreateBackupSchedulePayload) SetRrule(v *string)
SetRrule sets field value
func (CreateBackupSchedulePayload) ToMap ¶ added in v0.2.0
func (o CreateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
type EnableServicePayload ¶
type EnableServicePayload struct {
BackupPolicyId *string `json:"backupPolicyId,omitempty"`
}
EnableServicePayload struct for EnableServicePayload
func NewEnableServicePayload ¶ added in v0.2.0
func NewEnableServicePayload() *EnableServicePayload
NewEnableServicePayload instantiates a new EnableServicePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnableServicePayloadWithDefaults ¶ added in v0.2.0
func NewEnableServicePayloadWithDefaults() *EnableServicePayload
NewEnableServicePayloadWithDefaults instantiates a new EnableServicePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EnableServicePayload) GetBackupPolicyId ¶ added in v0.2.0
func (o *EnableServicePayload) GetBackupPolicyId() *string
GetBackupPolicyId returns the BackupPolicyId field value if set, zero value otherwise.
func (*EnableServicePayload) GetBackupPolicyIdOk ¶ added in v0.2.0
func (o *EnableServicePayload) GetBackupPolicyIdOk() (*string, bool)
GetBackupPolicyIdOk returns a tuple with the BackupPolicyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnableServicePayload) HasBackupPolicyId ¶ added in v0.2.0
func (o *EnableServicePayload) HasBackupPolicyId() bool
HasBackupPolicyId returns a boolean if a field has been set.
func (*EnableServicePayload) SetBackupPolicyId ¶ added in v0.2.0
func (o *EnableServicePayload) SetBackupPolicyId(v *string)
SetBackupPolicyId gets a reference to the given string and assigns it to the BackupPolicyId field.
func (EnableServicePayload) ToMap ¶ added in v0.2.0
func (o EnableServicePayload) ToMap() (map[string]interface{}, error)
type EnableServiceResourcePayload ¶ added in v0.3.0
type EnableServiceResourcePayload struct {
BackupPolicyId *string `json:"backupPolicyId,omitempty"`
}
EnableServiceResourcePayload struct for EnableServiceResourcePayload
func NewEnableServiceResourcePayload ¶ added in v0.3.0
func NewEnableServiceResourcePayload() *EnableServiceResourcePayload
NewEnableServiceResourcePayload instantiates a new EnableServiceResourcePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnableServiceResourcePayloadWithDefaults ¶ added in v0.3.0
func NewEnableServiceResourcePayloadWithDefaults() *EnableServiceResourcePayload
NewEnableServiceResourcePayloadWithDefaults instantiates a new EnableServiceResourcePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EnableServiceResourcePayload) GetBackupPolicyId ¶ added in v0.3.0
func (o *EnableServiceResourcePayload) GetBackupPolicyId() *string
GetBackupPolicyId returns the BackupPolicyId field value if set, zero value otherwise.
func (*EnableServiceResourcePayload) GetBackupPolicyIdOk ¶ added in v0.3.0
func (o *EnableServiceResourcePayload) GetBackupPolicyIdOk() (*string, bool)
GetBackupPolicyIdOk returns a tuple with the BackupPolicyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnableServiceResourcePayload) HasBackupPolicyId ¶ added in v0.3.0
func (o *EnableServiceResourcePayload) HasBackupPolicyId() bool
HasBackupPolicyId returns a boolean if a field has been set.
func (*EnableServiceResourcePayload) SetBackupPolicyId ¶ added in v0.3.0
func (o *EnableServiceResourcePayload) SetBackupPolicyId(v *string)
SetBackupPolicyId gets a reference to the given string and assigns it to the BackupPolicyId field.
func (EnableServiceResourcePayload) ToMap ¶ added in v0.3.0
func (o EnableServiceResourcePayload) ToMap() (map[string]interface{}, error)
type GetBackupSchedulesResponse ¶ added in v0.3.0
type GetBackupSchedulesResponse struct {
Items *[]BackupSchedule `json:"items,omitempty"`
}
GetBackupSchedulesResponse struct for GetBackupSchedulesResponse
func NewGetBackupSchedulesResponse ¶ added in v0.3.0
func NewGetBackupSchedulesResponse() *GetBackupSchedulesResponse
NewGetBackupSchedulesResponse instantiates a new GetBackupSchedulesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBackupSchedulesResponseWithDefaults ¶ added in v0.3.0
func NewGetBackupSchedulesResponseWithDefaults() *GetBackupSchedulesResponse
NewGetBackupSchedulesResponseWithDefaults instantiates a new GetBackupSchedulesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBackupSchedulesResponse) GetItems ¶ added in v0.3.0
func (o *GetBackupSchedulesResponse) GetItems() *[]BackupSchedule
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupSchedulesResponse) GetItemsOk ¶ added in v0.3.0
func (o *GetBackupSchedulesResponse) GetItemsOk() (*[]BackupSchedule, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupSchedulesResponse) HasItems ¶ added in v0.3.0
func (o *GetBackupSchedulesResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GetBackupSchedulesResponse) SetItems ¶ added in v0.3.0
func (o *GetBackupSchedulesResponse) SetItems(v *[]BackupSchedule)
SetItems gets a reference to the given []BackupSchedule and assigns it to the Items field.
func (GetBackupSchedulesResponse) ToMap ¶ added in v0.3.0
func (o GetBackupSchedulesResponse) ToMap() (map[string]interface{}, error)
type GetBackupsListResponse ¶ added in v0.3.0
type GetBackupsListResponse struct {
Items *[]Backup `json:"items,omitempty"`
}
GetBackupsListResponse struct for GetBackupsListResponse
func NewGetBackupsListResponse ¶ added in v0.3.0
func NewGetBackupsListResponse() *GetBackupsListResponse
NewGetBackupsListResponse instantiates a new GetBackupsListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBackupsListResponseWithDefaults ¶ added in v0.3.0
func NewGetBackupsListResponseWithDefaults() *GetBackupsListResponse
NewGetBackupsListResponseWithDefaults instantiates a new GetBackupsListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBackupsListResponse) GetItems ¶ added in v0.3.0
func (o *GetBackupsListResponse) GetItems() *[]Backup
GetItems returns the Items field value if set, zero value otherwise.
func (*GetBackupsListResponse) GetItemsOk ¶ added in v0.3.0
func (o *GetBackupsListResponse) GetItemsOk() (*[]Backup, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupsListResponse) HasItems ¶ added in v0.3.0
func (o *GetBackupsListResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GetBackupsListResponse) SetItems ¶ added in v0.3.0
func (o *GetBackupsListResponse) SetItems(v *[]Backup)
SetItems gets a reference to the given []Backup and assigns it to the Items field.
func (GetBackupsListResponse) ToMap ¶ added in v0.3.0
func (o GetBackupsListResponse) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableBackup ¶ added in v0.2.0
type NullableBackup struct {
// contains filtered or unexported fields
}
func NewNullableBackup ¶ added in v0.2.0
func NewNullableBackup(val *Backup) *NullableBackup
func (NullableBackup) Get ¶ added in v0.2.0
func (v NullableBackup) Get() *Backup
func (NullableBackup) IsSet ¶ added in v0.2.0
func (v NullableBackup) IsSet() bool
func (NullableBackup) MarshalJSON ¶ added in v0.2.0
func (v NullableBackup) MarshalJSON() ([]byte, error)
func (*NullableBackup) Set ¶ added in v0.2.0
func (v *NullableBackup) Set(val *Backup)
func (*NullableBackup) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableBackup) UnmarshalJSON(src []byte) error
func (*NullableBackup) Unset ¶ added in v0.2.0
func (v *NullableBackup) Unset()
type NullableBackupJob ¶ added in v0.2.0
type NullableBackupJob struct {
// contains filtered or unexported fields
}
func NewNullableBackupJob ¶ added in v0.2.0
func NewNullableBackupJob(val *BackupJob) *NullableBackupJob
func (NullableBackupJob) Get ¶ added in v0.2.0
func (v NullableBackupJob) Get() *BackupJob
func (NullableBackupJob) IsSet ¶ added in v0.2.0
func (v NullableBackupJob) IsSet() bool
func (NullableBackupJob) MarshalJSON ¶ added in v0.2.0
func (v NullableBackupJob) MarshalJSON() ([]byte, error)
func (*NullableBackupJob) Set ¶ added in v0.2.0
func (v *NullableBackupJob) Set(val *BackupJob)
func (*NullableBackupJob) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableBackupJob) UnmarshalJSON(src []byte) error
func (*NullableBackupJob) Unset ¶ added in v0.2.0
func (v *NullableBackupJob) Unset()
type NullableBackupProperties ¶ added in v0.2.0
type NullableBackupProperties struct {
// contains filtered or unexported fields
}
func NewNullableBackupProperties ¶ added in v0.2.0
func NewNullableBackupProperties(val *BackupProperties) *NullableBackupProperties
func (NullableBackupProperties) Get ¶ added in v0.2.0
func (v NullableBackupProperties) Get() *BackupProperties
func (NullableBackupProperties) IsSet ¶ added in v0.2.0
func (v NullableBackupProperties) IsSet() bool
func (NullableBackupProperties) MarshalJSON ¶ added in v0.2.0
func (v NullableBackupProperties) MarshalJSON() ([]byte, error)
func (*NullableBackupProperties) Set ¶ added in v0.2.0
func (v *NullableBackupProperties) Set(val *BackupProperties)
func (*NullableBackupProperties) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableBackupProperties) UnmarshalJSON(src []byte) error
func (*NullableBackupProperties) Unset ¶ added in v0.2.0
func (v *NullableBackupProperties) Unset()
type NullableBackupSchedule ¶ added in v0.2.0
type NullableBackupSchedule struct {
// contains filtered or unexported fields
}
func NewNullableBackupSchedule ¶ added in v0.2.0
func NewNullableBackupSchedule(val *BackupSchedule) *NullableBackupSchedule
func (NullableBackupSchedule) Get ¶ added in v0.2.0
func (v NullableBackupSchedule) Get() *BackupSchedule
func (NullableBackupSchedule) IsSet ¶ added in v0.2.0
func (v NullableBackupSchedule) IsSet() bool
func (NullableBackupSchedule) MarshalJSON ¶ added in v0.2.0
func (v NullableBackupSchedule) MarshalJSON() ([]byte, error)
func (*NullableBackupSchedule) Set ¶ added in v0.2.0
func (v *NullableBackupSchedule) Set(val *BackupSchedule)
func (*NullableBackupSchedule) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableBackupSchedule) UnmarshalJSON(src []byte) error
func (*NullableBackupSchedule) Unset ¶ added in v0.2.0
func (v *NullableBackupSchedule) Unset()
type NullableBackupVolumeBackupsInner ¶ added in v0.2.0
type NullableBackupVolumeBackupsInner struct {
// contains filtered or unexported fields
}
func NewNullableBackupVolumeBackupsInner ¶ added in v0.2.0
func NewNullableBackupVolumeBackupsInner(val *BackupVolumeBackupsInner) *NullableBackupVolumeBackupsInner
func (NullableBackupVolumeBackupsInner) Get ¶ added in v0.2.0
func (v NullableBackupVolumeBackupsInner) Get() *BackupVolumeBackupsInner
func (NullableBackupVolumeBackupsInner) IsSet ¶ added in v0.2.0
func (v NullableBackupVolumeBackupsInner) IsSet() bool
func (NullableBackupVolumeBackupsInner) MarshalJSON ¶ added in v0.2.0
func (v NullableBackupVolumeBackupsInner) MarshalJSON() ([]byte, error)
func (*NullableBackupVolumeBackupsInner) Set ¶ added in v0.2.0
func (v *NullableBackupVolumeBackupsInner) Set(val *BackupVolumeBackupsInner)
func (*NullableBackupVolumeBackupsInner) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableBackupVolumeBackupsInner) UnmarshalJSON(src []byte) error
func (*NullableBackupVolumeBackupsInner) Unset ¶ added in v0.2.0
func (v *NullableBackupVolumeBackupsInner) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateBackupPayload ¶ added in v0.2.0
type NullableCreateBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateBackupPayload ¶ added in v0.2.0
func NewNullableCreateBackupPayload(val *CreateBackupPayload) *NullableCreateBackupPayload
func (NullableCreateBackupPayload) Get ¶ added in v0.2.0
func (v NullableCreateBackupPayload) Get() *CreateBackupPayload
func (NullableCreateBackupPayload) IsSet ¶ added in v0.2.0
func (v NullableCreateBackupPayload) IsSet() bool
func (NullableCreateBackupPayload) MarshalJSON ¶ added in v0.2.0
func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateBackupPayload) Set ¶ added in v0.2.0
func (v *NullableCreateBackupPayload) Set(val *CreateBackupPayload)
func (*NullableCreateBackupPayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableCreateBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateBackupPayload) Unset ¶ added in v0.2.0
func (v *NullableCreateBackupPayload) Unset()
type NullableCreateBackupSchedulePayload ¶ added in v0.2.0
type NullableCreateBackupSchedulePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateBackupSchedulePayload ¶ added in v0.2.0
func NewNullableCreateBackupSchedulePayload(val *CreateBackupSchedulePayload) *NullableCreateBackupSchedulePayload
func (NullableCreateBackupSchedulePayload) Get ¶ added in v0.2.0
func (v NullableCreateBackupSchedulePayload) Get() *CreateBackupSchedulePayload
func (NullableCreateBackupSchedulePayload) IsSet ¶ added in v0.2.0
func (v NullableCreateBackupSchedulePayload) IsSet() bool
func (NullableCreateBackupSchedulePayload) MarshalJSON ¶ added in v0.2.0
func (v NullableCreateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateBackupSchedulePayload) Set ¶ added in v0.2.0
func (v *NullableCreateBackupSchedulePayload) Set(val *CreateBackupSchedulePayload)
func (*NullableCreateBackupSchedulePayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableCreateBackupSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateBackupSchedulePayload) Unset ¶ added in v0.2.0
func (v *NullableCreateBackupSchedulePayload) Unset()
type NullableEnableServicePayload ¶ added in v0.2.0
type NullableEnableServicePayload struct {
// contains filtered or unexported fields
}
func NewNullableEnableServicePayload ¶ added in v0.2.0
func NewNullableEnableServicePayload(val *EnableServicePayload) *NullableEnableServicePayload
func (NullableEnableServicePayload) Get ¶ added in v0.2.0
func (v NullableEnableServicePayload) Get() *EnableServicePayload
func (NullableEnableServicePayload) IsSet ¶ added in v0.2.0
func (v NullableEnableServicePayload) IsSet() bool
func (NullableEnableServicePayload) MarshalJSON ¶ added in v0.2.0
func (v NullableEnableServicePayload) MarshalJSON() ([]byte, error)
func (*NullableEnableServicePayload) Set ¶ added in v0.2.0
func (v *NullableEnableServicePayload) Set(val *EnableServicePayload)
func (*NullableEnableServicePayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableEnableServicePayload) UnmarshalJSON(src []byte) error
func (*NullableEnableServicePayload) Unset ¶ added in v0.2.0
func (v *NullableEnableServicePayload) Unset()
type NullableEnableServiceResourcePayload ¶ added in v0.3.0
type NullableEnableServiceResourcePayload struct {
// contains filtered or unexported fields
}
func NewNullableEnableServiceResourcePayload ¶ added in v0.3.0
func NewNullableEnableServiceResourcePayload(val *EnableServiceResourcePayload) *NullableEnableServiceResourcePayload
func (NullableEnableServiceResourcePayload) Get ¶ added in v0.3.0
func (v NullableEnableServiceResourcePayload) Get() *EnableServiceResourcePayload
func (NullableEnableServiceResourcePayload) IsSet ¶ added in v0.3.0
func (v NullableEnableServiceResourcePayload) IsSet() bool
func (NullableEnableServiceResourcePayload) MarshalJSON ¶ added in v0.3.0
func (v NullableEnableServiceResourcePayload) MarshalJSON() ([]byte, error)
func (*NullableEnableServiceResourcePayload) Set ¶ added in v0.3.0
func (v *NullableEnableServiceResourcePayload) Set(val *EnableServiceResourcePayload)
func (*NullableEnableServiceResourcePayload) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableEnableServiceResourcePayload) UnmarshalJSON(src []byte) error
func (*NullableEnableServiceResourcePayload) Unset ¶ added in v0.3.0
func (v *NullableEnableServiceResourcePayload) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetBackupSchedulesResponse ¶ added in v0.3.0
type NullableGetBackupSchedulesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupSchedulesResponse ¶ added in v0.3.0
func NewNullableGetBackupSchedulesResponse(val *GetBackupSchedulesResponse) *NullableGetBackupSchedulesResponse
func (NullableGetBackupSchedulesResponse) Get ¶ added in v0.3.0
func (v NullableGetBackupSchedulesResponse) Get() *GetBackupSchedulesResponse
func (NullableGetBackupSchedulesResponse) IsSet ¶ added in v0.3.0
func (v NullableGetBackupSchedulesResponse) IsSet() bool
func (NullableGetBackupSchedulesResponse) MarshalJSON ¶ added in v0.3.0
func (v NullableGetBackupSchedulesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupSchedulesResponse) Set ¶ added in v0.3.0
func (v *NullableGetBackupSchedulesResponse) Set(val *GetBackupSchedulesResponse)
func (*NullableGetBackupSchedulesResponse) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableGetBackupSchedulesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupSchedulesResponse) Unset ¶ added in v0.3.0
func (v *NullableGetBackupSchedulesResponse) Unset()
type NullableGetBackupsListResponse ¶ added in v0.3.0
type NullableGetBackupsListResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupsListResponse ¶ added in v0.3.0
func NewNullableGetBackupsListResponse(val *GetBackupsListResponse) *NullableGetBackupsListResponse
func (NullableGetBackupsListResponse) Get ¶ added in v0.3.0
func (v NullableGetBackupsListResponse) Get() *GetBackupsListResponse
func (NullableGetBackupsListResponse) IsSet ¶ added in v0.3.0
func (v NullableGetBackupsListResponse) IsSet() bool
func (NullableGetBackupsListResponse) MarshalJSON ¶ added in v0.3.0
func (v NullableGetBackupsListResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupsListResponse) Set ¶ added in v0.3.0
func (v *NullableGetBackupsListResponse) Set(val *GetBackupsListResponse)
func (*NullableGetBackupsListResponse) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableGetBackupsListResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupsListResponse) Unset ¶ added in v0.3.0
func (v *NullableGetBackupsListResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableRestoreBackupPayload ¶ added in v0.2.0
type NullableRestoreBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableRestoreBackupPayload ¶ added in v0.2.0
func NewNullableRestoreBackupPayload(val *RestoreBackupPayload) *NullableRestoreBackupPayload
func (NullableRestoreBackupPayload) Get ¶ added in v0.2.0
func (v NullableRestoreBackupPayload) Get() *RestoreBackupPayload
func (NullableRestoreBackupPayload) IsSet ¶ added in v0.2.0
func (v NullableRestoreBackupPayload) IsSet() bool
func (NullableRestoreBackupPayload) MarshalJSON ¶ added in v0.2.0
func (v NullableRestoreBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreBackupPayload) Set ¶ added in v0.2.0
func (v *NullableRestoreBackupPayload) Set(val *RestoreBackupPayload)
func (*NullableRestoreBackupPayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableRestoreBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableRestoreBackupPayload) Unset ¶ added in v0.2.0
func (v *NullableRestoreBackupPayload) Unset()
type NullableRestoreVolumeBackupPayload ¶ added in v0.2.0
type NullableRestoreVolumeBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableRestoreVolumeBackupPayload ¶ added in v0.2.0
func NewNullableRestoreVolumeBackupPayload(val *RestoreVolumeBackupPayload) *NullableRestoreVolumeBackupPayload
func (NullableRestoreVolumeBackupPayload) Get ¶ added in v0.2.0
func (v NullableRestoreVolumeBackupPayload) Get() *RestoreVolumeBackupPayload
func (NullableRestoreVolumeBackupPayload) IsSet ¶ added in v0.2.0
func (v NullableRestoreVolumeBackupPayload) IsSet() bool
func (NullableRestoreVolumeBackupPayload) MarshalJSON ¶ added in v0.2.0
func (v NullableRestoreVolumeBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreVolumeBackupPayload) Set ¶ added in v0.2.0
func (v *NullableRestoreVolumeBackupPayload) Set(val *RestoreVolumeBackupPayload)
func (*NullableRestoreVolumeBackupPayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableRestoreVolumeBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableRestoreVolumeBackupPayload) Unset ¶ added in v0.2.0
func (v *NullableRestoreVolumeBackupPayload) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateBackupSchedulePayload ¶ added in v0.2.0
type NullableUpdateBackupSchedulePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateBackupSchedulePayload ¶ added in v0.2.0
func NewNullableUpdateBackupSchedulePayload(val *UpdateBackupSchedulePayload) *NullableUpdateBackupSchedulePayload
func (NullableUpdateBackupSchedulePayload) Get ¶ added in v0.2.0
func (v NullableUpdateBackupSchedulePayload) Get() *UpdateBackupSchedulePayload
func (NullableUpdateBackupSchedulePayload) IsSet ¶ added in v0.2.0
func (v NullableUpdateBackupSchedulePayload) IsSet() bool
func (NullableUpdateBackupSchedulePayload) MarshalJSON ¶ added in v0.2.0
func (v NullableUpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateBackupSchedulePayload) Set ¶ added in v0.2.0
func (v *NullableUpdateBackupSchedulePayload) Set(val *UpdateBackupSchedulePayload)
func (*NullableUpdateBackupSchedulePayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableUpdateBackupSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateBackupSchedulePayload) Unset ¶ added in v0.2.0
func (v *NullableUpdateBackupSchedulePayload) Unset()
type RestoreBackupPayload ¶
type RestoreBackupPayload struct { // REQUIRED StartServerAfterRestore *bool `json:"startServerAfterRestore"` VolumeIds *[]string `json:"volumeIds,omitempty"` }
RestoreBackupPayload struct for RestoreBackupPayload
func NewRestoreBackupPayload ¶ added in v0.2.0
func NewRestoreBackupPayload(startServerAfterRestore *bool) *RestoreBackupPayload
NewRestoreBackupPayload instantiates a new RestoreBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestoreBackupPayloadWithDefaults ¶ added in v0.2.0
func NewRestoreBackupPayloadWithDefaults() *RestoreBackupPayload
NewRestoreBackupPayloadWithDefaults instantiates a new RestoreBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestoreBackupPayload) GetStartServerAfterRestore ¶ added in v0.2.0
func (o *RestoreBackupPayload) GetStartServerAfterRestore() *bool
GetStartServerAfterRestore returns the StartServerAfterRestore field value
func (*RestoreBackupPayload) GetStartServerAfterRestoreOk ¶ added in v0.2.0
func (o *RestoreBackupPayload) GetStartServerAfterRestoreOk() (*bool, bool)
GetStartServerAfterRestoreOk returns a tuple with the StartServerAfterRestore field value and a boolean to check if the value has been set.
func (*RestoreBackupPayload) GetVolumeIds ¶ added in v0.2.0
func (o *RestoreBackupPayload) GetVolumeIds() *[]string
GetVolumeIds returns the VolumeIds field value if set, zero value otherwise.
func (*RestoreBackupPayload) GetVolumeIdsOk ¶ added in v0.2.0
func (o *RestoreBackupPayload) GetVolumeIdsOk() (*[]string, bool)
GetVolumeIdsOk returns a tuple with the VolumeIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreBackupPayload) HasVolumeIds ¶ added in v0.2.0
func (o *RestoreBackupPayload) HasVolumeIds() bool
HasVolumeIds returns a boolean if a field has been set.
func (*RestoreBackupPayload) SetStartServerAfterRestore ¶ added in v0.2.0
func (o *RestoreBackupPayload) SetStartServerAfterRestore(v *bool)
SetStartServerAfterRestore sets field value
func (*RestoreBackupPayload) SetVolumeIds ¶ added in v0.2.0
func (o *RestoreBackupPayload) SetVolumeIds(v *[]string)
SetVolumeIds gets a reference to the given []string and assigns it to the VolumeIds field.
func (RestoreBackupPayload) ToMap ¶ added in v0.2.0
func (o RestoreBackupPayload) ToMap() (map[string]interface{}, error)
type RestoreVolumeBackupPayload ¶
type RestoreVolumeBackupPayload struct { // REQUIRED RestoreVolumeId *string `json:"restoreVolumeId"` }
RestoreVolumeBackupPayload struct for RestoreVolumeBackupPayload
func NewRestoreVolumeBackupPayload ¶ added in v0.2.0
func NewRestoreVolumeBackupPayload(restoreVolumeId *string) *RestoreVolumeBackupPayload
NewRestoreVolumeBackupPayload instantiates a new RestoreVolumeBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestoreVolumeBackupPayloadWithDefaults ¶ added in v0.2.0
func NewRestoreVolumeBackupPayloadWithDefaults() *RestoreVolumeBackupPayload
NewRestoreVolumeBackupPayloadWithDefaults instantiates a new RestoreVolumeBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestoreVolumeBackupPayload) GetRestoreVolumeId ¶ added in v0.2.0
func (o *RestoreVolumeBackupPayload) GetRestoreVolumeId() *string
GetRestoreVolumeId returns the RestoreVolumeId field value
func (*RestoreVolumeBackupPayload) GetRestoreVolumeIdOk ¶ added in v0.2.0
func (o *RestoreVolumeBackupPayload) GetRestoreVolumeIdOk() (*string, bool)
GetRestoreVolumeIdOk returns a tuple with the RestoreVolumeId field value and a boolean to check if the value has been set.
func (*RestoreVolumeBackupPayload) SetRestoreVolumeId ¶ added in v0.2.0
func (o *RestoreVolumeBackupPayload) SetRestoreVolumeId(v *string)
SetRestoreVolumeId sets field value
func (RestoreVolumeBackupPayload) ToMap ¶ added in v0.2.0
func (o RestoreVolumeBackupPayload) ToMap() (map[string]interface{}, error)
type UpdateBackupSchedulePayload ¶
type UpdateBackupSchedulePayload struct { BackupProperties *BackupProperties `json:"backupProperties,omitempty"` // REQUIRED Enabled *bool `json:"enabled"` // Max 255 characters // REQUIRED Name *string `json:"name"` // REQUIRED Rrule *string `json:"rrule"` }
UpdateBackupSchedulePayload struct for UpdateBackupSchedulePayload
func NewUpdateBackupSchedulePayload ¶ added in v0.2.0
func NewUpdateBackupSchedulePayload(enabled *bool, name *string, rrule *string) *UpdateBackupSchedulePayload
NewUpdateBackupSchedulePayload instantiates a new UpdateBackupSchedulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateBackupSchedulePayloadWithDefaults ¶ added in v0.2.0
func NewUpdateBackupSchedulePayloadWithDefaults() *UpdateBackupSchedulePayload
NewUpdateBackupSchedulePayloadWithDefaults instantiates a new UpdateBackupSchedulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateBackupSchedulePayload) GetBackupProperties ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetBackupProperties() *BackupProperties
GetBackupProperties returns the BackupProperties field value if set, zero value otherwise.
func (*UpdateBackupSchedulePayload) GetBackupPropertiesOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetBackupPropertiesOk() (*BackupProperties, bool)
GetBackupPropertiesOk returns a tuple with the BackupProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) GetEnabled ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetEnabled() *bool
GetEnabled returns the Enabled field value
func (*UpdateBackupSchedulePayload) GetEnabledOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) GetName ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetName() *string
GetName returns the Name field value
func (*UpdateBackupSchedulePayload) GetNameOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) GetRrule ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetRrule() *string
GetRrule returns the Rrule field value
func (*UpdateBackupSchedulePayload) GetRruleOk ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) GetRruleOk() (*string, bool)
GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.
func (*UpdateBackupSchedulePayload) HasBackupProperties ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) HasBackupProperties() bool
HasBackupProperties returns a boolean if a field has been set.
func (*UpdateBackupSchedulePayload) SetBackupProperties ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) SetBackupProperties(v *BackupProperties)
SetBackupProperties gets a reference to the given BackupProperties and assigns it to the BackupProperties field.
func (*UpdateBackupSchedulePayload) SetEnabled ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) SetEnabled(v *bool)
SetEnabled sets field value
func (*UpdateBackupSchedulePayload) SetName ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) SetName(v *string)
SetName sets field value
func (*UpdateBackupSchedulePayload) SetRrule ¶ added in v0.2.0
func (o *UpdateBackupSchedulePayload) SetRrule(v *string)
SetRrule sets field value
func (UpdateBackupSchedulePayload) ToMap ¶ added in v0.2.0
func (o UpdateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_backup.go
- model_backup_job.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_payload.go
- model_enable_service_resource_payload.go
- model_get_backup_schedules_response.go
- model_get_backups_list_response.go
- model_restore_backup_payload.go
- model_restore_volume_backup_payload.go
- model_update_backup_schedule_payload.go
- utils.go