ionoscloud

package module
v1.1.1 Latest Latest
Warning

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

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

README

Gitter

Go API client for ionoscloud

The RESTful API for managing Network File Storage.

Overview

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

Installation

Install the following dependencies:

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

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

import "./ionoscloud"

Authentication

All available server URLs are:

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

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


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

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

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

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


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

Documentation for API Endpoints

All URIs are relative to https://nfs.de-fra.ionos.com

API Endpoints table
Class Method HTTP request Description
ClustersApi ClustersDelete Delete /clusters/{clusterId} Delete Cluster
ClustersApi ClustersFindById Get /clusters/{clusterId} Retrieve Cluster
ClustersApi ClustersGet Get /clusters Retrieve Clusters
ClustersApi ClustersPost Post /clusters Create Cluster
ClustersApi ClustersPut Put /clusters/{clusterId} Ensure Cluster
SharesApi ClustersSharesDelete Delete /clusters/{clusterId}/shares/{shareId} Delete Share
SharesApi ClustersSharesFindById Get /clusters/{clusterId}/shares/{shareId} Retrieve Share
SharesApi ClustersSharesGet Get /clusters/{clusterId}/shares Retrieve Shares
SharesApi ClustersSharesPost Post /clusters/{clusterId}/shares Create Share
SharesApi ClustersSharesPut Put /clusters/{clusterId}/shares/{shareId} Ensure Share

Documentation For Models

All URIs are relative to https://nfs.de-fra.ionos.com

API models list

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

Documentation

Index

Constants

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

	Version = "1.1.1"
)
View Source
const (
	IonosUsernameEnvVar   = "IONOS_USERNAME"
	IonosPasswordEnvVar   = "IONOS_PASSWORD"
	IonosTokenEnvVar      = "IONOS_TOKEN"
	IonosApiUrlEnvVar     = "IONOS_API_URL"
	IonosPinnedCertEnvVar = "IONOS_PINNED_CERT"
	IonosLogLevelEnvVar   = "IONOS_LOG_LEVEL"
	DefaultIonosServerUrl = "https://nfs.de-fra.ionos.com"
	DefaultIonosBasePath  = ""
)

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var (
	IonosServerUrls = []string{
		"https://nfs.de-fra.ionos.com",
		"https://nfs.de-txl.ionos.com",
		"https://nfs.fr-par.ionos.com",
		"https://nfs.gb-lhr.ionos.com",
		"https://nfs.es-vit.ionos.com",
		"https://nfs.us-las.ionos.com",
		"https://nfs.us-ewr.ionos.com",
		"https://nfs.us-mci.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 {
	ClustersApi *ClustersApiService

	SharesApi *SharesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Cloud - Network File Storage API API v0.1.3 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 ApiClustersDeleteRequest

type ApiClustersDeleteRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiClustersDeleteRequest) Execute

func (r ApiClustersDeleteRequest) Execute() (*APIResponse, error)

type ApiClustersFindByIdRequest

type ApiClustersFindByIdRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiClustersFindByIdRequest) Execute

type ApiClustersGetRequest

type ApiClustersGetRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiClustersGetRequest) Execute

func (ApiClustersGetRequest) FilterDatacenterId

func (r ApiClustersGetRequest) FilterDatacenterId(filterDatacenterId string) ApiClustersGetRequest

func (ApiClustersGetRequest) Limit

func (ApiClustersGetRequest) Offset

type ApiClustersPostRequest

type ApiClustersPostRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiClustersPostRequest) ClusterCreate

func (r ApiClustersPostRequest) ClusterCreate(clusterCreate ClusterCreate) ApiClustersPostRequest

func (ApiClustersPostRequest) Execute

type ApiClustersPutRequest

type ApiClustersPutRequest struct {
	ApiService *ClustersApiService
	// contains filtered or unexported fields
}

func (ApiClustersPutRequest) ClusterEnsure

func (r ApiClustersPutRequest) ClusterEnsure(clusterEnsure ClusterEnsure) ApiClustersPutRequest

func (ApiClustersPutRequest) Execute

type ApiClustersSharesDeleteRequest

type ApiClustersSharesDeleteRequest struct {
	ApiService *SharesApiService
	// contains filtered or unexported fields
}

func (ApiClustersSharesDeleteRequest) Execute

type ApiClustersSharesFindByIdRequest

type ApiClustersSharesFindByIdRequest struct {
	ApiService *SharesApiService
	// contains filtered or unexported fields
}

func (ApiClustersSharesFindByIdRequest) Execute

type ApiClustersSharesGetRequest

type ApiClustersSharesGetRequest struct {
	ApiService *SharesApiService
	// contains filtered or unexported fields
}

func (ApiClustersSharesGetRequest) Execute

func (ApiClustersSharesGetRequest) Limit

func (ApiClustersSharesGetRequest) Offset

type ApiClustersSharesPostRequest

type ApiClustersSharesPostRequest struct {
	ApiService *SharesApiService
	// contains filtered or unexported fields
}

func (ApiClustersSharesPostRequest) Execute

func (ApiClustersSharesPostRequest) ShareCreate

type ApiClustersSharesPutRequest

type ApiClustersSharesPutRequest struct {
	ApiService *SharesApiService
	// contains filtered or unexported fields
}

func (ApiClustersSharesPutRequest) Execute

func (ApiClustersSharesPutRequest) ShareEnsure

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 Cluster

type Cluster struct {
	Name        *string               `json:"name"`
	Connections *[]ClusterConnections `json:"connections"`
	Nfs         *ClusterNfs           `json:"nfs,omitempty"`
	// The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees.
	Size *int32 `json:"size,omitempty"`
}

Cluster Network File Storage cluster

func NewCluster

func NewCluster(name string, connections []ClusterConnections) *Cluster

NewCluster instantiates a new Cluster 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 NewClusterWithDefaults

func NewClusterWithDefaults() *Cluster

NewClusterWithDefaults instantiates a new Cluster 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 (*Cluster) GetConnections

func (o *Cluster) GetConnections() *[]ClusterConnections

GetConnections returns the Connections field value If the value is explicit nil, the zero value for []ClusterConnections will be returned

func (*Cluster) GetConnectionsOk

func (o *Cluster) GetConnectionsOk() (*[]ClusterConnections, bool)

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

func (*Cluster) GetName

func (o *Cluster) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Cluster) GetNameOk

func (o *Cluster) GetNameOk() (*string, bool)

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

func (*Cluster) GetNfs

func (o *Cluster) GetNfs() *ClusterNfs

GetNfs returns the Nfs field value If the value is explicit nil, the zero value for ClusterNfs will be returned

func (*Cluster) GetNfsOk

func (o *Cluster) GetNfsOk() (*ClusterNfs, bool)

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

func (*Cluster) GetSize

func (o *Cluster) GetSize() *int32

GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned

func (*Cluster) GetSizeOk

func (o *Cluster) GetSizeOk() (*int32, bool)

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

func (*Cluster) HasConnections

func (o *Cluster) HasConnections() bool

HasConnections returns a boolean if a field has been set.

func (*Cluster) HasName

func (o *Cluster) HasName() bool

HasName returns a boolean if a field has been set.

func (*Cluster) HasNfs

func (o *Cluster) HasNfs() bool

