ionoscloud

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 26 Imported by: 1

README

Gitter

Go API client for ionoscloud

Object Storage Management API is a RESTful API that manages the object storage service configuration for IONOS Cloud.

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.

  • API version: 0.1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

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://s3.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://s3.ionos.com

API Endpoints table
Class Method HTTP request Description
AccesskeysApi AccesskeysDelete Delete /accesskeys/{accesskeyId} Delete AccessKey
AccesskeysApi AccesskeysFindById Get /accesskeys/{accesskeyId} Retrieve AccessKey
AccesskeysApi AccesskeysGet Get /accesskeys Retrieve all Accesskeys
AccesskeysApi AccesskeysPost Post /accesskeys Create AccessKey
AccesskeysApi AccesskeysPut Put /accesskeys/{accesskeyId} Ensure AccessKey
AccesskeysApi AccesskeysRenew Put /accesskeys/{accesskeyId}/renew Ensure AccessKey
RegionsApi RegionsFindByRegion Get /regions/{region} Retrieve Region
RegionsApi RegionsGet Get /regions Retrieve all Regions

Documentation For Models

All URIs are relative to https://s3.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.0.0"
)
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://s3.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://s3.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 {
	AccesskeysApi *AccesskeysApiService

	RegionsApi *RegionsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Cloud - Object Storage Management API API v0.1.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 AccessKey

type AccessKey struct {
	// Description of the Access key.
	Description *string `json:"description"`
	// Access key metadata is a string of 92 characters.
	AccessKey *string `json:"accessKey"`
	// The secret key of the Access key.
	SecretKey *string `json:"secretKey"`
	// The canonical user ID which is valid for user-owned buckets.
	CanonicalUserId *string `json:"canonicalUserId,omitempty"`
	// The contract user ID which is valid for contract-owned buckets.
	ContractUserId *string `json:"contractUserId,omitempty"`
}

AccessKey Per user access key.

func NewAccessKey

func NewAccessKey(description string, accessKey string, secretKey string) *AccessKey

NewAccessKey instantiates a new AccessKey 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 NewAccessKeyWithDefaults

func NewAccessKeyWithDefaults() *AccessKey

NewAccessKeyWithDefaults instantiates a new AccessKey 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 (*AccessKey) GetAccessKey

func (o *AccessKey) GetAccessKey() *string

GetAccessKey returns the AccessKey field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKey) GetAccessKeyOk

func (o *AccessKey) GetAccessKeyOk() (*string, bool)

GetAccessKeyOk returns a tuple with the AccessKey field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccessKey) GetCanonicalUserId

func (o *AccessKey) GetCanonicalUserId() *string

GetCanonicalUserId returns the CanonicalUserId field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKey) GetCanonicalUserIdOk

func (o *AccessKey) GetCanonicalUserIdOk() (*string, bool)

GetCanonicalUserIdOk returns a tuple with the CanonicalUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccessKey) GetContractUserId

func (o *AccessKey) GetContractUserId() *string

GetContractUserId returns the ContractUserId field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKey) GetContractUserIdOk

func (o *AccessKey) GetContractUserIdOk() (*string, bool)

GetContractUserIdOk returns a tuple with the ContractUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccessKey) GetDescription

func (o *AccessKey) GetDescription() *string

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

func (*AccessKey) GetDescriptionOk

func (o *AccessKey) 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 (*AccessKey) GetSecretKey

func (o *AccessKey) GetSecretKey() *string

GetSecretKey returns the SecretKey field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKey) GetSecretKeyOk

func (o *AccessKey) GetSecretKeyOk() (*string, bool)

GetSecretKeyOk returns a tuple with the SecretKey field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccessKey) HasAccessKey

func (o *AccessKey) HasAccessKey() bool

HasAccessKey returns a boolean if a field has been set.

func (*AccessKey) HasCanonicalUserId

func (o *AccessKey) HasCanonicalUserId() bool

HasCanonicalUserId returns a boolean if a field has been set.

func (*AccessKey) HasContractUserId

func (o *AccessKey) HasContractUserId() bool

HasContractUserId returns a boolean if a field has been set.

func (*AccessKey) HasDescription

func (o *AccessKey) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccessKey) HasSecretKey

func (o *AccessKey) HasSecretKey() bool

HasSecretKey returns a boolean if a field has been set.

func (AccessKey) MarshalJSON

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

func (*AccessKey) SetAccessKey

func (o *AccessKey) SetAccessKey(v string)

SetAccessKey sets field value

func (*AccessKey) SetCanonicalUserId

func (o *AccessKey) SetCanonicalUserId(v string)

SetCanonicalUserId sets field value

func (*AccessKey) SetContractUserId

func (o *AccessKey) SetContractUserId(v string)

SetContractUserId sets field value

func (*AccessKey) SetDescription

func (o *AccessKey) SetDescription(v string)

SetDescription sets field value

func (*AccessKey) SetSecretKey

func (o *AccessKey) SetSecretKey(v string)

SetSecretKey sets field value

type AccessKeyCreate

type AccessKeyCreate struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *AccessKey              `json:"properties"`
}

AccessKeyCreate struct for AccessKeyCreate

func NewAccessKeyCreate

func NewAccessKeyCreate(properties AccessKey) *AccessKeyCreate

NewAccessKeyCreate instantiates a new AccessKeyCreate 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 NewAccessKeyCreateWithDefaults

func NewAccessKeyCreateWithDefaults() *AccessKeyCreate

NewAccessKeyCreateWithDefaults instantiates a new AccessKeyCreate 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 (*AccessKeyCreate) GetMetadata

func (o *AccessKeyCreate) 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 (*AccessKeyCreate) GetMetadataOk

func (o *AccessKeyCreate) 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 (*AccessKeyCreate) GetProperties

func (o *AccessKeyCreate) GetProperties() *AccessKey

GetProperties returns the Properties field value If the value is explicit nil, the zero value for AccessKey will be returned

func (*AccessKeyCreate) GetPropertiesOk

func (o *AccessKeyCreate) GetPropertiesOk() (*AccessKey, 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 (*AccessKeyCreate) HasMetadata

func (o *AccessKeyCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*AccessKeyCreate) HasProperties

func (o *AccessKeyCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (AccessKeyCreate) MarshalJSON

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

func (*AccessKeyCreate) SetMetadata

func (o *AccessKeyCreate) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*AccessKeyCreate) SetProperties

func (o *AccessKeyCreate) SetProperties(v AccessKey)

SetProperties sets field value

type AccessKeyEnsure

type AccessKeyEnsure struct {
	// The ID (UUID) of the AccessKey.
	Id *string `json:"id"`
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *AccessKey              `json:"properties"`
}

AccessKeyEnsure struct for AccessKeyEnsure

func NewAccessKeyEnsure

func NewAccessKeyEnsure(id string, properties AccessKey) *AccessKeyEnsure

NewAccessKeyEnsure instantiates a new AccessKeyEnsure 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 NewAccessKeyEnsureWithDefaults

func NewAccessKeyEnsureWithDefaults() *AccessKeyEnsure

NewAccessKeyEnsureWithDefaults instantiates a new AccessKeyEnsure 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 (*AccessKeyEnsure) GetId

func (o *AccessKeyEnsure) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyEnsure) GetIdOk

func (o *AccessKeyEnsure) 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 (*AccessKeyEnsure) GetMetadata

func (o *AccessKeyEnsure) 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 (*AccessKeyEnsure) GetMetadataOk

func (o *AccessKeyEnsure) 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 (*AccessKeyEnsure) GetProperties

func (o *AccessKeyEnsure) GetProperties() *AccessKey

GetProperties returns the Properties field value If the value is explicit nil, the zero value for AccessKey will be returned

func (*AccessKeyEnsure) GetPropertiesOk

