Documentation
¶
Index ¶
- Constants
- Variables
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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
- func SliceToValueDefault[T any](ptrSlice *[]T) []T
- func ToBool(ptr *bool) bool
- func ToBoolDefault(ptr *bool) bool
- func ToBoolSlice(ptrSlice *[]bool) []bool
- func ToByte(ptr *byte) byte
- func ToByteDefault(ptr *byte) byte
- func ToByteSlice(ptrSlice *[]byte) []byte
- func ToFloat32(ptr *float32) float32
- func ToFloat32Default(ptr *float32) float32
- func ToFloat32Slice(ptrSlice *[]float32) []float32
- func ToFloat64(ptr *float64) float64
- func ToFloat64Default(ptr *float64) float64
- func ToFloat64Slice(ptrSlice *[]float64) []float64
- func ToInt(ptr *int) int
- func ToInt16(ptr *int16) int16
- func ToInt16Default(ptr *int16) int16
- func ToInt16Slice(ptrSlice *[]int16) []int16
- func ToInt32(ptr *int32) int32
- func ToInt32Default(ptr *int32) int32
- func ToInt32Slice(ptrSlice *[]int32) []int32
- func ToInt64(ptr *int64) int64
- func ToInt64Default(ptr *int64) int64
- func ToInt64Slice(ptrSlice *[]int64) []int64
- func ToInt8(ptr *int8) int8
- func ToInt8Default(ptr *int8) int8
- func ToInt8Slice(ptrSlice *[]int8) []int8
- func ToIntDefault(ptr *int) int
- func ToIntSlice(ptrSlice *[]int) []int
- func ToPtr[T any](v T) *T
- func ToString(ptr *string) string
- func ToStringDefault(ptr *string) string
- func ToStringSlice(ptrSlice *[]string) []string
- func ToTime(ptr *time.Time) time.Time
- func ToTimeDefault(ptr *time.Time) time.Time
- func ToTimeSlice(ptrSlice *[]time.Time) []time.Time
- func ToUint(ptr *uint) uint
- func ToUint16(ptr *uint16) uint16
- func ToUint16Default(ptr *uint16) uint16
- func ToUint16Slice(ptrSlice *[]uint16) []uint16
- func ToUint32(ptr *uint32) uint32
- func ToUint32Default(ptr *uint32) uint32
- func ToUint32Slice(ptrSlice *[]uint32) []uint32
- func ToUint64(ptr *uint64) uint64
- func ToUint64Default(ptr *uint64) uint64
- func ToUint64Slice(ptrSlice *[]uint64) []uint64
- func ToUint8(ptr *uint8) uint8
- func ToUint8Default(ptr *uint8) uint8
- func ToUint8Slice(ptrSlice *[]uint8) []uint8
- func ToUintDefault(ptr *uint) uint
- func ToUintSlice(ptrSlice *[]uint) []uint
- func ToValue[T any](ptr *T) T
- func ToValueDefault[T any](ptr *T) T
- type APIClient
- type APIKey
- type APIResponse
- type ApiReplicasetsDeleteRequest
- type ApiReplicasetsFindByIdRequest
- type ApiReplicasetsGetRequest
- func (r ApiReplicasetsGetRequest) Execute() (ReplicaSetReadList, *APIResponse, error)
- func (r ApiReplicasetsGetRequest) FilterName(filterName string) ApiReplicasetsGetRequest
- func (r ApiReplicasetsGetRequest) Limit(limit int32) ApiReplicasetsGetRequest
- func (r ApiReplicasetsGetRequest) Offset(offset int32) ApiReplicasetsGetRequest
- type ApiReplicasetsPostRequest
- type ApiReplicasetsPutRequest
- type ApiSnapshotsFindByIdRequest
- type ApiSnapshotsGetRequest
- type ApiSnapshotsRestoresFindByIdRequest
- type ApiSnapshotsRestoresGetRequest
- func (r ApiSnapshotsRestoresGetRequest) Execute() (RestoreReadList, *APIResponse, error)
- func (r ApiSnapshotsRestoresGetRequest) FilterName(filterName string) ApiSnapshotsRestoresGetRequest
- func (r ApiSnapshotsRestoresGetRequest) Limit(limit int32) ApiSnapshotsRestoresGetRequest
- func (r ApiSnapshotsRestoresGetRequest) Offset(offset int32) ApiSnapshotsRestoresGetRequest
- type ApiSnapshotsRestoresPostRequest
- type BasicAuth
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) AddDefaultQueryParam(key string, value string)
- func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
- func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
- type Connection
- func (o *Connection) GetCidr() *string
- func (o *Connection) GetCidrOk() (*string, bool)
- func (o *Connection) GetDatacenterId() *string
- func (o *Connection) GetDatacenterIdOk() (*string, bool)
- func (o *Connection) GetLanId() *string
- func (o *Connection) GetLanIdOk() (*string, bool)
- func (o *Connection) HasCidr() bool
- func (o *Connection) HasDatacenterId() bool
- func (o *Connection) HasLanId() bool
- func (o Connection) MarshalJSON() ([]byte, error)
- func (o *Connection) SetCidr(v string)
- func (o *Connection) SetDatacenterId(v string)
- func (o *Connection) SetLanId(v string)
- type DayOfTheWeek
- type Error
- func (o *Error) GetHttpStatus() *int32
- func (o *Error) GetHttpStatusOk() (*int32, bool)
- func (o *Error) GetMessages() *[]ErrorMessages
- func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)
- func (o *Error) HasHttpStatus() bool
- func (o *Error) HasMessages() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetHttpStatus(v int32)
- func (o *Error) SetMessages(v []ErrorMessages)
- type ErrorMessages
- func (o *ErrorMessages) GetErrorCode() *string
- func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessages) GetMessage() *string
- func (o *ErrorMessages) GetMessageOk() (*string, bool)
- func (o *ErrorMessages) HasErrorCode() bool
- func (o *ErrorMessages) HasMessage() bool
- func (o ErrorMessages) MarshalJSON() ([]byte, error)
- func (o *ErrorMessages) SetErrorCode(v string)
- func (o *ErrorMessages) SetMessage(v string)
- type EvictionPolicy
- type GenericOpenAPIError
- func (e GenericOpenAPIError) Body() []byte
- func (e GenericOpenAPIError) Error() string
- func (e GenericOpenAPIError) Model() interface{}
- func (e *GenericOpenAPIError) SetBody(body []byte)
- func (e *GenericOpenAPIError) SetError(error string)
- func (e *GenericOpenAPIError) SetModel(model interface{})
- func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
- func (e GenericOpenAPIError) StatusCode() int
- type HashedPassword
- func (o *HashedPassword) GetAlgorithm() *string
- func (o *HashedPassword) GetAlgorithmOk() (*string, bool)
- func (o *HashedPassword) GetHash() *string
- func (o *HashedPassword) GetHashOk() (*string, bool)
- func (o *HashedPassword) HasAlgorithm() bool
- func (o *HashedPassword) HasHash() bool
- func (o HashedPassword) MarshalJSON() ([]byte, error)
- func (o *HashedPassword) SetAlgorithm(v string)
- func (o *HashedPassword) SetHash(v string)
- type IonosTime
- type Links
- func (o *Links) GetNext() *string
- func (o *Links) GetNextOk() (*string, bool)
- func (o *Links) GetPrev() *string
- func (o *Links) GetPrevOk() (*string, bool)
- func (o *Links) GetSelf() *string
- func (o *Links) GetSelfOk() (*string, bool)
- func (o *Links) HasNext() bool
- func (o *Links) HasPrev() bool
- func (o *Links) HasSelf() bool
- func (o Links) MarshalJSON() ([]byte, error)
- func (o *Links) SetNext(v string)
- func (o *Links) SetPrev(v string)
- func (o *Links) SetSelf(v string)
- type LogLevel
- type Logger
- type MaintenanceWindow
- func (o *MaintenanceWindow) GetDayOfTheWeek() *DayOfTheWeek
- func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*DayOfTheWeek, bool)
- func (o *MaintenanceWindow) GetTime() *string
- func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
- func (o *MaintenanceWindow) HasDayOfTheWeek() bool
- func (o *MaintenanceWindow) HasTime() bool
- func (o MaintenanceWindow) MarshalJSON() ([]byte, error)
- func (o *MaintenanceWindow) SetDayOfTheWeek(v DayOfTheWeek)
- func (o *MaintenanceWindow) SetTime(v string)
- type Metadata
- func (o *Metadata) GetCreatedBy() *string
- func (o *Metadata) GetCreatedByOk() (*string, bool)
- func (o *Metadata) GetCreatedByUserId() *string
- func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *Metadata) GetCreatedDate() *time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetLastModifiedBy() *string
- func (o *Metadata) GetLastModifiedByOk() (*string, bool)
- func (o *Metadata) GetLastModifiedByUserId() *string
- func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *Metadata) GetLastModifiedDate() *time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) GetResourceURN() *string
- func (o *Metadata) GetResourceURNOk() (*string, bool)
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasResourceURN() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetResourceURN(v string)
- type NullableBool
- type NullableConnection
- type NullableDayOfTheWeek
- func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
- func (v NullableDayOfTheWeek) IsSet() bool
- func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
- func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
- func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
- func (v *NullableDayOfTheWeek) Unset()
- type NullableError
- type NullableErrorMessages
- func (v NullableErrorMessages) Get() *ErrorMessages
- func (v NullableErrorMessages) IsSet() bool
- func (v NullableErrorMessages) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessages) Set(val *ErrorMessages)
- func (v *NullableErrorMessages) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessages) Unset()
- type NullableEvictionPolicy
- func (v NullableEvictionPolicy) Get() *EvictionPolicy
- func (v NullableEvictionPolicy) IsSet() bool
- func (v NullableEvictionPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableEvictionPolicy) Set(val *EvictionPolicy)
- func (v *NullableEvictionPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableEvictionPolicy) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHashedPassword
- func (v NullableHashedPassword) Get() *HashedPassword
- func (v NullableHashedPassword) IsSet() bool
- func (v NullableHashedPassword) MarshalJSON() ([]byte, error)
- func (v *NullableHashedPassword) Set(val *HashedPassword)
- func (v *NullableHashedPassword) UnmarshalJSON(src []byte) error
- func (v *NullableHashedPassword) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLinks
- type NullableMaintenanceWindow
- func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
- func (v NullableMaintenanceWindow) IsSet() bool
- func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
- func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
- func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
- func (v *NullableMaintenanceWindow) Unset()
- type NullableMetadata
- type NullablePagination
- type NullablePersistenceMode
- func (v NullablePersistenceMode) Get() *PersistenceMode
- func (v NullablePersistenceMode) IsSet() bool
- func (v NullablePersistenceMode) MarshalJSON() ([]byte, error)
- func (v *NullablePersistenceMode) Set(val *PersistenceMode)
- func (v *NullablePersistenceMode) UnmarshalJSON(src []byte) error
- func (v *NullablePersistenceMode) Unset()
- type NullableReplicaSet
- type NullableReplicaSetCreate
- func (v NullableReplicaSetCreate) Get() *ReplicaSetCreate
- func (v NullableReplicaSetCreate) IsSet() bool
- func (v NullableReplicaSetCreate) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaSetCreate) Set(val *ReplicaSetCreate)
- func (v *NullableReplicaSetCreate) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaSetCreate) Unset()
- type NullableReplicaSetEnsure
- func (v NullableReplicaSetEnsure) Get() *ReplicaSetEnsure
- func (v NullableReplicaSetEnsure) IsSet() bool
- func (v NullableReplicaSetEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaSetEnsure) Set(val *ReplicaSetEnsure)
- func (v *NullableReplicaSetEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaSetEnsure) Unset()
- type NullableReplicaSetMetadata
- func (v NullableReplicaSetMetadata) Get() *ReplicaSetMetadata
- func (v NullableReplicaSetMetadata) IsSet() bool
- func (v NullableReplicaSetMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaSetMetadata) Set(val *ReplicaSetMetadata)
- func (v *NullableReplicaSetMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaSetMetadata) Unset()
- type NullableReplicaSetMetadataAllOf
- func (v NullableReplicaSetMetadataAllOf) Get() *ReplicaSetMetadataAllOf
- func (v NullableReplicaSetMetadataAllOf) IsSet() bool
- func (v NullableReplicaSetMetadataAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaSetMetadataAllOf) Set(val *ReplicaSetMetadataAllOf)
- func (v *NullableReplicaSetMetadataAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaSetMetadataAllOf) Unset()
- type NullableReplicaSetRead
- func (v NullableReplicaSetRead) Get() *ReplicaSetRead
- func (v NullableReplicaSetRead) IsSet() bool
- func (v NullableReplicaSetRead) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaSetRead) Set(val *ReplicaSetRead)
- func (v *NullableReplicaSetRead) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaSetRead) Unset()
- type NullableReplicaSetReadList
- func (v NullableReplicaSetReadList) Get() *ReplicaSetReadList
- func (v NullableReplicaSetReadList) IsSet() bool
- func (v NullableReplicaSetReadList) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaSetReadList) Set(val *ReplicaSetReadList)
- func (v *NullableReplicaSetReadList) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaSetReadList) Unset()
- type NullableReplicaSetReadListAllOf
- func (v NullableReplicaSetReadListAllOf) Get() *ReplicaSetReadListAllOf
- func (v NullableReplicaSetReadListAllOf) IsSet() bool
- func (v NullableReplicaSetReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaSetReadListAllOf) Set(val *ReplicaSetReadListAllOf)
- func (v *NullableReplicaSetReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaSetReadListAllOf) Unset()
- type NullableResourceState
- func (v NullableResourceState) Get() *ResourceState
- func (v NullableResourceState) IsSet() bool
- func (v NullableResourceState) MarshalJSON() ([]byte, error)
- func (v *NullableResourceState) Set(val *ResourceState)
- func (v *NullableResourceState) UnmarshalJSON(src []byte) error
- func (v *NullableResourceState) Unset()
- type NullableResources
- type NullableRestore
- type NullableRestoreCreate
- func (v NullableRestoreCreate) Get() *RestoreCreate
- func (v NullableRestoreCreate) IsSet() bool
- func (v NullableRestoreCreate) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreCreate) Set(val *RestoreCreate)
- func (v *NullableRestoreCreate) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreCreate) Unset()
- type NullableRestoreMetadata
- func (v NullableRestoreMetadata) Get() *RestoreMetadata
- func (v NullableRestoreMetadata) IsSet() bool
- func (v NullableRestoreMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreMetadata) Set(val *RestoreMetadata)
- func (v *NullableRestoreMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreMetadata) Unset()
- type NullableRestoreMetadataAllOf
- func (v NullableRestoreMetadataAllOf) Get() *RestoreMetadataAllOf
- func (v NullableRestoreMetadataAllOf) IsSet() bool
- func (v NullableRestoreMetadataAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreMetadataAllOf) Set(val *RestoreMetadataAllOf)
- func (v *NullableRestoreMetadataAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreMetadataAllOf) Unset()
- type NullableRestoreRead
- func (v NullableRestoreRead) Get() *RestoreRead
- func (v NullableRestoreRead) IsSet() bool
- func (v NullableRestoreRead) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreRead) Set(val *RestoreRead)
- func (v *NullableRestoreRead) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreRead) Unset()
- type NullableRestoreReadList
- func (v NullableRestoreReadList) Get() *RestoreReadList
- func (v NullableRestoreReadList) IsSet() bool
- func (v NullableRestoreReadList) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreReadList) Set(val *RestoreReadList)
- func (v *NullableRestoreReadList) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreReadList) Unset()
- type NullableRestoreReadListAllOf
- func (v NullableRestoreReadListAllOf) Get() *RestoreReadListAllOf
- func (v NullableRestoreReadListAllOf) IsSet() bool
- func (v NullableRestoreReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreReadListAllOf) Set(val *RestoreReadListAllOf)
- func (v *NullableRestoreReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreReadListAllOf) Unset()
- type NullableSnapshotCreate
- func (v NullableSnapshotCreate) Get() *SnapshotCreate
- func (v NullableSnapshotCreate) IsSet() bool
- func (v NullableSnapshotCreate) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotCreate) Set(val *SnapshotCreate)
- func (v *NullableSnapshotCreate) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotCreate) Unset()
- type NullableSnapshotEnsure
- func (v NullableSnapshotEnsure) Get() *SnapshotEnsure
- func (v NullableSnapshotEnsure) IsSet() bool
- func (v NullableSnapshotEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotEnsure) Set(val *SnapshotEnsure)
- func (v *NullableSnapshotEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotEnsure) Unset()
- type NullableSnapshotMetadata
- func (v NullableSnapshotMetadata) Get() *SnapshotMetadata
- func (v NullableSnapshotMetadata) IsSet() bool
- func (v NullableSnapshotMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotMetadata) Set(val *SnapshotMetadata)
- func (v *NullableSnapshotMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotMetadata) Unset()
- type NullableSnapshotMetadataAllOf
- func (v NullableSnapshotMetadataAllOf) Get() *SnapshotMetadataAllOf
- func (v NullableSnapshotMetadataAllOf) IsSet() bool
- func (v NullableSnapshotMetadataAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotMetadataAllOf) Set(val *SnapshotMetadataAllOf)
- func (v *NullableSnapshotMetadataAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotMetadataAllOf) Unset()
- type NullableSnapshotRead
- func (v NullableSnapshotRead) Get() *SnapshotRead
- func (v NullableSnapshotRead) IsSet() bool
- func (v NullableSnapshotRead) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotRead) Set(val *SnapshotRead)
- func (v *NullableSnapshotRead) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotRead) Unset()
- type NullableSnapshotReadList
- func (v NullableSnapshotReadList) Get() *SnapshotReadList
- func (v NullableSnapshotReadList) IsSet() bool
- func (v NullableSnapshotReadList) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotReadList) Set(val *SnapshotReadList)
- func (v *NullableSnapshotReadList) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotReadList) Unset()
- type NullableSnapshotReadListAllOf
- func (v NullableSnapshotReadListAllOf) Get() *SnapshotReadListAllOf
- func (v NullableSnapshotReadListAllOf) IsSet() bool
- func (v NullableSnapshotReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotReadListAllOf) Set(val *SnapshotReadListAllOf)
- func (v *NullableSnapshotReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotReadListAllOf) Unset()
- type NullableString
- type NullableTime
- type NullableUser
- type NullableUserPassword
- func (v NullableUserPassword) Get() *UserPassword
- func (v NullableUserPassword) IsSet() bool
- func (v NullableUserPassword) MarshalJSON() ([]byte, error)
- func (v *NullableUserPassword) Set(val *UserPassword)
- func (v *NullableUserPassword) UnmarshalJSON(src []byte) error
- func (v *NullableUserPassword) Unset()
- type Pagination
- func (o *Pagination) GetLimit() *int32
- func (o *Pagination) GetLimitOk() (*int32, bool)
- func (o *Pagination) GetLinks() *Links
- func (o *Pagination) GetLinksOk() (*Links, bool)
- func (o *Pagination) GetOffset() *int32
- func (o *Pagination) GetOffsetOk() (*int32, bool)
- func (o *Pagination) HasLimit() bool
- func (o *Pagination) HasLinks() bool
- func (o *Pagination) HasOffset() bool
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetLimit(v int32)
- func (o *Pagination) SetLinks(v Links)
- func (o *Pagination) SetOffset(v int32)
- type PersistenceMode
- type ReplicaSet
- func (o *ReplicaSet) GetConnections() *[]Connection
- func (o *ReplicaSet) GetConnectionsOk() (*[]Connection, bool)
- func (o *ReplicaSet) GetCredentials() *User
- func (o *ReplicaSet) GetCredentialsOk() (*User, bool)
- func (o *ReplicaSet) GetDisplayName() *string
- func (o *ReplicaSet) GetDisplayNameOk() (*string, bool)
- func (o *ReplicaSet) GetEvictionPolicy() *EvictionPolicy
- func (o *ReplicaSet) GetEvictionPolicyOk() (*EvictionPolicy, bool)
- func (o *ReplicaSet) GetInitialSnapshotId() *string
- func (o *ReplicaSet) GetInitialSnapshotIdOk() (*string, bool)
- func (o *ReplicaSet) GetMaintenanceWindow() *MaintenanceWindow
- func (o *ReplicaSet) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *ReplicaSet) GetPersistenceMode() *PersistenceMode
- func (o *ReplicaSet) GetPersistenceModeOk() (*PersistenceMode, bool)
- func (o *ReplicaSet) GetReplicas() *int32
- func (o *ReplicaSet) GetReplicasOk() (*int32, bool)
- func (o *ReplicaSet) GetResources() *Resources
- func (o *ReplicaSet) GetResourcesOk() (*Resources, bool)
- func (o *ReplicaSet) GetVersion() *string
- func (o *ReplicaSet) GetVersionOk() (*string, bool)
- func (o *ReplicaSet) HasConnections() bool
- func (o *ReplicaSet) HasCredentials() bool
- func (o *ReplicaSet) HasDisplayName() bool
- func (o *ReplicaSet) HasEvictionPolicy() bool
- func (o *ReplicaSet) HasInitialSnapshotId() bool
- func (o *ReplicaSet) HasMaintenanceWindow() bool
- func (o *ReplicaSet) HasPersistenceMode() bool
- func (o *ReplicaSet) HasReplicas() bool
- func (o *ReplicaSet) HasResources() bool
- func (o *ReplicaSet) HasVersion() bool
- func (o ReplicaSet) MarshalJSON() ([]byte, error)
- func (o *ReplicaSet) SetConnections(v []Connection)
- func (o *ReplicaSet) SetCredentials(v User)
- func (o *ReplicaSet) SetDisplayName(v string)
- func (o *ReplicaSet) SetEvictionPolicy(v EvictionPolicy)
- func (o *ReplicaSet) SetInitialSnapshotId(v string)
- func (o *ReplicaSet) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *ReplicaSet) SetPersistenceMode(v PersistenceMode)
- func (o *ReplicaSet) SetReplicas(v int32)
- func (o *ReplicaSet) SetResources(v Resources)
- func (o *ReplicaSet) SetVersion(v string)
- type ReplicaSetApiService
- func (a *ReplicaSetApiService) ReplicasetsDelete(ctx _context.Context, replicasetId string) ApiReplicasetsDeleteRequest
- func (a *ReplicaSetApiService) ReplicasetsDeleteExecute(r ApiReplicasetsDeleteRequest) (*APIResponse, error)
- func (a *ReplicaSetApiService) ReplicasetsFindById(ctx _context.Context, replicasetId string) ApiReplicasetsFindByIdRequest
- func (a *ReplicaSetApiService) ReplicasetsFindByIdExecute(r ApiReplicasetsFindByIdRequest) (ReplicaSetRead, *APIResponse, error)
- func (a *ReplicaSetApiService) ReplicasetsGet(ctx _context.Context) ApiReplicasetsGetRequest
- func (a *ReplicaSetApiService) ReplicasetsGetExecute(r ApiReplicasetsGetRequest) (ReplicaSetReadList, *APIResponse, error)
- func (a *ReplicaSetApiService) ReplicasetsPost(ctx _context.Context) ApiReplicasetsPostRequest
- func (a *ReplicaSetApiService) ReplicasetsPostExecute(r ApiReplicasetsPostRequest) (ReplicaSetRead, *APIResponse, error)
- func (a *ReplicaSetApiService) ReplicasetsPut(ctx _context.Context, replicasetId string) ApiReplicasetsPutRequest
- func (a *ReplicaSetApiService) ReplicasetsPutExecute(r ApiReplicasetsPutRequest) (ReplicaSetRead, *APIResponse, error)
- type ReplicaSetCreate
- func (o *ReplicaSetCreate) GetMetadata() *map[string]interface{}
- func (o *ReplicaSetCreate) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *ReplicaSetCreate) GetProperties() *ReplicaSet
- func (o *ReplicaSetCreate) GetPropertiesOk() (*ReplicaSet, bool)
- func (o *ReplicaSetCreate) HasMetadata() bool
- func (o *ReplicaSetCreate) HasProperties() bool
- func (o ReplicaSetCreate) MarshalJSON() ([]byte, error)
- func (o *ReplicaSetCreate) SetMetadata(v map[string]interface{})
- func (o *ReplicaSetCreate) SetProperties(v ReplicaSet)
- type ReplicaSetEnsure
- func (o *ReplicaSetEnsure) GetId() *string
- func (o *ReplicaSetEnsure) GetIdOk() (*string, bool)
- func (o *ReplicaSetEnsure) GetMetadata() *map[string]interface{}
- func (o *ReplicaSetEnsure) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *ReplicaSetEnsure) GetProperties() *ReplicaSet
- func (o *ReplicaSetEnsure) GetPropertiesOk() (*ReplicaSet, bool)
- func (o *ReplicaSetEnsure) HasId() bool
- func (o *ReplicaSetEnsure) HasMetadata() bool
- func (o *ReplicaSetEnsure) HasProperties() bool
- func (o ReplicaSetEnsure) MarshalJSON() ([]byte, error)
- func (o *ReplicaSetEnsure) SetId(v string)
- func (o *ReplicaSetEnsure) SetMetadata(v map[string]interface{})
- func (o *ReplicaSetEnsure) SetProperties(v ReplicaSet)
- type ReplicaSetMetadata
- func (o *ReplicaSetMetadata) GetCreatedBy() *string
- func (o *ReplicaSetMetadata) GetCreatedByOk() (*string, bool)
- func (o *ReplicaSetMetadata) GetCreatedByUserId() *string
- func (o *ReplicaSetMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *ReplicaSetMetadata) GetCreatedDate() *time.Time
- func (o *ReplicaSetMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *ReplicaSetMetadata) GetDnsName() *string
- func (o *ReplicaSetMetadata) GetDnsNameOk() (*string, bool)
- func (o *ReplicaSetMetadata) GetLastModifiedBy() *string
- func (o *ReplicaSetMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *ReplicaSetMetadata) GetLastModifiedByUserId() *string
- func (o *ReplicaSetMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *ReplicaSetMetadata) GetLastModifiedDate() *time.Time
- func (o *ReplicaSetMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *ReplicaSetMetadata) GetMessage() *string
- func (o *ReplicaSetMetadata) GetMessageOk() (*string, bool)
- func (o *ReplicaSetMetadata) GetResourceURN() *string
- func (o *ReplicaSetMetadata) GetResourceURNOk() (*string, bool)
- func (o *ReplicaSetMetadata) GetState() *string
- func (o *ReplicaSetMetadata) GetStateOk() (*string, bool)
- func (o *ReplicaSetMetadata) HasCreatedBy() bool
- func (o *ReplicaSetMetadata) HasCreatedByUserId() bool
- func (o *ReplicaSetMetadata) HasCreatedDate() bool
- func (o *ReplicaSetMetadata) HasDnsName() bool
- func (o *ReplicaSetMetadata) HasLastModifiedBy() bool
- func (o *ReplicaSetMetadata) HasLastModifiedByUserId() bool
- func (o *ReplicaSetMetadata) HasLastModifiedDate() bool
- func (o *ReplicaSetMetadata) HasMessage() bool
- func (o *ReplicaSetMetadata) HasResourceURN() bool
- func (o *ReplicaSetMetadata) HasState() bool
- func (o ReplicaSetMetadata) MarshalJSON() ([]byte, error)
- func (o *ReplicaSetMetadata) SetCreatedBy(v string)
- func (o *ReplicaSetMetadata) SetCreatedByUserId(v string)
- func (o *ReplicaSetMetadata) SetCreatedDate(v time.Time)
- func (o *ReplicaSetMetadata) SetDnsName(v string)
- func (o *ReplicaSetMetadata) SetLastModifiedBy(v string)
- func (o *ReplicaSetMetadata) SetLastModifiedByUserId(v string)
- func (o *ReplicaSetMetadata) SetLastModifiedDate(v time.Time)
- func (o *ReplicaSetMetadata) SetMessage(v string)
- func (o *ReplicaSetMetadata) SetResourceURN(v string)
- func (o *ReplicaSetMetadata) SetState(v string)
- type ReplicaSetMetadataAllOf
- type ReplicaSetRead
- func (o *ReplicaSetRead) GetHref() *string
- func (o *ReplicaSetRead) GetHrefOk() (*string, bool)
- func (o *ReplicaSetRead) GetId() *string
- func (o *ReplicaSetRead) GetIdOk() (*string, bool)
- func (o *ReplicaSetRead) GetMetadata() *ReplicaSetMetadata
- func (o *ReplicaSetRead) GetMetadataOk() (*ReplicaSetMetadata, bool)
- func (o *ReplicaSetRead) GetProperties() *ReplicaSet
- func (o *ReplicaSetRead) GetPropertiesOk() (*ReplicaSet, bool)
- func (o *ReplicaSetRead) GetType() *string
- func (o *ReplicaSetRead) GetTypeOk() (*string, bool)
- func (o *ReplicaSetRead) HasHref() bool
- func (o *ReplicaSetRead) HasId() bool
- func (o *ReplicaSetRead) HasMetadata() bool
- func (o *ReplicaSetRead) HasProperties() bool
- func (o *ReplicaSetRead) HasType() bool
- func (o ReplicaSetRead) MarshalJSON() ([]byte, error)
- func (o *ReplicaSetRead) SetHref(v string)
- func (o *ReplicaSetRead) SetId(v string)
- func (o *ReplicaSetRead) SetMetadata(v ReplicaSetMetadata)
- func (o *ReplicaSetRead) SetProperties(v ReplicaSet)
- func (o *ReplicaSetRead) SetType(v string)
- type ReplicaSetReadList
- func (o *ReplicaSetReadList) GetHref() *string
- func (o *ReplicaSetReadList) GetHrefOk() (*string, bool)
- func (o *ReplicaSetReadList) GetId() *string
- func (o *ReplicaSetReadList) GetIdOk() (*string, bool)
- func (o *ReplicaSetReadList) GetItems() *[]ReplicaSetRead
- func (o *ReplicaSetReadList) GetItemsOk() (*[]ReplicaSetRead, bool)
- func (o *ReplicaSetReadList) GetLimit() *int32
- func (o *ReplicaSetReadList) GetLimitOk() (*int32, bool)
- func (o *ReplicaSetReadList) GetLinks() *Links
- func (o *ReplicaSetReadList) GetLinksOk() (*Links, bool)
- func (o *ReplicaSetReadList) GetOffset() *int32
- func (o *ReplicaSetReadList) GetOffsetOk() (*int32, bool)
- func (o *ReplicaSetReadList) GetType() *string
- func (o *ReplicaSetReadList) GetTypeOk() (*string, bool)
- func (o *ReplicaSetReadList) HasHref() bool
- func (o *ReplicaSetReadList) HasId() bool
- func (o *ReplicaSetReadList) HasItems() bool
- func (o *ReplicaSetReadList) HasLimit() bool
- func (o *ReplicaSetReadList) HasLinks() bool
- func (o *ReplicaSetReadList) HasOffset() bool
- func (o *ReplicaSetReadList) HasType() bool
- func (o ReplicaSetReadList) MarshalJSON() ([]byte, error)
- func (o *ReplicaSetReadList) SetHref(v string)
- func (o *ReplicaSetReadList) SetId(v string)
- func (o *ReplicaSetReadList) SetItems(v []ReplicaSetRead)
- func (o *ReplicaSetReadList) SetLimit(v int32)
- func (o *ReplicaSetReadList) SetLinks(v Links)
- func (o *ReplicaSetReadList) SetOffset(v int32)
- func (o *ReplicaSetReadList) SetType(v string)
- type ReplicaSetReadListAllOf
- func (o *ReplicaSetReadListAllOf) GetHref() *string
- func (o *ReplicaSetReadListAllOf) GetHrefOk() (*string, bool)
- func (o *ReplicaSetReadListAllOf) GetId() *string
- func (o *ReplicaSetReadListAllOf) GetIdOk() (*string, bool)
- func (o *ReplicaSetReadListAllOf) GetItems() *[]ReplicaSetRead
- func (o *ReplicaSetReadListAllOf) GetItemsOk() (*[]ReplicaSetRead, bool)
- func (o *ReplicaSetReadListAllOf) GetType() *string
- func (o *ReplicaSetReadListAllOf) GetTypeOk() (*string, bool)
- func (o *ReplicaSetReadListAllOf) HasHref() bool
- func (o *ReplicaSetReadListAllOf) HasId() bool
- func (o *ReplicaSetReadListAllOf) HasItems() bool
- func (o *ReplicaSetReadListAllOf) HasType() bool
- func (o ReplicaSetReadListAllOf) MarshalJSON() ([]byte, error)
- func (o *ReplicaSetReadListAllOf) SetHref(v string)
- func (o *ReplicaSetReadListAllOf) SetId(v string)
- func (o *ReplicaSetReadListAllOf) SetItems(v []ReplicaSetRead)
- func (o *ReplicaSetReadListAllOf) SetType(v string)
- type ResourceState
- func (o *ResourceState) GetMessage() *string
- func (o *ResourceState) GetMessageOk() (*string, bool)
- func (o *ResourceState) GetState() *string
- func (o *ResourceState) GetStateOk() (*string, bool)
- func (o *ResourceState) HasMessage() bool
- func (o *ResourceState) HasState() bool
- func (o ResourceState) MarshalJSON() ([]byte, error)
- func (o *ResourceState) SetMessage(v string)
- func (o *ResourceState) SetState(v string)
- type Resources
- func (o *Resources) GetCores() *int32
- func (o *Resources) GetCoresOk() (*int32, bool)
- func (o *Resources) GetRam() *int32
- func (o *Resources) GetRamOk() (*int32, bool)
- func (o *Resources) GetStorage() *int32
- func (o *Resources) GetStorageOk() (*int32, bool)
- func (o *Resources) HasCores() bool
- func (o *Resources) HasRam() bool
- func (o *Resources) HasStorage() bool
- func (o Resources) MarshalJSON() ([]byte, error)
- func (o *Resources) SetCores(v int32)
- func (o *Resources) SetRam(v int32)
- func (o *Resources) SetStorage(v int32)
- type Restore
- func (o *Restore) GetDescription() *string
- func (o *Restore) GetDescriptionOk() (*string, bool)
- func (o *Restore) GetDisplayName() *string
- func (o *Restore) GetDisplayNameOk() (*string, bool)
- func (o *Restore) GetReplicasetId() *string
- func (o *Restore) GetReplicasetIdOk() (*string, bool)
- func (o *Restore) HasDescription() bool
- func (o *Restore) HasDisplayName() bool
- func (o *Restore) HasReplicasetId() bool
- func (o Restore) MarshalJSON() ([]byte, error)
- func (o *Restore) SetDescription(v string)
- func (o *Restore) SetDisplayName(v string)
- func (o *Restore) SetReplicasetId(v string)
- type RestoreApiService
- func (a *RestoreApiService) SnapshotsRestoresFindById(ctx _context.Context, snapshotId string, restoreId string) ApiSnapshotsRestoresFindByIdRequest
- func (a *RestoreApiService) SnapshotsRestoresFindByIdExecute(r ApiSnapshotsRestoresFindByIdRequest) (RestoreRead, *APIResponse, error)
- func (a *RestoreApiService) SnapshotsRestoresGet(ctx _context.Context, snapshotId string) ApiSnapshotsRestoresGetRequest
- func (a *RestoreApiService) SnapshotsRestoresGetExecute(r ApiSnapshotsRestoresGetRequest) (RestoreReadList, *APIResponse, error)
- func (a *RestoreApiService) SnapshotsRestoresPost(ctx _context.Context, snapshotId string) ApiSnapshotsRestoresPostRequest
- func (a *RestoreApiService) SnapshotsRestoresPostExecute(r ApiSnapshotsRestoresPostRequest) (RestoreRead, *APIResponse, error)
- type RestoreCreate
- func (o *RestoreCreate) GetMetadata() *map[string]interface{}
- func (o *RestoreCreate) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *RestoreCreate) GetProperties() *Restore
- func (o *RestoreCreate) GetPropertiesOk() (*Restore, bool)
- func (o *RestoreCreate) HasMetadata() bool
- func (o *RestoreCreate) HasProperties() bool
- func (o RestoreCreate) MarshalJSON() ([]byte, error)
- func (o *RestoreCreate) SetMetadata(v map[string]interface{})
- func (o *RestoreCreate) SetProperties(v Restore)
- type RestoreMetadata
- func (o *RestoreMetadata) GetCreatedBy() *string
- func (o *RestoreMetadata) GetCreatedByOk() (*string, bool)
- func (o *RestoreMetadata) GetCreatedByUserId() *string
- func (o *RestoreMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *RestoreMetadata) GetCreatedDate() *time.Time
- func (o *RestoreMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *RestoreMetadata) GetLastModifiedBy() *string
- func (o *RestoreMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *RestoreMetadata) GetLastModifiedByUserId() *string
- func (o *RestoreMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *RestoreMetadata) GetLastModifiedDate() *time.Time
- func (o *RestoreMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *RestoreMetadata) GetMessage() *string
- func (o *RestoreMetadata) GetMessageOk() (*string, bool)
- func (o *RestoreMetadata) GetResourceURN() *string
- func (o *RestoreMetadata) GetResourceURNOk() (*string, bool)
- func (o *RestoreMetadata) GetRestoreTime() *time.Time
- func (o *RestoreMetadata) GetRestoreTimeOk() (*time.Time, bool)
- func (o *RestoreMetadata) GetRestoredSnapshotId() *string
- func (o *RestoreMetadata) GetRestoredSnapshotIdOk() (*string, bool)
- func (o *RestoreMetadata) GetState() *string
- func (o *RestoreMetadata) GetStateOk() (*string, bool)
- func (o *RestoreMetadata) HasCreatedBy() bool
- func (o *RestoreMetadata) HasCreatedByUserId() bool
- func (o *RestoreMetadata) HasCreatedDate() bool
- func (o *RestoreMetadata) HasLastModifiedBy() bool
- func (o *RestoreMetadata) HasLastModifiedByUserId() bool
- func (o *RestoreMetadata) HasLastModifiedDate() bool
- func (o *RestoreMetadata) HasMessage() bool
- func (o *RestoreMetadata) HasResourceURN() bool
- func (o *RestoreMetadata) HasRestoreTime() bool
- func (o *RestoreMetadata) HasRestoredSnapshotId() bool
- func (o *RestoreMetadata) HasState() bool
- func (o RestoreMetadata) MarshalJSON() ([]byte, error)
- func (o *RestoreMetadata) SetCreatedBy(v string)
- func (o *RestoreMetadata) SetCreatedByUserId(v string)
- func (o *RestoreMetadata) SetCreatedDate(v time.Time)
- func (o *RestoreMetadata) SetLastModifiedBy(v string)
- func (o *RestoreMetadata) SetLastModifiedByUserId(v string)
- func (o *RestoreMetadata) SetLastModifiedDate(v time.Time)
- func (o *RestoreMetadata) SetMessage(v string)
- func (o *RestoreMetadata) SetResourceURN(v string)
- func (o *RestoreMetadata) SetRestoreTime(v time.Time)
- func (o *RestoreMetadata) SetRestoredSnapshotId(v string)
- func (o *RestoreMetadata) SetState(v string)
- type RestoreMetadataAllOf
- func (o *RestoreMetadataAllOf) GetRestoreTime() *time.Time
- func (o *RestoreMetadataAllOf) GetRestoreTimeOk() (*time.Time, bool)
- func (o *RestoreMetadataAllOf) GetRestoredSnapshotId() *string
- func (o *RestoreMetadataAllOf) GetRestoredSnapshotIdOk() (*string, bool)
- func (o *RestoreMetadataAllOf) HasRestoreTime() bool
- func (o *RestoreMetadataAllOf) HasRestoredSnapshotId() bool
- func (o RestoreMetadataAllOf) MarshalJSON() ([]byte, error)
- func (o *RestoreMetadataAllOf) SetRestoreTime(v time.Time)
- func (o *RestoreMetadataAllOf) SetRestoredSnapshotId(v string)
- type RestoreRead
- func (o *RestoreRead) GetHref() *string
- func (o *RestoreRead) GetHrefOk() (*string, bool)
- func (o *RestoreRead) GetId() *string
- func (o *RestoreRead) GetIdOk() (*string, bool)
- func (o *RestoreRead) GetMetadata() *RestoreMetadata
- func (o *RestoreRead) GetMetadataOk() (*RestoreMetadata, bool)
- func (o *RestoreRead) GetProperties() *Restore
- func (o *RestoreRead) GetPropertiesOk() (*Restore, bool)
- func (o *RestoreRead) GetType() *string
- func (o *RestoreRead) GetTypeOk() (*string, bool)
- func (o *RestoreRead) HasHref() bool
- func (o *RestoreRead) HasId() bool
- func (o *RestoreRead) HasMetadata() bool
- func (o *RestoreRead) HasProperties() bool
- func (o *RestoreRead) HasType() bool
- func (o RestoreRead) MarshalJSON() ([]byte, error)
- func (o *RestoreRead) SetHref(v string)
- func (o *RestoreRead) SetId(v string)
- func (o *RestoreRead) SetMetadata(v RestoreMetadata)
- func (o *RestoreRead) SetProperties(v Restore)
- func (o *RestoreRead) SetType(v string)
- type RestoreReadList
- func (o *RestoreReadList) GetHref() *string
- func (o *RestoreReadList) GetHrefOk() (*string, bool)
- func (o *RestoreReadList) GetId() *string
- func (o *RestoreReadList) GetIdOk() (*string, bool)
- func (o *RestoreReadList) GetItems() *[]RestoreRead
- func (o *RestoreReadList) GetItemsOk() (*[]RestoreRead, bool)
- func (o *RestoreReadList) GetLimit() *int32
- func (o *RestoreReadList) GetLimitOk() (*int32, bool)
- func (o *RestoreReadList) GetLinks() *Links
- func (o *RestoreReadList) GetLinksOk() (*Links, bool)
- func (o *RestoreReadList) GetOffset() *int32
- func (o *RestoreReadList) GetOffsetOk() (*int32, bool)
- func (o *RestoreReadList) GetType() *string
- func (o *RestoreReadList) GetTypeOk() (*string, bool)
- func (o *RestoreReadList) HasHref() bool
- func (o *RestoreReadList) HasId() bool
- func (o *RestoreReadList) HasItems() bool
- func (o *RestoreReadList) HasLimit() bool
- func (o *RestoreReadList) HasLinks() bool
- func (o *RestoreReadList) HasOffset() bool
- func (o *RestoreReadList) HasType() bool
- func (o RestoreReadList) MarshalJSON() ([]byte, error)
- func (o *RestoreReadList) SetHref(v string)
- func (o *RestoreReadList) SetId(v string)
- func (o *RestoreReadList) SetItems(v []RestoreRead)
- func (o *RestoreReadList) SetLimit(v int32)
- func (o *RestoreReadList) SetLinks(v Links)
- func (o *RestoreReadList) SetOffset(v int32)
- func (o *RestoreReadList) SetType(v string)
- type RestoreReadListAllOf
- func (o *RestoreReadListAllOf) GetHref() *string
- func (o *RestoreReadListAllOf) GetHrefOk() (*string, bool)
- func (o *RestoreReadListAllOf) GetId() *string
- func (o *RestoreReadListAllOf) GetIdOk() (*string, bool)
- func (o *RestoreReadListAllOf) GetItems() *[]RestoreRead
- func (o *RestoreReadListAllOf) GetItemsOk() (*[]RestoreRead, bool)
- func (o *RestoreReadListAllOf) GetType() *string
- func (o *RestoreReadListAllOf) GetTypeOk() (*string, bool)
- func (o *RestoreReadListAllOf) HasHref() bool
- func (o *RestoreReadListAllOf) HasId() bool
- func (o *RestoreReadListAllOf) HasItems() bool
- func (o *RestoreReadListAllOf) HasType() bool
- func (o RestoreReadListAllOf) MarshalJSON() ([]byte, error)
- func (o *RestoreReadListAllOf) SetHref(v string)
- func (o *RestoreReadListAllOf) SetId(v string)
- func (o *RestoreReadListAllOf) SetItems(v []RestoreRead)
- func (o *RestoreReadListAllOf) SetType(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SnapshotApiService
- func (a *SnapshotApiService) SnapshotsFindById(ctx _context.Context, snapshotId string) ApiSnapshotsFindByIdRequest
- func (a *SnapshotApiService) SnapshotsFindByIdExecute(r ApiSnapshotsFindByIdRequest) (SnapshotRead, *APIResponse, error)
- func (a *SnapshotApiService) SnapshotsGet(ctx _context.Context) ApiSnapshotsGetRequest
- func (a *SnapshotApiService) SnapshotsGetExecute(r ApiSnapshotsGetRequest) (SnapshotReadList, *APIResponse, error)
- type SnapshotCreate
- func (o *SnapshotCreate) GetMetadata() *map[string]interface{}
- func (o *SnapshotCreate) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *SnapshotCreate) GetProperties() *map[string]interface{}
- func (o *SnapshotCreate) GetPropertiesOk() (*map[string]interface{}, bool)
- func (o *SnapshotCreate) HasMetadata() bool
- func (o *SnapshotCreate) HasProperties() bool
- func (o SnapshotCreate) MarshalJSON() ([]byte, error)
- func (o *SnapshotCreate) SetMetadata(v map[string]interface{})
- func (o *SnapshotCreate) SetProperties(v map[string]interface{})
- type SnapshotEnsure
- func (o *SnapshotEnsure) GetId() *string
- func (o *SnapshotEnsure) GetIdOk() (*string, bool)
- func (o *SnapshotEnsure) GetMetadata() *map[string]interface{}
- func (o *SnapshotEnsure) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *SnapshotEnsure) GetProperties() *map[string]interface{}
- func (o *SnapshotEnsure) GetPropertiesOk() (*map[string]interface{}, bool)
- func (o *SnapshotEnsure) HasId() bool
- func (o *SnapshotEnsure) HasMetadata() bool
- func (o *SnapshotEnsure) HasProperties() bool
- func (o SnapshotEnsure) MarshalJSON() ([]byte, error)
- func (o *SnapshotEnsure) SetId(v string)
- func (o *SnapshotEnsure) SetMetadata(v map[string]interface{})
- func (o *SnapshotEnsure) SetProperties(v map[string]interface{})
- type SnapshotMetadata
- func (o *SnapshotMetadata) GetCreatedBy() *string
- func (o *SnapshotMetadata) GetCreatedByOk() (*string, bool)
- func (o *SnapshotMetadata) GetCreatedByUserId() *string
- func (o *SnapshotMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *SnapshotMetadata) GetCreatedDate() *time.Time
- func (o *SnapshotMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *SnapshotMetadata) GetDatacenterId() *string
- func (o *SnapshotMetadata) GetDatacenterIdOk() (*string, bool)
- func (o *SnapshotMetadata) GetLastModifiedBy() *string
- func (o *SnapshotMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *SnapshotMetadata) GetLastModifiedByUserId() *string
- func (o *SnapshotMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *SnapshotMetadata) GetLastModifiedDate() *time.Time
- func (o *SnapshotMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *SnapshotMetadata) GetMessage() *string
- func (o *SnapshotMetadata) GetMessageOk() (*string, bool)
- func (o *SnapshotMetadata) GetReplicasetId() *string
- func (o *SnapshotMetadata) GetReplicasetIdOk() (*string, bool)
- func (o *SnapshotMetadata) GetResourceURN() *string
- func (o *SnapshotMetadata) GetResourceURNOk() (*string, bool)
- func (o *SnapshotMetadata) GetSnapshotTime() *time.Time
- func (o *SnapshotMetadata) GetSnapshotTimeOk() (*time.Time, bool)
- func (o *SnapshotMetadata) GetState() *string
- func (o *SnapshotMetadata) GetStateOk() (*string, bool)
- func (o *SnapshotMetadata) HasCreatedBy() bool
- func (o *SnapshotMetadata) HasCreatedByUserId() bool
- func (o *SnapshotMetadata) HasCreatedDate() bool
- func (o *SnapshotMetadata) HasDatacenterId() bool
- func (o *SnapshotMetadata) HasLastModifiedBy() bool
- func (o *SnapshotMetadata) HasLastModifiedByUserId() bool
- func (o *SnapshotMetadata) HasLastModifiedDate() bool
- func (o *SnapshotMetadata) HasMessage() bool
- func (o *SnapshotMetadata) HasReplicasetId() bool
- func (o *SnapshotMetadata) HasResourceURN() bool
- func (o *SnapshotMetadata) HasSnapshotTime() bool
- func (o *SnapshotMetadata) HasState() bool
- func (o SnapshotMetadata) MarshalJSON() ([]byte, error)
- func (o *SnapshotMetadata) SetCreatedBy(v string)
- func (o *SnapshotMetadata) SetCreatedByUserId(v string)
- func (o *SnapshotMetadata) SetCreatedDate(v time.Time)
- func (o *SnapshotMetadata) SetDatacenterId(v string)
- func (o *SnapshotMetadata) SetLastModifiedBy(v string)
- func (o *SnapshotMetadata) SetLastModifiedByUserId(v string)
- func (o *SnapshotMetadata) SetLastModifiedDate(v time.Time)
- func (o *SnapshotMetadata) SetMessage(v string)
- func (o *SnapshotMetadata) SetReplicasetId(v string)
- func (o *SnapshotMetadata) SetResourceURN(v string)
- func (o *SnapshotMetadata) SetSnapshotTime(v time.Time)
- func (o *SnapshotMetadata) SetState(v string)
- type SnapshotMetadataAllOf
- func (o *SnapshotMetadataAllOf) GetDatacenterId() *string
- func (o *SnapshotMetadataAllOf) GetDatacenterIdOk() (*string, bool)
- func (o *SnapshotMetadataAllOf) GetReplicasetId() *string
- func (o *SnapshotMetadataAllOf) GetReplicasetIdOk() (*string, bool)
- func (o *SnapshotMetadataAllOf) GetSnapshotTime() *time.Time
- func (o *SnapshotMetadataAllOf) GetSnapshotTimeOk() (*time.Time, bool)
- func (o *SnapshotMetadataAllOf) HasDatacenterId() bool
- func (o *SnapshotMetadataAllOf) HasReplicasetId() bool
- func (o *SnapshotMetadataAllOf) HasSnapshotTime() bool
- func (o SnapshotMetadataAllOf) MarshalJSON() ([]byte, error)
- func (o *SnapshotMetadataAllOf) SetDatacenterId(v string)
- func (o *SnapshotMetadataAllOf) SetReplicasetId(v string)
- func (o *SnapshotMetadataAllOf) SetSnapshotTime(v time.Time)
- type SnapshotRead
- func (o *SnapshotRead) GetHref() *string
- func (o *SnapshotRead) GetHrefOk() (*string, bool)
- func (o *SnapshotRead) GetId() *string
- func (o *SnapshotRead) GetIdOk() (*string, bool)
- func (o *SnapshotRead) GetMetadata() *SnapshotMetadata
- func (o *SnapshotRead) GetMetadataOk() (*SnapshotMetadata, bool)
- func (o *SnapshotRead) GetProperties() *map[string]interface{}
- func (o *SnapshotRead) GetPropertiesOk() (*map[string]interface{}, bool)
- func (o *SnapshotRead) GetType() *string
- func (o *SnapshotRead) GetTypeOk() (*string, bool)
- func (o *SnapshotRead) HasHref() bool
- func (o *SnapshotRead) HasId() bool
- func (o *SnapshotRead) HasMetadata() bool
- func (o *SnapshotRead) HasProperties() bool
- func (o *SnapshotRead) HasType() bool
- func (o SnapshotRead) MarshalJSON() ([]byte, error)
- func (o *SnapshotRead) SetHref(v string)
- func (o *SnapshotRead) SetId(v string)
- func (o *SnapshotRead) SetMetadata(v SnapshotMetadata)
- func (o *SnapshotRead) SetProperties(v map[string]interface{})
- func (o *SnapshotRead) SetType(v string)
- type SnapshotReadList
- func (o *SnapshotReadList) GetHref() *string
- func (o *SnapshotReadList) GetHrefOk() (*string, bool)
- func (o *SnapshotReadList) GetId() *string
- func (o *SnapshotReadList) GetIdOk() (*string, bool)
- func (o *SnapshotReadList) GetItems() *[]SnapshotRead
- func (o *SnapshotReadList) GetItemsOk() (*[]SnapshotRead, bool)
- func (o *SnapshotReadList) GetLimit() *int32
- func (o *SnapshotReadList) GetLimitOk() (*int32, bool)
- func (o *SnapshotReadList) GetLinks() *Links
- func (o *SnapshotReadList) GetLinksOk() (*Links, bool)
- func (o *SnapshotReadList) GetOffset() *int32
- func (o *SnapshotReadList) GetOffsetOk() (*int32, bool)
- func (o *SnapshotReadList) GetType() *string
- func (o *SnapshotReadList) GetTypeOk() (*string, bool)
- func (o *SnapshotReadList) HasHref() bool
- func (o *SnapshotReadList) HasId() bool
- func (o *SnapshotReadList) HasItems() bool
- func (o *SnapshotReadList) HasLimit() bool
- func (o *SnapshotReadList) HasLinks() bool
- func (o *SnapshotReadList) HasOffset() bool
- func (o *SnapshotReadList) HasType() bool
- func (o SnapshotReadList) MarshalJSON() ([]byte, error)
- func (o *SnapshotReadList) SetHref(v string)
- func (o *SnapshotReadList) SetId(v string)
- func (o *SnapshotReadList) SetItems(v []SnapshotRead)
- func (o *SnapshotReadList) SetLimit(v int32)
- func (o *SnapshotReadList) SetLinks(v Links)
- func (o *SnapshotReadList) SetOffset(v int32)
- func (o *SnapshotReadList) SetType(v string)
- type SnapshotReadListAllOf
- func (o *SnapshotReadListAllOf) GetHref() *string
- func (o *SnapshotReadListAllOf) GetHrefOk() (*string, bool)
- func (o *SnapshotReadListAllOf) GetId() *string
- func (o *SnapshotReadListAllOf) GetIdOk() (*string, bool)
- func (o *SnapshotReadListAllOf) GetItems() *[]SnapshotRead
- func (o *SnapshotReadListAllOf) GetItemsOk() (*[]SnapshotRead, bool)
- func (o *SnapshotReadListAllOf) GetType() *string
- func (o *SnapshotReadListAllOf) GetTypeOk() (*string, bool)
- func (o *SnapshotReadListAllOf) HasHref() bool
- func (o *SnapshotReadListAllOf) HasId() bool
- func (o *SnapshotReadListAllOf) HasItems() bool
- func (o *SnapshotReadListAllOf) HasType() bool
- func (o SnapshotReadListAllOf) MarshalJSON() ([]byte, error)
- func (o *SnapshotReadListAllOf) SetHref(v string)
- func (o *SnapshotReadListAllOf) SetId(v string)
- func (o *SnapshotReadListAllOf) SetItems(v []SnapshotRead)
- func (o *SnapshotReadListAllOf) SetType(v string)
- type TLSDial
- type User
- func (o *User) GetPassword() *UserPassword
- func (o *User) GetPasswordOk() (*UserPassword, bool)
- func (o *User) GetUsername() *string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o *User) HasPassword() bool
- func (o *User) HasUsername() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetPassword(v UserPassword)
- func (o *User) SetUsername(v string)
- type UserPassword
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "1.1.1" )
const ( IonosUsernameEnvVar = "IONOS_USERNAME" IonosPasswordEnvVar = "IONOS_PASSWORD" IonosTokenEnvVar = "IONOS_TOKEN" IonosApiUrlEnvVar = "IONOS_API_URL" IonosPinnedCertEnvVar = "IONOS_PINNED_CERT" IonosLogLevelEnvVar = "IONOS_LOG_LEVEL" DefaultIonosServerUrl = "https://in-memory-db.de-fra.ionos.com" DefaultIonosBasePath = "" )
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var (
IonosServerUrls = []string{
"https://in-memory-db.de-fra.ionos.com",
"https://in-memory-db.de-txl.ionos.com",
"https://in-memory-db.es-vit.ionos.com",
"https://in-memory-db.gb-lhr.ionos.com",
"https://in-memory-db.us-ewr.ionos.com",
"https://in-memory-db.us-las.ionos.com",
"https://in-memory-db.us-mci.ionos.com",
"https://in-memory-db.fr-par.ionos.com",
}
)
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 - returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 - returns a pointer to given float value.
func SliceToValueDefault ¶
func SliceToValueDefault[T any](ptrSlice *[]T) []T
func ToBoolDefault ¶
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil
func ToBoolSlice ¶
ToBoolSlice - returns a bool slice of the pointer passed in
func ToByteDefault ¶
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil
func ToByteSlice ¶
ToByteSlice - returns a byte slice of the pointer passed in
func ToFloat32Default ¶
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil
func ToFloat32Slice ¶
ToFloat32Slice - returns a float32 slice of the pointer passed in
func ToFloat64Default ¶
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil
func ToFloat64Slice ¶
ToFloat64Slice - returns a float64 slice of the pointer passed in
func ToInt16Default ¶
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil
func ToInt16Slice ¶
ToInt16Slice - returns a int16 slice of the pointer passed in
func ToInt32Default ¶
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil
func ToInt32Slice ¶
ToInt32Slice - returns a int32 slice of the pointer passed in
func ToInt64Default ¶
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil
func ToInt64Slice ¶
ToInt64Slice - returns a int64 slice of the pointer passed in
func ToInt8Default ¶
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil
func ToInt8Slice ¶
ToInt8Slice - returns a int8 slice of the pointer passed in
func ToIntDefault ¶
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil
func ToIntSlice ¶
ToIntSlice - returns a int slice of the pointer passed in
func ToStringDefault ¶
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil
func ToStringSlice ¶
ToStringSlice - returns a string slice of the pointer passed in
func ToTimeDefault ¶
ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil
func ToTimeSlice ¶
ToTimeSlice - returns a Time slice of the pointer passed in
func ToUint16Default ¶
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil
func ToUint16Slice ¶
ToUint16Slice - returns a uint16 slice of the pointer passed in
func ToUint32Default ¶
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil
func ToUint32Slice ¶
ToUint32Slice - returns a uint32 slice of the pointer passed in
func ToUint64Default ¶
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil
func ToUint64Slice ¶
ToUint64Slice - returns a uint63 slice of the pointer passed in
func ToUint8Default ¶
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil
func ToUint8Slice ¶
ToUint8Slice - returns a uint8 slice of the pointer passed in
func ToUintDefault ¶
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil
func ToUintSlice ¶
ToUintSlice - returns a uint slice of the pointer passed in
func ToValueDefault ¶
func ToValueDefault[T any](ptr *T) T
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil
Types ¶
type APIClient ¶
type APIClient struct { ReplicaSetApi *ReplicaSetApiService RestoreApi *RestoreApiService SnapshotApi *SnapshotApiService // contains filtered or unexported fields }
APIClient manages communication with the In-Memory DB API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // RequestTime is the time duration from the moment the APIClient sends // the HTTP request to the moment it receives an HTTP response. RequestTime time.Duration `json:"duration,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
func (*APIResponse) HttpNotFound ¶
func (resp *APIResponse) HttpNotFound() bool
HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values
func (*APIResponse) LogInfo ¶
func (resp *APIResponse) LogInfo()
LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values
type ApiReplicasetsDeleteRequest ¶
type ApiReplicasetsDeleteRequest struct { ApiService *ReplicaSetApiService // contains filtered or unexported fields }
func (ApiReplicasetsDeleteRequest) Execute ¶
func (r ApiReplicasetsDeleteRequest) Execute() (*APIResponse, error)
type ApiReplicasetsFindByIdRequest ¶
type ApiReplicasetsFindByIdRequest struct { ApiService *ReplicaSetApiService // contains filtered or unexported fields }
func (ApiReplicasetsFindByIdRequest) Execute ¶
func (r ApiReplicasetsFindByIdRequest) Execute() (ReplicaSetRead, *APIResponse, error)
type ApiReplicasetsGetRequest ¶
type ApiReplicasetsGetRequest struct { ApiService *ReplicaSetApiService // contains filtered or unexported fields }
func (ApiReplicasetsGetRequest) Execute ¶
func (r ApiReplicasetsGetRequest) Execute() (ReplicaSetReadList, *APIResponse, error)
func (ApiReplicasetsGetRequest) FilterName ¶
func (r ApiReplicasetsGetRequest) FilterName(filterName string) ApiReplicasetsGetRequest
func (ApiReplicasetsGetRequest) Limit ¶
func (r ApiReplicasetsGetRequest) Limit(limit int32) ApiReplicasetsGetRequest
func (ApiReplicasetsGetRequest) Offset ¶
func (r ApiReplicasetsGetRequest) Offset(offset int32) ApiReplicasetsGetRequest
type ApiReplicasetsPostRequest ¶
type ApiReplicasetsPostRequest struct { ApiService *ReplicaSetApiService // contains filtered or unexported fields }
func (ApiReplicasetsPostRequest) Execute ¶
func (r ApiReplicasetsPostRequest) Execute() (ReplicaSetRead, *APIResponse, error)
func (ApiReplicasetsPostRequest) ReplicaSetCreate ¶
func (r ApiReplicasetsPostRequest) ReplicaSetCreate(replicaSetCreate ReplicaSetCreate) ApiReplicasetsPostRequest
type ApiReplicasetsPutRequest ¶
type ApiReplicasetsPutRequest struct { ApiService *ReplicaSetApiService // contains filtered or unexported fields }
func (ApiReplicasetsPutRequest) Execute ¶
func (r ApiReplicasetsPutRequest) Execute() (ReplicaSetRead, *APIResponse, error)
func (ApiReplicasetsPutRequest) ReplicaSetEnsure ¶
func (r ApiReplicasetsPutRequest) ReplicaSetEnsure(replicaSetEnsure ReplicaSetEnsure) ApiReplicasetsPutRequest
type ApiSnapshotsFindByIdRequest ¶
type ApiSnapshotsFindByIdRequest struct { ApiService *SnapshotApiService // contains filtered or unexported fields }
func (ApiSnapshotsFindByIdRequest) Execute ¶
func (r ApiSnapshotsFindByIdRequest) Execute() (SnapshotRead, *APIResponse, error)
type ApiSnapshotsGetRequest ¶
type ApiSnapshotsGetRequest struct { ApiService *SnapshotApiService // contains filtered or unexported fields }
func (ApiSnapshotsGetRequest) Execute ¶
func (r ApiSnapshotsGetRequest) Execute() (SnapshotReadList, *APIResponse, error)
func (ApiSnapshotsGetRequest) Limit ¶
func (r ApiSnapshotsGetRequest) Limit(limit int32) ApiSnapshotsGetRequest
func (ApiSnapshotsGetRequest) Offset ¶
func (r ApiSnapshotsGetRequest) Offset(offset int32) ApiSnapshotsGetRequest
type ApiSnapshotsRestoresFindByIdRequest ¶
type ApiSnapshotsRestoresFindByIdRequest struct { ApiService *RestoreApiService // contains filtered or unexported fields }
func (ApiSnapshotsRestoresFindByIdRequest) Execute ¶
func (r ApiSnapshotsRestoresFindByIdRequest) Execute() (RestoreRead, *APIResponse, error)
type ApiSnapshotsRestoresGetRequest ¶
type ApiSnapshotsRestoresGetRequest struct { ApiService *RestoreApiService // contains filtered or unexported fields }
func (ApiSnapshotsRestoresGetRequest) Execute ¶
func (r ApiSnapshotsRestoresGetRequest) Execute() (RestoreReadList, *APIResponse, error)
func (ApiSnapshotsRestoresGetRequest) FilterName ¶
func (r ApiSnapshotsRestoresGetRequest) FilterName(filterName string) ApiSnapshotsRestoresGetRequest
func (ApiSnapshotsRestoresGetRequest) Limit ¶
func (r ApiSnapshotsRestoresGetRequest) Limit(limit int32) ApiSnapshotsRestoresGetRequest
func (ApiSnapshotsRestoresGetRequest) Offset ¶
func (r ApiSnapshotsRestoresGetRequest) Offset(offset int32) ApiSnapshotsRestoresGetRequest
type ApiSnapshotsRestoresPostRequest ¶
type ApiSnapshotsRestoresPostRequest struct { ApiService *RestoreApiService // contains filtered or unexported fields }
func (ApiSnapshotsRestoresPostRequest) Execute ¶
func (r ApiSnapshotsRestoresPostRequest) Execute() (RestoreRead, *APIResponse, error)
func (ApiSnapshotsRestoresPostRequest) RestoreCreate ¶
func (r ApiSnapshotsRestoresPostRequest) RestoreCreate(restoreCreate RestoreCreate) ApiSnapshotsRestoresPostRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` DefaultQueryParams url.Values `json:"defaultQueryParams,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client LogLevel LogLevel Logger Logger Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` MaxRetries int `json:"maxRetries,omitempty"` WaitTime time.Duration `json:"waitTime,omitempty"` MaxWaitTime time.Duration `json:"maxWaitTime,omitempty"` }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration(username, password, token, hostUrl string) *Configuration
NewConfiguration returns a new Configuration object
func NewConfigurationFromEnv ¶
func NewConfigurationFromEnv() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) AddDefaultQueryParam ¶
func (c *Configuration) AddDefaultQueryParam(key string, value string)
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Connection ¶
type Connection struct { // The datacenter to connect your instance to. DatacenterId *string `json:"datacenterId"` // The numeric LAN ID to connect your instance to. LanId *string `json:"lanId"` // The IP and subnet for your instance. Note the following unavailable IP ranges: 10.210.0.0/16 10.212.0.0/14 Cidr *string `json:"cidr"` }
Connection Details about the network connection for your instance.
func NewConnection ¶
func NewConnection(datacenterId string, lanId string, cidr string) *Connection
NewConnection instantiates a new Connection 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 NewConnectionWithDefaults ¶
func NewConnectionWithDefaults() *Connection
NewConnectionWithDefaults instantiates a new Connection 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 (*Connection) GetCidr ¶
func (o *Connection) GetCidr() *string
GetCidr returns the Cidr field value If the value is explicit nil, the zero value for string will be returned
func (*Connection) GetCidrOk ¶
func (o *Connection) GetCidrOk() (*string, bool)
GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Connection) GetDatacenterId ¶
func (o *Connection) GetDatacenterId() *string
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*Connection) GetDatacenterIdOk ¶
func (o *Connection) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Connection) GetLanId ¶
func (o *Connection) GetLanId() *string
GetLanId returns the LanId field value If the value is explicit nil, the zero value for string will be returned
func (*Connection) GetLanIdOk ¶
func (o *Connection) GetLanIdOk() (*string, bool)
GetLanIdOk returns a tuple with the LanId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Connection) HasCidr ¶
func (o *Connection) HasCidr() bool
HasCidr returns a boolean if a field has been set.
func (*Connection) HasDatacenterId ¶
func (o *Connection) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (*Connection) HasLanId ¶
func (o *Connection) HasLanId() bool
HasLanId returns a boolean if a field has been set.
func (Connection) MarshalJSON ¶
func (o Connection) MarshalJSON() ([]byte, error)
func (*Connection) SetDatacenterId ¶
func (o *Connection) SetDatacenterId(v string)
SetDatacenterId sets field value
type DayOfTheWeek ¶
type DayOfTheWeek string
DayOfTheWeek The name of the week day.
const ( DAYOFTHEWEEK_SUNDAY DayOfTheWeek = "Sunday" DAYOFTHEWEEK_MONDAY DayOfTheWeek = "Monday" DAYOFTHEWEEK_TUESDAY DayOfTheWeek = "Tuesday" DAYOFTHEWEEK_WEDNESDAY DayOfTheWeek = "Wednesday" DAYOFTHEWEEK_THURSDAY DayOfTheWeek = "Thursday" DAYOFTHEWEEK_FRIDAY DayOfTheWeek = "Friday" DAYOFTHEWEEK_SATURDAY DayOfTheWeek = "Saturday" )
List of DayOfTheWeek
func (DayOfTheWeek) Ptr ¶
func (v DayOfTheWeek) Ptr() *DayOfTheWeek
Ptr returns reference to DayOfTheWeek value
func (*DayOfTheWeek) UnmarshalJSON ¶
func (v *DayOfTheWeek) UnmarshalJSON(src []byte) error
type Error ¶
type Error struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus,omitempty"` // A list of error messages. Messages *[]ErrorMessages `json:"messages,omitempty"` }
Error The Error object is used to represent an error response from the API.
func NewError ¶
func NewError() *Error
NewError instantiates a new Error 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 NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 (*Error) GetHttpStatus ¶
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*Error) GetHttpStatusOk ¶
GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Error) GetMessages ¶
func (o *Error) GetMessages() *[]ErrorMessages
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessages will be returned
func (*Error) GetMessagesOk ¶
func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Error) HasHttpStatus ¶
HasHttpStatus returns a boolean if a field has been set.
func (*Error) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetMessages ¶
func (o *Error) SetMessages(v []ErrorMessages)
SetMessages sets field value
type ErrorMessages ¶
type ErrorMessages struct { // Application internal error code ErrorCode *string `json:"errorCode,omitempty"` // A human readable explanation specific to this occurrence of the problem. Message *string `json:"message,omitempty"` }
ErrorMessages struct for ErrorMessages
func NewErrorMessages ¶
func NewErrorMessages() *ErrorMessages
NewErrorMessages instantiates a new ErrorMessages 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 NewErrorMessagesWithDefaults ¶
func NewErrorMessagesWithDefaults() *ErrorMessages
NewErrorMessagesWithDefaults instantiates a new ErrorMessages 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 (*ErrorMessages) GetErrorCode ¶
func (o *ErrorMessages) GetErrorCode() *string
GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetErrorCodeOk ¶
func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessages) GetMessage ¶
func (o *ErrorMessages) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetMessageOk ¶
func (o *ErrorMessages) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessages) HasErrorCode ¶
func (o *ErrorMessages) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ErrorMessages) HasMessage ¶
func (o *ErrorMessages) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorMessages) MarshalJSON ¶
func (o ErrorMessages) MarshalJSON() ([]byte, error)
func (*ErrorMessages) SetErrorCode ¶
func (o *ErrorMessages) SetErrorCode(v string)
SetErrorCode sets field value
func (*ErrorMessages) SetMessage ¶
func (o *ErrorMessages) SetMessage(v string)
SetMessage sets field value
type EvictionPolicy ¶
type EvictionPolicy string
EvictionPolicy The eviction policy for the replica set. The default value is `allkeys-lru`. | Policy | Description | |-----------------------|-------------| | **noeviction** | No eviction policy is used. In-Memory DB will never remove any data. If the memory limit is reached, an error will be returned on write operations. | | **allkeys-lru** | The least recently used keys will be removed first. | | **allkeys-lfu** | The least frequently used keys will be removed first. | | **allkeys-random** | Random keys will be removed. | | **volatile-lru** | The least recently used keys will be removed first, but only among keys with the `expire` field set to `true`. | | **volatile-lfu** | The least frequently used keys will be removed first, but only among keys with the `expire` field set to `true`. | | **volatile-random** | Random keys will be removed, but only among keys with the `expire` field set to `true`. | | **volatile-ttl** | The key with the nearest time to live will be removed first, but only among keys with the `expire` field set to `true`. |
const ( EVICTIONPOLICY_NOEVICTION EvictionPolicy = "noeviction" EVICTIONPOLICY_ALLKEYS_LRU EvictionPolicy = "allkeys-lru" EVICTIONPOLICY_ALLKEYS_LFU EvictionPolicy = "allkeys-lfu" EVICTIONPOLICY_ALLKEYS_RANDOM EvictionPolicy = "allkeys-random" EVICTIONPOLICY_VOLATILE_LRU EvictionPolicy = "volatile-lru" EVICTIONPOLICY_VOLATILE_LFU EvictionPolicy = "volatile-lfu" EVICTIONPOLICY_VOLATILE_RANDOM EvictionPolicy = "volatile-random" EVICTIONPOLICY_VOLATILE_TTL EvictionPolicy = "volatile-ttl" )
List of EvictionPolicy
func (EvictionPolicy) Ptr ¶
func (v EvictionPolicy) Ptr() *EvictionPolicy
Ptr returns reference to EvictionPolicy value
func (*EvictionPolicy) UnmarshalJSON ¶
func (v *EvictionPolicy) UnmarshalJSON(src []byte) error
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func NewGenericOpenAPIError ¶
func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError
NewGenericOpenAPIError - constructor for GenericOpenAPIError
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
func (*GenericOpenAPIError) SetBody ¶
func (e *GenericOpenAPIError) SetBody(body []byte)
SetBody sets the raw body of the error
func (*GenericOpenAPIError) SetError ¶
func (e *GenericOpenAPIError) SetError(error string)
SetError sets the error string
func (*GenericOpenAPIError) SetModel ¶
func (e *GenericOpenAPIError) SetModel(model interface{})
SetModel sets the model of the error
func (*GenericOpenAPIError) SetStatusCode ¶
func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
SetStatusCode sets the status code of the error
func (GenericOpenAPIError) StatusCode ¶
func (e GenericOpenAPIError) StatusCode() int
StatusCode returns the status code of the error
type HashedPassword ¶
HashedPassword The hashed password for a In-Memory DB user.
func NewHashedPassword ¶
func NewHashedPassword(algorithm string, hash string) *HashedPassword
NewHashedPassword instantiates a new HashedPassword 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 NewHashedPasswordWithDefaults ¶
func NewHashedPasswordWithDefaults() *HashedPassword
NewHashedPasswordWithDefaults instantiates a new HashedPassword 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 (*HashedPassword) GetAlgorithm ¶
func (o *HashedPassword) GetAlgorithm() *string
GetAlgorithm returns the Algorithm field value If the value is explicit nil, the zero value for string will be returned
func (*HashedPassword) GetAlgorithmOk ¶
func (o *HashedPassword) GetAlgorithmOk() (*string, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*HashedPassword) GetHash ¶
func (o *HashedPassword) GetHash() *string
GetHash returns the Hash field value If the value is explicit nil, the zero value for string will be returned
func (*HashedPassword) GetHashOk ¶
func (o *HashedPassword) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*HashedPassword) HasAlgorithm ¶
func (o *HashedPassword) HasAlgorithm() bool
HasAlgorithm returns a boolean if a field has been set.
func (*HashedPassword) HasHash ¶
func (o *HashedPassword) HasHash() bool
HasHash returns a boolean if a field has been set.
func (HashedPassword) MarshalJSON ¶
func (o HashedPassword) MarshalJSON() ([]byte, error)
func (*HashedPassword) SetAlgorithm ¶
func (o *HashedPassword) SetAlgorithm(v string)
SetAlgorithm sets field value
func (*HashedPassword) SetHash ¶
func (o *HashedPassword) SetHash(v string)
SetHash sets field value
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type Links ¶
type Links struct { // URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0. Prev *string `json:"prev,omitempty"` // URL (with offset and limit parameters) of the current page. Self *string `json:"self,omitempty"` // URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements. Next *string `json:"next,omitempty"` }
Links URLs to navigate the different pages. As of now we always only return a single page.
func NewLinks ¶
func NewLinks() *Links
NewLinks instantiates a new Links 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 NewLinksWithDefaults ¶
func NewLinksWithDefaults() *Links
NewLinksWithDefaults instantiates a new Links 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 (*Links) GetNext ¶
GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetNextOk ¶
GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetPrev ¶
GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetPrevOk ¶
GetPrevOk returns a tuple with the Prev field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetSelf ¶
GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetSelfOk ¶
GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Links) MarshalJSON ¶
type LogLevel ¶
type LogLevel uint
const ( Off LogLevel = 0x100 * iota Debug // Trace We recommend you only set this field for debugging purposes. // Disable it in your production environments because it can log sensitive data. // It logs the full request and response without encryption, even for an HTTPS call. // Verbose request and response logging can also significantly impact your application's performance. Trace )
type Logger ¶
type Logger interface {
Printf(format string, args ...interface{})
}
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
type MaintenanceWindow ¶
type MaintenanceWindow struct { // Start of the maintenance window in UTC time. Time *string `json:"time"` DayOfTheWeek *DayOfTheWeek `json:"dayOfTheWeek"` }
MaintenanceWindow A weekly 4 hour-long window, during which maintenance might occur.
func NewMaintenanceWindow ¶
func NewMaintenanceWindow(time string, dayOfTheWeek DayOfTheWeek) *MaintenanceWindow
NewMaintenanceWindow instantiates a new MaintenanceWindow 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 NewMaintenanceWindowWithDefaults ¶
func NewMaintenanceWindowWithDefaults() *MaintenanceWindow
NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow 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 (*MaintenanceWindow) GetDayOfTheWeek ¶
func (o *MaintenanceWindow) GetDayOfTheWeek() *DayOfTheWeek
GetDayOfTheWeek returns the DayOfTheWeek field value If the value is explicit nil, the zero value for DayOfTheWeek will be returned
func (*MaintenanceWindow) GetDayOfTheWeekOk ¶
func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*DayOfTheWeek, bool)
GetDayOfTheWeekOk returns a tuple with the DayOfTheWeek field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MaintenanceWindow) GetTime ¶
func (o *MaintenanceWindow) GetTime() *string
GetTime returns the Time field value If the value is explicit nil, the zero value for string will be returned
func (*MaintenanceWindow) GetTimeOk ¶
func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MaintenanceWindow) HasDayOfTheWeek ¶
func (o *MaintenanceWindow) HasDayOfTheWeek() bool
HasDayOfTheWeek returns a boolean if a field has been set.
func (*MaintenanceWindow) HasTime ¶
func (o *MaintenanceWindow) HasTime() bool
HasTime returns a boolean if a field has been set.
func (MaintenanceWindow) MarshalJSON ¶
func (o MaintenanceWindow) MarshalJSON() ([]byte, error)
func (*MaintenanceWindow) SetDayOfTheWeek ¶
func (o *MaintenanceWindow) SetDayOfTheWeek(v DayOfTheWeek)
SetDayOfTheWeek sets field value
func (*MaintenanceWindow) SetTime ¶
func (o *MaintenanceWindow) SetTime(v string)
SetTime sets field value
type Metadata ¶
type Metadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` }
Metadata Metadata of the resource.
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByUserIdOk ¶
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByOk ¶
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByUserIdOk ¶
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetResourceURN ¶
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetResourceURNOk ¶
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Metadata) HasCreatedByUserId ¶
HasCreatedByUserId returns a boolean if a field has been set.
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedBy ¶
HasLastModifiedBy returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedByUserId ¶
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (*Metadata) HasResourceURN ¶
HasResourceURN returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId sets field value
func (*Metadata) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy sets field value
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId sets field value
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate sets field value
func (*Metadata) SetResourceURN ¶
SetResourceURN sets field value
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 NullableConnection ¶
type NullableConnection struct {
// contains filtered or unexported fields
}
func NewNullableConnection ¶
func NewNullableConnection(val *Connection) *NullableConnection
func (NullableConnection) Get ¶
func (v NullableConnection) Get() *Connection
func (NullableConnection) IsSet ¶
func (v NullableConnection) IsSet() bool
func (NullableConnection) MarshalJSON ¶
func (v NullableConnection) MarshalJSON() ([]byte, error)
func (*NullableConnection) Set ¶
func (v *NullableConnection) Set(val *Connection)
func (*NullableConnection) UnmarshalJSON ¶
func (v *NullableConnection) UnmarshalJSON(src []byte) error
func (*NullableConnection) Unset ¶
func (v *NullableConnection) Unset()
type NullableDayOfTheWeek ¶
type NullableDayOfTheWeek struct {
// contains filtered or unexported fields
}
func NewNullableDayOfTheWeek ¶
func NewNullableDayOfTheWeek(val *DayOfTheWeek) *NullableDayOfTheWeek
func (NullableDayOfTheWeek) Get ¶
func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
func (NullableDayOfTheWeek) IsSet ¶
func (v NullableDayOfTheWeek) IsSet() bool
func (NullableDayOfTheWeek) MarshalJSON ¶
func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
func (*NullableDayOfTheWeek) Set ¶
func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
func (*NullableDayOfTheWeek) UnmarshalJSON ¶
func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
func (*NullableDayOfTheWeek) Unset ¶
func (v *NullableDayOfTheWeek) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorMessages ¶
type NullableErrorMessages struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessages ¶
func NewNullableErrorMessages(val *ErrorMessages) *NullableErrorMessages
func (NullableErrorMessages) Get ¶
func (v NullableErrorMessages) Get() *ErrorMessages
func (NullableErrorMessages) IsSet ¶
func (v NullableErrorMessages) IsSet() bool
func (NullableErrorMessages) MarshalJSON ¶
func (v NullableErrorMessages) MarshalJSON() ([]byte, error)
func (*NullableErrorMessages) Set ¶
func (v *NullableErrorMessages) Set(val *ErrorMessages)
func (*NullableErrorMessages) UnmarshalJSON ¶
func (v *NullableErrorMessages) UnmarshalJSON(src []byte) error
func (*NullableErrorMessages) Unset ¶
func (v *NullableErrorMessages) Unset()
type NullableEvictionPolicy ¶
type NullableEvictionPolicy struct {
// contains filtered or unexported fields
}
func NewNullableEvictionPolicy ¶
func NewNullableEvictionPolicy(val *EvictionPolicy) *NullableEvictionPolicy
func (NullableEvictionPolicy) Get ¶
func (v NullableEvictionPolicy) Get() *EvictionPolicy
func (NullableEvictionPolicy) IsSet ¶
func (v NullableEvictionPolicy) IsSet() bool
func (NullableEvictionPolicy) MarshalJSON ¶
func (v NullableEvictionPolicy) MarshalJSON() ([]byte, error)
func (*NullableEvictionPolicy) Set ¶
func (v *NullableEvictionPolicy) Set(val *EvictionPolicy)
func (*NullableEvictionPolicy) UnmarshalJSON ¶
func (v *NullableEvictionPolicy) UnmarshalJSON(src []byte) error
func (*NullableEvictionPolicy) Unset ¶
func (v *NullableEvictionPolicy) 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 NullableHashedPassword ¶
type NullableHashedPassword struct {
// contains filtered or unexported fields
}
func NewNullableHashedPassword ¶
func NewNullableHashedPassword(val *HashedPassword) *NullableHashedPassword
func (NullableHashedPassword) Get ¶
func (v NullableHashedPassword) Get() *HashedPassword
func (NullableHashedPassword) IsSet ¶
func (v NullableHashedPassword) IsSet() bool
func (NullableHashedPassword) MarshalJSON ¶
func (v NullableHashedPassword) MarshalJSON() ([]byte, error)
func (*NullableHashedPassword) Set ¶
func (v *NullableHashedPassword) Set(val *HashedPassword)
func (*NullableHashedPassword) UnmarshalJSON ¶
func (v *NullableHashedPassword) UnmarshalJSON(src []byte) error
func (*NullableHashedPassword) Unset ¶
func (v *NullableHashedPassword) 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 NullableLinks ¶
type NullableLinks struct {
// contains filtered or unexported fields
}
func NewNullableLinks ¶
func NewNullableLinks(val *Links) *NullableLinks
func (NullableLinks) Get ¶
func (v NullableLinks) Get() *Links
func (NullableLinks) IsSet ¶
func (v NullableLinks) IsSet() bool
func (NullableLinks) MarshalJSON ¶
func (v NullableLinks) MarshalJSON() ([]byte, error)
func (*NullableLinks) Set ¶
func (v *NullableLinks) Set(val *Links)
func (*NullableLinks) UnmarshalJSON ¶
func (v *NullableLinks) UnmarshalJSON(src []byte) error
func (*NullableLinks) Unset ¶
func (v *NullableLinks) Unset()
type NullableMaintenanceWindow ¶
type NullableMaintenanceWindow struct {
// contains filtered or unexported fields
}
func NewNullableMaintenanceWindow ¶
func NewNullableMaintenanceWindow(val *MaintenanceWindow) *NullableMaintenanceWindow
func (NullableMaintenanceWindow) Get ¶
func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
func (NullableMaintenanceWindow) IsSet ¶
func (v NullableMaintenanceWindow) IsSet() bool
func (NullableMaintenanceWindow) MarshalJSON ¶
func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
func (*NullableMaintenanceWindow) Set ¶
func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
func (*NullableMaintenanceWindow) UnmarshalJSON ¶
func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
func (*NullableMaintenanceWindow) Unset ¶
func (v *NullableMaintenanceWindow) Unset()
type NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) Unset()
type NullablePagination ¶
type NullablePagination struct {
// contains filtered or unexported fields
}
func NewNullablePagination ¶
func NewNullablePagination(val *Pagination) *NullablePagination
func (NullablePagination) Get ¶
func (v NullablePagination) Get() *Pagination
func (NullablePagination) IsSet ¶
func (v NullablePagination) IsSet() bool
func (NullablePagination) MarshalJSON ¶
func (v NullablePagination) MarshalJSON() ([]byte, error)
func (*NullablePagination) Set ¶
func (v *NullablePagination) Set(val *Pagination)
func (*NullablePagination) UnmarshalJSON ¶
func (v *NullablePagination) UnmarshalJSON(src []byte) error
func (*NullablePagination) Unset ¶
func (v *NullablePagination) Unset()
type NullablePersistenceMode ¶
type NullablePersistenceMode struct {
// contains filtered or unexported fields
}
func NewNullablePersistenceMode ¶
func NewNullablePersistenceMode(val *PersistenceMode) *NullablePersistenceMode
func (NullablePersistenceMode) Get ¶
func (v NullablePersistenceMode) Get() *PersistenceMode
func (NullablePersistenceMode) IsSet ¶
func (v NullablePersistenceMode) IsSet() bool
func (NullablePersistenceMode) MarshalJSON ¶
func (v NullablePersistenceMode) MarshalJSON() ([]byte, error)
func (*NullablePersistenceMode) Set ¶
func (v *NullablePersistenceMode) Set(val *PersistenceMode)
func (*NullablePersistenceMode) UnmarshalJSON ¶
func (v *NullablePersistenceMode) UnmarshalJSON(src []byte) error
func (*NullablePersistenceMode) Unset ¶
func (v *NullablePersistenceMode) Unset()
type NullableReplicaSet ¶
type NullableReplicaSet struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSet ¶
func NewNullableReplicaSet(val *ReplicaSet) *NullableReplicaSet
func (NullableReplicaSet) Get ¶
func (v NullableReplicaSet) Get() *ReplicaSet
func (NullableReplicaSet) IsSet ¶
func (v NullableReplicaSet) IsSet() bool
func (NullableReplicaSet) MarshalJSON ¶
func (v NullableReplicaSet) MarshalJSON() ([]byte, error)
func (*NullableReplicaSet) Set ¶
func (v *NullableReplicaSet) Set(val *ReplicaSet)
func (*NullableReplicaSet) UnmarshalJSON ¶
func (v *NullableReplicaSet) UnmarshalJSON(src []byte) error
func (*NullableReplicaSet) Unset ¶
func (v *NullableReplicaSet) Unset()
type NullableReplicaSetCreate ¶
type NullableReplicaSetCreate struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSetCreate ¶
func NewNullableReplicaSetCreate(val *ReplicaSetCreate) *NullableReplicaSetCreate
func (NullableReplicaSetCreate) Get ¶
func (v NullableReplicaSetCreate) Get() *ReplicaSetCreate
func (NullableReplicaSetCreate) IsSet ¶
func (v NullableReplicaSetCreate) IsSet() bool
func (NullableReplicaSetCreate) MarshalJSON ¶
func (v NullableReplicaSetCreate) MarshalJSON() ([]byte, error)
func (*NullableReplicaSetCreate) Set ¶
func (v *NullableReplicaSetCreate) Set(val *ReplicaSetCreate)
func (*NullableReplicaSetCreate) UnmarshalJSON ¶
func (v *NullableReplicaSetCreate) UnmarshalJSON(src []byte) error
func (*NullableReplicaSetCreate) Unset ¶
func (v *NullableReplicaSetCreate) Unset()
type NullableReplicaSetEnsure ¶
type NullableReplicaSetEnsure struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSetEnsure ¶
func NewNullableReplicaSetEnsure(val *ReplicaSetEnsure) *NullableReplicaSetEnsure
func (NullableReplicaSetEnsure) Get ¶
func (v NullableReplicaSetEnsure) Get() *ReplicaSetEnsure
func (NullableReplicaSetEnsure) IsSet ¶
func (v NullableReplicaSetEnsure) IsSet() bool
func (NullableReplicaSetEnsure) MarshalJSON ¶
func (v NullableReplicaSetEnsure) MarshalJSON() ([]byte, error)
func (*NullableReplicaSetEnsure) Set ¶
func (v *NullableReplicaSetEnsure) Set(val *ReplicaSetEnsure)
func (*NullableReplicaSetEnsure) UnmarshalJSON ¶
func (v *NullableReplicaSetEnsure) UnmarshalJSON(src []byte) error
func (*NullableReplicaSetEnsure) Unset ¶
func (v *NullableReplicaSetEnsure) Unset()
type NullableReplicaSetMetadata ¶
type NullableReplicaSetMetadata struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSetMetadata ¶
func NewNullableReplicaSetMetadata(val *ReplicaSetMetadata) *NullableReplicaSetMetadata
func (NullableReplicaSetMetadata) Get ¶
func (v NullableReplicaSetMetadata) Get() *ReplicaSetMetadata
func (NullableReplicaSetMetadata) IsSet ¶
func (v NullableReplicaSetMetadata) IsSet() bool
func (NullableReplicaSetMetadata) MarshalJSON ¶
func (v NullableReplicaSetMetadata) MarshalJSON() ([]byte, error)
func (*NullableReplicaSetMetadata) Set ¶
func (v *NullableReplicaSetMetadata) Set(val *ReplicaSetMetadata)
func (*NullableReplicaSetMetadata) UnmarshalJSON ¶
func (v *NullableReplicaSetMetadata) UnmarshalJSON(src []byte) error
func (*NullableReplicaSetMetadata) Unset ¶
func (v *NullableReplicaSetMetadata) Unset()
type NullableReplicaSetMetadataAllOf ¶
type NullableReplicaSetMetadataAllOf struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSetMetadataAllOf ¶
func NewNullableReplicaSetMetadataAllOf(val *ReplicaSetMetadataAllOf) *NullableReplicaSetMetadataAllOf
func (NullableReplicaSetMetadataAllOf) Get ¶
func (v NullableReplicaSetMetadataAllOf) Get() *ReplicaSetMetadataAllOf
func (NullableReplicaSetMetadataAllOf) IsSet ¶
func (v NullableReplicaSetMetadataAllOf) IsSet() bool
func (NullableReplicaSetMetadataAllOf) MarshalJSON ¶
func (v NullableReplicaSetMetadataAllOf) MarshalJSON() ([]byte, error)
func (*NullableReplicaSetMetadataAllOf) Set ¶
func (v *NullableReplicaSetMetadataAllOf) Set(val *ReplicaSetMetadataAllOf)
func (*NullableReplicaSetMetadataAllOf) UnmarshalJSON ¶
func (v *NullableReplicaSetMetadataAllOf) UnmarshalJSON(src []byte) error
func (*NullableReplicaSetMetadataAllOf) Unset ¶
func (v *NullableReplicaSetMetadataAllOf) Unset()
type NullableReplicaSetRead ¶
type NullableReplicaSetRead struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSetRead ¶
func NewNullableReplicaSetRead(val *ReplicaSetRead) *NullableReplicaSetRead
func (NullableReplicaSetRead) Get ¶
func (v NullableReplicaSetRead) Get() *ReplicaSetRead
func (NullableReplicaSetRead) IsSet ¶
func (v NullableReplicaSetRead) IsSet() bool
func (NullableReplicaSetRead) MarshalJSON ¶
func (v NullableReplicaSetRead) MarshalJSON() ([]byte, error)
func (*NullableReplicaSetRead) Set ¶
func (v *NullableReplicaSetRead) Set(val *ReplicaSetRead)
func (*NullableReplicaSetRead) UnmarshalJSON ¶
func (v *NullableReplicaSetRead) UnmarshalJSON(src []byte) error
func (*NullableReplicaSetRead) Unset ¶
func (v *NullableReplicaSetRead) Unset()
type NullableReplicaSetReadList ¶
type NullableReplicaSetReadList struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSetReadList ¶
func NewNullableReplicaSetReadList(val *ReplicaSetReadList) *NullableReplicaSetReadList
func (NullableReplicaSetReadList) Get ¶
func (v NullableReplicaSetReadList) Get() *ReplicaSetReadList
func (NullableReplicaSetReadList) IsSet ¶
func (v NullableReplicaSetReadList) IsSet() bool
func (NullableReplicaSetReadList) MarshalJSON ¶
func (v NullableReplicaSetReadList) MarshalJSON() ([]byte, error)
func (*NullableReplicaSetReadList) Set ¶
func (v *NullableReplicaSetReadList) Set(val *ReplicaSetReadList)
func (*NullableReplicaSetReadList) UnmarshalJSON ¶
func (v *NullableReplicaSetReadList) UnmarshalJSON(src []byte) error
func (*NullableReplicaSetReadList) Unset ¶
func (v *NullableReplicaSetReadList) Unset()
type NullableReplicaSetReadListAllOf ¶
type NullableReplicaSetReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableReplicaSetReadListAllOf ¶
func NewNullableReplicaSetReadListAllOf(val *ReplicaSetReadListAllOf) *NullableReplicaSetReadListAllOf
func (NullableReplicaSetReadListAllOf) Get ¶
func (v NullableReplicaSetReadListAllOf) Get() *ReplicaSetReadListAllOf
func (NullableReplicaSetReadListAllOf) IsSet ¶
func (v NullableReplicaSetReadListAllOf) IsSet() bool
func (NullableReplicaSetReadListAllOf) MarshalJSON ¶
func (v NullableReplicaSetReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableReplicaSetReadListAllOf) Set ¶
func (v *NullableReplicaSetReadListAllOf) Set(val *ReplicaSetReadListAllOf)
func (*NullableReplicaSetReadListAllOf) UnmarshalJSON ¶
func (v *NullableReplicaSetReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableReplicaSetReadListAllOf) Unset ¶
func (v *NullableReplicaSetReadListAllOf) Unset()
type NullableResourceState ¶
type NullableResourceState struct {
// contains filtered or unexported fields
}
func NewNullableResourceState ¶
func NewNullableResourceState(val *ResourceState) *NullableResourceState
func (NullableResourceState) Get ¶
func (v NullableResourceState) Get() *ResourceState
func (NullableResourceState) IsSet ¶
func (v NullableResourceState) IsSet() bool
func (NullableResourceState) MarshalJSON ¶
func (v NullableResourceState) MarshalJSON() ([]byte, error)
func (*NullableResourceState) Set ¶
func (v *NullableResourceState) Set(val *ResourceState)
func (*NullableResourceState) UnmarshalJSON ¶
func (v *NullableResourceState) UnmarshalJSON(src []byte) error
func (*NullableResourceState) Unset ¶
func (v *NullableResourceState) Unset()
type NullableResources ¶
type NullableResources struct {
// contains filtered or unexported fields
}
func NewNullableResources ¶
func NewNullableResources(val *Resources) *NullableResources
func (NullableResources) Get ¶
func (v NullableResources) Get() *Resources
func (NullableResources) IsSet ¶
func (v NullableResources) IsSet() bool
func (NullableResources) MarshalJSON ¶
func (v NullableResources) MarshalJSON() ([]byte, error)
func (*NullableResources) Set ¶
func (v *NullableResources) Set(val *Resources)
func (*NullableResources) UnmarshalJSON ¶
func (v *NullableResources) UnmarshalJSON(src []byte) error
func (*NullableResources) Unset ¶
func (v *NullableResources) Unset()
type NullableRestore ¶
type NullableRestore struct {
// contains filtered or unexported fields
}
func NewNullableRestore ¶
func NewNullableRestore(val *Restore) *NullableRestore
func (NullableRestore) Get ¶
func (v NullableRestore) Get() *Restore
func (NullableRestore) IsSet ¶
func (v NullableRestore) IsSet() bool
func (NullableRestore) MarshalJSON ¶
func (v NullableRestore) MarshalJSON() ([]byte, error)
func (*NullableRestore) Set ¶
func (v *NullableRestore) Set(val *Restore)
func (*NullableRestore) UnmarshalJSON ¶
func (v *NullableRestore) UnmarshalJSON(src []byte) error
func (*NullableRestore) Unset ¶
func (v *NullableRestore) Unset()
type NullableRestoreCreate ¶
type NullableRestoreCreate struct {
// contains filtered or unexported fields
}
func NewNullableRestoreCreate ¶
func NewNullableRestoreCreate(val *RestoreCreate) *NullableRestoreCreate
func (NullableRestoreCreate) Get ¶
func (v NullableRestoreCreate) Get() *RestoreCreate
func (NullableRestoreCreate) IsSet ¶
func (v NullableRestoreCreate) IsSet() bool
func (NullableRestoreCreate) MarshalJSON ¶
func (v NullableRestoreCreate) MarshalJSON() ([]byte, error)
func (*NullableRestoreCreate) Set ¶
func (v *NullableRestoreCreate) Set(val *RestoreCreate)
func (*NullableRestoreCreate) UnmarshalJSON ¶
func (v *NullableRestoreCreate) UnmarshalJSON(src []byte) error
func (*NullableRestoreCreate) Unset ¶
func (v *NullableRestoreCreate) Unset()
type NullableRestoreMetadata ¶
type NullableRestoreMetadata struct {
// contains filtered or unexported fields
}
func NewNullableRestoreMetadata ¶
func NewNullableRestoreMetadata(val *RestoreMetadata) *NullableRestoreMetadata
func (NullableRestoreMetadata) Get ¶
func (v NullableRestoreMetadata) Get() *RestoreMetadata
func (NullableRestoreMetadata) IsSet ¶
func (v NullableRestoreMetadata) IsSet() bool
func (NullableRestoreMetadata) MarshalJSON ¶
func (v NullableRestoreMetadata) MarshalJSON() ([]byte, error)
func (*NullableRestoreMetadata) Set ¶
func (v *NullableRestoreMetadata) Set(val *RestoreMetadata)
func (*NullableRestoreMetadata) UnmarshalJSON ¶
func (v *NullableRestoreMetadata) UnmarshalJSON(src []byte) error
func (*NullableRestoreMetadata) Unset ¶
func (v *NullableRestoreMetadata) Unset()
type NullableRestoreMetadataAllOf ¶
type NullableRestoreMetadataAllOf struct {
// contains filtered or unexported fields
}
func NewNullableRestoreMetadataAllOf ¶
func NewNullableRestoreMetadataAllOf(val *RestoreMetadataAllOf) *NullableRestoreMetadataAllOf
func (NullableRestoreMetadataAllOf) Get ¶
func (v NullableRestoreMetadataAllOf) Get() *RestoreMetadataAllOf
func (NullableRestoreMetadataAllOf) IsSet ¶
func (v NullableRestoreMetadataAllOf) IsSet() bool
func (NullableRestoreMetadataAllOf) MarshalJSON ¶
func (v NullableRestoreMetadataAllOf) MarshalJSON() ([]byte, error)
func (*NullableRestoreMetadataAllOf) Set ¶
func (v *NullableRestoreMetadataAllOf) Set(val *RestoreMetadataAllOf)
func (*NullableRestoreMetadataAllOf) UnmarshalJSON ¶
func (v *NullableRestoreMetadataAllOf) UnmarshalJSON(src []byte) error
func (*NullableRestoreMetadataAllOf) Unset ¶
func (v *NullableRestoreMetadataAllOf) Unset()
type NullableRestoreRead ¶
type NullableRestoreRead struct {
// contains filtered or unexported fields
}
func NewNullableRestoreRead ¶
func NewNullableRestoreRead(val *RestoreRead) *NullableRestoreRead
func (NullableRestoreRead) Get ¶
func (v NullableRestoreRead) Get() *RestoreRead
func (NullableRestoreRead) IsSet ¶
func (v NullableRestoreRead) IsSet() bool
func (NullableRestoreRead) MarshalJSON ¶
func (v NullableRestoreRead) MarshalJSON() ([]byte, error)
func (*NullableRestoreRead) Set ¶
func (v *NullableRestoreRead) Set(val *RestoreRead)
func (*NullableRestoreRead) UnmarshalJSON ¶
func (v *NullableRestoreRead) UnmarshalJSON(src []byte) error
func (*NullableRestoreRead) Unset ¶
func (v *NullableRestoreRead) Unset()
type NullableRestoreReadList ¶
type NullableRestoreReadList struct {
// contains filtered or unexported fields
}
func NewNullableRestoreReadList ¶
func NewNullableRestoreReadList(val *RestoreReadList) *NullableRestoreReadList
func (NullableRestoreReadList) Get ¶
func (v NullableRestoreReadList) Get() *RestoreReadList
func (NullableRestoreReadList) IsSet ¶
func (v NullableRestoreReadList) IsSet() bool
func (NullableRestoreReadList) MarshalJSON ¶
func (v NullableRestoreReadList) MarshalJSON() ([]byte, error)
func (*NullableRestoreReadList) Set ¶
func (v *NullableRestoreReadList) Set(val *RestoreReadList)
func (*NullableRestoreReadList) UnmarshalJSON ¶
func (v *NullableRestoreReadList) UnmarshalJSON(src []byte) error
func (*NullableRestoreReadList) Unset ¶
func (v *NullableRestoreReadList) Unset()
type NullableRestoreReadListAllOf ¶
type NullableRestoreReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableRestoreReadListAllOf ¶
func NewNullableRestoreReadListAllOf(val *RestoreReadListAllOf) *NullableRestoreReadListAllOf
func (NullableRestoreReadListAllOf) Get ¶
func (v NullableRestoreReadListAllOf) Get() *RestoreReadListAllOf
func (NullableRestoreReadListAllOf) IsSet ¶
func (v NullableRestoreReadListAllOf) IsSet() bool
func (NullableRestoreReadListAllOf) MarshalJSON ¶
func (v NullableRestoreReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableRestoreReadListAllOf) Set ¶
func (v *NullableRestoreReadListAllOf) Set(val *RestoreReadListAllOf)
func (*NullableRestoreReadListAllOf) UnmarshalJSON ¶
func (v *NullableRestoreReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableRestoreReadListAllOf) Unset ¶
func (v *NullableRestoreReadListAllOf) Unset()
type NullableSnapshotCreate ¶
type NullableSnapshotCreate struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotCreate ¶
func NewNullableSnapshotCreate(val *SnapshotCreate) *NullableSnapshotCreate
func (NullableSnapshotCreate) Get ¶
func (v NullableSnapshotCreate) Get() *SnapshotCreate
func (NullableSnapshotCreate) IsSet ¶
func (v NullableSnapshotCreate) IsSet() bool
func (NullableSnapshotCreate) MarshalJSON ¶
func (v NullableSnapshotCreate) MarshalJSON() ([]byte, error)
func (*NullableSnapshotCreate) Set ¶
func (v *NullableSnapshotCreate) Set(val *SnapshotCreate)
func (*NullableSnapshotCreate) UnmarshalJSON ¶
func (v *NullableSnapshotCreate) UnmarshalJSON(src []byte) error
func (*NullableSnapshotCreate) Unset ¶
func (v *NullableSnapshotCreate) Unset()
type NullableSnapshotEnsure ¶
type NullableSnapshotEnsure struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotEnsure ¶
func NewNullableSnapshotEnsure(val *SnapshotEnsure) *NullableSnapshotEnsure
func (NullableSnapshotEnsure) Get ¶
func (v NullableSnapshotEnsure) Get() *SnapshotEnsure
func (NullableSnapshotEnsure) IsSet ¶
func (v NullableSnapshotEnsure) IsSet() bool
func (NullableSnapshotEnsure) MarshalJSON ¶
func (v NullableSnapshotEnsure) MarshalJSON() ([]byte, error)
func (*NullableSnapshotEnsure) Set ¶
func (v *NullableSnapshotEnsure) Set(val *SnapshotEnsure)
func (*NullableSnapshotEnsure) UnmarshalJSON ¶
func (v *NullableSnapshotEnsure) UnmarshalJSON(src []byte) error
func (*NullableSnapshotEnsure) Unset ¶
func (v *NullableSnapshotEnsure) Unset()
type NullableSnapshotMetadata ¶
type NullableSnapshotMetadata struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotMetadata ¶
func NewNullableSnapshotMetadata(val *SnapshotMetadata) *NullableSnapshotMetadata
func (NullableSnapshotMetadata) Get ¶
func (v NullableSnapshotMetadata) Get() *SnapshotMetadata
func (NullableSnapshotMetadata) IsSet ¶
func (v NullableSnapshotMetadata) IsSet() bool
func (NullableSnapshotMetadata) MarshalJSON ¶
func (v NullableSnapshotMetadata) MarshalJSON() ([]byte, error)
func (*NullableSnapshotMetadata) Set ¶
func (v *NullableSnapshotMetadata) Set(val *SnapshotMetadata)
func (*NullableSnapshotMetadata) UnmarshalJSON ¶
func (v *NullableSnapshotMetadata) UnmarshalJSON(src []byte) error
func (*NullableSnapshotMetadata) Unset ¶
func (v *NullableSnapshotMetadata) Unset()
type NullableSnapshotMetadataAllOf ¶
type NullableSnapshotMetadataAllOf struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotMetadataAllOf ¶
func NewNullableSnapshotMetadataAllOf(val *SnapshotMetadataAllOf) *NullableSnapshotMetadataAllOf
func (NullableSnapshotMetadataAllOf) Get ¶
func (v NullableSnapshotMetadataAllOf) Get() *SnapshotMetadataAllOf
func (NullableSnapshotMetadataAllOf) IsSet ¶
func (v NullableSnapshotMetadataAllOf) IsSet() bool
func (NullableSnapshotMetadataAllOf) MarshalJSON ¶
func (v NullableSnapshotMetadataAllOf) MarshalJSON() ([]byte, error)
func (*NullableSnapshotMetadataAllOf) Set ¶
func (v *NullableSnapshotMetadataAllOf) Set(val *SnapshotMetadataAllOf)
func (*NullableSnapshotMetadataAllOf) UnmarshalJSON ¶
func (v *NullableSnapshotMetadataAllOf) UnmarshalJSON(src []byte) error
func (*NullableSnapshotMetadataAllOf) Unset ¶
func (v *NullableSnapshotMetadataAllOf) Unset()
type NullableSnapshotRead ¶
type NullableSnapshotRead struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotRead ¶
func NewNullableSnapshotRead(val *SnapshotRead) *NullableSnapshotRead
func (NullableSnapshotRead) Get ¶
func (v NullableSnapshotRead) Get() *SnapshotRead
func (NullableSnapshotRead) IsSet ¶
func (v NullableSnapshotRead) IsSet() bool
func (NullableSnapshotRead) MarshalJSON ¶
func (v NullableSnapshotRead) MarshalJSON() ([]byte, error)
func (*NullableSnapshotRead) Set ¶
func (v *NullableSnapshotRead) Set(val *SnapshotRead)
func (*NullableSnapshotRead) UnmarshalJSON ¶
func (v *NullableSnapshotRead) UnmarshalJSON(src []byte) error
func (*NullableSnapshotRead) Unset ¶
func (v *NullableSnapshotRead) Unset()
type NullableSnapshotReadList ¶
type NullableSnapshotReadList struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotReadList ¶
func NewNullableSnapshotReadList(val *SnapshotReadList) *NullableSnapshotReadList
func (NullableSnapshotReadList) Get ¶
func (v NullableSnapshotReadList) Get() *SnapshotReadList
func (NullableSnapshotReadList) IsSet ¶
func (v NullableSnapshotReadList) IsSet() bool
func (NullableSnapshotReadList) MarshalJSON ¶
func (v NullableSnapshotReadList) MarshalJSON() ([]byte, error)
func (*NullableSnapshotReadList) Set ¶
func (v *NullableSnapshotReadList) Set(val *SnapshotReadList)
func (*NullableSnapshotReadList) UnmarshalJSON ¶
func (v *NullableSnapshotReadList) UnmarshalJSON(src []byte) error
func (*NullableSnapshotReadList) Unset ¶
func (v *NullableSnapshotReadList) Unset()
type NullableSnapshotReadListAllOf ¶
type NullableSnapshotReadListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotReadListAllOf ¶
func NewNullableSnapshotReadListAllOf(val *SnapshotReadListAllOf) *NullableSnapshotReadListAllOf
func (NullableSnapshotReadListAllOf) Get ¶
func (v NullableSnapshotReadListAllOf) Get() *SnapshotReadListAllOf
func (NullableSnapshotReadListAllOf) IsSet ¶
func (v NullableSnapshotReadListAllOf) IsSet() bool
func (NullableSnapshotReadListAllOf) MarshalJSON ¶
func (v NullableSnapshotReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableSnapshotReadListAllOf) Set ¶
func (v *NullableSnapshotReadListAllOf) Set(val *SnapshotReadListAllOf)
func (*NullableSnapshotReadListAllOf) UnmarshalJSON ¶
func (v *NullableSnapshotReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableSnapshotReadListAllOf) Unset ¶
func (v *NullableSnapshotReadListAllOf) 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 NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserPassword ¶
type NullableUserPassword struct {
// contains filtered or unexported fields
}
func NewNullableUserPassword ¶
func NewNullableUserPassword(val *UserPassword) *NullableUserPassword
func (NullableUserPassword) Get ¶
func (v NullableUserPassword) Get() *UserPassword
func (NullableUserPassword) IsSet ¶
func (v NullableUserPassword) IsSet() bool
func (NullableUserPassword) MarshalJSON ¶
func (v NullableUserPassword) MarshalJSON() ([]byte, error)
func (*NullableUserPassword) Set ¶
func (v *NullableUserPassword) Set(val *UserPassword)
func (*NullableUserPassword) UnmarshalJSON ¶
func (v *NullableUserPassword) UnmarshalJSON(src []byte) error
func (*NullableUserPassword) Unset ¶
func (v *NullableUserPassword) Unset()
type Pagination ¶
type Pagination struct { // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit *int32 `json:"limit"` Links *Links `json:"_links"` }
Pagination Pagination information. The offset and limit parameters are used to navigate the list of elements. The _links object contains URLs to navigate the different pages.
func NewPagination ¶
func NewPagination(offset int32, limit int32, links Links) *Pagination
NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetLimit ¶
func (o *Pagination) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*Pagination) GetLimitOk ¶
func (o *Pagination) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
func (*Pagination) GetLinksOk ¶
func (o *Pagination) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) GetOffset ¶
func (o *Pagination) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*Pagination) GetOffsetOk ¶
func (o *Pagination) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) HasLimit ¶
func (o *Pagination) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*Pagination) HasLinks ¶
func (o *Pagination) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*Pagination) HasOffset ¶
func (o *Pagination) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
type PersistenceMode ¶
type PersistenceMode string
PersistenceMode Specifies How and If data is persisted. | Mode | Description | |-------------------------------|-------------| | **None** | Data is inMemory only and will not be persisted. Useful for cache only applications. | | **AOF** (Append Only File) | AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the In-Memory DB protocol itself. | | **RDB** | RDB persistence performs snapshots of the current in memory state. | | **RDB_AOF** | Booth, RDB and AOF persistence are enabled. |
const ( PERSISTENCEMODE_NONE PersistenceMode = "None" PERSISTENCEMODE_AOF PersistenceMode = "AOF" PERSISTENCEMODE_RDB PersistenceMode = "RDB" PERSISTENCEMODE_RDB_AOF PersistenceMode = "RDB_AOF" )
List of PersistenceMode
func (PersistenceMode) Ptr ¶
func (v PersistenceMode) Ptr() *PersistenceMode
Ptr returns reference to PersistenceMode value
func (*PersistenceMode) UnmarshalJSON ¶
func (v *PersistenceMode) UnmarshalJSON(src []byte) error
type ReplicaSet ¶
type ReplicaSet struct { // The human readable name of your replica set. DisplayName *string `json:"displayName"` // The In-Memory DB version of your replica set. Version *string `json:"version"` // The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is >1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance. Replicas *int32 `json:"replicas"` Resources *Resources `json:"resources"` PersistenceMode *PersistenceMode `json:"persistenceMode"` EvictionPolicy *EvictionPolicy `json:"evictionPolicy"` // The network connection for your replica set. Only one connection is allowed. Connections *[]Connection `json:"connections"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` Credentials *User `json:"credentials"` // The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot. InitialSnapshotId *string `json:"initialSnapshotId,omitempty"` }
ReplicaSet Properties with all data needed to create a new In-Memory DB replication.
func NewReplicaSet ¶
func NewReplicaSet(displayName string, version string, replicas int32, resources Resources, persistenceMode PersistenceMode, evictionPolicy EvictionPolicy, connections []Connection, credentials User) *ReplicaSet
NewReplicaSet instantiates a new ReplicaSet 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 NewReplicaSetWithDefaults ¶
func NewReplicaSetWithDefaults() *ReplicaSet
NewReplicaSetWithDefaults instantiates a new ReplicaSet 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 (*ReplicaSet) GetConnections ¶
func (o *ReplicaSet) GetConnections() *[]Connection
GetConnections returns the Connections field value If the value is explicit nil, the zero value for []Connection will be returned
func (*ReplicaSet) GetConnectionsOk ¶
func (o *ReplicaSet) GetConnectionsOk() (*[]Connection, bool)
GetConnectionsOk returns a tuple with the Connections field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetCredentials ¶
func (o *ReplicaSet) GetCredentials() *User
GetCredentials returns the Credentials field value If the value is explicit nil, the zero value for User will be returned
func (*ReplicaSet) GetCredentialsOk ¶
func (o *ReplicaSet) GetCredentialsOk() (*User, bool)
GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetDisplayName ¶
func (o *ReplicaSet) GetDisplayName() *string
GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSet) GetDisplayNameOk ¶
func (o *ReplicaSet) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetEvictionPolicy ¶
func (o *ReplicaSet) GetEvictionPolicy() *EvictionPolicy
GetEvictionPolicy returns the EvictionPolicy field value If the value is explicit nil, the zero value for EvictionPolicy will be returned
func (*ReplicaSet) GetEvictionPolicyOk ¶
func (o *ReplicaSet) GetEvictionPolicyOk() (*EvictionPolicy, bool)
GetEvictionPolicyOk returns a tuple with the EvictionPolicy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetInitialSnapshotId ¶
func (o *ReplicaSet) GetInitialSnapshotId() *string
GetInitialSnapshotId returns the InitialSnapshotId field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSet) GetInitialSnapshotIdOk ¶
func (o *ReplicaSet) GetInitialSnapshotIdOk() (*string, bool)
GetInitialSnapshotIdOk returns a tuple with the InitialSnapshotId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetMaintenanceWindow ¶
func (o *ReplicaSet) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*ReplicaSet) GetMaintenanceWindowOk ¶
func (o *ReplicaSet) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetPersistenceMode ¶
func (o *ReplicaSet) GetPersistenceMode() *PersistenceMode
GetPersistenceMode returns the PersistenceMode field value If the value is explicit nil, the zero value for PersistenceMode will be returned
func (*ReplicaSet) GetPersistenceModeOk ¶
func (o *ReplicaSet) GetPersistenceModeOk() (*PersistenceMode, bool)
GetPersistenceModeOk returns a tuple with the PersistenceMode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetReplicas ¶
func (o *ReplicaSet) GetReplicas() *int32
GetReplicas returns the Replicas field value If the value is explicit nil, the zero value for int32 will be returned
func (*ReplicaSet) GetReplicasOk ¶
func (o *ReplicaSet) GetReplicasOk() (*int32, bool)
GetReplicasOk returns a tuple with the Replicas field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetResources ¶
func (o *ReplicaSet) GetResources() *Resources
GetResources returns the Resources field value If the value is explicit nil, the zero value for Resources will be returned
func (*ReplicaSet) GetResourcesOk ¶
func (o *ReplicaSet) GetResourcesOk() (*Resources, bool)
GetResourcesOk returns a tuple with the Resources field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) GetVersion ¶
func (o *ReplicaSet) GetVersion() *string
GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSet) GetVersionOk ¶
func (o *ReplicaSet) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSet) HasConnections ¶
func (o *ReplicaSet) HasConnections() bool
HasConnections returns a boolean if a field has been set.
func (*ReplicaSet) HasCredentials ¶
func (o *ReplicaSet) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
func (*ReplicaSet) HasDisplayName ¶
func (o *ReplicaSet) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*ReplicaSet) HasEvictionPolicy ¶
func (o *ReplicaSet) HasEvictionPolicy() bool
HasEvictionPolicy returns a boolean if a field has been set.
func (*ReplicaSet) HasInitialSnapshotId ¶
func (o *ReplicaSet) HasInitialSnapshotId() bool
HasInitialSnapshotId returns a boolean if a field has been set.
func (*ReplicaSet) HasMaintenanceWindow ¶
func (o *ReplicaSet) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*ReplicaSet) HasPersistenceMode ¶
func (o *ReplicaSet) HasPersistenceMode() bool
HasPersistenceMode returns a boolean if a field has been set.
func (*ReplicaSet) HasReplicas ¶
func (o *ReplicaSet) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (*ReplicaSet) HasResources ¶
func (o *ReplicaSet) HasResources() bool
HasResources returns a boolean if a field has been set.
func (*ReplicaSet) HasVersion ¶
func (o *ReplicaSet) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ReplicaSet) MarshalJSON ¶
func (o ReplicaSet) MarshalJSON() ([]byte, error)
func (*ReplicaSet) SetConnections ¶
func (o *ReplicaSet) SetConnections(v []Connection)
SetConnections sets field value
func (*ReplicaSet) SetCredentials ¶
func (o *ReplicaSet) SetCredentials(v User)
SetCredentials sets field value
func (*ReplicaSet) SetDisplayName ¶
func (o *ReplicaSet) SetDisplayName(v string)
SetDisplayName sets field value
func (*ReplicaSet) SetEvictionPolicy ¶
func (o *ReplicaSet) SetEvictionPolicy(v EvictionPolicy)
SetEvictionPolicy sets field value
func (*ReplicaSet) SetInitialSnapshotId ¶
func (o *ReplicaSet) SetInitialSnapshotId(v string)
SetInitialSnapshotId sets field value
func (*ReplicaSet) SetMaintenanceWindow ¶
func (o *ReplicaSet) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*ReplicaSet) SetPersistenceMode ¶
func (o *ReplicaSet) SetPersistenceMode(v PersistenceMode)
SetPersistenceMode sets field value
func (*ReplicaSet) SetReplicas ¶
func (o *ReplicaSet) SetReplicas(v int32)
SetReplicas sets field value
func (*ReplicaSet) SetResources ¶
func (o *ReplicaSet) SetResources(v Resources)
SetResources sets field value
func (*ReplicaSet) SetVersion ¶
func (o *ReplicaSet) SetVersion(v string)
SetVersion sets field value
type ReplicaSetApiService ¶
type ReplicaSetApiService service
ReplicaSetApiService ReplicaSetApi service
func (*ReplicaSetApiService) ReplicasetsDelete ¶
func (a *ReplicaSetApiService) ReplicasetsDelete(ctx _context.Context, replicasetId string) ApiReplicasetsDeleteRequest
* ReplicasetsDelete Delete ReplicaSet * Deletes the specified ReplicaSet. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param replicasetId The ID (UUID) of the ReplicaSet. * @return ApiReplicasetsDeleteRequest
func (*ReplicaSetApiService) ReplicasetsDeleteExecute ¶
func (a *ReplicaSetApiService) ReplicasetsDeleteExecute(r ApiReplicasetsDeleteRequest) (*APIResponse, error)
* Execute executes the request
func (*ReplicaSetApiService) ReplicasetsFindById ¶
func (a *ReplicaSetApiService) ReplicasetsFindById(ctx _context.Context, replicasetId string) ApiReplicasetsFindByIdRequest
* ReplicasetsFindById Retrieve ReplicaSet * Returns the ReplicaSet by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param replicasetId The ID (UUID) of the ReplicaSet. * @return ApiReplicasetsFindByIdRequest
func (*ReplicaSetApiService) ReplicasetsFindByIdExecute ¶
func (a *ReplicaSetApiService) ReplicasetsFindByIdExecute(r ApiReplicasetsFindByIdRequest) (ReplicaSetRead, *APIResponse, error)
* Execute executes the request * @return ReplicaSetRead
func (*ReplicaSetApiService) ReplicasetsGet ¶
func (a *ReplicaSetApiService) ReplicasetsGet(ctx _context.Context) ApiReplicasetsGetRequest
- ReplicasetsGet Retrieve all ReplicaSet
- This endpoint enables retrieving all ReplicaSet using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiReplicasetsGetRequest
func (*ReplicaSetApiService) ReplicasetsGetExecute ¶
func (a *ReplicaSetApiService) ReplicasetsGetExecute(r ApiReplicasetsGetRequest) (ReplicaSetReadList, *APIResponse, error)
* Execute executes the request * @return ReplicaSetReadList
func (*ReplicaSetApiService) ReplicasetsPost ¶
func (a *ReplicaSetApiService) ReplicasetsPost(ctx _context.Context) ApiReplicasetsPostRequest
- ReplicasetsPost Create ReplicaSet
- Creates a new ReplicaSet.
The full ReplicaSet needs to be provided to create the object. Optional data will be filled with defaults or left empty.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiReplicasetsPostRequest
func (*ReplicaSetApiService) ReplicasetsPostExecute ¶
func (a *ReplicaSetApiService) ReplicasetsPostExecute(r ApiReplicasetsPostRequest) (ReplicaSetRead, *APIResponse, error)
* Execute executes the request * @return ReplicaSetRead
func (*ReplicaSetApiService) ReplicasetsPut ¶
func (a *ReplicaSetApiService) ReplicasetsPut(ctx _context.Context, replicasetId string) ApiReplicasetsPutRequest
- ReplicasetsPut Ensure ReplicaSet
- Ensures that the ReplicaSet with the provided ID is created or modified.
The full ReplicaSet needs to be provided to ensure (either update or create) the ReplicaSet. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param replicasetId The ID (UUID) of the ReplicaSet.
- @return ApiReplicasetsPutRequest
func (*ReplicaSetApiService) ReplicasetsPutExecute ¶
func (a *ReplicaSetApiService) ReplicasetsPutExecute(r ApiReplicasetsPutRequest) (ReplicaSetRead, *APIResponse, error)
* Execute executes the request * @return ReplicaSetRead
type ReplicaSetCreate ¶
type ReplicaSetCreate struct { // Metadata Metadata *map[string]interface{} `json:"metadata,omitempty"` Properties *ReplicaSet `json:"properties"` }
ReplicaSetCreate struct for ReplicaSetCreate
func NewReplicaSetCreate ¶
func NewReplicaSetCreate(properties ReplicaSet) *ReplicaSetCreate
NewReplicaSetCreate instantiates a new ReplicaSetCreate 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 NewReplicaSetCreateWithDefaults ¶
func NewReplicaSetCreateWithDefaults() *ReplicaSetCreate
NewReplicaSetCreateWithDefaults instantiates a new ReplicaSetCreate 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 (*ReplicaSetCreate) GetMetadata ¶
func (o *ReplicaSetCreate) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*ReplicaSetCreate) GetMetadataOk ¶
func (o *ReplicaSetCreate) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetCreate) GetProperties ¶
func (o *ReplicaSetCreate) GetProperties() *ReplicaSet
GetProperties returns the Properties field value If the value is explicit nil, the zero value for ReplicaSet will be returned
func (*ReplicaSetCreate) GetPropertiesOk ¶
func (o *ReplicaSetCreate) GetPropertiesOk() (*ReplicaSet, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetCreate) HasMetadata ¶
func (o *ReplicaSetCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ReplicaSetCreate) HasProperties ¶
func (o *ReplicaSetCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ReplicaSetCreate) MarshalJSON ¶
func (o ReplicaSetCreate) MarshalJSON() ([]byte, error)
func (*ReplicaSetCreate) SetMetadata ¶
func (o *ReplicaSetCreate) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*ReplicaSetCreate) SetProperties ¶
func (o *ReplicaSetCreate) SetProperties(v ReplicaSet)
SetProperties sets field value
type ReplicaSetEnsure ¶
type ReplicaSetEnsure struct { // The ID (UUID) of the ReplicaSet. Id *string `json:"id"` // Metadata Metadata *map[string]interface{} `json:"metadata,omitempty"` Properties *ReplicaSet `json:"properties"` }
ReplicaSetEnsure struct for ReplicaSetEnsure
func NewReplicaSetEnsure ¶
func NewReplicaSetEnsure(id string, properties ReplicaSet) *ReplicaSetEnsure
NewReplicaSetEnsure instantiates a new ReplicaSetEnsure 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 NewReplicaSetEnsureWithDefaults ¶
func NewReplicaSetEnsureWithDefaults() *ReplicaSetEnsure
NewReplicaSetEnsureWithDefaults instantiates a new ReplicaSetEnsure 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 (*ReplicaSetEnsure) GetId ¶
func (o *ReplicaSetEnsure) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetEnsure) GetIdOk ¶
func (o *ReplicaSetEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetEnsure) GetMetadata ¶
func (o *ReplicaSetEnsure) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*ReplicaSetEnsure) GetMetadataOk ¶
func (o *ReplicaSetEnsure) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetEnsure) GetProperties ¶
func (o *ReplicaSetEnsure) GetProperties() *ReplicaSet
GetProperties returns the Properties field value If the value is explicit nil, the zero value for ReplicaSet will be returned
func (*ReplicaSetEnsure) GetPropertiesOk ¶
func (o *ReplicaSetEnsure) GetPropertiesOk() (*ReplicaSet, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetEnsure) HasId ¶
func (o *ReplicaSetEnsure) HasId() bool
HasId returns a boolean if a field has been set.
func (*ReplicaSetEnsure) HasMetadata ¶
func (o *ReplicaSetEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ReplicaSetEnsure) HasProperties ¶
func (o *ReplicaSetEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ReplicaSetEnsure) MarshalJSON ¶
func (o ReplicaSetEnsure) MarshalJSON() ([]byte, error)
func (*ReplicaSetEnsure) SetMetadata ¶
func (o *ReplicaSetEnsure) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*ReplicaSetEnsure) SetProperties ¶
func (o *ReplicaSetEnsure) SetProperties(v ReplicaSet)
SetProperties sets field value
type ReplicaSetMetadata ¶
type ReplicaSetMetadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` State *string `json:"state"` // A human readable message describing the current state. In case of an error, the message will contain a detailed error message. Message *string `json:"message,omitempty"` // The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance. DnsName *string `json:"dnsName"` }
ReplicaSetMetadata struct for ReplicaSetMetadata
func NewReplicaSetMetadata ¶
func NewReplicaSetMetadata(state string, dnsName string) *ReplicaSetMetadata
NewReplicaSetMetadata instantiates a new ReplicaSetMetadata 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 NewReplicaSetMetadataWithDefaults ¶
func NewReplicaSetMetadataWithDefaults() *ReplicaSetMetadata
NewReplicaSetMetadataWithDefaults instantiates a new ReplicaSetMetadata 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 (*ReplicaSetMetadata) GetCreatedBy ¶
func (o *ReplicaSetMetadata) GetCreatedBy() *string
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetCreatedByOk ¶
func (o *ReplicaSetMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetCreatedByUserId ¶
func (o *ReplicaSetMetadata) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetCreatedByUserIdOk ¶
func (o *ReplicaSetMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetCreatedDate ¶
func (o *ReplicaSetMetadata) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*ReplicaSetMetadata) GetCreatedDateOk ¶
func (o *ReplicaSetMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetDnsName ¶
func (o *ReplicaSetMetadata) GetDnsName() *string
GetDnsName returns the DnsName field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetDnsNameOk ¶
func (o *ReplicaSetMetadata) GetDnsNameOk() (*string, bool)
GetDnsNameOk returns a tuple with the DnsName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetLastModifiedBy ¶
func (o *ReplicaSetMetadata) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetLastModifiedByOk ¶
func (o *ReplicaSetMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetLastModifiedByUserId ¶
func (o *ReplicaSetMetadata) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetLastModifiedByUserIdOk ¶
func (o *ReplicaSetMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetLastModifiedDate ¶
func (o *ReplicaSetMetadata) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*ReplicaSetMetadata) GetLastModifiedDateOk ¶
func (o *ReplicaSetMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetMessage ¶
func (o *ReplicaSetMetadata) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetMessageOk ¶
func (o *ReplicaSetMetadata) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetResourceURN ¶
func (o *ReplicaSetMetadata) GetResourceURN() *string
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetResourceURNOk ¶
func (o *ReplicaSetMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) GetState ¶
func (o *ReplicaSetMetadata) GetState() *string
GetState returns the State field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadata) GetStateOk ¶
func (o *ReplicaSetMetadata) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadata) HasCreatedBy ¶
func (o *ReplicaSetMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasCreatedByUserId ¶
func (o *ReplicaSetMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasCreatedDate ¶
func (o *ReplicaSetMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasDnsName ¶
func (o *ReplicaSetMetadata) HasDnsName() bool
HasDnsName returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasLastModifiedBy ¶
func (o *ReplicaSetMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasLastModifiedByUserId ¶
func (o *ReplicaSetMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasLastModifiedDate ¶
func (o *ReplicaSetMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasMessage ¶
func (o *ReplicaSetMetadata) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasResourceURN ¶
func (o *ReplicaSetMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*ReplicaSetMetadata) HasState ¶
func (o *ReplicaSetMetadata) HasState() bool
HasState returns a boolean if a field has been set.
func (ReplicaSetMetadata) MarshalJSON ¶
func (o ReplicaSetMetadata) MarshalJSON() ([]byte, error)
func (*ReplicaSetMetadata) SetCreatedBy ¶
func (o *ReplicaSetMetadata) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ReplicaSetMetadata) SetCreatedByUserId ¶
func (o *ReplicaSetMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*ReplicaSetMetadata) SetCreatedDate ¶
func (o *ReplicaSetMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*ReplicaSetMetadata) SetDnsName ¶
func (o *ReplicaSetMetadata) SetDnsName(v string)
SetDnsName sets field value
func (*ReplicaSetMetadata) SetLastModifiedBy ¶
func (o *ReplicaSetMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*ReplicaSetMetadata) SetLastModifiedByUserId ¶
func (o *ReplicaSetMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*ReplicaSetMetadata) SetLastModifiedDate ¶
func (o *ReplicaSetMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*ReplicaSetMetadata) SetMessage ¶
func (o *ReplicaSetMetadata) SetMessage(v string)
SetMessage sets field value
func (*ReplicaSetMetadata) SetResourceURN ¶
func (o *ReplicaSetMetadata) SetResourceURN(v string)
SetResourceURN sets field value
func (*ReplicaSetMetadata) SetState ¶
func (o *ReplicaSetMetadata) SetState(v string)
SetState sets field value
type ReplicaSetMetadataAllOf ¶
type ReplicaSetMetadataAllOf struct { // The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance. DnsName *string `json:"dnsName"` }
ReplicaSetMetadataAllOf struct for ReplicaSetMetadataAllOf
func NewReplicaSetMetadataAllOf ¶
func NewReplicaSetMetadataAllOf(dnsName string) *ReplicaSetMetadataAllOf
NewReplicaSetMetadataAllOf instantiates a new ReplicaSetMetadataAllOf 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 NewReplicaSetMetadataAllOfWithDefaults ¶
func NewReplicaSetMetadataAllOfWithDefaults() *ReplicaSetMetadataAllOf
NewReplicaSetMetadataAllOfWithDefaults instantiates a new ReplicaSetMetadataAllOf 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 (*ReplicaSetMetadataAllOf) GetDnsName ¶
func (o *ReplicaSetMetadataAllOf) GetDnsName() *string
GetDnsName returns the DnsName field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetMetadataAllOf) GetDnsNameOk ¶
func (o *ReplicaSetMetadataAllOf) GetDnsNameOk() (*string, bool)
GetDnsNameOk returns a tuple with the DnsName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetMetadataAllOf) HasDnsName ¶
func (o *ReplicaSetMetadataAllOf) HasDnsName() bool
HasDnsName returns a boolean if a field has been set.
func (ReplicaSetMetadataAllOf) MarshalJSON ¶
func (o ReplicaSetMetadataAllOf) MarshalJSON() ([]byte, error)
func (*ReplicaSetMetadataAllOf) SetDnsName ¶
func (o *ReplicaSetMetadataAllOf) SetDnsName(v string)
SetDnsName sets field value
type ReplicaSetRead ¶
type ReplicaSetRead struct { // The ID (UUID) of the ReplicaSet. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the ReplicaSet. Href *string `json:"href"` Metadata *ReplicaSetMetadata `json:"metadata"` Properties *ReplicaSet `json:"properties"` }
ReplicaSetRead struct for ReplicaSetRead
func NewReplicaSetRead ¶
func NewReplicaSetRead(id string, type_ string, href string, metadata ReplicaSetMetadata, properties ReplicaSet) *ReplicaSetRead
NewReplicaSetRead instantiates a new ReplicaSetRead 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 NewReplicaSetReadWithDefaults ¶
func NewReplicaSetReadWithDefaults() *ReplicaSetRead
NewReplicaSetReadWithDefaults instantiates a new ReplicaSetRead 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 (*ReplicaSetRead) GetHref ¶
func (o *ReplicaSetRead) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetRead) GetHrefOk ¶
func (o *ReplicaSetRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetRead) GetId ¶
func (o *ReplicaSetRead) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetRead) GetIdOk ¶
func (o *ReplicaSetRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetRead) GetMetadata ¶
func (o *ReplicaSetRead) GetMetadata() *ReplicaSetMetadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ReplicaSetMetadata will be returned
func (*ReplicaSetRead) GetMetadataOk ¶
func (o *ReplicaSetRead) GetMetadataOk() (*ReplicaSetMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetRead) GetProperties ¶
func (o *ReplicaSetRead) GetProperties() *ReplicaSet
GetProperties returns the Properties field value If the value is explicit nil, the zero value for ReplicaSet will be returned
func (*ReplicaSetRead) GetPropertiesOk ¶
func (o *ReplicaSetRead) GetPropertiesOk() (*ReplicaSet, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetRead) GetType ¶
func (o *ReplicaSetRead) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetRead) GetTypeOk ¶
func (o *ReplicaSetRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetRead) HasHref ¶
func (o *ReplicaSetRead) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ReplicaSetRead) HasId ¶
func (o *ReplicaSetRead) HasId() bool
HasId returns a boolean if a field has been set.
func (*ReplicaSetRead) HasMetadata ¶
func (o *ReplicaSetRead) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ReplicaSetRead) HasProperties ¶
func (o *ReplicaSetRead) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*ReplicaSetRead) HasType ¶
func (o *ReplicaSetRead) HasType() bool
HasType returns a boolean if a field has been set.
func (ReplicaSetRead) MarshalJSON ¶
func (o ReplicaSetRead) MarshalJSON() ([]byte, error)
func (*ReplicaSetRead) SetHref ¶
func (o *ReplicaSetRead) SetHref(v string)
SetHref sets field value
func (*ReplicaSetRead) SetMetadata ¶
func (o *ReplicaSetRead) SetMetadata(v ReplicaSetMetadata)
SetMetadata sets field value
func (*ReplicaSetRead) SetProperties ¶
func (o *ReplicaSetRead) SetProperties(v ReplicaSet)
SetProperties sets field value
func (*ReplicaSetRead) SetType ¶
func (o *ReplicaSetRead) SetType(v string)
SetType sets field value
type ReplicaSetReadList ¶
type ReplicaSetReadList struct { // ID of the list of ReplicaSet resources. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the list of ReplicaSet resources. Href *string `json:"href"` // The list of ReplicaSet resources. Items *[]ReplicaSetRead `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit *int32 `json:"limit"` Links *Links `json:"_links"` }
ReplicaSetReadList struct for ReplicaSetReadList
func NewReplicaSetReadList ¶
func NewReplicaSetReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ReplicaSetReadList
NewReplicaSetReadList instantiates a new ReplicaSetReadList 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 NewReplicaSetReadListWithDefaults ¶
func NewReplicaSetReadListWithDefaults() *ReplicaSetReadList
NewReplicaSetReadListWithDefaults instantiates a new ReplicaSetReadList 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 (*ReplicaSetReadList) GetHref ¶
func (o *ReplicaSetReadList) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetReadList) GetHrefOk ¶
func (o *ReplicaSetReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadList) GetId ¶
func (o *ReplicaSetReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetReadList) GetIdOk ¶
func (o *ReplicaSetReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadList) GetItems ¶
func (o *ReplicaSetReadList) GetItems() *[]ReplicaSetRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []ReplicaSetRead will be returned
func (*ReplicaSetReadList) GetItemsOk ¶
func (o *ReplicaSetReadList) GetItemsOk() (*[]ReplicaSetRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadList) GetLimit ¶
func (o *ReplicaSetReadList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*ReplicaSetReadList) GetLimitOk ¶
func (o *ReplicaSetReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadList) GetLinks ¶
func (o *ReplicaSetReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
func (*ReplicaSetReadList) GetLinksOk ¶
func (o *ReplicaSetReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadList) GetOffset ¶
func (o *ReplicaSetReadList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*ReplicaSetReadList) GetOffsetOk ¶
func (o *ReplicaSetReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadList) GetType ¶
func (o *ReplicaSetReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetReadList) GetTypeOk ¶
func (o *ReplicaSetReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadList) HasHref ¶
func (o *ReplicaSetReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ReplicaSetReadList) HasId ¶
func (o *ReplicaSetReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*ReplicaSetReadList) HasItems ¶
func (o *ReplicaSetReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ReplicaSetReadList) HasLimit ¶
func (o *ReplicaSetReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*ReplicaSetReadList) HasLinks ¶
func (o *ReplicaSetReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ReplicaSetReadList) HasOffset ¶
func (o *ReplicaSetReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ReplicaSetReadList) HasType ¶
func (o *ReplicaSetReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (ReplicaSetReadList) MarshalJSON ¶
func (o ReplicaSetReadList) MarshalJSON() ([]byte, error)
func (*ReplicaSetReadList) SetHref ¶
func (o *ReplicaSetReadList) SetHref(v string)
SetHref sets field value
func (*ReplicaSetReadList) SetId ¶
func (o *ReplicaSetReadList) SetId(v string)
SetId sets field value
func (*ReplicaSetReadList) SetItems ¶
func (o *ReplicaSetReadList) SetItems(v []ReplicaSetRead)
SetItems sets field value
func (*ReplicaSetReadList) SetLimit ¶
func (o *ReplicaSetReadList) SetLimit(v int32)
SetLimit sets field value
func (*ReplicaSetReadList) SetLinks ¶
func (o *ReplicaSetReadList) SetLinks(v Links)
SetLinks sets field value
func (*ReplicaSetReadList) SetOffset ¶
func (o *ReplicaSetReadList) SetOffset(v int32)
SetOffset sets field value
func (*ReplicaSetReadList) SetType ¶
func (o *ReplicaSetReadList) SetType(v string)
SetType sets field value
type ReplicaSetReadListAllOf ¶
type ReplicaSetReadListAllOf struct { // ID of the list of ReplicaSet resources. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the list of ReplicaSet resources. Href *string `json:"href"` // The list of ReplicaSet resources. Items *[]ReplicaSetRead `json:"items,omitempty"` }
ReplicaSetReadListAllOf struct for ReplicaSetReadListAllOf
func NewReplicaSetReadListAllOf ¶
func NewReplicaSetReadListAllOf(id string, type_ string, href string) *ReplicaSetReadListAllOf
NewReplicaSetReadListAllOf instantiates a new ReplicaSetReadListAllOf 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 NewReplicaSetReadListAllOfWithDefaults ¶
func NewReplicaSetReadListAllOfWithDefaults() *ReplicaSetReadListAllOf
NewReplicaSetReadListAllOfWithDefaults instantiates a new ReplicaSetReadListAllOf 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 (*ReplicaSetReadListAllOf) GetHref ¶
func (o *ReplicaSetReadListAllOf) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetReadListAllOf) GetHrefOk ¶
func (o *ReplicaSetReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadListAllOf) GetId ¶
func (o *ReplicaSetReadListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetReadListAllOf) GetIdOk ¶
func (o *ReplicaSetReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadListAllOf) GetItems ¶
func (o *ReplicaSetReadListAllOf) GetItems() *[]ReplicaSetRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []ReplicaSetRead will be returned
func (*ReplicaSetReadListAllOf) GetItemsOk ¶
func (o *ReplicaSetReadListAllOf) GetItemsOk() (*[]ReplicaSetRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadListAllOf) GetType ¶
func (o *ReplicaSetReadListAllOf) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ReplicaSetReadListAllOf) GetTypeOk ¶
func (o *ReplicaSetReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReplicaSetReadListAllOf) HasHref ¶
func (o *ReplicaSetReadListAllOf) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ReplicaSetReadListAllOf) HasId ¶
func (o *ReplicaSetReadListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*ReplicaSetReadListAllOf) HasItems ¶
func (o *ReplicaSetReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ReplicaSetReadListAllOf) HasType ¶
func (o *ReplicaSetReadListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (ReplicaSetReadListAllOf) MarshalJSON ¶
func (o ReplicaSetReadListAllOf) MarshalJSON() ([]byte, error)
func (*ReplicaSetReadListAllOf) SetHref ¶
func (o *ReplicaSetReadListAllOf) SetHref(v string)
SetHref sets field value
func (*ReplicaSetReadListAllOf) SetId ¶
func (o *ReplicaSetReadListAllOf) SetId(v string)
SetId sets field value
func (*ReplicaSetReadListAllOf) SetItems ¶
func (o *ReplicaSetReadListAllOf) SetItems(v []ReplicaSetRead)
SetItems sets field value
func (*ReplicaSetReadListAllOf) SetType ¶
func (o *ReplicaSetReadListAllOf) SetType(v string)
SetType sets field value
type ResourceState ¶
type ResourceState struct { State *string `json:"state"` // A human readable message describing the current state. In case of an error, the message will contain a detailed error message. Message *string `json:"message,omitempty"` }
ResourceState The current status of the resource.
func NewResourceState ¶
func NewResourceState(state string) *ResourceState
NewResourceState instantiates a new ResourceState 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 NewResourceStateWithDefaults ¶
func NewResourceStateWithDefaults() *ResourceState
NewResourceStateWithDefaults instantiates a new ResourceState 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 (*ResourceState) GetMessage ¶
func (o *ResourceState) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ResourceState) GetMessageOk ¶
func (o *ResourceState) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ResourceState) GetState ¶
func (o *ResourceState) GetState() *string
GetState returns the State field value If the value is explicit nil, the zero value for string will be returned
func (*ResourceState) GetStateOk ¶
func (o *ResourceState) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ResourceState) HasMessage ¶
func (o *ResourceState) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ResourceState) HasState ¶
func (o *ResourceState) HasState() bool
HasState returns a boolean if a field has been set.
func (ResourceState) MarshalJSON ¶
func (o ResourceState) MarshalJSON() ([]byte, error)
func (*ResourceState) SetMessage ¶
func (o *ResourceState) SetMessage(v string)
SetMessage sets field value
func (*ResourceState) SetState ¶
func (o *ResourceState) SetState(v string)
SetState sets field value
type Resources ¶
type Resources struct { // The number of CPU cores per instance. Cores *int32 `json:"cores"` // The amount of memory per instance in gigabytes (GB). Ram *int32 `json:"ram"` // The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable. Storage *int32 `json:"storage"` }
Resources The resources of the individual replicas.
func NewResources ¶
NewResources instantiates a new Resources 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 NewResourcesWithDefaults ¶
func NewResourcesWithDefaults() *Resources
NewResourcesWithDefaults instantiates a new Resources 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 (*Resources) GetCores ¶
GetCores returns the Cores field value If the value is explicit nil, the zero value for int32 will be returned
func (*Resources) GetCoresOk ¶
GetCoresOk returns a tuple with the Cores field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetRam ¶
GetRam returns the Ram field value If the value is explicit nil, the zero value for int32 will be returned
func (*Resources) GetRamOk ¶
GetRamOk returns a tuple with the Ram field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetStorage ¶
GetStorage returns the Storage field value If the value is explicit nil, the zero value for int32 will be returned
func (*Resources) GetStorageOk ¶
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) HasStorage ¶
HasStorage returns a boolean if a field has been set.
func (Resources) MarshalJSON ¶
type Restore ¶
type Restore struct { // The ID of the replica set the restore was applied on. ReplicasetId *string `json:"replicasetId"` // The human readable name of your snapshot. DisplayName *string `json:"displayName,omitempty"` // A description of the snapshot. Description *string `json:"description,omitempty"` }
Restore A point in time snapshot of a In-Memory DB replica set.
func NewRestore ¶
NewRestore instantiates a new Restore 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 NewRestoreWithDefaults ¶
func NewRestoreWithDefaults() *Restore
NewRestoreWithDefaults instantiates a new Restore 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 (*Restore) GetDescription ¶
GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned
func (*Restore) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Restore) GetDisplayName ¶
GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned
func (*Restore) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Restore) GetReplicasetId ¶
GetReplicasetId returns the ReplicasetId field value If the value is explicit nil, the zero value for string will be returned
func (*Restore) GetReplicasetIdOk ¶
GetReplicasetIdOk returns a tuple with the ReplicasetId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Restore) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Restore) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (*Restore) HasReplicasetId ¶
HasReplicasetId returns a boolean if a field has been set.
func (Restore) MarshalJSON ¶
func (*Restore) SetDescription ¶
SetDescription sets field value
func (*Restore) SetDisplayName ¶
SetDisplayName sets field value
func (*Restore) SetReplicasetId ¶
SetReplicasetId sets field value
type RestoreApiService ¶
type RestoreApiService service
RestoreApiService RestoreApi service
func (*RestoreApiService) SnapshotsRestoresFindById ¶
func (a *RestoreApiService) SnapshotsRestoresFindById(ctx _context.Context, snapshotId string, restoreId string) ApiSnapshotsRestoresFindByIdRequest
* SnapshotsRestoresFindById Retrieve Restore * Returns the Restore by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param snapshotId The ID (UUID) of the Snapshot. * @param restoreId The ID (UUID) of the Restore. * @return ApiSnapshotsRestoresFindByIdRequest
func (*RestoreApiService) SnapshotsRestoresFindByIdExecute ¶
func (a *RestoreApiService) SnapshotsRestoresFindByIdExecute(r ApiSnapshotsRestoresFindByIdRequest) (RestoreRead, *APIResponse, error)
* Execute executes the request * @return RestoreRead
func (*RestoreApiService) SnapshotsRestoresGet ¶
func (a *RestoreApiService) SnapshotsRestoresGet(ctx _context.Context, snapshotId string) ApiSnapshotsRestoresGetRequest
- SnapshotsRestoresGet Retrieve all Restore
- This endpoint enables retrieving all Restore using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param snapshotId The ID (UUID) of the Snapshot.
- @return ApiSnapshotsRestoresGetRequest
func (*RestoreApiService) SnapshotsRestoresGetExecute ¶
func (a *RestoreApiService) SnapshotsRestoresGetExecute(r ApiSnapshotsRestoresGetRequest) (RestoreReadList, *APIResponse, error)
* Execute executes the request * @return RestoreReadList
func (*RestoreApiService) SnapshotsRestoresPost ¶
func (a *RestoreApiService) SnapshotsRestoresPost(ctx _context.Context, snapshotId string) ApiSnapshotsRestoresPostRequest
- SnapshotsRestoresPost Create Restore
- Creates a new Restore.
The full Restore needs to be provided to create the object. Optional data will be filled with defaults or left empty.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param snapshotId The ID (UUID) of the Snapshot.
- @return ApiSnapshotsRestoresPostRequest
func (*RestoreApiService) SnapshotsRestoresPostExecute ¶
func (a *RestoreApiService) SnapshotsRestoresPostExecute(r ApiSnapshotsRestoresPostRequest) (RestoreRead, *APIResponse, error)
* Execute executes the request * @return RestoreRead
type RestoreCreate ¶
type RestoreCreate struct { // Metadata Metadata *map[string]interface{} `json:"metadata,omitempty"` Properties *Restore `json:"properties"` }
RestoreCreate struct for RestoreCreate
func NewRestoreCreate ¶
func NewRestoreCreate(properties Restore) *RestoreCreate
NewRestoreCreate instantiates a new RestoreCreate 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 NewRestoreCreateWithDefaults ¶
func NewRestoreCreateWithDefaults() *RestoreCreate
NewRestoreCreateWithDefaults instantiates a new RestoreCreate 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 (*RestoreCreate) GetMetadata ¶
func (o *RestoreCreate) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*RestoreCreate) GetMetadataOk ¶
func (o *RestoreCreate) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreCreate) GetProperties ¶
func (o *RestoreCreate) GetProperties() *Restore
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Restore will be returned
func (*RestoreCreate) GetPropertiesOk ¶
func (o *RestoreCreate) GetPropertiesOk() (*Restore, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreCreate) HasMetadata ¶
func (o *RestoreCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*RestoreCreate) HasProperties ¶
func (o *RestoreCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (RestoreCreate) MarshalJSON ¶
func (o RestoreCreate) MarshalJSON() ([]byte, error)
func (*RestoreCreate) SetMetadata ¶
func (o *RestoreCreate) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*RestoreCreate) SetProperties ¶
func (o *RestoreCreate) SetProperties(v Restore)
SetProperties sets field value
type RestoreMetadata ¶
type RestoreMetadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` State *string `json:"state"` // A human readable message describing the current state. In case of an error, the message will contain a detailed error message. Message *string `json:"message,omitempty"` // The time the snapshot was dumped from the replica set. RestoreTime *IonosTime `json:"restoreTime,omitempty"` // The ID of the snapshot that was restored. RestoredSnapshotId *string `json:"restoredSnapshotId,omitempty"` }
RestoreMetadata struct for RestoreMetadata
func NewRestoreMetadata ¶
func NewRestoreMetadata(state string) *RestoreMetadata
NewRestoreMetadata instantiates a new RestoreMetadata 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 NewRestoreMetadataWithDefaults ¶
func NewRestoreMetadataWithDefaults() *RestoreMetadata
NewRestoreMetadataWithDefaults instantiates a new RestoreMetadata 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 (*RestoreMetadata) GetCreatedBy ¶
func (o *RestoreMetadata) GetCreatedBy() *string
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetCreatedByOk ¶
func (o *RestoreMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetCreatedByUserId ¶
func (o *RestoreMetadata) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetCreatedByUserIdOk ¶
func (o *RestoreMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetCreatedDate ¶
func (o *RestoreMetadata) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*RestoreMetadata) GetCreatedDateOk ¶
func (o *RestoreMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetLastModifiedBy ¶
func (o *RestoreMetadata) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetLastModifiedByOk ¶
func (o *RestoreMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetLastModifiedByUserId ¶
func (o *RestoreMetadata) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetLastModifiedByUserIdOk ¶
func (o *RestoreMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetLastModifiedDate ¶
func (o *RestoreMetadata) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*RestoreMetadata) GetLastModifiedDateOk ¶
func (o *RestoreMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetMessage ¶
func (o *RestoreMetadata) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetMessageOk ¶
func (o *RestoreMetadata) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetResourceURN ¶
func (o *RestoreMetadata) GetResourceURN() *string
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetResourceURNOk ¶
func (o *RestoreMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetRestoreTime ¶
func (o *RestoreMetadata) GetRestoreTime() *time.Time
GetRestoreTime returns the RestoreTime field value If the value is explicit nil, the zero value for time.Time will be returned
func (*RestoreMetadata) GetRestoreTimeOk ¶
func (o *RestoreMetadata) GetRestoreTimeOk() (*time.Time, bool)
GetRestoreTimeOk returns a tuple with the RestoreTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetRestoredSnapshotId ¶
func (o *RestoreMetadata) GetRestoredSnapshotId() *string
GetRestoredSnapshotId returns the RestoredSnapshotId field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetRestoredSnapshotIdOk ¶
func (o *RestoreMetadata) GetRestoredSnapshotIdOk() (*string, bool)
GetRestoredSnapshotIdOk returns a tuple with the RestoredSnapshotId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) GetState ¶
func (o *RestoreMetadata) GetState() *string
GetState returns the State field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadata) GetStateOk ¶
func (o *RestoreMetadata) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadata) HasCreatedBy ¶
func (o *RestoreMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*RestoreMetadata) HasCreatedByUserId ¶
func (o *RestoreMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*RestoreMetadata) HasCreatedDate ¶
func (o *RestoreMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*RestoreMetadata) HasLastModifiedBy ¶
func (o *RestoreMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*RestoreMetadata) HasLastModifiedByUserId ¶
func (o *RestoreMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*RestoreMetadata) HasLastModifiedDate ¶
func (o *RestoreMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*RestoreMetadata) HasMessage ¶
func (o *RestoreMetadata) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*RestoreMetadata) HasResourceURN ¶
func (o *RestoreMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*RestoreMetadata) HasRestoreTime ¶
func (o *RestoreMetadata) HasRestoreTime() bool
HasRestoreTime returns a boolean if a field has been set.
func (*RestoreMetadata) HasRestoredSnapshotId ¶
func (o *RestoreMetadata) HasRestoredSnapshotId() bool
HasRestoredSnapshotId returns a boolean if a field has been set.
func (*RestoreMetadata) HasState ¶
func (o *RestoreMetadata) HasState() bool
HasState returns a boolean if a field has been set.
func (RestoreMetadata) MarshalJSON ¶
func (o RestoreMetadata) MarshalJSON() ([]byte, error)
func (*RestoreMetadata) SetCreatedBy ¶
func (o *RestoreMetadata) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*RestoreMetadata) SetCreatedByUserId ¶
func (o *RestoreMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*RestoreMetadata) SetCreatedDate ¶
func (o *RestoreMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*RestoreMetadata) SetLastModifiedBy ¶
func (o *RestoreMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*RestoreMetadata) SetLastModifiedByUserId ¶
func (o *RestoreMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*RestoreMetadata) SetLastModifiedDate ¶
func (o *RestoreMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*RestoreMetadata) SetMessage ¶
func (o *RestoreMetadata) SetMessage(v string)
SetMessage sets field value
func (*RestoreMetadata) SetResourceURN ¶
func (o *RestoreMetadata) SetResourceURN(v string)
SetResourceURN sets field value
func (*RestoreMetadata) SetRestoreTime ¶
func (o *RestoreMetadata) SetRestoreTime(v time.Time)
SetRestoreTime sets field value
func (*RestoreMetadata) SetRestoredSnapshotId ¶
func (o *RestoreMetadata) SetRestoredSnapshotId(v string)
SetRestoredSnapshotId sets field value
func (*RestoreMetadata) SetState ¶
func (o *RestoreMetadata) SetState(v string)
SetState sets field value
type RestoreMetadataAllOf ¶
type RestoreMetadataAllOf struct { // The time the snapshot was dumped from the replica set. RestoreTime *IonosTime `json:"restoreTime,omitempty"` // The ID of the snapshot that was restored. RestoredSnapshotId *string `json:"restoredSnapshotId,omitempty"` }
RestoreMetadataAllOf struct for RestoreMetadataAllOf
func NewRestoreMetadataAllOf ¶
func NewRestoreMetadataAllOf() *RestoreMetadataAllOf
NewRestoreMetadataAllOf instantiates a new RestoreMetadataAllOf 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 NewRestoreMetadataAllOfWithDefaults ¶
func NewRestoreMetadataAllOfWithDefaults() *RestoreMetadataAllOf
NewRestoreMetadataAllOfWithDefaults instantiates a new RestoreMetadataAllOf 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 (*RestoreMetadataAllOf) GetRestoreTime ¶
func (o *RestoreMetadataAllOf) GetRestoreTime() *time.Time
GetRestoreTime returns the RestoreTime field value If the value is explicit nil, the zero value for time.Time will be returned
func (*RestoreMetadataAllOf) GetRestoreTimeOk ¶
func (o *RestoreMetadataAllOf) GetRestoreTimeOk() (*time.Time, bool)
GetRestoreTimeOk returns a tuple with the RestoreTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadataAllOf) GetRestoredSnapshotId ¶
func (o *RestoreMetadataAllOf) GetRestoredSnapshotId() *string
GetRestoredSnapshotId returns the RestoredSnapshotId field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreMetadataAllOf) GetRestoredSnapshotIdOk ¶
func (o *RestoreMetadataAllOf) GetRestoredSnapshotIdOk() (*string, bool)
GetRestoredSnapshotIdOk returns a tuple with the RestoredSnapshotId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreMetadataAllOf) HasRestoreTime ¶
func (o *RestoreMetadataAllOf) HasRestoreTime() bool
HasRestoreTime returns a boolean if a field has been set.
func (*RestoreMetadataAllOf) HasRestoredSnapshotId ¶
func (o *RestoreMetadataAllOf) HasRestoredSnapshotId() bool
HasRestoredSnapshotId returns a boolean if a field has been set.
func (RestoreMetadataAllOf) MarshalJSON ¶
func (o RestoreMetadataAllOf) MarshalJSON() ([]byte, error)
func (*RestoreMetadataAllOf) SetRestoreTime ¶
func (o *RestoreMetadataAllOf) SetRestoreTime(v time.Time)
SetRestoreTime sets field value
func (*RestoreMetadataAllOf) SetRestoredSnapshotId ¶
func (o *RestoreMetadataAllOf) SetRestoredSnapshotId(v string)
SetRestoredSnapshotId sets field value
type RestoreRead ¶
type RestoreRead struct { // The ID (UUID) of the Restore. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the Restore. Href *string `json:"href"` Metadata *RestoreMetadata `json:"metadata"` Properties *Restore `json:"properties"` }
RestoreRead struct for RestoreRead
func NewRestoreRead ¶
func NewRestoreRead(id string, type_ string, href string, metadata RestoreMetadata, properties Restore) *RestoreRead
NewRestoreRead instantiates a new RestoreRead 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 NewRestoreReadWithDefaults ¶
func NewRestoreReadWithDefaults() *RestoreRead
NewRestoreReadWithDefaults instantiates a new RestoreRead 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 (*RestoreRead) GetHref ¶
func (o *RestoreRead) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreRead) GetHrefOk ¶
func (o *RestoreRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreRead) GetId ¶
func (o *RestoreRead) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreRead) GetIdOk ¶
func (o *RestoreRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreRead) GetMetadata ¶
func (o *RestoreRead) GetMetadata() *RestoreMetadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for RestoreMetadata will be returned
func (*RestoreRead) GetMetadataOk ¶
func (o *RestoreRead) GetMetadataOk() (*RestoreMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreRead) GetProperties ¶
func (o *RestoreRead) GetProperties() *Restore
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Restore will be returned
func (*RestoreRead) GetPropertiesOk ¶
func (o *RestoreRead) GetPropertiesOk() (*Restore, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreRead) GetType ¶
func (o *RestoreRead) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreRead) GetTypeOk ¶
func (o *RestoreRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreRead) HasHref ¶
func (o *RestoreRead) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*RestoreRead) HasId ¶
func (o *RestoreRead) HasId() bool
HasId returns a boolean if a field has been set.
func (*RestoreRead) HasMetadata ¶
func (o *RestoreRead) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*RestoreRead) HasProperties ¶
func (o *RestoreRead) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*RestoreRead) HasType ¶
func (o *RestoreRead) HasType() bool
HasType returns a boolean if a field has been set.
func (RestoreRead) MarshalJSON ¶
func (o RestoreRead) MarshalJSON() ([]byte, error)
func (*RestoreRead) SetMetadata ¶
func (o *RestoreRead) SetMetadata(v RestoreMetadata)
SetMetadata sets field value
func (*RestoreRead) SetProperties ¶
func (o *RestoreRead) SetProperties(v Restore)
SetProperties sets field value
type RestoreReadList ¶
type RestoreReadList struct { // ID of the list of Restore resources. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the list of Restore resources. Href *string `json:"href"` // The list of Restore resources. Items *[]RestoreRead `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit *int32 `json:"limit"` Links *Links `json:"_links"` }
RestoreReadList struct for RestoreReadList
func NewRestoreReadList ¶
func NewRestoreReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *RestoreReadList
NewRestoreReadList instantiates a new RestoreReadList 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 NewRestoreReadListWithDefaults ¶
func NewRestoreReadListWithDefaults() *RestoreReadList
NewRestoreReadListWithDefaults instantiates a new RestoreReadList 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 (*RestoreReadList) GetHref ¶
func (o *RestoreReadList) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreReadList) GetHrefOk ¶
func (o *RestoreReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadList) GetId ¶
func (o *RestoreReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreReadList) GetIdOk ¶
func (o *RestoreReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadList) GetItems ¶
func (o *RestoreReadList) GetItems() *[]RestoreRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []RestoreRead will be returned
func (*RestoreReadList) GetItemsOk ¶
func (o *RestoreReadList) GetItemsOk() (*[]RestoreRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadList) GetLimit ¶
func (o *RestoreReadList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*RestoreReadList) GetLimitOk ¶
func (o *RestoreReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadList) GetLinks ¶
func (o *RestoreReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
func (*RestoreReadList) GetLinksOk ¶
func (o *RestoreReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadList) GetOffset ¶
func (o *RestoreReadList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*RestoreReadList) GetOffsetOk ¶
func (o *RestoreReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadList) GetType ¶
func (o *RestoreReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreReadList) GetTypeOk ¶
func (o *RestoreReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadList) HasHref ¶
func (o *RestoreReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*RestoreReadList) HasId ¶
func (o *RestoreReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*RestoreReadList) HasItems ¶
func (o *RestoreReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RestoreReadList) HasLimit ¶
func (o *RestoreReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*RestoreReadList) HasLinks ¶
func (o *RestoreReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*RestoreReadList) HasOffset ¶
func (o *RestoreReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*RestoreReadList) HasType ¶
func (o *RestoreReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (RestoreReadList) MarshalJSON ¶
func (o RestoreReadList) MarshalJSON() ([]byte, error)
func (*RestoreReadList) SetHref ¶
func (o *RestoreReadList) SetHref(v string)
SetHref sets field value
func (*RestoreReadList) SetItems ¶
func (o *RestoreReadList) SetItems(v []RestoreRead)
SetItems sets field value
func (*RestoreReadList) SetLimit ¶
func (o *RestoreReadList) SetLimit(v int32)
SetLimit sets field value
func (*RestoreReadList) SetLinks ¶
func (o *RestoreReadList) SetLinks(v Links)
SetLinks sets field value
func (*RestoreReadList) SetOffset ¶
func (o *RestoreReadList) SetOffset(v int32)
SetOffset sets field value
func (*RestoreReadList) SetType ¶
func (o *RestoreReadList) SetType(v string)
SetType sets field value
type RestoreReadListAllOf ¶
type RestoreReadListAllOf struct { // ID of the list of Restore resources. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the list of Restore resources. Href *string `json:"href"` // The list of Restore resources. Items *[]RestoreRead `json:"items,omitempty"` }
RestoreReadListAllOf struct for RestoreReadListAllOf
func NewRestoreReadListAllOf ¶
func NewRestoreReadListAllOf(id string, type_ string, href string) *RestoreReadListAllOf
NewRestoreReadListAllOf instantiates a new RestoreReadListAllOf 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 NewRestoreReadListAllOfWithDefaults ¶
func NewRestoreReadListAllOfWithDefaults() *RestoreReadListAllOf
NewRestoreReadListAllOfWithDefaults instantiates a new RestoreReadListAllOf 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 (*RestoreReadListAllOf) GetHref ¶
func (o *RestoreReadListAllOf) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreReadListAllOf) GetHrefOk ¶
func (o *RestoreReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadListAllOf) GetId ¶
func (o *RestoreReadListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreReadListAllOf) GetIdOk ¶
func (o *RestoreReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadListAllOf) GetItems ¶
func (o *RestoreReadListAllOf) GetItems() *[]RestoreRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []RestoreRead will be returned
func (*RestoreReadListAllOf) GetItemsOk ¶
func (o *RestoreReadListAllOf) GetItemsOk() (*[]RestoreRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadListAllOf) GetType ¶
func (o *RestoreReadListAllOf) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreReadListAllOf) GetTypeOk ¶
func (o *RestoreReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RestoreReadListAllOf) HasHref ¶
func (o *RestoreReadListAllOf) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*RestoreReadListAllOf) HasId ¶
func (o *RestoreReadListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*RestoreReadListAllOf) HasItems ¶
func (o *RestoreReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RestoreReadListAllOf) HasType ¶
func (o *RestoreReadListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (RestoreReadListAllOf) MarshalJSON ¶
func (o RestoreReadListAllOf) MarshalJSON() ([]byte, error)
func (*RestoreReadListAllOf) SetHref ¶
func (o *RestoreReadListAllOf) SetHref(v string)
SetHref sets field value
func (*RestoreReadListAllOf) SetId ¶
func (o *RestoreReadListAllOf) SetId(v string)
SetId sets field value
func (*RestoreReadListAllOf) SetItems ¶
func (o *RestoreReadListAllOf) SetItems(v []RestoreRead)
SetItems sets field value
func (*RestoreReadListAllOf) SetType ¶
func (o *RestoreReadListAllOf) SetType(v string)
SetType sets field value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SnapshotApiService ¶
type SnapshotApiService service
SnapshotApiService SnapshotApi service
func (*SnapshotApiService) SnapshotsFindById ¶
func (a *SnapshotApiService) SnapshotsFindById(ctx _context.Context, snapshotId string) ApiSnapshotsFindByIdRequest
* SnapshotsFindById Retrieve Snapshot * Returns the Snapshot by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param snapshotId The ID (UUID) of the Snapshot. * @return ApiSnapshotsFindByIdRequest
func (*SnapshotApiService) SnapshotsFindByIdExecute ¶
func (a *SnapshotApiService) SnapshotsFindByIdExecute(r ApiSnapshotsFindByIdRequest) (SnapshotRead, *APIResponse, error)
* Execute executes the request * @return SnapshotRead
func (*SnapshotApiService) SnapshotsGet ¶
func (a *SnapshotApiService) SnapshotsGet(ctx _context.Context) ApiSnapshotsGetRequest
- SnapshotsGet Retrieve all Snapshot
- This endpoint enables retrieving all Snapshot using
pagination and optional filters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSnapshotsGetRequest
func (*SnapshotApiService) SnapshotsGetExecute ¶
func (a *SnapshotApiService) SnapshotsGetExecute(r ApiSnapshotsGetRequest) (SnapshotReadList, *APIResponse, error)
* Execute executes the request * @return SnapshotReadList
type SnapshotCreate ¶
type SnapshotCreate struct { // Metadata Metadata *map[string]interface{} `json:"metadata,omitempty"` // A point in time snapshot of a In-Memory DB replica set. Properties *map[string]interface{} `json:"properties"` }
SnapshotCreate struct for SnapshotCreate
func NewSnapshotCreate ¶
func NewSnapshotCreate(properties map[string]interface{}) *SnapshotCreate
NewSnapshotCreate instantiates a new SnapshotCreate 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 NewSnapshotCreateWithDefaults ¶
func NewSnapshotCreateWithDefaults() *SnapshotCreate
NewSnapshotCreateWithDefaults instantiates a new SnapshotCreate 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 (*SnapshotCreate) GetMetadata ¶
func (o *SnapshotCreate) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*SnapshotCreate) GetMetadataOk ¶
func (o *SnapshotCreate) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotCreate) GetProperties ¶
func (o *SnapshotCreate) GetProperties() *map[string]interface{}
GetProperties returns the Properties field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*SnapshotCreate) GetPropertiesOk ¶
func (o *SnapshotCreate) GetPropertiesOk() (*map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotCreate) HasMetadata ¶
func (o *SnapshotCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*SnapshotCreate) HasProperties ¶
func (o *SnapshotCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (SnapshotCreate) MarshalJSON ¶
func (o SnapshotCreate) MarshalJSON() ([]byte, error)
func (*SnapshotCreate) SetMetadata ¶
func (o *SnapshotCreate) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*SnapshotCreate) SetProperties ¶
func (o *SnapshotCreate) SetProperties(v map[string]interface{})
SetProperties sets field value
type SnapshotEnsure ¶
type SnapshotEnsure struct { // The ID (UUID) of the Snapshot. Id *string `json:"id"` // Metadata Metadata *map[string]interface{} `json:"metadata,omitempty"` // A point in time snapshot of a In-Memory DB replica set. Properties *map[string]interface{} `json:"properties"` }
SnapshotEnsure struct for SnapshotEnsure
func NewSnapshotEnsure ¶
func NewSnapshotEnsure(id string, properties map[string]interface{}) *SnapshotEnsure
NewSnapshotEnsure instantiates a new SnapshotEnsure 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 NewSnapshotEnsureWithDefaults ¶
func NewSnapshotEnsureWithDefaults() *SnapshotEnsure
NewSnapshotEnsureWithDefaults instantiates a new SnapshotEnsure 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 (*SnapshotEnsure) GetId ¶
func (o *SnapshotEnsure) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotEnsure) GetIdOk ¶
func (o *SnapshotEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotEnsure) GetMetadata ¶
func (o *SnapshotEnsure) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*SnapshotEnsure) GetMetadataOk ¶
func (o *SnapshotEnsure) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotEnsure) GetProperties ¶
func (o *SnapshotEnsure) GetProperties() *map[string]interface{}
GetProperties returns the Properties field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*SnapshotEnsure) GetPropertiesOk ¶
func (o *SnapshotEnsure) GetPropertiesOk() (*map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotEnsure) HasId ¶
func (o *SnapshotEnsure) HasId() bool
HasId returns a boolean if a field has been set.
func (*SnapshotEnsure) HasMetadata ¶
func (o *SnapshotEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*SnapshotEnsure) HasProperties ¶
func (o *SnapshotEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (SnapshotEnsure) MarshalJSON ¶
func (o SnapshotEnsure) MarshalJSON() ([]byte, error)
func (*SnapshotEnsure) SetMetadata ¶
func (o *SnapshotEnsure) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*SnapshotEnsure) SetProperties ¶
func (o *SnapshotEnsure) SetProperties(v map[string]interface{})
SetProperties sets field value
type SnapshotMetadata ¶
type SnapshotMetadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` State *string `json:"state"` // A human readable message describing the current state. In case of an error, the message will contain a detailed error message. Message *string `json:"message,omitempty"` // The ID of the In-Memory DB replica set the snapshot is taken from. ReplicasetId *string `json:"replicasetId"` // The time the snapshot was dumped from the replica set. SnapshotTime *IonosTime `json:"snapshotTime,omitempty"` // The ID of the datacenter the snapshot was created in. Please mind, that the snapshot is not available in other datacenters. DatacenterId *string `json:"datacenterId"` }
SnapshotMetadata struct for SnapshotMetadata
func NewSnapshotMetadata ¶
func NewSnapshotMetadata(state string, replicasetId string, datacenterId string) *SnapshotMetadata
NewSnapshotMetadata instantiates a new SnapshotMetadata 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 NewSnapshotMetadataWithDefaults ¶
func NewSnapshotMetadataWithDefaults() *SnapshotMetadata
NewSnapshotMetadataWithDefaults instantiates a new SnapshotMetadata 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 (*SnapshotMetadata) GetCreatedBy ¶
func (o *SnapshotMetadata) GetCreatedBy() *string
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetCreatedByOk ¶
func (o *SnapshotMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetCreatedByUserId ¶
func (o *SnapshotMetadata) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetCreatedByUserIdOk ¶
func (o *SnapshotMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetCreatedDate ¶
func (o *SnapshotMetadata) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*SnapshotMetadata) GetCreatedDateOk ¶
func (o *SnapshotMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetDatacenterId ¶
func (o *SnapshotMetadata) GetDatacenterId() *string
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetDatacenterIdOk ¶
func (o *SnapshotMetadata) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetLastModifiedBy ¶
func (o *SnapshotMetadata) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetLastModifiedByOk ¶
func (o *SnapshotMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetLastModifiedByUserId ¶
func (o *SnapshotMetadata) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetLastModifiedByUserIdOk ¶
func (o *SnapshotMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetLastModifiedDate ¶
func (o *SnapshotMetadata) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*SnapshotMetadata) GetLastModifiedDateOk ¶
func (o *SnapshotMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetMessage ¶
func (o *SnapshotMetadata) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetMessageOk ¶
func (o *SnapshotMetadata) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetReplicasetId ¶
func (o *SnapshotMetadata) GetReplicasetId() *string
GetReplicasetId returns the ReplicasetId field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetReplicasetIdOk ¶
func (o *SnapshotMetadata) GetReplicasetIdOk() (*string, bool)
GetReplicasetIdOk returns a tuple with the ReplicasetId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetResourceURN ¶
func (o *SnapshotMetadata) GetResourceURN() *string
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetResourceURNOk ¶
func (o *SnapshotMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetSnapshotTime ¶
func (o *SnapshotMetadata) GetSnapshotTime() *time.Time
GetSnapshotTime returns the SnapshotTime field value If the value is explicit nil, the zero value for time.Time will be returned
func (*SnapshotMetadata) GetSnapshotTimeOk ¶
func (o *SnapshotMetadata) GetSnapshotTimeOk() (*time.Time, bool)
GetSnapshotTimeOk returns a tuple with the SnapshotTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) GetState ¶
func (o *SnapshotMetadata) GetState() *string
GetState returns the State field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadata) GetStateOk ¶
func (o *SnapshotMetadata) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadata) HasCreatedBy ¶
func (o *SnapshotMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*SnapshotMetadata) HasCreatedByUserId ¶
func (o *SnapshotMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*SnapshotMetadata) HasCreatedDate ¶
func (o *SnapshotMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*SnapshotMetadata) HasDatacenterId ¶
func (o *SnapshotMetadata) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (*SnapshotMetadata) HasLastModifiedBy ¶
func (o *SnapshotMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*SnapshotMetadata) HasLastModifiedByUserId ¶
func (o *SnapshotMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*SnapshotMetadata) HasLastModifiedDate ¶
func (o *SnapshotMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*SnapshotMetadata) HasMessage ¶
func (o *SnapshotMetadata) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*SnapshotMetadata) HasReplicasetId ¶
func (o *SnapshotMetadata) HasReplicasetId() bool
HasReplicasetId returns a boolean if a field has been set.
func (*SnapshotMetadata) HasResourceURN ¶
func (o *SnapshotMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*SnapshotMetadata) HasSnapshotTime ¶
func (o *SnapshotMetadata) HasSnapshotTime() bool
HasSnapshotTime returns a boolean if a field has been set.
func (*SnapshotMetadata) HasState ¶
func (o *SnapshotMetadata) HasState() bool
HasState returns a boolean if a field has been set.
func (SnapshotMetadata) MarshalJSON ¶
func (o SnapshotMetadata) MarshalJSON() ([]byte, error)
func (*SnapshotMetadata) SetCreatedBy ¶
func (o *SnapshotMetadata) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*SnapshotMetadata) SetCreatedByUserId ¶
func (o *SnapshotMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*SnapshotMetadata) SetCreatedDate ¶
func (o *SnapshotMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*SnapshotMetadata) SetDatacenterId ¶
func (o *SnapshotMetadata) SetDatacenterId(v string)
SetDatacenterId sets field value
func (*SnapshotMetadata) SetLastModifiedBy ¶
func (o *SnapshotMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*SnapshotMetadata) SetLastModifiedByUserId ¶
func (o *SnapshotMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*SnapshotMetadata) SetLastModifiedDate ¶
func (o *SnapshotMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*SnapshotMetadata) SetMessage ¶
func (o *SnapshotMetadata) SetMessage(v string)
SetMessage sets field value
func (*SnapshotMetadata) SetReplicasetId ¶
func (o *SnapshotMetadata) SetReplicasetId(v string)
SetReplicasetId sets field value
func (*SnapshotMetadata) SetResourceURN ¶
func (o *SnapshotMetadata) SetResourceURN(v string)
SetResourceURN sets field value
func (*SnapshotMetadata) SetSnapshotTime ¶
func (o *SnapshotMetadata) SetSnapshotTime(v time.Time)
SetSnapshotTime sets field value
func (*SnapshotMetadata) SetState ¶
func (o *SnapshotMetadata) SetState(v string)
SetState sets field value
type SnapshotMetadataAllOf ¶
type SnapshotMetadataAllOf struct { // The ID of the In-Memory DB replica set the snapshot is taken from. ReplicasetId *string `json:"replicasetId"` // The time the snapshot was dumped from the replica set. SnapshotTime *IonosTime `json:"snapshotTime,omitempty"` // The ID of the datacenter the snapshot was created in. Please mind, that the snapshot is not available in other datacenters. DatacenterId *string `json:"datacenterId"` }
SnapshotMetadataAllOf struct for SnapshotMetadataAllOf
func NewSnapshotMetadataAllOf ¶
func NewSnapshotMetadataAllOf(replicasetId string, datacenterId string) *SnapshotMetadataAllOf
NewSnapshotMetadataAllOf instantiates a new SnapshotMetadataAllOf 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 NewSnapshotMetadataAllOfWithDefaults ¶
func NewSnapshotMetadataAllOfWithDefaults() *SnapshotMetadataAllOf
NewSnapshotMetadataAllOfWithDefaults instantiates a new SnapshotMetadataAllOf 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 (*SnapshotMetadataAllOf) GetDatacenterId ¶
func (o *SnapshotMetadataAllOf) GetDatacenterId() *string
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadataAllOf) GetDatacenterIdOk ¶
func (o *SnapshotMetadataAllOf) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadataAllOf) GetReplicasetId ¶
func (o *SnapshotMetadataAllOf) GetReplicasetId() *string
GetReplicasetId returns the ReplicasetId field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotMetadataAllOf) GetReplicasetIdOk ¶
func (o *SnapshotMetadataAllOf) GetReplicasetIdOk() (*string, bool)
GetReplicasetIdOk returns a tuple with the ReplicasetId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadataAllOf) GetSnapshotTime ¶
func (o *SnapshotMetadataAllOf) GetSnapshotTime() *time.Time
GetSnapshotTime returns the SnapshotTime field value If the value is explicit nil, the zero value for time.Time will be returned
func (*SnapshotMetadataAllOf) GetSnapshotTimeOk ¶
func (o *SnapshotMetadataAllOf) GetSnapshotTimeOk() (*time.Time, bool)
GetSnapshotTimeOk returns a tuple with the SnapshotTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotMetadataAllOf) HasDatacenterId ¶
func (o *SnapshotMetadataAllOf) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (*SnapshotMetadataAllOf) HasReplicasetId ¶
func (o *SnapshotMetadataAllOf) HasReplicasetId() bool
HasReplicasetId returns a boolean if a field has been set.
func (*SnapshotMetadataAllOf) HasSnapshotTime ¶
func (o *SnapshotMetadataAllOf) HasSnapshotTime() bool
HasSnapshotTime returns a boolean if a field has been set.
func (SnapshotMetadataAllOf) MarshalJSON ¶
func (o SnapshotMetadataAllOf) MarshalJSON() ([]byte, error)
func (*SnapshotMetadataAllOf) SetDatacenterId ¶
func (o *SnapshotMetadataAllOf) SetDatacenterId(v string)
SetDatacenterId sets field value
func (*SnapshotMetadataAllOf) SetReplicasetId ¶
func (o *SnapshotMetadataAllOf) SetReplicasetId(v string)
SetReplicasetId sets field value
func (*SnapshotMetadataAllOf) SetSnapshotTime ¶
func (o *SnapshotMetadataAllOf) SetSnapshotTime(v time.Time)
SetSnapshotTime sets field value
type SnapshotRead ¶
type SnapshotRead struct { // The ID (UUID) of the Snapshot. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the Snapshot. Href *string `json:"href"` Metadata *SnapshotMetadata `json:"metadata"` // A point in time snapshot of a In-Memory DB replica set. Properties *map[string]interface{} `json:"properties"` }
SnapshotRead struct for SnapshotRead
func NewSnapshotRead ¶
func NewSnapshotRead(id string, type_ string, href string, metadata SnapshotMetadata, properties map[string]interface{}) *SnapshotRead
NewSnapshotRead instantiates a new SnapshotRead 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 NewSnapshotReadWithDefaults ¶
func NewSnapshotReadWithDefaults() *SnapshotRead
NewSnapshotReadWithDefaults instantiates a new SnapshotRead 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 (*SnapshotRead) GetHref ¶
func (o *SnapshotRead) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotRead) GetHrefOk ¶
func (o *SnapshotRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotRead) GetId ¶
func (o *SnapshotRead) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotRead) GetIdOk ¶
func (o *SnapshotRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotRead) GetMetadata ¶
func (o *SnapshotRead) GetMetadata() *SnapshotMetadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for SnapshotMetadata will be returned
func (*SnapshotRead) GetMetadataOk ¶
func (o *SnapshotRead) GetMetadataOk() (*SnapshotMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotRead) GetProperties ¶
func (o *SnapshotRead) GetProperties() *map[string]interface{}
GetProperties returns the Properties field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*SnapshotRead) GetPropertiesOk ¶
func (o *SnapshotRead) GetPropertiesOk() (*map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotRead) GetType ¶
func (o *SnapshotRead) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotRead) GetTypeOk ¶
func (o *SnapshotRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotRead) HasHref ¶
func (o *SnapshotRead) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*SnapshotRead) HasId ¶
func (o *SnapshotRead) HasId() bool
HasId returns a boolean if a field has been set.
func (*SnapshotRead) HasMetadata ¶
func (o *SnapshotRead) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*SnapshotRead) HasProperties ¶
func (o *SnapshotRead) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*SnapshotRead) HasType ¶
func (o *SnapshotRead) HasType() bool
HasType returns a boolean if a field has been set.
func (SnapshotRead) MarshalJSON ¶
func (o SnapshotRead) MarshalJSON() ([]byte, error)
func (*SnapshotRead) SetMetadata ¶
func (o *SnapshotRead) SetMetadata(v SnapshotMetadata)
SetMetadata sets field value
func (*SnapshotRead) SetProperties ¶
func (o *SnapshotRead) SetProperties(v map[string]interface{})
SetProperties sets field value
type SnapshotReadList ¶
type SnapshotReadList struct { // ID of the list of Snapshot resources. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the list of Snapshot resources. Href *string `json:"href"` // The list of Snapshot resources. Items *[]SnapshotRead `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit *int32 `json:"limit"` Links *Links `json:"_links"` }
SnapshotReadList struct for SnapshotReadList
func NewSnapshotReadList ¶
func NewSnapshotReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *SnapshotReadList
NewSnapshotReadList instantiates a new SnapshotReadList 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 NewSnapshotReadListWithDefaults ¶
func NewSnapshotReadListWithDefaults() *SnapshotReadList
NewSnapshotReadListWithDefaults instantiates a new SnapshotReadList 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 (*SnapshotReadList) GetHref ¶
func (o *SnapshotReadList) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotReadList) GetHrefOk ¶
func (o *SnapshotReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadList) GetId ¶
func (o *SnapshotReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotReadList) GetIdOk ¶
func (o *SnapshotReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadList) GetItems ¶
func (o *SnapshotReadList) GetItems() *[]SnapshotRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []SnapshotRead will be returned
func (*SnapshotReadList) GetItemsOk ¶
func (o *SnapshotReadList) GetItemsOk() (*[]SnapshotRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadList) GetLimit ¶
func (o *SnapshotReadList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*SnapshotReadList) GetLimitOk ¶
func (o *SnapshotReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadList) GetLinks ¶
func (o *SnapshotReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
func (*SnapshotReadList) GetLinksOk ¶
func (o *SnapshotReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadList) GetOffset ¶
func (o *SnapshotReadList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*SnapshotReadList) GetOffsetOk ¶
func (o *SnapshotReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadList) GetType ¶
func (o *SnapshotReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotReadList) GetTypeOk ¶
func (o *SnapshotReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadList) HasHref ¶
func (o *SnapshotReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*SnapshotReadList) HasId ¶
func (o *SnapshotReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*SnapshotReadList) HasItems ¶
func (o *SnapshotReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*SnapshotReadList) HasLimit ¶
func (o *SnapshotReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*SnapshotReadList) HasLinks ¶
func (o *SnapshotReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*SnapshotReadList) HasOffset ¶
func (o *SnapshotReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*SnapshotReadList) HasType ¶
func (o *SnapshotReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (SnapshotReadList) MarshalJSON ¶
func (o SnapshotReadList) MarshalJSON() ([]byte, error)
func (*SnapshotReadList) SetHref ¶
func (o *SnapshotReadList) SetHref(v string)
SetHref sets field value
func (*SnapshotReadList) SetItems ¶
func (o *SnapshotReadList) SetItems(v []SnapshotRead)
SetItems sets field value
func (*SnapshotReadList) SetLimit ¶
func (o *SnapshotReadList) SetLimit(v int32)
SetLimit sets field value
func (*SnapshotReadList) SetLinks ¶
func (o *SnapshotReadList) SetLinks(v Links)
SetLinks sets field value
func (*SnapshotReadList) SetOffset ¶
func (o *SnapshotReadList) SetOffset(v int32)
SetOffset sets field value
func (*SnapshotReadList) SetType ¶
func (o *SnapshotReadList) SetType(v string)
SetType sets field value
type SnapshotReadListAllOf ¶
type SnapshotReadListAllOf struct { // ID of the list of Snapshot resources. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the list of Snapshot resources. Href *string `json:"href"` // The list of Snapshot resources. Items *[]SnapshotRead `json:"items,omitempty"` }
SnapshotReadListAllOf struct for SnapshotReadListAllOf
func NewSnapshotReadListAllOf ¶
func NewSnapshotReadListAllOf(id string, type_ string, href string) *SnapshotReadListAllOf
NewSnapshotReadListAllOf instantiates a new SnapshotReadListAllOf 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 NewSnapshotReadListAllOfWithDefaults ¶
func NewSnapshotReadListAllOfWithDefaults() *SnapshotReadListAllOf
NewSnapshotReadListAllOfWithDefaults instantiates a new SnapshotReadListAllOf 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 (*SnapshotReadListAllOf) GetHref ¶
func (o *SnapshotReadListAllOf) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotReadListAllOf) GetHrefOk ¶
func (o *SnapshotReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadListAllOf) GetId ¶
func (o *SnapshotReadListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotReadListAllOf) GetIdOk ¶
func (o *SnapshotReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadListAllOf) GetItems ¶
func (o *SnapshotReadListAllOf) GetItems() *[]SnapshotRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []SnapshotRead will be returned
func (*SnapshotReadListAllOf) GetItemsOk ¶
func (o *SnapshotReadListAllOf) GetItemsOk() (*[]SnapshotRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadListAllOf) GetType ¶
func (o *SnapshotReadListAllOf) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*SnapshotReadListAllOf) GetTypeOk ¶
func (o *SnapshotReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SnapshotReadListAllOf) HasHref ¶
func (o *SnapshotReadListAllOf) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*SnapshotReadListAllOf) HasId ¶
func (o *SnapshotReadListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*SnapshotReadListAllOf) HasItems ¶
func (o *SnapshotReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*SnapshotReadListAllOf) HasType ¶
func (o *SnapshotReadListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (SnapshotReadListAllOf) MarshalJSON ¶
func (o SnapshotReadListAllOf) MarshalJSON() ([]byte, error)
func (*SnapshotReadListAllOf) SetHref ¶
func (o *SnapshotReadListAllOf) SetHref(v string)
SetHref sets field value
func (*SnapshotReadListAllOf) SetId ¶
func (o *SnapshotReadListAllOf) SetId(v string)
SetId sets field value
func (*SnapshotReadListAllOf) SetItems ¶
func (o *SnapshotReadListAllOf) SetItems(v []SnapshotRead)
SetItems sets field value
func (*SnapshotReadListAllOf) SetType ¶
func (o *SnapshotReadListAllOf) SetType(v string)
SetType sets field value
type User ¶
type User struct { // The username for the initial In-Memory DB user. Some system usernames are restricted (e.g. `\"admin\"`, `\"standby\"`). Username *string `json:"username"` Password *UserPassword `json:"password"` }
User Credentials for the In-Memory DB replicaset.
func NewUser ¶
func NewUser(username string, password UserPassword) *User
NewUser instantiates a new User 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 NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 (*User) GetPassword ¶
func (o *User) GetPassword() *UserPassword
GetPassword returns the Password field value If the value is explicit nil, the zero value for UserPassword will be returned
func (*User) GetPasswordOk ¶
func (o *User) GetPasswordOk() (*UserPassword, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetUsername ¶
GetUsername returns the Username field value If the value is explicit nil, the zero value for string will be returned
func (*User) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*User) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (User) MarshalJSON ¶
type UserPassword ¶
type UserPassword struct { HashedPassword *HashedPassword PlainTextPassword *string }
UserPassword - struct for UserPassword
func HashedPasswordAsUserPassword ¶
func HashedPasswordAsUserPassword(v *HashedPassword) UserPassword
HashedPasswordAsUserPassword is a convenience function that returns HashedPassword wrapped in UserPassword
func PlainTextPasswordAsUserPassword ¶
func PlainTextPasswordAsUserPassword(v *string) UserPassword
PlainTextPasswordAsUserPassword is a convenience function that returns PlainTextPassword wrapped in UserPassword
func (*UserPassword) GetActualInstance ¶
func (obj *UserPassword) GetActualInstance() interface{}
Get the actual instance
func (UserPassword) MarshalJSON ¶
func (src UserPassword) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*UserPassword) UnmarshalJSON ¶
func (dst *UserPassword) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
Source Files
¶
- api_replica_set.go
- api_restore.go
- api_snapshot.go
- client.go
- configuration.go
- logger.go
- model_connection.go
- model_day_of_the_week.go
- model_error.go
- model_error_messages.go
- model_eviction_policy.go
- model_hashed_password.go
- model_links.go
- model_maintenance_window.go
- model_metadata.go
- model_pagination.go
- model_persistence_mode.go
- model_replica_set.go
- model_replica_set_create.go
- model_replica_set_ensure.go
- model_replica_set_metadata.go
- model_replica_set_metadata_all_of.go
- model_replica_set_read.go
- model_replica_set_read_list.go
- model_replica_set_read_list_all_of.go
- model_resource_state.go
- model_resources.go
- model_restore.go
- model_restore_create.go
- model_restore_metadata.go
- model_restore_metadata_all_of.go
- model_restore_read.go
- model_restore_read_list.go
- model_restore_read_list_all_of.go
- model_snapshot_create.go
- model_snapshot_ensure.go
- model_snapshot_metadata.go
- model_snapshot_metadata_all_of.go
- model_snapshot_read.go
- model_snapshot_read_list.go
- model_snapshot_read_list_all_of.go
- model_user.go
- model_user_password.go
- response.go
- utils.go