HasNfs returns a boolean if a field has been set.

func (*Cluster) HasSize

func (o *Cluster) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Cluster) MarshalJSON

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

func (*Cluster) SetConnections

func (o *Cluster) SetConnections(v []ClusterConnections)

SetConnections sets field value

func (*Cluster) SetName

func (o *Cluster) SetName(v string)

SetName sets field value

func (*Cluster) SetNfs

func (o *Cluster) SetNfs(v ClusterNfs)

SetNfs sets field value

func (*Cluster) SetSize

func (o *Cluster) SetSize(v int32)

SetSize sets field value

type ClusterConnections

type ClusterConnections struct {
	// The ID of the datacenter where the Network File Storage cluster is located.
	DatacenterId *string `json:"datacenterId"`
	// The LAN to which the Network File Storage cluster must be connected.
	Lan *string `json:"lan"`
	// The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.
	IpAddress *string `json:"ipAddress"`
}

ClusterConnections struct for ClusterConnections

func NewClusterConnections

func NewClusterConnections(datacenterId string, lan string, ipAddress string) *ClusterConnections

NewClusterConnections instantiates a new ClusterConnections 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 NewClusterConnectionsWithDefaults

func NewClusterConnectionsWithDefaults() *ClusterConnections

NewClusterConnectionsWithDefaults instantiates a new ClusterConnections 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 (*ClusterConnections) GetDatacenterId

func (o *ClusterConnections) GetDatacenterId() *string

GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterConnections) GetDatacenterIdOk

func (o *ClusterConnections) GetDatacenterIdOk() (*string, bool)

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

func (*ClusterConnections) GetIpAddress

func (o *ClusterConnections) GetIpAddress() *string

GetIpAddress returns the IpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterConnections) GetIpAddressOk

func (o *ClusterConnections) GetIpAddressOk() (*string, bool)

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

func (*ClusterConnections) GetLan

func (o *ClusterConnections) GetLan() *string

GetLan returns the Lan field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterConnections) GetLanOk

func (o *ClusterConnections) GetLanOk() (*string, bool)

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

func (*ClusterConnections) HasDatacenterId

func (o *ClusterConnections) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

func (*ClusterConnections) HasIpAddress

func (o *ClusterConnections) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*ClusterConnections) HasLan

func (o *ClusterConnections) HasLan() bool

HasLan returns a boolean if a field has been set.

func (ClusterConnections) MarshalJSON

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

func (*ClusterConnections) SetDatacenterId

func (o *ClusterConnections) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*ClusterConnections) SetIpAddress

func (o *ClusterConnections) SetIpAddress(v string)

SetIpAddress sets field value

func (*ClusterConnections) SetLan

func (o *ClusterConnections) SetLan(v string)

SetLan sets field value

type ClusterCreate

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

ClusterCreate struct for ClusterCreate

func NewClusterCreate

func NewClusterCreate(properties Cluster) *ClusterCreate

NewClusterCreate instantiates a new ClusterCreate 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 NewClusterCreateWithDefaults

func NewClusterCreateWithDefaults() *ClusterCreate

NewClusterCreateWithDefaults instantiates a new ClusterCreate 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 (*ClusterCreate) GetMetadata

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

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

func (o *ClusterCreate) GetProperties() *Cluster

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

func (*ClusterCreate) GetPropertiesOk

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

func (o *ClusterCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ClusterCreate) HasProperties

func (o *ClusterCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ClusterCreate) MarshalJSON

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

func (*ClusterCreate) SetMetadata

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

SetMetadata sets field value

func (*ClusterCreate) SetProperties

func (o *ClusterCreate) SetProperties(v Cluster)

SetProperties sets field value

type ClusterEnsure

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

ClusterEnsure struct for ClusterEnsure

func NewClusterEnsure

func NewClusterEnsure(id string, properties Cluster) *ClusterEnsure

NewClusterEnsure instantiates a new ClusterEnsure 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 NewClusterEnsureWithDefaults

func NewClusterEnsureWithDefaults() *ClusterEnsure

NewClusterEnsureWithDefaults instantiates a new ClusterEnsure 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 (*ClusterEnsure) GetId

func (o *ClusterEnsure) GetId() *string

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

func (*ClusterEnsure) GetIdOk

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

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

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

func (o *ClusterEnsure) GetProperties() *Cluster

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

func (*ClusterEnsure) GetPropertiesOk

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

func (o *ClusterEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterEnsure) HasMetadata

func (o *ClusterEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ClusterEnsure) HasProperties

func (o *ClusterEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ClusterEnsure) MarshalJSON

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

func (*ClusterEnsure) SetId

func (o *ClusterEnsure) SetId(v string)

SetId sets field value

func (*ClusterEnsure) SetMetadata

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

SetMetadata sets field value

func (*ClusterEnsure) SetProperties

func (o *ClusterEnsure) SetProperties(v Cluster)

SetProperties sets field value

type ClusterNfs

type ClusterNfs struct {
	// The version of the NFS cluster, that is supported at minimum.  Currently supported version: * `4.2` - NFSv4.2
	MinVersion *string `json:"minVersion,omitempty"`
}

ClusterNfs struct for ClusterNfs

func NewClusterNfs

func NewClusterNfs() *ClusterNfs

NewClusterNfs instantiates a new ClusterNfs 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 NewClusterNfsWithDefaults

func NewClusterNfsWithDefaults() *ClusterNfs

NewClusterNfsWithDefaults instantiates a new ClusterNfs 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 (*ClusterNfs) GetMinVersion

func (o *ClusterNfs) GetMinVersion() *string

GetMinVersion returns the MinVersion field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterNfs) GetMinVersionOk

func (o *ClusterNfs) GetMinVersionOk() (*string, bool)

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

func (*ClusterNfs) HasMinVersion

func (o *ClusterNfs) HasMinVersion() bool

HasMinVersion returns a boolean if a field has been set.

func (ClusterNfs) MarshalJSON

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

func (*ClusterNfs) SetMinVersion

func (o *ClusterNfs) SetMinVersion(v string)

SetMinVersion sets field value

type ClusterRead

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

ClusterRead struct for ClusterRead

func NewClusterRead

func NewClusterRead(id string, type_ string, href string, metadata MetadataWithStatus, properties Cluster) *ClusterRead

NewClusterRead instantiates a new ClusterRead 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 NewClusterReadWithDefaults

func NewClusterReadWithDefaults() *ClusterRead

NewClusterReadWithDefaults instantiates a new ClusterRead 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 (*ClusterRead) GetHref

func (o *ClusterRead) GetHref() *string

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

func (*ClusterRead) GetHrefOk

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

func (o *ClusterRead) GetId() *string

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

func (*ClusterRead) GetIdOk

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

func (o *ClusterRead) GetMetadata() *MetadataWithStatus

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

func (*ClusterRead) GetMetadataOk

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

func (o *ClusterRead) GetProperties() *Cluster

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

func (*ClusterRead) GetPropertiesOk

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

func (o *ClusterRead) GetType() *string

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

func (*ClusterRead) GetTypeOk

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

func (o *ClusterRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ClusterRead) HasId

func (o *ClusterRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterRead) HasMetadata

func (o *ClusterRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ClusterRead) HasProperties