func (o *AccessKeyEnsure) GetPropertiesOk() (*AccessKey, 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 (*AccessKeyEnsure) HasId

func (o *AccessKeyEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*AccessKeyEnsure) HasMetadata

func (o *AccessKeyEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*AccessKeyEnsure) HasProperties

func (o *AccessKeyEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (AccessKeyEnsure) MarshalJSON

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

func (*AccessKeyEnsure) SetId

func (o *AccessKeyEnsure) SetId(v string)

SetId sets field value

func (*AccessKeyEnsure) SetMetadata

func (o *AccessKeyEnsure) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*AccessKeyEnsure) SetProperties

func (o *AccessKeyEnsure) SetProperties(v AccessKey)

SetProperties sets field value

type AccessKeyRead

type AccessKeyRead struct {
	// The ID (UUID) of the AccessKey.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the AccessKey.
	Href       *string                       `json:"href"`
	Metadata   *MetadataWithSupportedRegions `json:"metadata"`
	Properties *AccessKey                    `json:"properties"`
}

AccessKeyRead struct for AccessKeyRead

func NewAccessKeyRead

func NewAccessKeyRead(id string, type_ string, href string, metadata MetadataWithSupportedRegions, properties AccessKey) *AccessKeyRead

NewAccessKeyRead instantiates a new AccessKeyRead 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 NewAccessKeyReadWithDefaults

func NewAccessKeyReadWithDefaults() *AccessKeyRead

NewAccessKeyReadWithDefaults instantiates a new AccessKeyRead 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 (*AccessKeyRead) GetHref

func (o *AccessKeyRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyRead) GetHrefOk

func (o *AccessKeyRead) 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 (*AccessKeyRead) GetId

func (o *AccessKeyRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyRead) GetIdOk

func (o *AccessKeyRead) 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 (*AccessKeyRead) GetMetadata

func (o *AccessKeyRead) GetMetadata() *MetadataWithSupportedRegions

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithSupportedRegions will be returned

func (*AccessKeyRead) GetMetadataOk

func (o *AccessKeyRead) GetMetadataOk() (*MetadataWithSupportedRegions, 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 (*AccessKeyRead) GetProperties

func (o *AccessKeyRead) GetProperties() *AccessKey

GetProperties returns the Properties field value If the value is explicit nil, the zero value for AccessKey will be returned

func (*AccessKeyRead) GetPropertiesOk

func (o *AccessKeyRead) GetPropertiesOk() (*AccessKey, 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 (*AccessKeyRead) GetType

func (o *AccessKeyRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyRead) GetTypeOk

func (o *AccessKeyRead) 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 (*AccessKeyRead) HasHref

func (o *AccessKeyRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*AccessKeyRead) HasId

func (o *AccessKeyRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*AccessKeyRead) HasMetadata

func (o *AccessKeyRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*AccessKeyRead) HasProperties

func (o *AccessKeyRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*AccessKeyRead) HasType

func (o *AccessKeyRead) HasType() bool

HasType returns a boolean if a field has been set.

func (AccessKeyRead) MarshalJSON

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

func (*AccessKeyRead) SetHref

func (o *AccessKeyRead) SetHref(v string)

SetHref sets field value

func (*AccessKeyRead) SetId

func (o *AccessKeyRead) SetId(v string)

SetId sets field value

func (*AccessKeyRead) SetMetadata

func (o *AccessKeyRead) SetMetadata(v MetadataWithSupportedRegions)

SetMetadata sets field value

func (*AccessKeyRead) SetProperties

func (o *AccessKeyRead) SetProperties(v AccessKey)

SetProperties sets field value

func (*AccessKeyRead) SetType

func (o *AccessKeyRead) SetType(v string)

SetType sets field value

type AccessKeyReadList

type AccessKeyReadList struct {
	// ID of the list of AccessKey resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of AccessKey resources.
	Href *string `json:"href"`
	// The list of AccessKey resources.
	Items *[]AccessKeyRead `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"`
}

AccessKeyReadList struct for AccessKeyReadList

func NewAccessKeyReadList

func NewAccessKeyReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *AccessKeyReadList

NewAccessKeyReadList instantiates a new AccessKeyReadList 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 NewAccessKeyReadListWithDefaults

func NewAccessKeyReadListWithDefaults() *AccessKeyReadList

NewAccessKeyReadListWithDefaults instantiates a new AccessKeyReadList 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 (*AccessKeyReadList) GetHref

func (o *AccessKeyReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyReadList) GetHrefOk

func (o *AccessKeyReadList) 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 (*AccessKeyReadList) GetId

func (o *AccessKeyReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyReadList) GetIdOk

func (o *AccessKeyReadList) 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 (*AccessKeyReadList) GetItems

func (o *AccessKeyReadList) GetItems() *[]AccessKeyRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []AccessKeyRead will be returned

func (*AccessKeyReadList) GetItemsOk

func (o *AccessKeyReadList) GetItemsOk() (*[]AccessKeyRead, 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 (*AccessKeyReadList) GetLimit

func (o *AccessKeyReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*AccessKeyReadList) GetLimitOk

func (o *AccessKeyReadList) 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 *AccessKeyReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*AccessKeyReadList) GetLinksOk

func (o *AccessKeyReadList) 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 (*AccessKeyReadList) GetOffset

func (o *AccessKeyReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*AccessKeyReadList) GetOffsetOk

func (o *AccessKeyReadList) 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 (*AccessKeyReadList) GetType

func (o *AccessKeyReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyReadList) GetTypeOk

func (o *AccessKeyReadList) 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 (*AccessKeyReadList) HasHref

func (o *AccessKeyReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*AccessKeyReadList) HasId

func (o *AccessKeyReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*AccessKeyReadList) HasItems

func (o *AccessKeyReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*AccessKeyReadList) HasLimit

func (o *AccessKeyReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *AccessKeyReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*AccessKeyReadList) HasOffset

func (o *AccessKeyReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*AccessKeyReadList) HasType

func (o *AccessKeyReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (AccessKeyReadList) MarshalJSON

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

func (*AccessKeyReadList) SetHref

func (o *AccessKeyReadList) SetHref(v string)

SetHref sets field value

func (*AccessKeyReadList) SetId

func (o *AccessKeyReadList) SetId(v string)

SetId sets field value

func (*AccessKeyReadList) SetItems

func (o *AccessKeyReadList) SetItems(v []AccessKeyRead)

SetItems sets field value

func (*AccessKeyReadList) SetLimit

func (o *AccessKeyReadList) SetLimit(v int32)

SetLimit sets field value

func (o *AccessKeyReadList) SetLinks(v Links)

SetLinks sets field value

func (*AccessKeyReadList) SetOffset

func (o *AccessKeyReadList) SetOffset(v int32)

SetOffset sets field value

func (*AccessKeyReadList) SetType

func (o *AccessKeyReadList) SetType(v string)

SetType sets field value

type AccessKeyReadListAllOf

type AccessKeyReadListAllOf struct {
	// ID of the list of AccessKey resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of AccessKey resources.
	Href *string `json:"href"`
	// The list of AccessKey resources.
	Items *[]AccessKeyRead `json:"items,omitempty"`
}

AccessKeyReadListAllOf struct for AccessKeyReadListAllOf

func NewAccessKeyReadListAllOf

func NewAccessKeyReadListAllOf(id string, type_ string, href string) *AccessKeyReadListAllOf

NewAccessKeyReadListAllOf instantiates a new AccessKeyReadListAllOf 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 NewAccessKeyReadListAllOfWithDefaults

func NewAccessKeyReadListAllOfWithDefaults() *AccessKeyReadListAllOf

NewAccessKeyReadListAllOfWithDefaults instantiates a new AccessKeyReadListAllOf 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 (*AccessKeyReadListAllOf) GetHref

func (o *AccessKeyReadListAllOf) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyReadListAllOf) GetHrefOk

func (o *AccessKeyReadListAllOf) 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 (*AccessKeyReadListAllOf) GetId

func (o *AccessKeyReadListAllOf) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyReadListAllOf) GetIdOk

func (o *AccessKeyReadListAllOf) 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 (*AccessKeyReadListAllOf) GetItems

func (o *AccessKeyReadListAllOf) GetItems() *[]AccessKeyRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []AccessKeyRead will be returned

func (*AccessKeyReadListAllOf) GetItemsOk

func (o *AccessKeyReadListAllOf) GetItemsOk() (*[]AccessKeyRead, 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 (*AccessKeyReadListAllOf) GetType

func (o *AccessKeyReadListAllOf) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*AccessKeyReadListAllOf) GetTypeOk

func (o *AccessKeyReadListAllOf) 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 (*AccessKeyReadListAllOf) HasHref

func (o *AccessKeyReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*AccessKeyReadListAllOf) HasId

func (o *AccessKeyReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*AccessKeyReadListAllOf) HasItems

func (o *AccessKeyReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*AccessKeyReadListAllOf) HasType

func (o *AccessKeyReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (AccessKeyReadListAllOf) MarshalJSON

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

func (*AccessKeyReadListAllOf) SetHref

func (o *AccessKeyReadListAllOf) SetHref(v string)

SetHref sets field value

func (*AccessKeyReadListAllOf) SetId

func (o *AccessKeyReadListAllOf) SetId(v string)

SetId sets field value

func (*AccessKeyReadListAllOf) SetItems

func (o *AccessKeyReadListAllOf) SetItems(v []AccessKeyRead)

SetItems sets field value

func (*AccessKeyReadListAllOf) SetType

func (o *AccessKeyReadListAllOf) SetType(v string)

SetType sets field value

type AccesskeysApiService

type AccesskeysApiService service

AccesskeysApiService AccesskeysApi service

func (*AccesskeysApiService) AccesskeysDelete

func (a *AccesskeysApiService) AccesskeysDelete(ctx _context.Context, accesskeyId string) ApiAccesskeysDeleteRequest

* AccesskeysDelete Delete AccessKey * Deletes the specified AccessKey. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param accesskeyId The ID (UUID) of the AccessKey. * @return ApiAccesskeysDeleteRequest

func (*AccesskeysApiService) AccesskeysDeleteExecute

func (a *AccesskeysApiService) AccesskeysDeleteExecute(r ApiAccesskeysDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*AccesskeysApiService) AccesskeysFindById

func (a *AccesskeysApiService) AccesskeysFindById(ctx _context.Context, accesskeyId string) ApiAccesskeysFindByIdRequest

* AccesskeysFindById Retrieve AccessKey * Returns the AccessKey by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param accesskeyId The ID (UUID) of the AccessKey. * @return ApiAccesskeysFindByIdRequest

func (*AccesskeysApiService) AccesskeysFindByIdExecute

* Execute executes the request * @return AccessKeyRead

func (*AccesskeysApiService) AccesskeysGet

  • AccesskeysGet Retrieve all Accesskeys
  • This endpoint enables retrieving all Accesskeys using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiAccesskeysGetRequest

func (*AccesskeysApiService) AccesskeysGetExecute

* Execute executes the request * @return AccessKeyReadList

func (*AccesskeysApiService) AccesskeysPost

  • AccesskeysPost Create AccessKey
  • Creates a new AccessKey.

The full AccessKey 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 ApiAccesskeysPostRequest

func (*AccesskeysApiService) AccesskeysPostExecute

* Execute executes the request * @return AccessKeyRead

func (*AccesskeysApiService) AccesskeysPut

func (a *AccesskeysApiService) AccesskeysPut(ctx _context.Context, accesskeyId string) ApiAccesskeysPutRequest
  • AccesskeysPut Ensure AccessKey
  • Ensures that the AccessKey with the provided ID is created or modified.

The full AccessKey needs to be provided to ensure (either update or create) the AccessKey. 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 accesskeyId The ID (UUID) of the AccessKey.
  • @return ApiAccesskeysPutRequest

func (*AccesskeysApiService) AccesskeysPutExecute

* Execute executes the request * @return AccessKeyRead

func (*AccesskeysApiService) AccesskeysRenew

func (a *AccesskeysApiService) AccesskeysRenew(ctx _context.Context, accesskeyId string) ApiAccesskeysRenewRequest

* AccesskeysRenew Ensure AccessKey * Renew will replace the existing secret access key with a new one.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param accesskeyId The ID (UUID) of the AccessKey that should be ensured. * @return ApiAccesskeysRenewRequest

func (*AccesskeysApiService) AccesskeysRenewExecute

* Execute executes the request * @return AccessKeyRead

type ApiAccesskeysDeleteRequest

type ApiAccesskeysDeleteRequest struct {
	ApiService *AccesskeysApiService
	// contains filtered or unexported fields
}

func (ApiAccesskeysDeleteRequest) Execute

type ApiAccesskeysFindByIdRequest

type ApiAccesskeysFindByIdRequest struct {
	ApiService *AccesskeysApiService
	// contains filtered or unexported fields
}

func (ApiAccesskeysFindByIdRequest) Execute

type ApiAccesskeysGetRequest

type ApiAccesskeysGetRequest struct {
	ApiService *AccesskeysApiService
	// contains filtered or unexported fields
}

func (ApiAccesskeysGetRequest) Execute

func (ApiAccesskeysGetRequest) FilterAccesskeyId

func (r ApiAccesskeysGetRequest) FilterAccesskeyId(filterAccesskeyId string) ApiAccesskeysGetRequest

func (ApiAccesskeysGetRequest) Limit

func (ApiAccesskeysGetRequest) Offset

type ApiAccesskeysPostRequest

type ApiAccesskeysPostRequest struct {
	ApiService *AccesskeysApiService
	// contains filtered or unexported fields
}

func (ApiAccesskeysPostRequest) AccessKeyCreate

func (r ApiAccesskeysPostRequest) AccessKeyCreate(accessKeyCreate AccessKeyCreate) ApiAccesskeysPostRequest

func (ApiAccesskeysPostRequest) Execute

type ApiAccesskeysPutRequest

type ApiAccesskeysPutRequest struct {
	ApiService *AccesskeysApiService
	// contains filtered or unexported fields
}

func (ApiAccesskeysPutRequest) AccessKeyEnsure

func (r ApiAccesskeysPutRequest) AccessKeyEnsure(accessKeyEnsure AccessKeyEnsure) ApiAccesskeysPutRequest

func (ApiAccesskeysPutRequest) Execute

type ApiAccesskeysRenewRequest

type ApiAccesskeysRenewRequest struct {
	ApiService *AccesskeysApiService
	// contains filtered or unexported fields
}

func (ApiAccesskeysRenewRequest) Execute

type ApiRegionsFindByRegionRequest

type ApiRegionsFindByRegionRequest struct {
	ApiService *RegionsApiService
	// contains filtered or unexported fields
}

func (ApiRegionsFindByRegionRequest) Execute

type ApiRegionsGetRequest

type ApiRegionsGetRequest struct {
	ApiService *RegionsApiService
	// contains filtered or unexported fields
}

func (ApiRegionsGetRequest) Execute

func (ApiRegionsGetRequest) Limit

func (ApiRegionsGetRequest) Offset

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 Bucket

type Bucket struct {
	// The region where the bucket is located
	Region *string `json:"region"`
	// The website URL for the bucket
	Website *string `json:"website"`
}

Bucket Buckets visible to the user.

func NewBucket

func NewBucket(region string, website string) *Bucket

NewBucket instantiates a new Bucket 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 NewBucketWithDefaults

func NewBucketWithDefaults() *Bucket

NewBucketWithDefaults instantiates a new Bucket 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 (*Bucket) GetRegion

func (o *Bucket) GetRegion() *string

GetRegion returns the Region field value If the value is explicit nil, the zero value for string will be returned

func (*Bucket) GetRegionOk

func (o *Bucket) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Bucket) GetWebsite

func (o *Bucket) GetWebsite() *string

GetWebsite returns the Website field value If the value is explicit nil, the zero value for string will be returned

func (*Bucket) GetWebsiteOk

func (o *Bucket) GetWebsiteOk() (*string, bool)

GetWebsiteOk returns a tuple with the Website field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Bucket) HasRegion

func (o *Bucket) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*Bucket) HasWebsite

