ionoscloud

package module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 26 Imported by: 2

README

Gitter

Go API client for ionoscloud

API description for the IONOS In-Memory DB

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./ionoscloud"

Authentication

All available server URLs are:

By default, https://in-memory-db.de-fra.ionos.com is used, however this can be overriden at authentication, either by setting the IONOS_API_URL environment variable or by specifying the hostUrl parameter when initializing the sdk client.

The username and password or the authentication token can be manually specified when initializing the sdk client:


client := ionoscloud.NewAPIClient(ionoscloud.NewConfiguration(username, password, token, hostUrl))

Environment variables can also be used. The sdk uses the following variables:

  • IONOS_TOKEN - login via token. This is the recommended way to authenticate.
  • IONOS_USERNAME - to specify the username used to login
  • IONOS_PASSWORD - to specify the password
  • IONOS_API_URL - to specify the API server URL

In this case, the client configuration needs to be initialized using NewConfigurationFromEnv().


client := ionoscloud.NewAPIClient(ionoscloud.NewConfigurationFromEnv())

Documentation for API Endpoints

All URIs are relative to https://in-memory-db.de-fra.ionos.com

API Endpoints table
Class Method HTTP request Description
ReplicaSetApi ReplicasetsDelete Delete /replicasets/{replicasetId} Delete ReplicaSet
ReplicaSetApi ReplicasetsFindById Get /replicasets/{replicasetId} Retrieve ReplicaSet
ReplicaSetApi ReplicasetsGet Get /replicasets Retrieve all ReplicaSet
ReplicaSetApi ReplicasetsPost Post /replicasets Create ReplicaSet
ReplicaSetApi ReplicasetsPut Put /replicasets/{replicasetId} Ensure ReplicaSet
RestoreApi SnapshotsRestoresFindById Get /snapshots/{snapshotId}/restores/{restoreId} Retrieve Restore
RestoreApi SnapshotsRestoresGet Get /snapshots/{snapshotId}/restores Retrieve all Restore
RestoreApi SnapshotsRestoresPost Post /snapshots/{snapshotId}/restores Create Restore
SnapshotApi SnapshotsFindById Get /snapshots/{snapshotId} Retrieve Snapshot
SnapshotApi SnapshotsGet Get /snapshots Retrieve all Snapshot

Documentation For Models

All URIs are relative to https://in-memory-db.de-fra.ionos.com

API models list

[Back to API list] [Back to Model list]

Documentation

Index

Constants

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "1.1.1"
)
View Source
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

View Source
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")
)
View Source
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",
	}
)
View Source
var LogLevelMap = map[string]LogLevel{
	"off":   Off,
	"debug": Debug,
	"trace": Trace,
}

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool - returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 - returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 - returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt - returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 - returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 - returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString - returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime - returns a pointer to given Time value.

func SliceToValueDefault

func SliceToValueDefault[T any](ptrSlice *[]T) []T

func ToBool

func ToBool(ptr *bool) bool

ToBool - returns the value of the bool pointer passed in

func ToBoolDefault

func ToBoolDefault(ptr *bool) bool

ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil

func ToBoolSlice

func ToBoolSlice(ptrSlice *[]bool) []bool

ToBoolSlice - returns a bool slice of the pointer passed in

func ToByte

func ToByte(ptr *byte) byte

ToByte - returns the value of the byte pointer passed in

func ToByteDefault

func ToByteDefault(ptr *byte) byte

ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil

func ToByteSlice

func ToByteSlice(ptrSlice *[]byte) []byte

ToByteSlice - returns a byte slice of the pointer passed in

func ToFloat32

func ToFloat32(ptr *float32) float32

ToFloat32 - returns the value of the float32 pointer passed in

func ToFloat32Default

func ToFloat32Default(ptr *float32) float32

ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil

func ToFloat32Slice

func ToFloat32Slice(ptrSlice *[]float32) []float32

ToFloat32Slice - returns a float32 slice of the pointer passed in

func ToFloat64

func ToFloat64(ptr *float64) float64

ToFloat64 - returns the value of the float64 pointer passed in