func (o *ClusterRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ClusterRead) HasType

func (o *ClusterRead) HasType() bool

HasType returns a boolean if a field has been set.

func (ClusterRead) MarshalJSON

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

func (*ClusterRead) SetHref

func (o *ClusterRead) SetHref(v string)

SetHref sets field value

func (*ClusterRead) SetId

func (o *ClusterRead) SetId(v string)

SetId sets field value

func (*ClusterRead) SetMetadata

func (o *ClusterRead) SetMetadata(v MetadataWithStatus)

SetMetadata sets field value

func (*ClusterRead) SetProperties

func (o *ClusterRead) SetProperties(v Cluster)

SetProperties sets field value

func (*ClusterRead) SetType

func (o *ClusterRead) SetType(v string)

SetType sets field value

type ClusterReadList

type ClusterReadList struct {
	// The identifier (UUID) of the cluster.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the cluster.
	Href *string `json:"href"`
	// The list of cluster resources.
	Items *[]ClusterRead `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"`
}

ClusterReadList struct for ClusterReadList

func NewClusterReadList

func NewClusterReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ClusterReadList

NewClusterReadList instantiates a new ClusterReadList 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 NewClusterReadListWithDefaults

func NewClusterReadListWithDefaults() *ClusterReadList

NewClusterReadListWithDefaults instantiates a new ClusterReadList 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 (*ClusterReadList) GetHref

func (o *ClusterReadList) GetHref() *string

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

func (*ClusterReadList) GetHrefOk

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

func (o *ClusterReadList) GetId() *string

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

func (*ClusterReadList) GetIdOk

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

func (o *ClusterReadList) GetItems() *[]ClusterRead

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

func (*ClusterReadList) GetItemsOk

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

func (o *ClusterReadList) GetLimit() *int32

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

func (*ClusterReadList) GetLimitOk

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

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

func (*ClusterReadList) GetLinksOk

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

func (o *ClusterReadList) GetOffset() *int32

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

func (*ClusterReadList) GetOffsetOk

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

func (o *ClusterReadList) GetType() *string

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

func (*ClusterReadList) GetTypeOk

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

func (o *ClusterReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ClusterReadList) HasId

func (o *ClusterReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterReadList) HasItems

func (o *ClusterReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ClusterReadList) HasLimit

func (o *ClusterReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *ClusterReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ClusterReadList) HasOffset

func (o *ClusterReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*ClusterReadList) HasType

func (o *ClusterReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (ClusterReadList) MarshalJSON

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

func (*ClusterReadList) SetHref

func (o *ClusterReadList) SetHref(v string)

SetHref sets field value

func (*ClusterReadList) SetId

func (o *ClusterReadList) SetId(v string)

SetId sets field value

func (*ClusterReadList) SetItems

func (o *ClusterReadList) SetItems(v []ClusterRead)

SetItems sets field value

func (*ClusterReadList) SetLimit

func (o *ClusterReadList) SetLimit(v int32)

SetLimit sets field value

func (o *ClusterReadList) SetLinks(v Links)

SetLinks sets field value

func (*ClusterReadList) SetOffset

func (o *ClusterReadList) SetOffset(v int32)

SetOffset sets field value

func (*ClusterReadList) SetType

func (o *ClusterReadList) SetType(v string)

SetType sets field value

type ClusterReadListAllOf

type ClusterReadListAllOf struct {
	// The identifier (UUID) of the cluster.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the cluster.
	Href *string `json:"href"`
	// The list of cluster resources.
	Items *[]ClusterRead `json:"items,omitempty"`
}

ClusterReadListAllOf struct for ClusterReadListAllOf

func NewClusterReadListAllOf

func NewClusterReadListAllOf(id string, type_ string, href string) *ClusterReadListAllOf

NewClusterReadListAllOf instantiates a new ClusterReadListAllOf 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 NewClusterReadListAllOfWithDefaults

func NewClusterReadListAllOfWithDefaults() *ClusterReadListAllOf

NewClusterReadListAllOfWithDefaults instantiates a new ClusterReadListAllOf 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 (*ClusterReadListAllOf) GetHref

func (o *ClusterReadListAllOf) GetHref() *string

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

func (*ClusterReadListAllOf) GetHrefOk

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

func (o *ClusterReadListAllOf) GetId() *string

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

func (*ClusterReadListAllOf) GetIdOk

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

func (o *ClusterReadListAllOf) GetItems() *[]ClusterRead

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

func (*ClusterReadListAllOf) GetItemsOk

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

func (o *ClusterReadListAllOf) GetType() *string

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

func (*ClusterReadListAllOf) GetTypeOk

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

func (o *ClusterReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ClusterReadListAllOf) HasId

func (o *ClusterReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterReadListAllOf) HasItems

func (o *ClusterReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ClusterReadListAllOf) HasType

func (o *ClusterReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (ClusterReadListAllOf) MarshalJSON

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

func (*ClusterReadListAllOf) SetHref

func (o *ClusterReadListAllOf) SetHref(v string)

SetHref sets field value

func (*ClusterReadListAllOf) SetId

func (o *ClusterReadListAllOf) SetId(v string)

SetId sets field value

func (*ClusterReadListAllOf) SetItems

func (o *ClusterReadListAllOf) SetItems(v []ClusterRead)

SetItems sets field value

func (*ClusterReadListAllOf) SetType

func (o *ClusterReadListAllOf) SetType(v string)

SetType sets field value

type ClustersApiService

type ClustersApiService service

ClustersApiService ClustersApi service

func (*ClustersApiService) ClustersDelete

func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest

* ClustersDelete Delete Cluster * Deletes the specified cluster. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @return ApiClustersDeleteRequest

func (*ClustersApiService) ClustersDeleteExecute

func (a *ClustersApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*ClustersApiService) ClustersFindById

func (a *ClustersApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest

* ClustersFindById Retrieve Cluster * Returns cluster details by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @return ApiClustersFindByIdRequest

func (*ClustersApiService) ClustersFindByIdExecute

func (a *ClustersApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterRead, *APIResponse, error)

* Execute executes the request * @return ClusterRead

func (*ClustersApiService) ClustersGet

* ClustersGet Retrieve Clusters * Retrieve Network File Storage clusters with pagination and optional filters.

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

func (*ClustersApiService) ClustersGetExecute

* Execute executes the request * @return ClusterReadList

func (*ClustersApiService) ClustersPost

  • ClustersPost Create Cluster
  • Creates a new Network File Storage cluster.

The complete cluster configuration must be provided to create the resource. Optional data will be filled with default values or left empty.

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

func (*ClustersApiService) ClustersPostExecute

* Execute executes the request * @return ClusterRead

func (*ClustersApiService) ClustersPut

func (a *ClustersApiService) ClustersPut(ctx _context.Context, clusterId string) ApiClustersPutRequest
  • ClustersPut Ensure Cluster
  • Ensures that the cluster with the provided identifier is created or modified.

The complete cluster configuration must be provided to update or create the cluster. Any missing data will be filled with default values or left empty, without considering previous values.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The ID (UUID) of the Cluster.
  • @return ApiClustersPutRequest

func (*ClustersApiService) ClustersPutExecute

* Execute executes the request * @return ClusterRead

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 The resource metadata.

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 MetadataWithPath

type MetadataWithPath 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 resource can be one of the following:  * `AVAILABLE` - The resource exists and is healthy. * `PROVISIONING` - The resource is being created or updated. * `DESTROYING` - A delete command was issued, and the resource is being deleted. * `FAILED` - The resource failed, with details provided in `statusMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,omitempty"`
	// The path of the NFS export.
	NfsPath *string `json:"nfsPath"`
}

MetadataWithPath struct for MetadataWithPath

func NewMetadataWithPath

func NewMetadataWithPath(status string, nfsPath string) *MetadataWithPath

NewMetadataWithPath instantiates a new MetadataWithPath 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 NewMetadataWithPathWithDefaults

func NewMetadataWithPathWithDefaults() *MetadataWithPath

NewMetadataWithPathWithDefaults instantiates a new MetadataWithPath 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 (*MetadataWithPath) GetCreatedBy

func (o *MetadataWithPath) GetCreatedBy() *string

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

func (*MetadataWithPath) GetCreatedByOk

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

func (o *MetadataWithPath) GetCreatedByUserId() *string

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

func (*MetadataWithPath) GetCreatedByUserIdOk

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

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

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

func (o *MetadataWithPath) GetLastModifiedBy() *string

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

func (*MetadataWithPath) GetLastModifiedByOk

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

func (o *MetadataWithPath) GetLastModifiedByUserId() *string

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

func (*MetadataWithPath) GetLastModifiedByUserIdOk

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

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

func (o *MetadataWithPath) 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 (*MetadataWithPath) GetNfsPath

func (o *MetadataWithPath) GetNfsPath() *string

GetNfsPath returns the NfsPath field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithPath) GetNfsPathOk

func (o *MetadataWithPath) GetNfsPathOk() (*string, bool)

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

func (*MetadataWithPath) GetResourceURN

func (o *MetadataWithPath) GetResourceURN() *string

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

func (*MetadataWithPath) GetResourceURNOk

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

func (o *MetadataWithPath) GetStatus() *string

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

func (*MetadataWithPath) GetStatusMessage

func (o *MetadataWithPath) GetStatusMessage() *string

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

func (*MetadataWithPath) GetStatusMessageOk

func (o *MetadataWithPath) 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 (*MetadataWithPath) GetStatusOk

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

func (o *MetadataWithPath) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithPath) HasCreatedByUserId