func (o *Bucket) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

func (Bucket) MarshalJSON

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

func (*Bucket) SetRegion

func (o *Bucket) SetRegion(v string)

SetRegion sets field value

func (*Bucket) SetWebsite

func (o *Bucket) SetWebsite(v string)

SetWebsite sets field value

type BucketCreate

type BucketCreate struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Bucket                 `json:"properties"`
}

BucketCreate struct for BucketCreate

func NewBucketCreate

func NewBucketCreate(properties Bucket) *BucketCreate

NewBucketCreate instantiates a new BucketCreate 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 NewBucketCreateWithDefaults

func NewBucketCreateWithDefaults() *BucketCreate

NewBucketCreateWithDefaults instantiates a new BucketCreate 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 (*BucketCreate) GetMetadata

func (o *BucketCreate) 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 (*BucketCreate) GetMetadataOk

func (o *BucketCreate) 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 (*BucketCreate) GetProperties

func (o *BucketCreate) GetProperties() *Bucket

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Bucket will be returned

func (*BucketCreate) GetPropertiesOk

func (o *BucketCreate) GetPropertiesOk() (*Bucket, 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 (*BucketCreate) HasMetadata

func (o *BucketCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*BucketCreate) HasProperties

func (o *BucketCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (BucketCreate) MarshalJSON

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

func (*BucketCreate) SetMetadata

func (o *BucketCreate) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*BucketCreate) SetProperties

func (o *BucketCreate) SetProperties(v Bucket)

SetProperties sets field value

type BucketEnsure

type BucketEnsure struct {
	// The Bucket of the Bucket.
	Id *string `json:"id"`
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Bucket                 `json:"properties"`
}

BucketEnsure struct for BucketEnsure

func NewBucketEnsure

func NewBucketEnsure(id string, properties Bucket) *BucketEnsure

NewBucketEnsure instantiates a new BucketEnsure 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 NewBucketEnsureWithDefaults

func NewBucketEnsureWithDefaults() *BucketEnsure

NewBucketEnsureWithDefaults instantiates a new BucketEnsure 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 (*BucketEnsure) GetId

func (o *BucketEnsure) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*BucketEnsure) GetIdOk

func (o *BucketEnsure) 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 (*BucketEnsure) GetMetadata

func (o *BucketEnsure) 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 (*BucketEnsure) GetMetadataOk

func (o *BucketEnsure) 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 (*BucketEnsure) GetProperties

func (o *BucketEnsure) GetProperties() *Bucket

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Bucket will be returned

func (*BucketEnsure) GetPropertiesOk

func (o *BucketEnsure) GetPropertiesOk() (*Bucket, 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 (*BucketEnsure) HasId

func (o *BucketEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*BucketEnsure) HasMetadata

func (o *BucketEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*BucketEnsure) HasProperties

func (o *BucketEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (BucketEnsure) MarshalJSON

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

func (*BucketEnsure) SetId

func (o *BucketEnsure) SetId(v string)

SetId sets field value

func (*BucketEnsure) SetMetadata

func (o *BucketEnsure) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*BucketEnsure) SetProperties

func (o *BucketEnsure) SetProperties(v Bucket)

SetProperties sets field value

type BucketRead

type BucketRead struct {
	// The Bucket of the Bucket.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Bucket.
	Href       *string                 `json:"href"`
	Metadata   *map[string]interface{} `json:"metadata"`
	Properties *Bucket                 `json:"properties"`
}

BucketRead struct for BucketRead

func NewBucketRead

func NewBucketRead(id string, type_ string, href string, metadata map[string]interface{}, properties Bucket) *BucketRead

NewBucketRead instantiates a new BucketRead 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 NewBucketReadWithDefaults

func NewBucketReadWithDefaults() *BucketRead

NewBucketReadWithDefaults instantiates a new BucketRead 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 (*BucketRead) GetHref

func (o *BucketRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*BucketRead) GetHrefOk

func (o *BucketRead) 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 (*BucketRead) GetId

func (o *BucketRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*BucketRead) GetIdOk

func (o *BucketRead) 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 (*BucketRead) GetMetadata

func (o *BucketRead) 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 (*BucketRead) GetMetadataOk

func (o *BucketRead) 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 (*BucketRead) GetProperties

func (o *BucketRead) GetProperties() *Bucket

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Bucket will be returned

func (*BucketRead) GetPropertiesOk

func (o *BucketRead) GetPropertiesOk() (*Bucket, 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 (*BucketRead) GetType

func (o *BucketRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*BucketRead) GetTypeOk

func (o *BucketRead) 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 (*BucketRead) HasHref

func (o *BucketRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*BucketRead) HasId

func (o *BucketRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*BucketRead) HasMetadata

func (o *BucketRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*BucketRead) HasProperties

func (o *BucketRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*BucketRead) HasType

func (o *BucketRead) HasType() bool

HasType returns a boolean if a field has been set.

func (BucketRead) MarshalJSON

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

func (*BucketRead) SetHref

func (o *BucketRead) SetHref(v string)

SetHref sets field value

func (*BucketRead) SetId

func (o *BucketRead) SetId(v string)

SetId sets field value

func (*BucketRead) SetMetadata

func (o *BucketRead) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*BucketRead) SetProperties

func (o *BucketRead) SetProperties(v Bucket)

SetProperties sets field value

func (*BucketRead) SetType

func (o *BucketRead) SetType(v string)

SetType sets field value

type BucketReadList

type BucketReadList struct {
	// ID of the list of Bucket resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of Bucket resources.
	Href *string `json:"href"`
	// The list of Bucket resources.
	Items *[]BucketRead `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"`
}

BucketReadList struct for BucketReadList

func NewBucketReadList

func NewBucketReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *BucketReadList

NewBucketReadList instantiates a new BucketReadList 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 NewBucketReadListWithDefaults

func NewBucketReadListWithDefaults() *BucketReadList

NewBucketReadListWithDefaults instantiates a new BucketReadList 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 (*BucketReadList) GetHref

func (o *BucketReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*BucketReadList) GetHrefOk

func (o *BucketReadList) 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 (*BucketReadList) GetId

func (o *BucketReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*BucketReadList) GetIdOk

func (o *BucketReadList) 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 (*BucketReadList) GetItems

func (o *BucketReadList) GetItems() *[]BucketRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []BucketRead will be returned

func (*BucketReadList) GetItemsOk

func (o *BucketReadList) GetItemsOk() (*[]BucketRead, 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 (*BucketReadList) GetLimit

func (o *BucketReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*BucketReadList) GetLimitOk

func (o *BucketReadList) 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 *BucketReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*BucketReadList) GetLinksOk

func (o *BucketReadList) 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 (*BucketReadList) GetOffset

func (o *BucketReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*BucketReadList) GetOffsetOk

func (o *BucketReadList) 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 (*BucketReadList) GetType

func (o *BucketReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*BucketReadList) GetTypeOk

func (o *BucketReadList) 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 (*BucketReadList) HasHref

func (o *BucketReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*BucketReadList) HasId

func (o *BucketReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*BucketReadList) HasItems

func (o *BucketReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*BucketReadList) HasLimit

func (o *BucketReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *BucketReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BucketReadList) HasOffset

func (o *BucketReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*BucketReadList) HasType

func (o *BucketReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (BucketReadList) MarshalJSON

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

func (*BucketReadList) SetHref

func (o *BucketReadList) SetHref(v string)

SetHref sets field value

func (*BucketReadList) SetId

func (o *BucketReadList) SetId(v string)

SetId sets field value

func (*BucketReadList) SetItems

func (o *BucketReadList) SetItems(v []BucketRead)

SetItems sets field value

func (*BucketReadList) SetLimit

func (o *BucketReadList) SetLimit(v int32)

SetLimit sets field value

func (o *BucketReadList) SetLinks(v Links)

SetLinks sets field value

func (*BucketReadList) SetOffset

func (o *BucketReadList) SetOffset(v int32)

SetOffset sets field value

func (*BucketReadList) SetType

func (o *BucketReadList) SetType(v string)

SetType sets field value

type BucketReadListAllOf

type BucketReadListAllOf struct {
	// ID of the list of Bucket resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of Bucket resources.
	Href *string `json:"href"`
	// The list of Bucket resources.
	Items *[]BucketRead `json:"items,omitempty"`
}

BucketReadListAllOf struct for BucketReadListAllOf

func NewBucketReadListAllOf

func NewBucketReadListAllOf(id string, type_ string, href string) *BucketReadListAllOf

NewBucketReadListAllOf instantiates a new BucketReadListAllOf 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 NewBucketReadListAllOfWithDefaults

func NewBucketReadListAllOfWithDefaults() *BucketReadListAllOf

NewBucketReadListAllOfWithDefaults instantiates a new BucketReadListAllOf 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 (*BucketReadListAllOf) GetHref

func (o *BucketReadListAllOf) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*BucketReadListAllOf) GetHrefOk

func (o *BucketReadListAllOf) 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 (*BucketReadListAllOf) GetId

func (o *BucketReadListAllOf) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*BucketReadListAllOf) GetIdOk

func (o *BucketReadListAllOf) 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 (*BucketReadListAllOf) GetItems

func (o *BucketReadListAllOf) GetItems() *[]BucketRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []BucketRead will be returned

func (*BucketReadListAllOf) GetItemsOk

func (o *BucketReadListAllOf) GetItemsOk() (*[]BucketRead, 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 (*BucketReadListAllOf) GetType

func (o *BucketReadListAllOf) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*BucketReadListAllOf) GetTypeOk

func (o *BucketReadListAllOf) 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 (*BucketReadListAllOf) HasHref

func (o *BucketReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*BucketReadListAllOf) HasId

func (o *BucketReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*BucketReadListAllOf) HasItems

func (o *BucketReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*BucketReadListAllOf) HasType

func (o *BucketReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (BucketReadListAllOf) MarshalJSON

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

func (*BucketReadListAllOf) SetHref

func (o *BucketReadListAllOf) SetHref(v string)

SetHref sets field value

func (*BucketReadListAllOf) SetId

func (o *BucketReadListAllOf) SetId(v string)

SetId sets field value

func (*BucketReadListAllOf) SetItems

func (o *BucketReadListAllOf) SetItems(v []BucketRead)

SetItems sets field value

func (*BucketReadListAllOf) SetType

func (o *BucketReadListAllOf) SetType(v string)

SetType sets field value

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 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 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 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 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 MetadataWithStatus

type MetadataWithStatus 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"`
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,omitempty"`
	// Indicates if the key is an administrative key. Administrative keys can create buckets and set bucket policies.
	Administrative *bool `json:"administrative,omitempty"`
}

MetadataWithStatus struct for MetadataWithStatus

func NewMetadataWithStatus

func NewMetadataWithStatus(status string) *MetadataWithStatus

NewMetadataWithStatus instantiates a new MetadataWithStatus 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 NewMetadataWithStatusWithDefaults

func NewMetadataWithStatusWithDefaults() *MetadataWithStatus

NewMetadataWithStatusWithDefaults instantiates a new MetadataWithStatus 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 (*MetadataWithStatus) GetAdministrative

func (o *MetadataWithStatus) GetAdministrative() *bool

GetAdministrative returns the Administrative field value If the value is explicit nil, the zero value for bool will be returned

func (*MetadataWithStatus) GetAdministrativeOk

func (o *MetadataWithStatus) GetAdministrativeOk() (*bool, bool)

GetAdministrativeOk returns a tuple with the Administrative field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithStatus) GetCreatedBy