func ToFloat64Default

func ToFloat64Default(ptr *float64) float64

ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil

func ToFloat64Slice

func ToFloat64Slice(ptrSlice *[]float64) []float64

ToFloat64Slice - returns a float64 slice of the pointer passed in

func ToInt

func ToInt(ptr *int) int

ToInt - returns the value of the int pointer passed in

func ToInt16

func ToInt16(ptr *int16) int16

ToInt16 - returns the value of the int16 pointer passed in

func ToInt16Default

func ToInt16Default(ptr *int16) int16

ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil

func ToInt16Slice

func ToInt16Slice(ptrSlice *[]int16) []int16

ToInt16Slice - returns a int16 slice of the pointer passed in

func ToInt32

func ToInt32(ptr *int32) int32

ToInt32 - returns the value of the int32 pointer passed in

func ToInt32Default

func ToInt32Default(ptr *int32) int32

ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil

func ToInt32Slice

func ToInt32Slice(ptrSlice *[]int32) []int32

ToInt32Slice - returns a int32 slice of the pointer passed in

func ToInt64

func ToInt64(ptr *int64) int64

ToInt64 - returns the value of the int64 pointer passed in

func ToInt64Default

func ToInt64Default(ptr *int64) int64

ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil

func ToInt64Slice

func ToInt64Slice(ptrSlice *[]int64) []int64

ToInt64Slice - returns a int64 slice of the pointer passed in

func ToInt8

func ToInt8(ptr *int8) int8

ToInt8 - returns the value of the int8 pointer passed in

func ToInt8Default

func ToInt8Default(ptr *int8) int8

ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil

func ToInt8Slice

func ToInt8Slice(ptrSlice *[]int8) []int8

ToInt8Slice - returns a int8 slice of the pointer passed in

func ToIntDefault

func ToIntDefault(ptr *int) int

ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil

func ToIntSlice

func ToIntSlice(ptrSlice *[]int) []int

ToIntSlice - returns a int slice of the pointer passed in

func ToPtr

func ToPtr[T any](v T) *T

ToPtr - returns a pointer to the given value.

func ToString

func ToString(ptr *string) string

ToString - returns the value of the string pointer passed in

func ToStringDefault

func ToStringDefault(ptr *string) string

ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil

func ToStringSlice

func ToStringSlice(ptrSlice *[]string) []string

ToStringSlice - returns a string slice of the pointer passed in

func ToTime

func ToTime(ptr *time.Time) time.Time

ToTime - returns the value of the Time pointer passed in

func ToTimeDefault

func ToTimeDefault(ptr *time.Time) time.Time

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

func ToTimeSlice(ptrSlice *[]time.Time) []time.Time

ToTimeSlice - returns a Time slice of the pointer passed in

func ToUint

func ToUint(ptr *uint) uint

ToUint - returns the value of the uint pointer passed in

func ToUint16

func ToUint16(ptr *uint16) uint16

ToUint16 - returns the value of the uint16 pointer passed in

func ToUint16Default

func ToUint16Default(ptr *uint16) uint16

ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil

func ToUint16Slice

func ToUint16Slice(ptrSlice *[]uint16) []uint16

ToUint16Slice - returns a uint16 slice of the pointer passed in

func ToUint32

func ToUint32(ptr *uint32) uint32

ToUint32 - returns the value of the uint32 pointer passed in

func ToUint32Default

func ToUint32Default(ptr *uint32) uint32

ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil

func ToUint32Slice

func ToUint32Slice(ptrSlice *[]uint32) []uint32

ToUint32Slice - returns a uint32 slice of the pointer passed in

func ToUint64

func ToUint64(ptr *uint64) uint64

ToUint64 - returns the value of the uint64 pointer passed in

func ToUint64Default

func ToUint64Default(ptr *uint64) uint64

ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil

func ToUint64Slice

func ToUint64Slice(ptrSlice *[]uint64) []uint64

ToUint64Slice - returns a uint63 slice of the pointer passed in

func ToUint8

func ToUint8(ptr *uint8) uint8

ToUint8 -returns the value of the uint8 pointer passed in