func (o *MetadataWithPath) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithPath) HasCreatedDate

func (o *MetadataWithPath) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithPath) HasLastModifiedBy

func (o *MetadataWithPath) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithPath) HasLastModifiedByUserId

func (o *MetadataWithPath) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithPath) HasLastModifiedDate

func (o *MetadataWithPath) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithPath) HasNfsPath

func (o *MetadataWithPath) HasNfsPath() bool

HasNfsPath returns a boolean if a field has been set.

func (*MetadataWithPath) HasResourceURN

func (o *MetadataWithPath) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithPath) HasStatus

func (o *MetadataWithPath) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetadataWithPath) HasStatusMessage

func (o *MetadataWithPath) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (MetadataWithPath) MarshalJSON

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

func (*MetadataWithPath) SetCreatedBy

func (o *MetadataWithPath) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*MetadataWithPath) SetCreatedByUserId

func (o *MetadataWithPath) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*MetadataWithPath) SetCreatedDate

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

SetCreatedDate sets field value

func (*MetadataWithPath) SetLastModifiedBy

func (o *MetadataWithPath) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*MetadataWithPath) SetLastModifiedByUserId

func (o *MetadataWithPath) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*MetadataWithPath) SetLastModifiedDate

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

SetLastModifiedDate sets field value

func (*MetadataWithPath) SetNfsPath

func (o *MetadataWithPath) SetNfsPath(v string)

SetNfsPath sets field value

func (*MetadataWithPath) SetResourceURN

func (o *MetadataWithPath) SetResourceURN(v string)

SetResourceURN sets field value

func (*MetadataWithPath) SetStatus

func (o *MetadataWithPath) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithPath) SetStatusMessage

func (o *MetadataWithPath) SetStatusMessage(v string)

SetStatusMessage sets field value

type MetadataWithPathAllOf

type MetadataWithPathAllOf struct {
	// The path of the NFS export.
	NfsPath *string `json:"nfsPath"`
}

MetadataWithPathAllOf struct for MetadataWithPathAllOf

func NewMetadataWithPathAllOf

func NewMetadataWithPathAllOf(nfsPath string) *MetadataWithPathAllOf

NewMetadataWithPathAllOf instantiates a new MetadataWithPathAllOf 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 NewMetadataWithPathAllOfWithDefaults

func NewMetadataWithPathAllOfWithDefaults() *MetadataWithPathAllOf

NewMetadataWithPathAllOfWithDefaults instantiates a new MetadataWithPathAllOf 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 (*MetadataWithPathAllOf) GetNfsPath

func (o *MetadataWithPathAllOf) GetNfsPath() *string

GetNfsPath returns the NfsPath field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithPathAllOf) GetNfsPathOk

func (o *MetadataWithPathAllOf) GetNfsPathOk() (*string, bool)

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

func (*MetadataWithPathAllOf) HasNfsPath

func (o *MetadataWithPathAllOf) HasNfsPath() bool

HasNfsPath returns a boolean if a field has been set.

func (MetadataWithPathAllOf) MarshalJSON

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

func (*MetadataWithPathAllOf) SetNfsPath

func (o *MetadataWithPathAllOf) SetNfsPath(v string)

SetNfsPath 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 resource can be one of the following:  * `AVAILABLE` - The resource exists and is healthy. * `PROVISIONING` - The resource is being created or updated. * `DESTROYING` - A delete command was issued, and the resource is being deleted. * `FAILED` - The resource failed, with details provided in `statusMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,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) 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) 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) 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 resource can be one of the following:  * `AVAILABLE` - The resource exists and is healthy. * `PROVISIONING` - The resource is being created or updated. * `DESTROYING` - A delete command was issued, and the resource is being deleted. * `FAILED` - The resource failed, with details provided in `statusMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,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) 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) 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) 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 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 NullableCluster

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

func NewNullableCluster

func NewNullableCluster(val *Cluster) *NullableCluster

func (NullableCluster) Get

func (v NullableCluster) Get() *Cluster

func (NullableCluster) IsSet

func (v NullableCluster) IsSet() bool

func (NullableCluster) MarshalJSON

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

func (*NullableCluster) Set

func (v *NullableCluster) Set(val *Cluster)

func (*NullableCluster) UnmarshalJSON

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

func (*NullableCluster) Unset

func (v *NullableCluster) Unset()

type NullableClusterConnections

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

func NewNullableClusterConnections

func NewNullableClusterConnections(val *ClusterConnections) *NullableClusterConnections

func (NullableClusterConnections) Get

func (NullableClusterConnections) IsSet

func (v NullableClusterConnections) IsSet() bool

func (NullableClusterConnections) MarshalJSON

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

func (*NullableClusterConnections) Set

func (*NullableClusterConnections) UnmarshalJSON

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

func (*NullableClusterConnections) Unset

func (v *NullableClusterConnections) Unset()