func (o *MetadataWithStatus) GetCreatedBy() *string

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

func (*MetadataWithStatus) GetCreatedByOk

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

func (o *MetadataWithStatus) GetCreatedByUserId() *string

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

func (*MetadataWithStatus) GetCreatedByUserIdOk

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

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

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

func (o *MetadataWithStatus) GetLastModifiedBy() *string

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

func (*MetadataWithStatus) GetLastModifiedByOk

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

func (o *MetadataWithStatus) GetLastModifiedByUserId() *string

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

func (*MetadataWithStatus) GetLastModifiedByUserIdOk

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

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

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

func (o *MetadataWithStatus) GetResourceURN() *string

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

func (*MetadataWithStatus) GetResourceURNOk

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetStatus

func (o *MetadataWithStatus) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetStatusMessage

func (o *MetadataWithStatus) GetStatusMessage() *string

GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetStatusMessageOk

func (o *MetadataWithStatus) GetStatusMessageOk() (*string, bool)

GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithStatus) GetStatusOk

func (o *MetadataWithStatus) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithStatus) HasAdministrative

func (o *MetadataWithStatus) HasAdministrative() bool

HasAdministrative returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedBy

func (o *MetadataWithStatus) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedByUserId

func (o *MetadataWithStatus) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedDate

func (o *MetadataWithStatus) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedBy

func (o *MetadataWithStatus) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedByUserId

func (o *MetadataWithStatus) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedDate

func (o *MetadataWithStatus) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasResourceURN

func (o *MetadataWithStatus) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithStatus) HasStatus

func (o *MetadataWithStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetadataWithStatus) HasStatusMessage

func (o *MetadataWithStatus) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (MetadataWithStatus) MarshalJSON

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

func (*MetadataWithStatus) SetAdministrative

func (o *MetadataWithStatus) SetAdministrative(v bool)

SetAdministrative sets field value

func (*MetadataWithStatus) SetCreatedBy

func (o *MetadataWithStatus) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*MetadataWithStatus) SetCreatedByUserId

func (o *MetadataWithStatus) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*MetadataWithStatus) SetCreatedDate

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

SetCreatedDate sets field value

func (*MetadataWithStatus) SetLastModifiedBy

func (o *MetadataWithStatus) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*MetadataWithStatus) SetLastModifiedByUserId

func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*MetadataWithStatus) SetLastModifiedDate

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

SetLastModifiedDate sets field value

func (*MetadataWithStatus) SetResourceURN

func (o *MetadataWithStatus) SetResourceURN(v string)

SetResourceURN sets field value

func (*MetadataWithStatus) SetStatus

func (o *MetadataWithStatus) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatus) SetStatusMessage

func (o *MetadataWithStatus) SetStatusMessage(v string)

SetStatusMessage sets field value

type MetadataWithStatusAllOf

type MetadataWithStatusAllOf struct {
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,omitempty"`
	// Indicates if the key is an administrative key. Administrative keys can create buckets and set bucket policies.
	Administrative *bool `json:"administrative,omitempty"`
}

MetadataWithStatusAllOf struct for MetadataWithStatusAllOf

func NewMetadataWithStatusAllOf

func NewMetadataWithStatusAllOf(status string) *MetadataWithStatusAllOf

NewMetadataWithStatusAllOf instantiates a new MetadataWithStatusAllOf 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 NewMetadataWithStatusAllOfWithDefaults

func NewMetadataWithStatusAllOfWithDefaults() *MetadataWithStatusAllOf

NewMetadataWithStatusAllOfWithDefaults instantiates a new MetadataWithStatusAllOf 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 (*MetadataWithStatusAllOf) GetAdministrative

func (o *MetadataWithStatusAllOf) GetAdministrative() *bool

GetAdministrative returns the Administrative field value If the value is explicit nil, the zero value for bool will be returned

func (*MetadataWithStatusAllOf) GetAdministrativeOk

func (o *MetadataWithStatusAllOf) GetAdministrativeOk() (*bool, bool)

GetAdministrativeOk returns a tuple with the Administrative field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithStatusAllOf) GetStatus

func (o *MetadataWithStatusAllOf) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatusAllOf) GetStatusMessage

func (o *MetadataWithStatusAllOf) GetStatusMessage() *string

GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatusAllOf) GetStatusMessageOk

func (o *MetadataWithStatusAllOf) GetStatusMessageOk() (*string, bool)

GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithStatusAllOf) GetStatusOk

func (o *MetadataWithStatusAllOf) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithStatusAllOf) HasAdministrative

func (o *MetadataWithStatusAllOf) HasAdministrative() bool

HasAdministrative returns a boolean if a field has been set.

func (*MetadataWithStatusAllOf) HasStatus

func (o *MetadataWithStatusAllOf) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetadataWithStatusAllOf) HasStatusMessage

func (o *MetadataWithStatusAllOf) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (MetadataWithStatusAllOf) MarshalJSON

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

func (*MetadataWithStatusAllOf) SetAdministrative

func (o *MetadataWithStatusAllOf) SetAdministrative(v bool)

SetAdministrative sets field value

func (*MetadataWithStatusAllOf) SetStatus

func (o *MetadataWithStatusAllOf) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatusAllOf) SetStatusMessage

func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)

SetStatusMessage sets field value

type MetadataWithSupportedRegions

type MetadataWithSupportedRegions 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"`
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,omitempty"`
	// Indicates if the key is an administrative key. Administrative keys can create buckets and set bucket policies.
	Administrative *bool `json:"administrative,omitempty"`
	// The list of supported regions.
	SupportedRegions *[]string `json:"supportedRegions"`
}

MetadataWithSupportedRegions struct for MetadataWithSupportedRegions

func NewMetadataWithSupportedRegions

func NewMetadataWithSupportedRegions(status string, supportedRegions []string) *MetadataWithSupportedRegions

NewMetadataWithSupportedRegions instantiates a new MetadataWithSupportedRegions 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 NewMetadataWithSupportedRegionsWithDefaults

func NewMetadataWithSupportedRegionsWithDefaults() *MetadataWithSupportedRegions

NewMetadataWithSupportedRegionsWithDefaults instantiates a new MetadataWithSupportedRegions 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 (*MetadataWithSupportedRegions) GetAdministrative

func (o *MetadataWithSupportedRegions) GetAdministrative() *bool

GetAdministrative returns the Administrative field value If the value is explicit nil, the zero value for bool will be returned

func (*MetadataWithSupportedRegions) GetAdministrativeOk

func (o *MetadataWithSupportedRegions) GetAdministrativeOk() (*bool, bool)

GetAdministrativeOk returns a tuple with the Administrative field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithSupportedRegions) GetCreatedBy

func (o *MetadataWithSupportedRegions) GetCreatedBy() *string

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

func (*MetadataWithSupportedRegions) GetCreatedByOk

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

func (o *MetadataWithSupportedRegions) GetCreatedByUserId() *string

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

func (*MetadataWithSupportedRegions) GetCreatedByUserIdOk

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

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

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

func (o *MetadataWithSupportedRegions) GetLastModifiedBy() *string

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

func (*MetadataWithSupportedRegions) GetLastModifiedByOk

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

func (o *MetadataWithSupportedRegions) GetLastModifiedByUserId() *string

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

func (*MetadataWithSupportedRegions) GetLastModifiedByUserIdOk

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

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

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

func (o *MetadataWithSupportedRegions) GetResourceURN() *string

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

func (*MetadataWithSupportedRegions) GetResourceURNOk

func (o *MetadataWithSupportedRegions) 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 (*MetadataWithSupportedRegions) GetStatus

func (o *MetadataWithSupportedRegions) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithSupportedRegions) GetStatusMessage

func (o *MetadataWithSupportedRegions) GetStatusMessage() *string

GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithSupportedRegions) GetStatusMessageOk

func (o *MetadataWithSupportedRegions) GetStatusMessageOk() (*string, bool)

GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithSupportedRegions) GetStatusOk

func (o *MetadataWithSupportedRegions) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithSupportedRegions) GetSupportedRegions

func (o *MetadataWithSupportedRegions) GetSupportedRegions() *[]string

GetSupportedRegions returns the SupportedRegions field value If the value is explicit nil, the zero value for []string will be returned

func (*MetadataWithSupportedRegions) GetSupportedRegionsOk

func (o *MetadataWithSupportedRegions) GetSupportedRegionsOk() (*[]string, bool)

GetSupportedRegionsOk returns a tuple with the SupportedRegions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithSupportedRegions) HasAdministrative

func (o *MetadataWithSupportedRegions) HasAdministrative() bool

HasAdministrative returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasCreatedBy

func (o *MetadataWithSupportedRegions) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasCreatedByUserId

func (o *MetadataWithSupportedRegions) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasCreatedDate

func (o *MetadataWithSupportedRegions) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasLastModifiedBy

func (o *MetadataWithSupportedRegions) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasLastModifiedByUserId

func (o *MetadataWithSupportedRegions) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasLastModifiedDate

func (o *MetadataWithSupportedRegions) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasResourceURN

func (o *MetadataWithSupportedRegions) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasStatus

func (o *MetadataWithSupportedRegions) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasStatusMessage

func (o *MetadataWithSupportedRegions) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (*MetadataWithSupportedRegions) HasSupportedRegions

func (o *MetadataWithSupportedRegions) HasSupportedRegions() bool

HasSupportedRegions returns a boolean if a field has been set.

func (MetadataWithSupportedRegions) MarshalJSON

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

func (*MetadataWithSupportedRegions) SetAdministrative

func (o *MetadataWithSupportedRegions) SetAdministrative(v bool)

SetAdministrative sets field value

func (*MetadataWithSupportedRegions) SetCreatedBy

func (o *MetadataWithSupportedRegions) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*MetadataWithSupportedRegions) SetCreatedByUserId

func (o *MetadataWithSupportedRegions) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*MetadataWithSupportedRegions) SetCreatedDate

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

SetCreatedDate sets field value

func (*MetadataWithSupportedRegions) SetLastModifiedBy

func (o *MetadataWithSupportedRegions) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*MetadataWithSupportedRegions) SetLastModifiedByUserId

func (o *MetadataWithSupportedRegions) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*MetadataWithSupportedRegions) SetLastModifiedDate

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

SetLastModifiedDate sets field value

func (*MetadataWithSupportedRegions) SetResourceURN

func (o *MetadataWithSupportedRegions) SetResourceURN(v string)

SetResourceURN sets field value

func (*MetadataWithSupportedRegions) SetStatus

func (o *MetadataWithSupportedRegions) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithSupportedRegions) SetStatusMessage

func (o *MetadataWithSupportedRegions) SetStatusMessage(v string)

SetStatusMessage sets field value

func (*MetadataWithSupportedRegions) SetSupportedRegions

func (o *MetadataWithSupportedRegions) SetSupportedRegions(v []string)

SetSupportedRegions sets field value

type MetadataWithSupportedRegionsAllOf

type MetadataWithSupportedRegionsAllOf struct {
	// The list of supported regions.
	SupportedRegions *[]string `json:"supportedRegions"`
}

MetadataWithSupportedRegionsAllOf struct for MetadataWithSupportedRegionsAllOf

func NewMetadataWithSupportedRegionsAllOf

func NewMetadataWithSupportedRegionsAllOf(supportedRegions []string) *MetadataWithSupportedRegionsAllOf

NewMetadataWithSupportedRegionsAllOf instantiates a new MetadataWithSupportedRegionsAllOf 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 NewMetadataWithSupportedRegionsAllOfWithDefaults

func NewMetadataWithSupportedRegionsAllOfWithDefaults() *MetadataWithSupportedRegionsAllOf