func ToUint8Default

func ToUint8Default(ptr *uint8) uint8

ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil

func ToUint8Slice

func ToUint8Slice(ptrSlice *[]uint8) []uint8

ToUint8Slice - returns a uint8 slice of the pointer passed in

func ToUintDefault

func ToUintDefault(ptr *uint) uint

ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil

func ToUintSlice

func ToUintSlice(ptrSlice *[]uint) []uint

ToUintSlice - returns a uint slice of the pointer passed in

func ToValue

func ToValue[T any](ptr *T) T

ToValue - returns the value 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

type APIKey struct {
	Key    string
	Prefix string
}

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

type ApiReplicasetsFindByIdRequest

type ApiReplicasetsFindByIdRequest struct {
	ApiService *ReplicaSetApiService
	// contains filtered or unexported fields
}

func (ApiReplicasetsFindByIdRequest) Execute

type ApiReplicasetsGetRequest

type ApiReplicasetsGetRequest struct {
	ApiService *ReplicaSetApiService
	// contains filtered or unexported fields
}

func (ApiReplicasetsGetRequest) Execute

func (ApiReplicasetsGetRequest) FilterName

func (r ApiReplicasetsGetRequest) FilterName(filterName string) ApiReplicasetsGetRequest

func (ApiReplicasetsGetRequest) Limit

func (ApiReplicasetsGetRequest) Offset

type ApiReplicasetsPostRequest

type ApiReplicasetsPostRequest struct {
	ApiService *ReplicaSetApiService
	// contains filtered or unexported fields
}

func (ApiReplicasetsPostRequest) Execute

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 (ApiReplicasetsPutRequest) ReplicaSetEnsure

func (r ApiReplicasetsPutRequest) ReplicaSetEnsure(replicaSetEnsure ReplicaSetEnsure) ApiReplicasetsPutRequest

type ApiSnapshotsFindByIdRequest

type ApiSnapshotsFindByIdRequest struct {
	ApiService *SnapshotApiService
	// contains filtered or unexported fields
}

func (ApiSnapshotsFindByIdRequest) Execute

type ApiSnapshotsGetRequest

type ApiSnapshotsGetRequest struct {
	ApiService *SnapshotApiService
	// contains filtered or unexported fields
}

func (ApiSnapshotsGetRequest) Execute

func (ApiSnapshotsGetRequest) Limit

func (ApiSnapshotsGetRequest) Offset

type ApiSnapshotsRestoresFindByIdRequest

type ApiSnapshotsRestoresFindByIdRequest struct {
	ApiService *RestoreApiService
	// contains filtered or unexported fields
}

func (ApiSnapshotsRestoresFindByIdRequest) Execute

type ApiSnapshotsRestoresGetRequest

type ApiSnapshotsRestoresGetRequest struct {
	ApiService *RestoreApiService
	// contains filtered or unexported fields
}

func (ApiSnapshotsRestoresGetRequest) Execute

func (ApiSnapshotsRestoresGetRequest) FilterName

func (ApiSnapshotsRestoresGetRequest) Limit

func (ApiSnapshotsRestoresGetRequest) Offset

type ApiSnapshotsRestoresPostRequest

type ApiSnapshotsRestoresPostRequest struct {
	ApiService *RestoreApiService
	// contains filtered or unexported fields
}

func (ApiSnapshotsRestoresPostRequest) Execute

func (ApiSnapshotsRestoresPostRequest) RestoreCreate

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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) SetCidr

func (o *Connection) SetCidr(v string)

SetCidr sets field value

func (*Connection) SetDatacenterId

func (o *Connection) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*Connection) SetLanId

func (o *Connection) SetLanId(v string)

SetLanId 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

func (o *Error) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*Error) GetHttpStatusOk

func (o *Error) GetHttpStatusOk() (*int32, bool)

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

func (o *Error) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error) HasMessages

func (o *Error) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetHttpStatus

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus sets field value

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

type HashedPassword struct {
	Algorithm *string `json:"algorithm"`
	Hash      *string `json:"hash"`
}

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

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error
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() *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