type NullableClusterCreate

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

func NewNullableClusterCreate

func NewNullableClusterCreate(val *ClusterCreate) *NullableClusterCreate

func (NullableClusterCreate) Get

func (NullableClusterCreate) IsSet

func (v NullableClusterCreate) IsSet() bool

func (NullableClusterCreate) MarshalJSON

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

func (*NullableClusterCreate) Set

func (v *NullableClusterCreate) Set(val *ClusterCreate)

func (*NullableClusterCreate) UnmarshalJSON

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

func (*NullableClusterCreate) Unset

func (v *NullableClusterCreate) Unset()

type NullableClusterEnsure

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

func NewNullableClusterEnsure

func NewNullableClusterEnsure(val *ClusterEnsure) *NullableClusterEnsure

func (NullableClusterEnsure) Get

func (NullableClusterEnsure) IsSet

func (v NullableClusterEnsure) IsSet() bool

func (NullableClusterEnsure) MarshalJSON

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

func (*NullableClusterEnsure) Set

func (v *NullableClusterEnsure) Set(val *ClusterEnsure)

func (*NullableClusterEnsure) UnmarshalJSON

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

func (*NullableClusterEnsure) Unset

func (v *NullableClusterEnsure) Unset()

type NullableClusterNfs

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

func NewNullableClusterNfs

func NewNullableClusterNfs(val *ClusterNfs) *NullableClusterNfs

func (NullableClusterNfs) Get

func (v NullableClusterNfs) Get() *ClusterNfs

func (NullableClusterNfs) IsSet

func (v NullableClusterNfs) IsSet() bool

func (NullableClusterNfs) MarshalJSON

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

func (*NullableClusterNfs) Set

func (v *NullableClusterNfs) Set(val *ClusterNfs)

func (*NullableClusterNfs) UnmarshalJSON

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

func (*NullableClusterNfs) Unset

func (v *NullableClusterNfs) Unset()

type NullableClusterRead

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

func NewNullableClusterRead

func NewNullableClusterRead(val *ClusterRead) *NullableClusterRead

func (NullableClusterRead) Get

func (NullableClusterRead) IsSet

func (v NullableClusterRead) IsSet() bool

func (NullableClusterRead) MarshalJSON

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

func (*NullableClusterRead) Set

func (v *NullableClusterRead) Set(val *ClusterRead)

func (*NullableClusterRead) UnmarshalJSON

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

func (*NullableClusterRead) Unset

func (v *NullableClusterRead) Unset()

type NullableClusterReadList

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

func NewNullableClusterReadList

func NewNullableClusterReadList(val *ClusterReadList) *NullableClusterReadList

func (NullableClusterReadList) Get

func (NullableClusterReadList) IsSet

func (v NullableClusterReadList) IsSet() bool

func (NullableClusterReadList) MarshalJSON

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

func (*NullableClusterReadList) Set

func (*NullableClusterReadList) UnmarshalJSON

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

func (*NullableClusterReadList) Unset

func (v *NullableClusterReadList) Unset()

type NullableClusterReadListAllOf

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

func NewNullableClusterReadListAllOf

func NewNullableClusterReadListAllOf(val *ClusterReadListAllOf) *NullableClusterReadListAllOf

func (NullableClusterReadListAllOf) Get

func (NullableClusterReadListAllOf) IsSet

func (NullableClusterReadListAllOf) MarshalJSON

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

func (*NullableClusterReadListAllOf) Set

func (*NullableClusterReadListAllOf) UnmarshalJSON

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

func (*NullableClusterReadListAllOf) Unset

func (v *NullableClusterReadListAllOf) 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 NullableMetadataWithPath

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

func NewNullableMetadataWithPath

func NewNullableMetadataWithPath(val *MetadataWithPath) *NullableMetadataWithPath

func (NullableMetadataWithPath) Get

func (NullableMetadataWithPath) IsSet

func (v NullableMetadataWithPath) IsSet() bool

func (NullableMetadataWithPath) MarshalJSON

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

func (*NullableMetadataWithPath) Set

func (*NullableMetadataWithPath) UnmarshalJSON

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

func (*NullableMetadataWithPath) Unset

func (v *NullableMetadataWithPath) Unset()

type NullableMetadataWithPathAllOf

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

func (NullableMetadataWithPathAllOf) Get

func (NullableMetadataWithPathAllOf) IsSet

func (NullableMetadataWithPathAllOf) MarshalJSON

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

func (*NullableMetadataWithPathAllOf) Set

func (*NullableMetadataWithPathAllOf) UnmarshalJSON

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

func (*NullableMetadataWithPathAllOf) Unset

func (v *NullableMetadataWithPathAllOf) 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 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 NullableShare

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

func NewNullableShare

func NewNullableShare(val *Share) *NullableShare

func (NullableShare) Get

func (v NullableShare) Get() *Share

func (NullableShare) IsSet

func (v NullableShare) IsSet() bool

func (NullableShare) MarshalJSON

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

func (*NullableShare) Set

func (v *NullableShare) Set(val *Share)

func (*NullableShare) UnmarshalJSON

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

func (*NullableShare) Unset

func (v *NullableShare) Unset()

type NullableShareClientGroups

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

func NewNullableShareClientGroups

func NewNullableShareClientGroups(val *ShareClientGroups) *NullableShareClientGroups

func (NullableShareClientGroups) Get

func (NullableShareClientGroups) IsSet

func (v NullableShareClientGroups) IsSet() bool

func (NullableShareClientGroups) MarshalJSON

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

func (*NullableShareClientGroups) Set

func (*NullableShareClientGroups) UnmarshalJSON

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

func (*NullableShareClientGroups) Unset

func (v *NullableShareClientGroups) Unset()

type NullableShareClientGroupsNfs

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

func NewNullableShareClientGroupsNfs

func NewNullableShareClientGroupsNfs(val *ShareClientGroupsNfs) *NullableShareClientGroupsNfs

func (NullableShareClientGroupsNfs) Get

func (NullableShareClientGroupsNfs) IsSet

func (NullableShareClientGroupsNfs) MarshalJSON

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

func (*NullableShareClientGroupsNfs) Set

func (*NullableShareClientGroupsNfs) UnmarshalJSON

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

func (*NullableShareClientGroupsNfs) Unset

func (v *NullableShareClientGroupsNfs) Unset()

type NullableShareCreate

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

func NewNullableShareCreate

func NewNullableShareCreate(val *ShareCreate) *NullableShareCreate

func (NullableShareCreate) Get

func (NullableShareCreate) IsSet

func (v NullableShareCreate) IsSet() bool

func (NullableShareCreate) MarshalJSON

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

func (*NullableShareCreate) Set

func (v *NullableShareCreate) Set(val *ShareCreate)

func (*NullableShareCreate) UnmarshalJSON

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

func (*NullableShareCreate) Unset

func (v *NullableShareCreate) Unset()

type NullableShareEnsure

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

func NewNullableShareEnsure

func NewNullableShareEnsure(val *ShareEnsure) *NullableShareEnsure

func (NullableShareEnsure) Get

func (NullableShareEnsure) IsSet

func (v NullableShareEnsure) IsSet() bool

func (NullableShareEnsure) MarshalJSON

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

func (*NullableShareEnsure) Set