NewMetadataWithSupportedRegionsAllOfWithDefaults instantiates a new MetadataWithSupportedRegionsAllOf 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 (*MetadataWithSupportedRegionsAllOf) GetSupportedRegions

func (o *MetadataWithSupportedRegionsAllOf) GetSupportedRegions() *[]string

GetSupportedRegions returns the SupportedRegions field value If the value is explicit nil, the zero value for []string will be returned

func (*MetadataWithSupportedRegionsAllOf) GetSupportedRegionsOk

func (o *MetadataWithSupportedRegionsAllOf) GetSupportedRegionsOk() (*[]string, bool)

GetSupportedRegionsOk returns a tuple with the SupportedRegions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MetadataWithSupportedRegionsAllOf) HasSupportedRegions

func (o *MetadataWithSupportedRegionsAllOf) HasSupportedRegions() bool

HasSupportedRegions returns a boolean if a field has been set.

func (MetadataWithSupportedRegionsAllOf) MarshalJSON

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

func (*MetadataWithSupportedRegionsAllOf) SetSupportedRegions

func (o *MetadataWithSupportedRegionsAllOf) SetSupportedRegions(v []string)

SetSupportedRegions sets field value

type NullableAccessKey

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

func NewNullableAccessKey

func NewNullableAccessKey(val *AccessKey) *NullableAccessKey

func (NullableAccessKey) Get

func (v NullableAccessKey) Get() *AccessKey

func (NullableAccessKey) IsSet

func (v NullableAccessKey) IsSet() bool

func (NullableAccessKey) MarshalJSON

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

func (*NullableAccessKey) Set

func (v *NullableAccessKey) Set(val *AccessKey)

func (*NullableAccessKey) UnmarshalJSON

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

func (*NullableAccessKey) Unset

func (v *NullableAccessKey) Unset()

type NullableAccessKeyCreate

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

func NewNullableAccessKeyCreate

func NewNullableAccessKeyCreate(val *AccessKeyCreate) *NullableAccessKeyCreate

func (NullableAccessKeyCreate) Get

func (NullableAccessKeyCreate) IsSet

func (v NullableAccessKeyCreate) IsSet() bool

func (NullableAccessKeyCreate) MarshalJSON

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

func (*NullableAccessKeyCreate) Set

func (*NullableAccessKeyCreate) UnmarshalJSON

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

func (*NullableAccessKeyCreate) Unset

func (v *NullableAccessKeyCreate) Unset()

type NullableAccessKeyEnsure

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

func NewNullableAccessKeyEnsure

func NewNullableAccessKeyEnsure(val *AccessKeyEnsure) *NullableAccessKeyEnsure

func (NullableAccessKeyEnsure) Get

func (NullableAccessKeyEnsure) IsSet

func (v NullableAccessKeyEnsure) IsSet() bool

func (NullableAccessKeyEnsure) MarshalJSON

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

func (*NullableAccessKeyEnsure) Set

func (*NullableAccessKeyEnsure) UnmarshalJSON

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

func (*NullableAccessKeyEnsure) Unset

func (v *NullableAccessKeyEnsure) Unset()

type NullableAccessKeyRead

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

func NewNullableAccessKeyRead

func NewNullableAccessKeyRead(val *AccessKeyRead) *NullableAccessKeyRead

func (NullableAccessKeyRead) Get

func (NullableAccessKeyRead) IsSet

func (v NullableAccessKeyRead) IsSet() bool

func (NullableAccessKeyRead) MarshalJSON

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

func (*NullableAccessKeyRead) Set

func (v *NullableAccessKeyRead) Set(val *AccessKeyRead)

func (*NullableAccessKeyRead) UnmarshalJSON

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

func (*NullableAccessKeyRead) Unset

func (v *NullableAccessKeyRead) Unset()

type NullableAccessKeyReadList

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

func NewNullableAccessKeyReadList

func NewNullableAccessKeyReadList(val *AccessKeyReadList) *NullableAccessKeyReadList

func (NullableAccessKeyReadList) Get

func (NullableAccessKeyReadList) IsSet

func (v NullableAccessKeyReadList) IsSet() bool

func (NullableAccessKeyReadList) MarshalJSON

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

func (*NullableAccessKeyReadList) Set

func (*NullableAccessKeyReadList) UnmarshalJSON

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

func (*NullableAccessKeyReadList) Unset

func (v *NullableAccessKeyReadList) Unset()

type NullableAccessKeyReadListAllOf

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

func (NullableAccessKeyReadListAllOf) Get

func (NullableAccessKeyReadListAllOf) IsSet

func (NullableAccessKeyReadListAllOf) MarshalJSON

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

func (*NullableAccessKeyReadListAllOf) Set

func (*NullableAccessKeyReadListAllOf) UnmarshalJSON

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

func (*NullableAccessKeyReadListAllOf) Unset

func (v *NullableAccessKeyReadListAllOf) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBucket

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

func NewNullableBucket

func NewNullableBucket(val *Bucket) *NullableBucket

func (NullableBucket) Get

func (v NullableBucket) Get() *Bucket

func (NullableBucket) IsSet

func (v NullableBucket) IsSet() bool

func (NullableBucket) MarshalJSON

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

func (*NullableBucket) Set

func (v *NullableBucket) Set(val *Bucket)

func (*NullableBucket) UnmarshalJSON

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

func (*NullableBucket) Unset

func (v *NullableBucket) Unset()

type NullableBucketCreate

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

func NewNullableBucketCreate

func NewNullableBucketCreate(val *BucketCreate) *NullableBucketCreate

func (NullableBucketCreate) Get

func (NullableBucketCreate) IsSet

func (v NullableBucketCreate) IsSet() bool

func (NullableBucketCreate) MarshalJSON

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

func (*NullableBucketCreate) Set

func (v *NullableBucketCreate) Set(val *BucketCreate)

func (*NullableBucketCreate) UnmarshalJSON

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

func (*NullableBucketCreate) Unset

func (v *NullableBucketCreate) Unset()

type NullableBucketEnsure

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

func NewNullableBucketEnsure

func NewNullableBucketEnsure(val *BucketEnsure) *NullableBucketEnsure

func (NullableBucketEnsure) Get

func (NullableBucketEnsure) IsSet

func (v NullableBucketEnsure) IsSet() bool

func (NullableBucketEnsure) MarshalJSON

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

func (*NullableBucketEnsure) Set

func (v *NullableBucketEnsure) Set(val *BucketEnsure)

func (*NullableBucketEnsure) UnmarshalJSON

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

func (*NullableBucketEnsure) Unset

func (v *NullableBucketEnsure) Unset()

type NullableBucketRead

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

func NewNullableBucketRead

func NewNullableBucketRead(val *BucketRead) *NullableBucketRead

func (NullableBucketRead) Get

func (v NullableBucketRead) Get() *BucketRead

func (NullableBucketRead) IsSet

func (v NullableBucketRead) IsSet() bool

func (NullableBucketRead) MarshalJSON

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

func (*NullableBucketRead) Set

func (v *NullableBucketRead) Set(val *BucketRead)

func (*NullableBucketRead) UnmarshalJSON

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

func (*NullableBucketRead) Unset

func (v *NullableBucketRead) Unset()

type NullableBucketReadList

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

func NewNullableBucketReadList

func NewNullableBucketReadList(val *BucketReadList) *NullableBucketReadList

func (NullableBucketReadList) Get

func (NullableBucketReadList) IsSet

func (v NullableBucketReadList) IsSet() bool

func (NullableBucketReadList) MarshalJSON

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

func (*NullableBucketReadList) Set

func (*NullableBucketReadList) UnmarshalJSON

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

func (*NullableBucketReadList) Unset

func (v *NullableBucketReadList) Unset()

type NullableBucketReadListAllOf

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

func NewNullableBucketReadListAllOf

func NewNullableBucketReadListAllOf(val *BucketReadListAllOf) *NullableBucketReadListAllOf

func (NullableBucketReadListAllOf) Get

func (NullableBucketReadListAllOf) IsSet

func (NullableBucketReadListAllOf) MarshalJSON

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

func (*NullableBucketReadListAllOf) Set

func (*NullableBucketReadListAllOf) UnmarshalJSON

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

func (*NullableBucketReadListAllOf) Unset

func (v *NullableBucketReadListAllOf) 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 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 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 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 NullableMetadataWithStatus

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

func NewNullableMetadataWithStatus

func NewNullableMetadataWithStatus(val *MetadataWithStatus) *NullableMetadataWithStatus

func (NullableMetadataWithStatus) Get

func (NullableMetadataWithStatus) IsSet

func (v NullableMetadataWithStatus) IsSet() bool

func (NullableMetadataWithStatus) MarshalJSON

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

func (*NullableMetadataWithStatus) Set

func (*NullableMetadataWithStatus) UnmarshalJSON

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

func (*NullableMetadataWithStatus) Unset

func (v *NullableMetadataWithStatus) Unset()

type NullableMetadataWithStatusAllOf

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

func (NullableMetadataWithStatusAllOf) Get

func (NullableMetadataWithStatusAllOf) IsSet

func (NullableMetadataWithStatusAllOf) MarshalJSON

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

func (*NullableMetadataWithStatusAllOf) Set

func (*NullableMetadataWithStatusAllOf) UnmarshalJSON

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

func (*NullableMetadataWithStatusAllOf) Unset

type NullableMetadataWithSupportedRegions

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

func (NullableMetadataWithSupportedRegions) Get

func (NullableMetadataWithSupportedRegions) IsSet

func (NullableMetadataWithSupportedRegions) MarshalJSON

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

func (*NullableMetadataWithSupportedRegions) Set

func (*NullableMetadataWithSupportedRegions) UnmarshalJSON

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

func (*NullableMetadataWithSupportedRegions) Unset

type NullableMetadataWithSupportedRegionsAllOf

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

func (NullableMetadataWithSupportedRegionsAllOf) Get

func (NullableMetadataWithSupportedRegionsAllOf) IsSet

func (NullableMetadataWithSupportedRegionsAllOf) MarshalJSON

func (*NullableMetadataWithSupportedRegionsAllOf) Set

func (*NullableMetadataWithSupportedRegionsAllOf) UnmarshalJSON

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

func (*NullableMetadataWithSupportedRegionsAllOf) 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 NullableRegion

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

func NewNullableRegion

func NewNullableRegion(val *Region) *NullableRegion

func (NullableRegion) Get

func (v NullableRegion) Get() *Region

func (NullableRegion) IsSet

func (v NullableRegion) IsSet() bool

func (NullableRegion) MarshalJSON

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

func (*NullableRegion) Set

func (v *NullableRegion) Set(val *Region)

func (*NullableRegion) UnmarshalJSON

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

func (*NullableRegion) Unset

func (v *NullableRegion) Unset()

type NullableRegionCapability

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

func NewNullableRegionCapability

func NewNullableRegionCapability(val *RegionCapability) *NullableRegionCapability

func (NullableRegionCapability) Get

func (NullableRegionCapability) IsSet

func (v NullableRegionCapability) IsSet() bool

func (NullableRegionCapability) MarshalJSON

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

func (*NullableRegionCapability) Set

func (*NullableRegionCapability) UnmarshalJSON

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

func (*NullableRegionCapability) Unset

func (v *NullableRegionCapability) Unset()

type NullableRegionCreate

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

func NewNullableRegionCreate

func NewNullableRegionCreate(val *RegionCreate) *NullableRegionCreate

func (NullableRegionCreate) Get

func (NullableRegionCreate) IsSet

func (v NullableRegionCreate) IsSet() bool

func (NullableRegionCreate) MarshalJSON

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

func (*NullableRegionCreate) Set

func (v *NullableRegionCreate) Set(val *RegionCreate)

func (*NullableRegionCreate) UnmarshalJSON

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

func (*NullableRegionCreate) Unset

func (v *NullableRegionCreate) Unset()

type NullableRegionEnsure

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