func (o *Links) GetNext() *string

GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetNextOk

func (o *Links) GetNextOk() (*string, bool)

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

func (o *Links) GetPrev() *string

GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetPrevOk

func (o *Links) GetPrevOk() (*string, bool)

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

func (o *Links) GetSelf() *string

GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetSelfOk

func (o *Links) GetSelfOk() (*string, bool)

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) HasNext

func (o *Links) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Links) HasPrev

func (o *Links) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*Links) HasSelf

func (o *Links) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (Links) MarshalJSON

func (o Links) MarshalJSON() ([]byte, error)

func (*Links) SetNext

func (o *Links) SetNext(v string)

SetNext sets field value

func (*Links) SetPrev

func (o *Links) SetPrev(v string)

SetPrev sets field value

func (*Links) SetSelf

func (o *Links) SetSelf(v string)

SetSelf sets field value

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
)

func (*LogLevel) Get

func (l *LogLevel) Get() LogLevel

func (*LogLevel) Satisfies

func (l *LogLevel) Satisfies(v LogLevel) bool

Satisfies returns true if this LogLevel is at least high enough for v

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

func (o *Metadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByOk

func (o *Metadata) 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 (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) 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 (*Metadata) GetCreatedDate

func (o *Metadata) 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 (*Metadata) GetCreatedDateOk

func (o *Metadata) 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 (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) 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 (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) 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 (*Metadata) GetLastModifiedDate

func (o *Metadata) 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 (*Metadata) GetLastModifiedDateOk

func (o *Metadata) 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 (*Metadata) GetResourceURN

func (o *Metadata) GetResourceURN() *string

GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetResourceURNOk

func (o *Metadata) 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 (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasResourceURN

func (o *Metadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (Metadata) MarshalJSON

func (o Metadata) MarshalJSON() ([]byte, error)

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*Metadata) SetResourceURN

func (o *Metadata) SetResourceURN(v string)

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 (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 (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 (NullableEvictionPolicy) IsSet

func (v NullableEvictionPolicy) IsSet() bool

func (NullableEvictionPolicy) MarshalJSON

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

func (*NullableEvictionPolicy) Set

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 (NullableHashedPassword) IsSet

func (v NullableHashedPassword) IsSet() bool

func (NullableHashedPassword) MarshalJSON

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

func (*NullableHashedPassword) Set

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 struct {
	// contains filtered or unexported fields
}
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 (NullableMaintenanceWindow) IsSet

func (v NullableMaintenanceWindow) IsSet() bool

func (NullableMaintenanceWindow) MarshalJSON

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

func (*NullableMaintenanceWindow) Set

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 (NullablePersistenceMode) IsSet

func (v NullablePersistenceMode) IsSet() bool

func (NullablePersistenceMode) MarshalJSON

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

func (*NullablePersistenceMode) Set

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 (NullableReplicaSetCreate) IsSet

func (v NullableReplicaSetCreate) IsSet() bool

func (NullableReplicaSetCreate) MarshalJSON

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

func (*NullableReplicaSetCreate) Set

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 (NullableReplicaSetEnsure) IsSet

func (v NullableReplicaSetEnsure) IsSet() bool

func (NullableReplicaSetEnsure) MarshalJSON

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

func (*NullableReplicaSetEnsure) Set

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 (NullableReplicaSetMetadata) IsSet

func (v NullableReplicaSetMetadata) IsSet() bool

func (NullableReplicaSetMetadata) MarshalJSON

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

func (*NullableReplicaSetMetadata) Set

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 (NullableReplicaSetMetadataAllOf) Get

func (NullableReplicaSetMetadataAllOf) IsSet

func (NullableReplicaSetMetadataAllOf) MarshalJSON

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

func (*NullableReplicaSetMetadataAllOf) Set

func (*NullableReplicaSetMetadataAllOf) UnmarshalJSON

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

func (*NullableReplicaSetMetadataAllOf) Unset

type NullableReplicaSetRead

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

func NewNullableReplicaSetRead

func NewNullableReplicaSetRead(val *ReplicaSetRead) *NullableReplicaSetRead

func (NullableReplicaSetRead) Get

func (NullableReplicaSetRead) IsSet

func (v NullableReplicaSetRead) IsSet() bool

func (NullableReplicaSetRead) MarshalJSON

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

func (*NullableReplicaSetRead) Set

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 (NullableReplicaSetReadList) IsSet

func (v NullableReplicaSetReadList) IsSet() bool

func (NullableReplicaSetReadList) MarshalJSON

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

func (*NullableReplicaSetReadList) Set

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 (NullableReplicaSetReadListAllOf) Get

func (NullableReplicaSetReadListAllOf) IsSet

func (NullableReplicaSetReadListAllOf) MarshalJSON

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

func (*NullableReplicaSetReadListAllOf) Set

func (*NullableReplicaSetReadListAllOf) UnmarshalJSON

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

func (*NullableReplicaSetReadListAllOf) Unset

type NullableResourceState

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

func NewNullableResourceState

func NewNullableResourceState(val *ResourceState) *NullableResourceState

func (NullableResourceState) Get

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 (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 (NullableRestoreMetadata) IsSet

func (v NullableRestoreMetadata) IsSet() bool

func (NullableRestoreMetadata) MarshalJSON

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

func (*NullableRestoreMetadata) Set

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 (NullableRestoreMetadataAllOf) IsSet

func (NullableRestoreMetadataAllOf) MarshalJSON

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

func (*NullableRestoreMetadataAllOf) Set

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 (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 (NullableRestoreReadList) IsSet

func (v NullableRestoreReadList) IsSet() bool

func (NullableRestoreReadList) MarshalJSON

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

func (*NullableRestoreReadList) Set

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 (NullableRestoreReadListAllOf) IsSet

func (NullableRestoreReadListAllOf) MarshalJSON

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

func (*NullableRestoreReadListAllOf) Set

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 (NullableSnapshotCreate) IsSet

func (v NullableSnapshotCreate) IsSet() bool

func (NullableSnapshotCreate) MarshalJSON

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

func (*NullableSnapshotCreate) Set

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 (NullableSnapshotEnsure) IsSet

func (v NullableSnapshotEnsure) IsSet() bool

func (NullableSnapshotEnsure) MarshalJSON

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

func (*NullableSnapshotEnsure) Set

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 (NullableSnapshotMetadata) IsSet

func (v NullableSnapshotMetadata) IsSet() bool

func (NullableSnapshotMetadata) MarshalJSON

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

func (*NullableSnapshotMetadata) Set

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 (NullableSnapshotMetadataAllOf) Get

func (NullableSnapshotMetadataAllOf) IsSet

func (NullableSnapshotMetadataAllOf) MarshalJSON

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

func (*NullableSnapshotMetadataAllOf) Set

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 (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 (NullableSnapshotReadList) IsSet

func (v NullableSnapshotReadList) IsSet() bool

func (NullableSnapshotReadList) MarshalJSON

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

func (*NullableSnapshotReadList) Set

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 (NullableSnapshotReadListAllOf) Get

func (NullableSnapshotReadListAllOf) IsSet

func (NullableSnapshotReadListAllOf) MarshalJSON

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

func (*NullableSnapshotReadListAllOf) Set

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 (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 (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 (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)

func (*Pagination) SetLimit

func (o *Pagination) SetLimit(v int32)

SetLimit sets field value

func (o *Pagination) SetLinks(v Links)

SetLinks sets field value

func (*Pagination) SetOffset

func (o *Pagination) SetOffset(v int32)

SetOffset sets field value

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

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

* Execute executes the request * @return ReplicaSetRead

func (*ReplicaSetApiService) ReplicasetsGet

  • 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

* Execute executes the request * @return ReplicaSetReadList

func (*ReplicaSetApiService) ReplicasetsPost

  • 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

* 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

* 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) SetId

func (o *ReplicaSetEnsure) SetId(v string)

SetId sets field value

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) SetId

func (o *ReplicaSetRead) SetId(v string)

SetId 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 (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 (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 (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

func NewResources(cores int32, ram int32, storage int32) *Resources

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

func (o *Resources) GetCores() *int32

GetCores returns the Cores field value If the value is explicit nil, the zero value for int32 will be returned

func (*Resources) GetCoresOk

func (o *Resources) GetCoresOk() (*int32, bool)

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

func (o *Resources) GetRam() *int32

GetRam returns the Ram field value If the value is explicit nil, the zero value for int32 will be returned

func (*Resources) GetRamOk

func (o *Resources) GetRamOk() (*int32, bool)

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

func (o *Resources) GetStorage() *int32

GetStorage returns the Storage field value If the value is explicit nil, the zero value for int32 will be returned

func (*Resources) GetStorageOk

func (o *Resources) GetStorageOk() (*int32, bool)

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) HasCores

func (o *Resources) HasCores() bool

HasCores returns a boolean if a field has been set.

func (*Resources) HasRam

func (o *Resources) HasRam() bool

HasRam returns a boolean if a field has been set.

func (*Resources) HasStorage

func (o *Resources) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (Resources) MarshalJSON

func (o Resources) MarshalJSON() ([]byte, error)

func (*Resources) SetCores

func (o *Resources) SetCores(v int32)

SetCores sets field value

func (*Resources) SetRam

func (o *Resources) SetRam(v int32)

SetRam sets field value

func (*Resources) SetStorage

func (o *Resources) SetStorage(v int32)

SetStorage sets field value

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

func NewRestore(replicasetId string) *Restore

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

func (o *Restore) GetDescription() *string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*Restore) GetDescriptionOk

func (o *Restore) GetDescriptionOk() (*string, bool)

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

func (o *Restore) GetDisplayName() *string

GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned

func (*Restore) GetDisplayNameOk

func (o *Restore) 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 (*Restore) GetReplicasetId

func (o *Restore) GetReplicasetId() *string

GetReplicasetId returns the ReplicasetId field value If the value is explicit nil, the zero value for string will be returned

func (*Restore) GetReplicasetIdOk

func (o *Restore) 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 (*Restore) HasDescription

func (o *Restore) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Restore) HasDisplayName

func (o *Restore) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Restore) HasReplicasetId

func (o *Restore) HasReplicasetId() bool

HasReplicasetId returns a boolean if a field has been set.

func (Restore) MarshalJSON

func (o Restore) MarshalJSON() ([]byte, error)

func (*Restore) SetDescription

func (o *Restore) SetDescription(v string)

SetDescription sets field value

func (*Restore) SetDisplayName

func (o *Restore) SetDisplayName(v string)

SetDisplayName sets field value

func (*Restore) SetReplicasetId

func (o *Restore) SetReplicasetId(v string)

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) SetHref

func (o *RestoreRead) SetHref(v string)

SetHref sets field value

func (*RestoreRead) SetId

func (o *RestoreRead) SetId(v string)

SetId sets field value

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

func (*RestoreRead) SetType

func (o *RestoreRead) SetType(v string)

SetType 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 (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 (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) SetId

func (o *RestoreReadList) SetId(v string)

SetId 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 (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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

  • 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

* 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) SetId

func (o *SnapshotEnsure) SetId(v string)

SetId sets field value

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) SetHref

func (o *SnapshotRead) SetHref(v string)

SetHref sets field value

func (*SnapshotRead) SetId

func (o *SnapshotRead) SetId(v string)

SetId sets field value

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

func (*SnapshotRead) SetType

func (o *SnapshotRead) SetType(v string)

SetType 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 (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 (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) SetId

func (o *SnapshotReadList) SetId(v string)

SetId 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 (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 TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

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

func (o *User) GetUsername() *string

GetUsername returns the Username field value If the value is explicit nil, the zero value for string will be returned

func (*User) GetUsernameOk

func (o *User) GetUsernameOk() (*string, bool)

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

func (o *User) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*User) HasUsername

func (o *User) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetPassword

func (o *User) SetPassword(v UserPassword)

SetPassword sets field value

func (*User) SetUsername

func (o *User) SetUsername(v string)

SetUsername sets field value

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

Jump to

Keyboard shortcuts

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