func (v *NullableShareEnsure) Set(val *ShareEnsure)

func (*NullableShareEnsure) UnmarshalJSON

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

func (*NullableShareEnsure) Unset

func (v *NullableShareEnsure) Unset()

type NullableShareRead

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

func NewNullableShareRead

func NewNullableShareRead(val *ShareRead) *NullableShareRead

func (NullableShareRead) Get

func (v NullableShareRead) Get() *ShareRead

func (NullableShareRead) IsSet

func (v NullableShareRead) IsSet() bool

func (NullableShareRead) MarshalJSON

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

func (*NullableShareRead) Set

func (v *NullableShareRead) Set(val *ShareRead)

func (*NullableShareRead) UnmarshalJSON

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

func (*NullableShareRead) Unset

func (v *NullableShareRead) Unset()

type NullableShareReadList

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

func NewNullableShareReadList

func NewNullableShareReadList(val *ShareReadList) *NullableShareReadList

func (NullableShareReadList) Get

func (NullableShareReadList) IsSet

func (v NullableShareReadList) IsSet() bool

func (NullableShareReadList) MarshalJSON

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

func (*NullableShareReadList) Set

func (v *NullableShareReadList) Set(val *ShareReadList)

func (*NullableShareReadList) UnmarshalJSON

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

func (*NullableShareReadList) Unset

func (v *NullableShareReadList) Unset()

type NullableShareReadListAllOf

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

func NewNullableShareReadListAllOf

func NewNullableShareReadListAllOf(val *ShareReadListAllOf) *NullableShareReadListAllOf

func (NullableShareReadListAllOf) Get

func (NullableShareReadListAllOf) IsSet

func (v NullableShareReadListAllOf) IsSet() bool

func (NullableShareReadListAllOf) MarshalJSON

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

func (*NullableShareReadListAllOf) Set

func (*NullableShareReadListAllOf) UnmarshalJSON

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

func (*NullableShareReadListAllOf) Unset

func (v *NullableShareReadListAllOf) 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 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 Share

type Share struct {
	// The directory being exported
	Name *string `json:"name"`
	// The quota in MiB for the export. The quota can restrict the amount of data that can be stored within the export. The quota can be disabled using `0`.
	Quota *int32 `json:"quota,omitempty"`
	// The group ID that will own the exported directory and be used as anongid in squash modes root-anonymous and all-anonymous.
	Gid *int32 `json:"gid,omitempty"`
	// The user ID that will own the exported directory and be used as anonuid in squash modes root-anonymous and all-anonymous.
	Uid *int32 `json:"uid,omitempty"`
	// The groups of clients are the systems connecting to the Network File Storage cluster.
	ClientGroups *[]ShareClientGroups `json:"clientGroups"`
}

Share A share represents a directory on a Network File Storage cluster. Options like quotas might be set for this directory.

func NewShare

func NewShare(name string, clientGroups []ShareClientGroups) *Share

NewShare instantiates a new Share 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 NewShareWithDefaults

func NewShareWithDefaults() *Share

NewShareWithDefaults instantiates a new Share 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 (*Share) GetClientGroups

func (o *Share) GetClientGroups() *[]ShareClientGroups

GetClientGroups returns the ClientGroups field value If the value is explicit nil, the zero value for []ShareClientGroups will be returned

func (*Share) GetClientGroupsOk

func (o *Share) GetClientGroupsOk() (*[]ShareClientGroups, bool)

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

func (*Share) GetGid

func (o *Share) GetGid() *int32

GetGid returns the Gid field value If the value is explicit nil, the zero value for int32 will be returned

func (*Share) GetGidOk

func (o *Share) GetGidOk() (*int32, bool)

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

func (*Share) GetName

func (o *Share) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Share) GetNameOk

func (o *Share) GetNameOk() (*string, bool)

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

func (*Share) GetQuota

func (o *Share) GetQuota() *int32

GetQuota returns the Quota field value If the value is explicit nil, the zero value for int32 will be returned

func (*Share) GetQuotaOk

func (o *Share) GetQuotaOk() (*int32, bool)

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

func (*Share) GetUid

func (o *Share) GetUid() *int32

GetUid returns the Uid field value If the value is explicit nil, the zero value for int32 will be returned

func (*Share) GetUidOk

func (o *Share) GetUidOk() (*int32, bool)

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

func (*Share) HasClientGroups

func (o *Share) HasClientGroups() bool

HasClientGroups returns a boolean if a field has been set.

func (*Share) HasGid

func (o *Share) HasGid() bool

HasGid returns a boolean if a field has been set.

func (*Share) HasName

func (o *Share) HasName() bool

HasName returns a boolean if a field has been set.

func (*Share) HasQuota

func (o *Share) HasQuota() bool

HasQuota returns a boolean if a field has been set.

func (*Share) HasUid

func (o *Share) HasUid() bool

HasUid returns a boolean if a field has been set.

func (Share) MarshalJSON

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

func (*Share) SetClientGroups

func (o *Share) SetClientGroups(v []ShareClientGroups)

SetClientGroups sets field value

func (*Share) SetGid

func (o *Share) SetGid(v int32)

SetGid sets field value

func (*Share) SetName

func (o *Share) SetName(v string)

SetName sets field value

func (*Share) SetQuota

func (o *Share) SetQuota(v int32)

SetQuota sets field value

func (*Share) SetUid

func (o *Share) SetUid(v int32)

SetUid sets field value

type ShareClientGroups

type ShareClientGroups struct {
	// Optional description for the clients groups.
	Description *string               `json:"description,omitempty"`
	IpNetworks  *[]string             `json:"ipNetworks,omitempty"`
	Hosts       *[]string             `json:"hosts,omitempty"`
	Nfs         *ShareClientGroupsNfs `json:"nfs,omitempty"`
}

ShareClientGroups struct for ShareClientGroups

func NewShareClientGroups

func NewShareClientGroups() *ShareClientGroups

NewShareClientGroups instantiates a new ShareClientGroups 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 NewShareClientGroupsWithDefaults

func NewShareClientGroupsWithDefaults() *ShareClientGroups

NewShareClientGroupsWithDefaults instantiates a new ShareClientGroups 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 (*ShareClientGroups) GetDescription

func (o *ShareClientGroups) GetDescription() *string

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

func (*ShareClientGroups) GetDescriptionOk

func (o *ShareClientGroups) 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 (*ShareClientGroups) GetHosts

func (o *ShareClientGroups) GetHosts() *[]string

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

func (*ShareClientGroups) GetHostsOk

func (o *ShareClientGroups) GetHostsOk() (*[]string, bool)

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

func (*ShareClientGroups) GetIpNetworks

func (o *ShareClientGroups) GetIpNetworks() *[]string

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

func (*ShareClientGroups) GetIpNetworksOk

func (o *ShareClientGroups) GetIpNetworksOk() (*[]string, bool)

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

func (*ShareClientGroups) GetNfs

GetNfs returns the Nfs field value If the value is explicit nil, the zero value for ShareClientGroupsNfs will be returned

func (*ShareClientGroups) GetNfsOk

func (o *ShareClientGroups) GetNfsOk() (*ShareClientGroupsNfs, bool)

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

func (*ShareClientGroups) HasDescription