func NewNullableRegionEnsure

func NewNullableRegionEnsure(val *RegionEnsure) *NullableRegionEnsure

func (NullableRegionEnsure) Get

func (NullableRegionEnsure) IsSet

func (v NullableRegionEnsure) IsSet() bool

func (NullableRegionEnsure) MarshalJSON

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

func (*NullableRegionEnsure) Set

func (v *NullableRegionEnsure) Set(val *RegionEnsure)

func (*NullableRegionEnsure) UnmarshalJSON

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

func (*NullableRegionEnsure) Unset

func (v *NullableRegionEnsure) Unset()

type NullableRegionRead

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

func NewNullableRegionRead

func NewNullableRegionRead(val *RegionRead) *NullableRegionRead

func (NullableRegionRead) Get

func (v NullableRegionRead) Get() *RegionRead

func (NullableRegionRead) IsSet

func (v NullableRegionRead) IsSet() bool

func (NullableRegionRead) MarshalJSON

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

func (*NullableRegionRead) Set

func (v *NullableRegionRead) Set(val *RegionRead)

func (*NullableRegionRead) UnmarshalJSON

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

func (*NullableRegionRead) Unset

func (v *NullableRegionRead) Unset()

type NullableRegionReadList

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

func NewNullableRegionReadList

func NewNullableRegionReadList(val *RegionReadList) *NullableRegionReadList

func (NullableRegionReadList) Get

func (NullableRegionReadList) IsSet

func (v NullableRegionReadList) IsSet() bool

func (NullableRegionReadList) MarshalJSON

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

func (*NullableRegionReadList) Set

func (*NullableRegionReadList) UnmarshalJSON

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

func (*NullableRegionReadList) Unset

func (v *NullableRegionReadList) Unset()

type NullableRegionReadListAllOf

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

func NewNullableRegionReadListAllOf

func NewNullableRegionReadListAllOf(val *RegionReadListAllOf) *NullableRegionReadListAllOf

func (NullableRegionReadListAllOf) Get

func (NullableRegionReadListAllOf) IsSet

func (NullableRegionReadListAllOf) MarshalJSON

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

func (*NullableRegionReadListAllOf) Set

func (*NullableRegionReadListAllOf) UnmarshalJSON

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

func (*NullableRegionReadListAllOf) Unset

func (v *NullableRegionReadListAllOf) Unset()

type NullableStorageClass

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

func NewNullableStorageClass

func NewNullableStorageClass(val *StorageClass) *NullableStorageClass

func (NullableStorageClass) Get

func (NullableStorageClass) IsSet

func (v NullableStorageClass) IsSet() bool

func (NullableStorageClass) MarshalJSON

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

func (*NullableStorageClass) Set

func (v *NullableStorageClass) Set(val *StorageClass)

func (*NullableStorageClass) UnmarshalJSON

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

func (*NullableStorageClass) Unset

func (v *NullableStorageClass) Unset()

type NullableStorageClassCreate

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

func NewNullableStorageClassCreate

func NewNullableStorageClassCreate(val *StorageClassCreate) *NullableStorageClassCreate

func (NullableStorageClassCreate) Get

func (NullableStorageClassCreate) IsSet

func (v NullableStorageClassCreate) IsSet() bool

func (NullableStorageClassCreate) MarshalJSON

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

func (*NullableStorageClassCreate) Set

func (*NullableStorageClassCreate) UnmarshalJSON

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

func (*NullableStorageClassCreate) Unset

func (v *NullableStorageClassCreate) Unset()

type NullableStorageClassEnsure

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

func NewNullableStorageClassEnsure

func NewNullableStorageClassEnsure(val *StorageClassEnsure) *NullableStorageClassEnsure

func (NullableStorageClassEnsure) Get

func (NullableStorageClassEnsure) IsSet

func (v NullableStorageClassEnsure) IsSet() bool

func (NullableStorageClassEnsure) MarshalJSON

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

func (*NullableStorageClassEnsure) Set

func (*NullableStorageClassEnsure) UnmarshalJSON

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

func (*NullableStorageClassEnsure) Unset

func (v *NullableStorageClassEnsure) Unset()

type NullableStorageClassRead

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

func NewNullableStorageClassRead

func NewNullableStorageClassRead(val *StorageClassRead) *NullableStorageClassRead

func (NullableStorageClassRead) Get

func (NullableStorageClassRead) IsSet

func (v NullableStorageClassRead) IsSet() bool

func (NullableStorageClassRead) MarshalJSON

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

func (*NullableStorageClassRead) Set

func (*NullableStorageClassRead) UnmarshalJSON

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

func (*NullableStorageClassRead) Unset

func (v *NullableStorageClassRead) Unset()

type NullableStorageClassReadList

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

func NewNullableStorageClassReadList

func NewNullableStorageClassReadList(val *StorageClassReadList) *NullableStorageClassReadList

func (NullableStorageClassReadList) Get

func (NullableStorageClassReadList) IsSet

func (NullableStorageClassReadList) MarshalJSON

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

func (*NullableStorageClassReadList) Set

func (*NullableStorageClassReadList) UnmarshalJSON

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

func (*NullableStorageClassReadList) Unset

func (v *NullableStorageClassReadList) Unset()

type NullableStorageClassReadListAllOf

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

func (NullableStorageClassReadListAllOf) Get

func (NullableStorageClassReadListAllOf) IsSet

func (NullableStorageClassReadListAllOf) MarshalJSON

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

func (*NullableStorageClassReadListAllOf) Set

func (*NullableStorageClassReadListAllOf) UnmarshalJSON

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

func (*NullableStorageClassReadListAllOf) 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 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 Region

type Region struct {
	// The version of the region properties
	Version *int32 `json:"version"`
	// The endpoint URL for the region
	Endpoint *string `json:"endpoint"`
	// The website URL for the region
	Website    *string           `json:"website"`
	Capability *RegionCapability `json:"capability"`
	// The available classes in the region
	StorageClasses *[]string `json:"storageClasses,omitempty"`
	// The data center location of the region as per [Get Location](/docs/cloud/v6/#tag/Locations/operation/locationsGet). *Can't be used as `LocationConstraint` on bucket creation.*
	Location *string `json:"location"`
}

Region IONOS Cloud object storage regions they define the location of the bucket, can also be used as `LocationConstraint` for bucket creation.

func NewRegion

func NewRegion(version int32, endpoint string, website string, capability RegionCapability, location string) *Region

NewRegion instantiates a new Region 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 NewRegionWithDefaults

func NewRegionWithDefaults() *Region

NewRegionWithDefaults instantiates a new Region 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 (*Region) GetCapability

func (o *Region) GetCapability() *RegionCapability

GetCapability returns the Capability field value If the value is explicit nil, the zero value for RegionCapability will be returned

func (*Region) GetCapabilityOk

func (o *Region) GetCapabilityOk() (*RegionCapability, bool)

GetCapabilityOk returns a tuple with the Capability field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Region) GetEndpoint

func (o *Region) GetEndpoint() *string

GetEndpoint returns the Endpoint field value If the value is explicit nil, the zero value for string will be returned

func (*Region) GetEndpointOk

func (o *Region) GetEndpointOk() (*string, bool)

GetEndpointOk returns a tuple with the Endpoint field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Region) GetLocation

func (o *Region) GetLocation() *string

GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned

func (*Region) GetLocationOk

func (o *Region) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Region) GetStorageClasses

func (o *Region) GetStorageClasses() *[]string

GetStorageClasses returns the StorageClasses field value If the value is explicit nil, the zero value for []string will be returned

func (*Region) GetStorageClassesOk

func (o *Region) GetStorageClassesOk() (*[]string, bool)

GetStorageClassesOk returns a tuple with the StorageClasses field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Region) GetVersion

func (o *Region) GetVersion() *int32

GetVersion returns the Version field value If the value is explicit nil, the zero value for int32 will be returned

func (*Region) GetVersionOk

func (o *Region) GetVersionOk() (*int32, 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 (*Region) GetWebsite

func (o *Region) GetWebsite() *string

GetWebsite returns the Website field value If the value is explicit nil, the zero value for string will be returned

func (*Region) GetWebsiteOk

func (o *Region) GetWebsiteOk() (*string, bool)

GetWebsiteOk returns a tuple with the Website field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Region) HasCapability

func (o *Region) HasCapability() bool

HasCapability returns a boolean if a field has been set.

func (*Region) HasEndpoint

func (o *Region) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*Region) HasLocation

func (o *Region) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*Region) HasStorageClasses

func (o *Region) HasStorageClasses() bool

HasStorageClasses returns a boolean if a field has been set.

func (*Region) HasVersion

func (o *Region) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*Region) HasWebsite

func (o *Region) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

func (Region) MarshalJSON

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

func (*Region) SetCapability

func (o *Region) SetCapability(v RegionCapability)

SetCapability sets field value

func (*Region) SetEndpoint

func (o *Region) SetEndpoint(v string)

SetEndpoint sets field value

func (*Region) SetLocation

func (o *Region) SetLocation(v string)

SetLocation sets field value

func (*Region) SetStorageClasses

func (o *Region) SetStorageClasses(v []string)

SetStorageClasses sets field value

func (*Region) SetVersion

func (o *Region) SetVersion(v int32)

SetVersion sets field value

func (*Region) SetWebsite

func (o *Region) SetWebsite(v string)

SetWebsite sets field value

type RegionCapability

type RegionCapability struct {
	// Indicates if IAM policy based access is supported
	Iam *bool `json:"iam,omitempty"`
	// Indicates if S3 Select is supported
	S3select *bool `json:"s3select,omitempty"`
}

RegionCapability The capabilities of the region

func NewRegionCapability

func NewRegionCapability() *RegionCapability

NewRegionCapability instantiates a new RegionCapability 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 NewRegionCapabilityWithDefaults

func NewRegionCapabilityWithDefaults() *RegionCapability

NewRegionCapabilityWithDefaults instantiates a new RegionCapability 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 (*RegionCapability) GetIam

func (o *RegionCapability) GetIam() *bool

GetIam returns the Iam field value If the value is explicit nil, the zero value for bool will be returned

func (*RegionCapability) GetIamOk

func (o *RegionCapability) GetIamOk() (*bool, bool)

GetIamOk returns a tuple with the Iam field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegionCapability) GetS3select

func (o *RegionCapability) GetS3select() *bool

GetS3select returns the S3select field value If the value is explicit nil, the zero value for bool will be returned

func (*RegionCapability) GetS3selectOk

func (o *RegionCapability) GetS3selectOk() (*bool, bool)

GetS3selectOk returns a tuple with the S3select field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegionCapability) HasIam

func (o *RegionCapability) HasIam() bool

HasIam returns a boolean if a field has been set.

func (*RegionCapability) HasS3select

func (o *RegionCapability) HasS3select() bool

HasS3select returns a boolean if a field has been set.

func (RegionCapability) MarshalJSON

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

func (*RegionCapability) SetIam

func (o *RegionCapability) SetIam(v bool)

SetIam sets field value

func (*RegionCapability) SetS3select

func (o *RegionCapability) SetS3select(v bool)

SetS3select sets field value

type RegionCreate

type RegionCreate struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Region                 `json:"properties"`
}

RegionCreate struct for RegionCreate

func NewRegionCreate

func NewRegionCreate(properties Region) *RegionCreate

NewRegionCreate instantiates a new RegionCreate 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 NewRegionCreateWithDefaults

func NewRegionCreateWithDefaults() *RegionCreate

NewRegionCreateWithDefaults instantiates a new RegionCreate 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 (*RegionCreate) GetMetadata

func (o *RegionCreate) 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 (*RegionCreate) GetMetadataOk

func (o *RegionCreate) 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 (*RegionCreate) GetProperties

func (o *RegionCreate) GetProperties() *Region

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Region will be returned

func (*RegionCreate) GetPropertiesOk

func (o *RegionCreate) GetPropertiesOk() (*Region, 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 (*RegionCreate) HasMetadata

func (o *RegionCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RegionCreate) HasProperties

func (o *RegionCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (RegionCreate) MarshalJSON

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

func (*RegionCreate) SetMetadata

func (o *RegionCreate) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*RegionCreate) SetProperties

func (o *RegionCreate) SetProperties(v Region)

SetProperties sets field value

type RegionEnsure

type RegionEnsure struct {
	// The Region of the Region.
	Id *string `json:"id"`
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Region                 `json:"properties"`
}

RegionEnsure struct for RegionEnsure

func NewRegionEnsure

func NewRegionEnsure(id string, properties Region) *RegionEnsure

NewRegionEnsure instantiates a new RegionEnsure 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 NewRegionEnsureWithDefaults

func NewRegionEnsureWithDefaults() *RegionEnsure

NewRegionEnsureWithDefaults instantiates a new RegionEnsure 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 (*RegionEnsure) GetId

func (o *RegionEnsure) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RegionEnsure) GetIdOk

func (o *RegionEnsure) 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 (*RegionEnsure) GetMetadata

func (o *RegionEnsure) 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 (*RegionEnsure) GetMetadataOk

func (o *RegionEnsure) 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 (*RegionEnsure) GetProperties

func (o *RegionEnsure) GetProperties() *Region

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Region will be returned

func (*RegionEnsure) GetPropertiesOk

func (o *RegionEnsure) GetPropertiesOk() (*Region, 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 (*RegionEnsure) HasId

func (o *RegionEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegionEnsure) HasMetadata

func (o *RegionEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RegionEnsure) HasProperties

func (o *RegionEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (RegionEnsure) MarshalJSON

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

func (*RegionEnsure) SetId

func (o *RegionEnsure) SetId(v string)

SetId sets field value

func (*RegionEnsure) SetMetadata

func (o *RegionEnsure) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*RegionEnsure) SetProperties

func (o *RegionEnsure) SetProperties(v Region)

SetProperties sets field value

type RegionRead

type RegionRead struct {
	// The Region of the Region.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Region.
	Href       *string                 `json:"href"`
	Metadata   *map[string]interface{} `json:"metadata"`
	Properties *Region                 `json:"properties"`
}

RegionRead struct for RegionRead

func NewRegionRead

func NewRegionRead(id string, type_ string, href string, metadata map[string]interface{}, properties Region) *RegionRead

NewRegionRead instantiates a new RegionRead 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 NewRegionReadWithDefaults

func NewRegionReadWithDefaults() *RegionRead

NewRegionReadWithDefaults instantiates a new RegionRead 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 (*RegionRead) GetHref

func (o *RegionRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RegionRead) GetHrefOk

func (o *RegionRead) 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 (*RegionRead) GetId

func (o *RegionRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RegionRead) GetIdOk

func (o *RegionRead) 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 (*RegionRead) GetMetadata

func (o *RegionRead) 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 (*RegionRead) GetMetadataOk

func (o *RegionRead) 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 (*RegionRead) GetProperties

func (o *RegionRead) GetProperties() *Region

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Region will be returned

func (*RegionRead) GetPropertiesOk

func (o *RegionRead) GetPropertiesOk() (*Region, 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 (*RegionRead) GetType

func (o *RegionRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RegionRead) GetTypeOk

func (o *RegionRead) 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 (*RegionRead) HasHref

func (o *RegionRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RegionRead) HasId

func (o *RegionRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegionRead) HasMetadata

func (o *RegionRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RegionRead) HasProperties

func (o *RegionRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*RegionRead) HasType

func (o *RegionRead) HasType() bool

HasType returns a boolean if a field has been set.

func (RegionRead) MarshalJSON

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

func (*RegionRead) SetHref

func (o *RegionRead) SetHref(v string)

SetHref sets field value

func (*RegionRead) SetId

func (o *RegionRead) SetId(v string)

SetId sets field value

func (*RegionRead) SetMetadata

func (o *RegionRead) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*RegionRead) SetProperties

func (o *RegionRead) SetProperties(v Region)

SetProperties sets field value

func (*RegionRead) SetType

func (o *RegionRead) SetType(v string)

SetType sets field value

type RegionReadList

type RegionReadList struct {
	// ID of the list of Region resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of Region resources.
	Href *string `json:"href"`
	// The list of Region resources.
	Items *[]RegionRead `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"`
}

RegionReadList struct for RegionReadList

func NewRegionReadList

func NewRegionReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *RegionReadList

NewRegionReadList instantiates a new RegionReadList 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 NewRegionReadListWithDefaults

func NewRegionReadListWithDefaults() *RegionReadList

NewRegionReadListWithDefaults instantiates a new RegionReadList 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 (*RegionReadList) GetHref

func (o *RegionReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RegionReadList) GetHrefOk

func (o *RegionReadList) 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 (*RegionReadList) GetId

func (o *RegionReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RegionReadList) GetIdOk

func (o *RegionReadList) 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 (*RegionReadList) GetItems

func (o *RegionReadList) GetItems() *[]RegionRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []RegionRead will be returned

func (*RegionReadList) GetItemsOk

func (o *RegionReadList) GetItemsOk() (*[]RegionRead, 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 (*RegionReadList) GetLimit

func (o *RegionReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*RegionReadList) GetLimitOk

func (o *RegionReadList) 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 *RegionReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*RegionReadList) GetLinksOk

func (o *RegionReadList) 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 (*RegionReadList) GetOffset

func (o *RegionReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*RegionReadList) GetOffsetOk

func (o *RegionReadList) 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 (*RegionReadList) GetType

func (o *RegionReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RegionReadList) GetTypeOk

func (o *RegionReadList) 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 (*RegionReadList) HasHref

func (o *RegionReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RegionReadList) HasId

func (o *RegionReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegionReadList) HasItems

func (o *RegionReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*RegionReadList) HasLimit

func (o *RegionReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *RegionReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RegionReadList) HasOffset

func (o *RegionReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*RegionReadList) HasType

func (o *RegionReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (RegionReadList) MarshalJSON

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

func (*RegionReadList) SetHref

func (o *RegionReadList) SetHref(v string)

SetHref sets field value

func (*RegionReadList) SetId

func (o *RegionReadList) SetId(v string)

SetId sets field value

func (*RegionReadList) SetItems

func (o *RegionReadList) SetItems(v []RegionRead)

SetItems sets field value

func (*RegionReadList) SetLimit

func (o *RegionReadList) SetLimit(v int32)

SetLimit sets field value

func (o *RegionReadList) SetLinks(v Links)

SetLinks sets field value

func (*RegionReadList) SetOffset

func (o *RegionReadList) SetOffset(v int32)

SetOffset sets field value

func (*RegionReadList) SetType

func (o *RegionReadList) SetType(v string)

SetType sets field value

type RegionReadListAllOf

type RegionReadListAllOf struct {
	// ID of the list of Region resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of Region resources.
	Href *string `json:"href"`
	// The list of Region resources.
	Items *[]RegionRead `json:"items,omitempty"`
}

RegionReadListAllOf struct for RegionReadListAllOf

func NewRegionReadListAllOf

func NewRegionReadListAllOf(id string, type_ string, href string) *RegionReadListAllOf

NewRegionReadListAllOf instantiates a new RegionReadListAllOf 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 NewRegionReadListAllOfWithDefaults

func NewRegionReadListAllOfWithDefaults() *RegionReadListAllOf

NewRegionReadListAllOfWithDefaults instantiates a new RegionReadListAllOf 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 (*RegionReadListAllOf) GetHref

func (o *RegionReadListAllOf) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RegionReadListAllOf) GetHrefOk

func (o *RegionReadListAllOf) 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 (*RegionReadListAllOf) GetId

func (o *RegionReadListAllOf) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RegionReadListAllOf) GetIdOk

func (o *RegionReadListAllOf) 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 (*RegionReadListAllOf) GetItems

func (o *RegionReadListAllOf) GetItems() *[]RegionRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []RegionRead will be returned

func (*RegionReadListAllOf) GetItemsOk

func (o *RegionReadListAllOf) GetItemsOk() (*[]RegionRead, 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 (*RegionReadListAllOf) GetType

func (o *RegionReadListAllOf) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RegionReadListAllOf) GetTypeOk

func (o *RegionReadListAllOf) 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 (*RegionReadListAllOf) HasHref

func (o *RegionReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RegionReadListAllOf) HasId

func (o *RegionReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegionReadListAllOf) HasItems

func (o *RegionReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*RegionReadListAllOf) HasType

func (o *RegionReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (RegionReadListAllOf) MarshalJSON

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

func (*RegionReadListAllOf) SetHref

func (o *RegionReadListAllOf) SetHref(v string)

SetHref sets field value

func (*RegionReadListAllOf) SetId

func (o *RegionReadListAllOf) SetId(v string)

SetId sets field value

func (*RegionReadListAllOf) SetItems

func (o *RegionReadListAllOf) SetItems(v []RegionRead)

SetItems sets field value

func (*RegionReadListAllOf) SetType

func (o *RegionReadListAllOf) SetType(v string)

SetType sets field value

type RegionsApiService

type RegionsApiService service

RegionsApiService RegionsApi service

func (*RegionsApiService) RegionsFindByRegion

func (a *RegionsApiService) RegionsFindByRegion(ctx _context.Context, region string) ApiRegionsFindByRegionRequest

* RegionsFindByRegion Retrieve Region * Returns the Region by Region. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param region The Region of the Region. * @return ApiRegionsFindByRegionRequest

func (*RegionsApiService) RegionsFindByRegionExecute

func (a *RegionsApiService) RegionsFindByRegionExecute(r ApiRegionsFindByRegionRequest) (RegionRead, *APIResponse, error)

* Execute executes the request * @return RegionRead

func (*RegionsApiService) RegionsGet

  • RegionsGet Retrieve all Regions
  • This endpoint enables retrieving all Regions using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiRegionsGetRequest

func (*RegionsApiService) RegionsGetExecute

* Execute executes the request * @return RegionReadList

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 StorageClass

type StorageClass struct {
	// Explains the motivation for the storage class
	Description *string `json:"description"`
	// The durability of the storage class
	Durability *string `json:"durability"`
	// The availability of the storage class
	Availability *string `json:"availability"`
}

StorageClass Details the cross functional aspects of the given storage class.

func NewStorageClass

func NewStorageClass(description string, durability string, availability string) *StorageClass

NewStorageClass instantiates a new StorageClass 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 NewStorageClassWithDefaults

func NewStorageClassWithDefaults() *StorageClass

NewStorageClassWithDefaults instantiates a new StorageClass 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 (*StorageClass) GetAvailability

func (o *StorageClass) GetAvailability() *string

GetAvailability returns the Availability field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClass) GetAvailabilityOk

func (o *StorageClass) GetAvailabilityOk() (*string, bool)

GetAvailabilityOk returns a tuple with the Availability field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StorageClass) GetDescription

func (o *StorageClass) GetDescription() *string

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

func (*StorageClass) GetDescriptionOk

func (o *StorageClass) 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 (*StorageClass) GetDurability

func (o *StorageClass) GetDurability() *string

GetDurability returns the Durability field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClass) GetDurabilityOk

func (o *StorageClass) GetDurabilityOk() (*string, bool)

GetDurabilityOk returns a tuple with the Durability field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StorageClass) HasAvailability

func (o *StorageClass) HasAvailability() bool

HasAvailability returns a boolean if a field has been set.

func (*StorageClass) HasDescription

func (o *StorageClass) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StorageClass) HasDurability

func (o *StorageClass) HasDurability() bool

HasDurability returns a boolean if a field has been set.