func (o *ShareClientGroups) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ShareClientGroups) HasHosts

func (o *ShareClientGroups) HasHosts() bool

HasHosts returns a boolean if a field has been set.

func (*ShareClientGroups) HasIpNetworks

func (o *ShareClientGroups) HasIpNetworks() bool

HasIpNetworks returns a boolean if a field has been set.

func (*ShareClientGroups) HasNfs

func (o *ShareClientGroups) HasNfs() bool

HasNfs returns a boolean if a field has been set.

func (ShareClientGroups) MarshalJSON

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

func (*ShareClientGroups) SetDescription

func (o *ShareClientGroups) SetDescription(v string)

SetDescription sets field value

func (*ShareClientGroups) SetHosts

func (o *ShareClientGroups) SetHosts(v []string)

SetHosts sets field value

func (*ShareClientGroups) SetIpNetworks

func (o *ShareClientGroups) SetIpNetworks(v []string)

SetIpNetworks sets field value

func (*ShareClientGroups) SetNfs

SetNfs sets field value

type ShareClientGroupsNfs

type ShareClientGroupsNfs struct {
	// The squash mode for the export. The squash mode can be: * `none` - No squash mode. no mapping (no_all_squash,no_root_squash). * `root-anonymous` - Map root user to anonymous uid (root_squash,anonuid=<uid>,anongid=<gid>). * `all-anonymous` - Map all users to anonymous uid (all_squash,anonuid=<uid>,anongid=<gid>).
	Squash *string `json:"squash,omitempty"`
}

ShareClientGroupsNfs NFS specific configurations.

func NewShareClientGroupsNfs

func NewShareClientGroupsNfs() *ShareClientGroupsNfs

NewShareClientGroupsNfs instantiates a new ShareClientGroupsNfs 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 NewShareClientGroupsNfsWithDefaults

func NewShareClientGroupsNfsWithDefaults() *ShareClientGroupsNfs

NewShareClientGroupsNfsWithDefaults instantiates a new ShareClientGroupsNfs 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 (*ShareClientGroupsNfs) GetSquash

func (o *ShareClientGroupsNfs) GetSquash() *string

GetSquash returns the Squash field value If the value is explicit nil, the zero value for string will be returned

func (*ShareClientGroupsNfs) GetSquashOk

func (o *ShareClientGroupsNfs) GetSquashOk() (*string, bool)

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

func (*ShareClientGroupsNfs) HasSquash

func (o *ShareClientGroupsNfs) HasSquash() bool

HasSquash returns a boolean if a field has been set.

func (ShareClientGroupsNfs) MarshalJSON

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

func (*ShareClientGroupsNfs) SetSquash

func (o *ShareClientGroupsNfs) SetSquash(v string)

SetSquash sets field value

type ShareCreate

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

ShareCreate struct for ShareCreate

func NewShareCreate

func NewShareCreate(properties Share) *ShareCreate

NewShareCreate instantiates a new ShareCreate 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 NewShareCreateWithDefaults

func NewShareCreateWithDefaults() *ShareCreate

NewShareCreateWithDefaults instantiates a new ShareCreate 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 (*ShareCreate) GetMetadata

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

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

func (o *ShareCreate) GetProperties() *Share

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

func (*ShareCreate) GetPropertiesOk

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

func (o *ShareCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ShareCreate) HasProperties

func (o *ShareCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ShareCreate) MarshalJSON

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

func (*ShareCreate) SetMetadata

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

SetMetadata sets field value

func (*ShareCreate) SetProperties

func (o *ShareCreate) SetProperties(v Share)

SetProperties sets field value

type ShareEnsure

type ShareEnsure struct {
	// The share identifier (UUID).
	Id *string `json:"id"`
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Share                  `json:"properties"`
}

ShareEnsure struct for ShareEnsure

func NewShareEnsure

func NewShareEnsure(id string, properties Share) *ShareEnsure

NewShareEnsure instantiates a new ShareEnsure 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 NewShareEnsureWithDefaults

func NewShareEnsureWithDefaults() *ShareEnsure

NewShareEnsureWithDefaults instantiates a new ShareEnsure 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 (*ShareEnsure) GetId

func (o *ShareEnsure) GetId() *string

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

func (*ShareEnsure) GetIdOk

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

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

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

func (o *ShareEnsure) GetProperties() *Share

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

func (*ShareEnsure) GetPropertiesOk

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

func (o *ShareEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*ShareEnsure) HasMetadata

func (o *ShareEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ShareEnsure) HasProperties

func (o *ShareEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ShareEnsure) MarshalJSON

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

func (*ShareEnsure) SetId

func (o *ShareEnsure) SetId(v string)

SetId sets field value

func (*ShareEnsure) SetMetadata

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

SetMetadata sets field value

func (*ShareEnsure) SetProperties

func (o *ShareEnsure) SetProperties(v Share)

SetProperties sets field value

type ShareRead

type ShareRead struct {
	// The share identifier (UUID)
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type"`
	// The URL of the share.
	Href       *string           `json:"href"`
	Metadata   *MetadataWithPath `json:"metadata"`
	Properties *Share            `json:"properties"`
}

ShareRead struct for ShareRead

func NewShareRead

func NewShareRead(id string, type_ string, href string, metadata MetadataWithPath, properties Share) *ShareRead

NewShareRead instantiates a new ShareRead 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 NewShareReadWithDefaults

func NewShareReadWithDefaults() *ShareRead

NewShareReadWithDefaults instantiates a new ShareRead 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 (*ShareRead) GetHref

func (o *ShareRead) GetHref() *string

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

func (*ShareRead) GetHrefOk

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

func (o *ShareRead) GetId() *string

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

func (*ShareRead) GetIdOk

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

func (o *ShareRead) GetMetadata() *MetadataWithPath

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

func (*ShareRead) GetMetadataOk

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

func (o *ShareRead) GetProperties() *Share

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

func (*ShareRead) GetPropertiesOk

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

func (o *ShareRead) GetType() *string

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

func (*ShareRead) GetTypeOk

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

func (o *ShareRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ShareRead) HasId

func (o *ShareRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*ShareRead) HasMetadata

func (o *ShareRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ShareRead) HasProperties

func (o *ShareRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ShareRead) HasType

func (o *ShareRead) HasType() bool

HasType returns a boolean if a field has been set.

func (ShareRead) MarshalJSON

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

func (*ShareRead) SetHref

func (o *ShareRead) SetHref(v string)

SetHref sets field value

func (*ShareRead) SetId

func (o *ShareRead) SetId(v string)

SetId sets field value

func (*ShareRead) SetMetadata

func (o *ShareRead) SetMetadata(v MetadataWithPath)

SetMetadata sets field value

func (*ShareRead) SetProperties

func (o *ShareRead) SetProperties(v Share)

SetProperties sets field value

func (*ShareRead) SetType

func (o *ShareRead) SetType(v string)

SetType sets field value

type ShareReadList

type ShareReadList struct {
	// The Share identifier (UUID)
	Id *string `json:"id"`
	// The resource type
	Type *string `json:"type"`
	// The URL of the Share.
	Href *string `json:"href"`
	// The list of share resources.
	Items *[]ShareRead `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"`
}

ShareReadList struct for ShareReadList

func NewShareReadList

func NewShareReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ShareReadList

NewShareReadList instantiates a new ShareReadList 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 NewShareReadListWithDefaults

func NewShareReadListWithDefaults() *ShareReadList

NewShareReadListWithDefaults instantiates a new ShareReadList 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 (*ShareReadList) GetHref

func (o *ShareReadList) GetHref() *string

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

func (*ShareReadList) GetHrefOk

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

func (o *ShareReadList) GetId() *string

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

func (*ShareReadList) GetIdOk

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

func (o *ShareReadList) GetItems() *[]ShareRead

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

func (*ShareReadList) GetItemsOk

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

func (o *ShareReadList) GetLimit() *int32

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

func (*ShareReadList) GetLimitOk

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

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

func (*ShareReadList) GetLinksOk

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

func (o *ShareReadList) GetOffset() *int32

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

func (*ShareReadList) GetOffsetOk

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

func (o *ShareReadList) GetType() *string

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

func (*ShareReadList) GetTypeOk

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

func (o *ShareReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ShareReadList) HasId

func (o *ShareReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*ShareReadList) HasItems

func (o *ShareReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ShareReadList) HasLimit

func (o *ShareReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *ShareReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ShareReadList) HasOffset

func (o *ShareReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*ShareReadList) HasType

func (o *ShareReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (ShareReadList) MarshalJSON

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

func (*ShareReadList) SetHref

func (o *ShareReadList) SetHref(v string)

SetHref sets field value

func (*ShareReadList) SetId

func (o *ShareReadList) SetId(v string)

SetId sets field value

func (*ShareReadList) SetItems

func (o *ShareReadList) SetItems(v []ShareRead)

SetItems sets field value

func (*ShareReadList) SetLimit

func (o *ShareReadList) SetLimit(v int32)

SetLimit sets field value

func (o *ShareReadList) SetLinks(v Links)

SetLinks sets field value

func (*ShareReadList) SetOffset

func (o *ShareReadList) SetOffset(v int32)

SetOffset sets field value

func (*ShareReadList) SetType

func (o *ShareReadList) SetType(v string)

SetType sets field value

type ShareReadListAllOf

type ShareReadListAllOf struct {
	// The Share identifier (UUID)
	Id *string `json:"id"`
	// The resource type
	Type *string `json:"type"`
	// The URL of the Share.
	Href *string `json:"href"`
	// The list of share resources.
	Items *[]ShareRead `json:"items,omitempty"`
}

ShareReadListAllOf struct for ShareReadListAllOf

func NewShareReadListAllOf

func NewShareReadListAllOf(id string, type_ string, href string) *ShareReadListAllOf

NewShareReadListAllOf instantiates a new ShareReadListAllOf 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 NewShareReadListAllOfWithDefaults

func NewShareReadListAllOfWithDefaults() *ShareReadListAllOf

NewShareReadListAllOfWithDefaults instantiates a new ShareReadListAllOf 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 (*ShareReadListAllOf) GetHref

func (o *ShareReadListAllOf) GetHref() *string

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

func (*ShareReadListAllOf) GetHrefOk

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

func (o *ShareReadListAllOf) GetId() *string

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

func (*ShareReadListAllOf) GetIdOk

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

func (o *ShareReadListAllOf) GetItems() *[]ShareRead

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

func (*ShareReadListAllOf) GetItemsOk

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

func (o *ShareReadListAllOf) GetType() *string

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

func (*ShareReadListAllOf) GetTypeOk

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

func (o *ShareReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ShareReadListAllOf) HasId

func (o *ShareReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*ShareReadListAllOf) HasItems

func (o *ShareReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ShareReadListAllOf) HasType

func (o *ShareReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (ShareReadListAllOf) MarshalJSON

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

func (*ShareReadListAllOf) SetHref

func (o *ShareReadListAllOf) SetHref(v string)

SetHref sets field value

func (*ShareReadListAllOf) SetId

func (o *ShareReadListAllOf) SetId(v string)

SetId sets field value

func (*ShareReadListAllOf) SetItems

func (o *ShareReadListAllOf) SetItems(v []ShareRead)

SetItems sets field value

func (*ShareReadListAllOf) SetType

func (o *ShareReadListAllOf) SetType(v string)

SetType sets field value

type SharesApiService

type SharesApiService service

SharesApiService SharesApi service

func (*SharesApiService) ClustersSharesDelete

func (a *SharesApiService) ClustersSharesDelete(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesDeleteRequest

* ClustersSharesDelete Delete Share * Deletes the specified share. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @param shareId The identifier (UUID) of the share. * @return ApiClustersSharesDeleteRequest

func (*SharesApiService) ClustersSharesDeleteExecute

func (a *SharesApiService) ClustersSharesDeleteExecute(r ApiClustersSharesDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*SharesApiService) ClustersSharesFindById

func (a *SharesApiService) ClustersSharesFindById(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesFindByIdRequest

* ClustersSharesFindById Retrieve Share * Returns the share by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @param shareId The share identifier. * @return ApiClustersSharesFindByIdRequest

func (*SharesApiService) ClustersSharesFindByIdExecute

func (a *SharesApiService) ClustersSharesFindByIdExecute(r ApiClustersSharesFindByIdRequest) (ShareRead, *APIResponse, error)

* Execute executes the request * @return ShareRead

func (*SharesApiService) ClustersSharesGet

func (a *SharesApiService) ClustersSharesGet(ctx _context.Context, clusterId string) ApiClustersSharesGetRequest

* ClustersSharesGet Retrieve Shares * Retrieves shares of the cluster with pagination and optional filters.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @return ApiClustersSharesGetRequest

func (*SharesApiService) ClustersSharesGetExecute

func (a *SharesApiService) ClustersSharesGetExecute(r ApiClustersSharesGetRequest) (ShareReadList, *APIResponse, error)

* Execute executes the request * @return ShareReadList

func (*SharesApiService) ClustersSharesPost

func (a *SharesApiService) ClustersSharesPost(ctx _context.Context, clusterId string) ApiClustersSharesPostRequest
  • ClustersSharesPost Create Share
  • Creates a new share.

The complete share configuration must be provided to create the share. Optional data will be filled with default values or left empty.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The identifier (UUID) of the cluster.
  • @return ApiClustersSharesPostRequest

func (*SharesApiService) ClustersSharesPostExecute

func (a *SharesApiService) ClustersSharesPostExecute(r ApiClustersSharesPostRequest) (ShareRead, *APIResponse, error)

* Execute executes the request * @return ShareRead

func (*SharesApiService) ClustersSharesPut

func (a *SharesApiService) ClustersSharesPut(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesPutRequest
  • ClustersSharesPut Ensure Share
  • Ensures that the share with the provided ID is created or modified.

The complete share configuration must be provided to update or create the share. Any missing data will be filled with default values or left empty, without considering previous values.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The identifier (UUID) of the cluster.
  • @param shareId The identifier (UUID) of the share.
  • @return ApiClustersSharesPutRequest

func (*SharesApiService) ClustersSharesPutExecute

func (a *SharesApiService) ClustersSharesPutExecute(r ApiClustersSharesPutRequest) (ShareRead, *APIResponse, error)

* Execute executes the request * @return ShareRead

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