func (StorageClass) MarshalJSON

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

func (*StorageClass) SetAvailability

func (o *StorageClass) SetAvailability(v string)

SetAvailability sets field value

func (*StorageClass) SetDescription

func (o *StorageClass) SetDescription(v string)

SetDescription sets field value

func (*StorageClass) SetDurability

func (o *StorageClass) SetDurability(v string)

SetDurability sets field value

type StorageClassCreate

type StorageClassCreate struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *StorageClass           `json:"properties"`
}

StorageClassCreate struct for StorageClassCreate

func NewStorageClassCreate

func NewStorageClassCreate(properties StorageClass) *StorageClassCreate

NewStorageClassCreate instantiates a new StorageClassCreate 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 NewStorageClassCreateWithDefaults

func NewStorageClassCreateWithDefaults() *StorageClassCreate

NewStorageClassCreateWithDefaults instantiates a new StorageClassCreate 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 (*StorageClassCreate) GetMetadata

func (o *StorageClassCreate) 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 (*StorageClassCreate) GetMetadataOk

func (o *StorageClassCreate) 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 (*StorageClassCreate) GetProperties

func (o *StorageClassCreate) GetProperties() *StorageClass

GetProperties returns the Properties field value If the value is explicit nil, the zero value for StorageClass will be returned

func (*StorageClassCreate) GetPropertiesOk

func (o *StorageClassCreate) GetPropertiesOk() (*StorageClass, 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 (*StorageClassCreate) HasMetadata

func (o *StorageClassCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*StorageClassCreate) HasProperties

func (o *StorageClassCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (StorageClassCreate) MarshalJSON

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

func (*StorageClassCreate) SetMetadata

func (o *StorageClassCreate) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*StorageClassCreate) SetProperties

func (o *StorageClassCreate) SetProperties(v StorageClass)

SetProperties sets field value

type StorageClassEnsure

type StorageClassEnsure struct {
	// The StorageClass of the StorageClass.
	Id *string `json:"id"`
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *StorageClass           `json:"properties"`
}

StorageClassEnsure struct for StorageClassEnsure

func NewStorageClassEnsure

func NewStorageClassEnsure(id string, properties StorageClass) *StorageClassEnsure

NewStorageClassEnsure instantiates a new StorageClassEnsure 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 NewStorageClassEnsureWithDefaults

func NewStorageClassEnsureWithDefaults() *StorageClassEnsure

NewStorageClassEnsureWithDefaults instantiates a new StorageClassEnsure 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 (*StorageClassEnsure) GetId

func (o *StorageClassEnsure) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassEnsure) GetIdOk

func (o *StorageClassEnsure) 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 (*StorageClassEnsure) GetMetadata

func (o *StorageClassEnsure) 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 (*StorageClassEnsure) GetMetadataOk

func (o *StorageClassEnsure) 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 (*StorageClassEnsure) GetProperties

func (o *StorageClassEnsure) GetProperties() *StorageClass

GetProperties returns the Properties field value If the value is explicit nil, the zero value for StorageClass will be returned

func (*StorageClassEnsure) GetPropertiesOk

func (o *StorageClassEnsure) GetPropertiesOk() (*StorageClass, 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 (*StorageClassEnsure) HasId

func (o *StorageClassEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*StorageClassEnsure) HasMetadata

func (o *StorageClassEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*StorageClassEnsure) HasProperties

func (o *StorageClassEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (StorageClassEnsure) MarshalJSON

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

func (*StorageClassEnsure) SetId

func (o *StorageClassEnsure) SetId(v string)

SetId sets field value

func (*StorageClassEnsure) SetMetadata

func (o *StorageClassEnsure) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*StorageClassEnsure) SetProperties

func (o *StorageClassEnsure) SetProperties(v StorageClass)

SetProperties sets field value

type StorageClassRead

type StorageClassRead struct {
	// The StorageClass of the StorageClass.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the StorageClass.
	Href       *string                 `json:"href"`
	Metadata   *map[string]interface{} `json:"metadata"`
	Properties *StorageClass           `json:"properties"`
}

StorageClassRead struct for StorageClassRead

func NewStorageClassRead

func NewStorageClassRead(id string, type_ string, href string, metadata map[string]interface{}, properties StorageClass) *StorageClassRead

NewStorageClassRead instantiates a new StorageClassRead 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 NewStorageClassReadWithDefaults

func NewStorageClassReadWithDefaults() *StorageClassRead

NewStorageClassReadWithDefaults instantiates a new StorageClassRead 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 (*StorageClassRead) GetHref

func (o *StorageClassRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassRead) GetHrefOk

func (o *StorageClassRead) 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 (*StorageClassRead) GetId

func (o *StorageClassRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassRead) GetIdOk

func (o *StorageClassRead) 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 (*StorageClassRead) GetMetadata

func (o *StorageClassRead) 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 (*StorageClassRead) GetMetadataOk

func (o *StorageClassRead) 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 (*StorageClassRead) GetProperties

func (o *StorageClassRead) GetProperties() *StorageClass

GetProperties returns the Properties field value If the value is explicit nil, the zero value for StorageClass will be returned

func (*StorageClassRead) GetPropertiesOk

func (o *StorageClassRead) GetPropertiesOk() (*StorageClass, 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 (*StorageClassRead) GetType

func (o *StorageClassRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassRead) GetTypeOk

func (o *StorageClassRead) 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 (*StorageClassRead) HasHref

func (o *StorageClassRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*StorageClassRead) HasId

func (o *StorageClassRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*StorageClassRead) HasMetadata

func (o *StorageClassRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*StorageClassRead) HasProperties

func (o *StorageClassRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*StorageClassRead) HasType

func (o *StorageClassRead) HasType() bool

HasType returns a boolean if a field has been set.

func (StorageClassRead) MarshalJSON

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

func (*StorageClassRead) SetHref

func (o *StorageClassRead) SetHref(v string)

SetHref sets field value

func (*StorageClassRead) SetId

func (o *StorageClassRead) SetId(v string)

SetId sets field value

func (*StorageClassRead) SetMetadata

func (o *StorageClassRead) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*StorageClassRead) SetProperties

func (o *StorageClassRead) SetProperties(v StorageClass)

SetProperties sets field value

func (*StorageClassRead) SetType

func (o *StorageClassRead) SetType(v string)

SetType sets field value

type StorageClassReadList

type StorageClassReadList struct {
	// ID of the list of StorageClass resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of StorageClass resources.
	Href *string `json:"href"`
	// The list of StorageClass resources.
	Items *[]StorageClassRead `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"`
}

StorageClassReadList struct for StorageClassReadList

func NewStorageClassReadList

func NewStorageClassReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *StorageClassReadList

NewStorageClassReadList instantiates a new StorageClassReadList 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 NewStorageClassReadListWithDefaults

func NewStorageClassReadListWithDefaults() *StorageClassReadList

NewStorageClassReadListWithDefaults instantiates a new StorageClassReadList 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 (*StorageClassReadList) GetHref

func (o *StorageClassReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassReadList) GetHrefOk

func (o *StorageClassReadList) 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 (*StorageClassReadList) GetId

func (o *StorageClassReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassReadList) GetIdOk

func (o *StorageClassReadList) 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 (*StorageClassReadList) GetItems

func (o *StorageClassReadList) GetItems() *[]StorageClassRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []StorageClassRead will be returned

func (*StorageClassReadList) GetItemsOk

func (o *StorageClassReadList) GetItemsOk() (*[]StorageClassRead, 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 (*StorageClassReadList) GetLimit

func (o *StorageClassReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*StorageClassReadList) GetLimitOk

func (o *StorageClassReadList) 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 *StorageClassReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*StorageClassReadList) GetLinksOk

func (o *StorageClassReadList) 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 (*StorageClassReadList) GetOffset

func (o *StorageClassReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*StorageClassReadList) GetOffsetOk

func (o *StorageClassReadList) 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 (*StorageClassReadList) GetType

func (o *StorageClassReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassReadList) GetTypeOk

func (o *StorageClassReadList) 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 (*StorageClassReadList) HasHref

func (o *StorageClassReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*StorageClassReadList) HasId

func (o *StorageClassReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*StorageClassReadList) HasItems

func (o *StorageClassReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*StorageClassReadList) HasLimit

func (o *StorageClassReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *StorageClassReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*StorageClassReadList) HasOffset

func (o *StorageClassReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*StorageClassReadList) HasType

func (o *StorageClassReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (StorageClassReadList) MarshalJSON

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

func (*StorageClassReadList) SetHref

func (o *StorageClassReadList) SetHref(v string)

SetHref sets field value

func (*StorageClassReadList) SetId

func (o *StorageClassReadList) SetId(v string)

SetId sets field value

func (*StorageClassReadList) SetItems

func (o *StorageClassReadList) SetItems(v []StorageClassRead)

SetItems sets field value

func (*StorageClassReadList) SetLimit

func (o *StorageClassReadList) SetLimit(v int32)

SetLimit sets field value

func (o *StorageClassReadList) SetLinks(v Links)

SetLinks sets field value

func (*StorageClassReadList) SetOffset

func (o *StorageClassReadList) SetOffset(v int32)

SetOffset sets field value

func (*StorageClassReadList) SetType

func (o *StorageClassReadList) SetType(v string)

SetType sets field value

type StorageClassReadListAllOf

type StorageClassReadListAllOf struct {
	// ID of the list of StorageClass resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of StorageClass resources.
	Href *string `json:"href"`
	// The list of StorageClass resources.
	Items *[]StorageClassRead `json:"items,omitempty"`
}

StorageClassReadListAllOf struct for StorageClassReadListAllOf

func NewStorageClassReadListAllOf

func NewStorageClassReadListAllOf(id string, type_ string, href string) *StorageClassReadListAllOf

NewStorageClassReadListAllOf instantiates a new StorageClassReadListAllOf 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 NewStorageClassReadListAllOfWithDefaults

func NewStorageClassReadListAllOfWithDefaults() *StorageClassReadListAllOf

NewStorageClassReadListAllOfWithDefaults instantiates a new StorageClassReadListAllOf 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 (*StorageClassReadListAllOf) GetHref

func (o *StorageClassReadListAllOf) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassReadListAllOf) GetHrefOk

func (o *StorageClassReadListAllOf) 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 (*StorageClassReadListAllOf) GetId

func (o *StorageClassReadListAllOf) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassReadListAllOf) GetIdOk

func (o *StorageClassReadListAllOf) 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 (*StorageClassReadListAllOf) GetItems

GetItems returns the Items field value If the value is explicit nil, the zero value for []StorageClassRead will be returned

func (*StorageClassReadListAllOf) GetItemsOk

func (o *StorageClassReadListAllOf) GetItemsOk() (*[]StorageClassRead, 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 (*StorageClassReadListAllOf) GetType

func (o *StorageClassReadListAllOf) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*StorageClassReadListAllOf) GetTypeOk

func (o *StorageClassReadListAllOf) 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 (*StorageClassReadListAllOf) HasHref

func (o *StorageClassReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*StorageClassReadListAllOf) HasId

func (o *StorageClassReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*StorageClassReadListAllOf) HasItems

func (o *StorageClassReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*StorageClassReadListAllOf) HasType

func (o *StorageClassReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (StorageClassReadListAllOf) MarshalJSON

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

func (*StorageClassReadListAllOf) SetHref

func (o *StorageClassReadListAllOf) SetHref(v string)

SetHref sets field value

func (*StorageClassReadListAllOf) SetId

func (o *StorageClassReadListAllOf) SetId(v string)

SetId sets field value

func (*StorageClassReadListAllOf) SetItems

SetItems sets field value

func (*StorageClassReadListAllOf) SetType

func (o *StorageClassReadListAllOf) 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.

Jump to

Keyboard shortcuts

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