nfs

package module
v2.0.0 Latest Latest
Warning

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

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

README

Go API client for nfs

The RESTful API for managing Network File Storage.

Overview

The IONOS Cloud SDK for GO provides you with access to the IONOS Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in GO . The SDK for GO wraps the IONOS Cloud API. All API operations are performed over SSL and authenticated using your IONOS Cloud portal credentials. The API can be accessed within an instance running in IONOS Cloud or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.

Installing

Use go get to retrieve the SDK to add it to your GOPATH workspace, or project's Go module dependencies.
go get github.com/ionos-cloud/sdk-go-bundle/products/nfs.git

To update the SDK use go get -u to retrieve the latest version of the SDK.

go get -u github.com/ionos-cloud/sdk-go-bundle/products/nfs.git
Go Modules

If you are using Go modules, your go get will default to the latest tagged release version of the SDK. To get a specific release version of the SDK use @ in your go get command.

To get the latest SDK repository, use @latest.

go get github.com/ionos-cloud/sdk-go-bundle/products/nfs@latest

Environment Variables

Environment Variable Description
IONOS_USERNAME Specify the username used to login, to authenticate against the IONOS Cloud API
IONOS_PASSWORD Specify the password used to login, to authenticate against the IONOS Cloud API
IONOS_TOKEN Specify the token used to login, if a token is being used instead of username and password
IONOS_API_URL Specify the API URL. It will overwrite the API endpoint default value api.ionos.com. Note: the host URL does not contain the /cloudapi/v6 path, so it should not be included in the IONOS_API_URL environment variable
IONOS_LOG_LEVEL Specify the Log Level used to log messages. Possible values: Off, Debug, Trace
IONOS_PINNED_CERT Specify the SHA-256 public fingerprint here, enables certificate pinning

⚠️ Note: To overwrite the api endpoint - api.ionos.com, the environment variable IONOS_API_URL can be set, and used with NewConfigurationFromEnv() function.

Examples

Examples for creating resources using the Go SDK can be found here

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.

NOTE: We recommend passing the URL without the https:// or http:// prefix. The SDK checks and adds it if necessary when configurations are created using NewConfiguration or NewConfigurationFromEnv. This is to avoid issues caused by typos in the prefix that cannot be easily detected and debugged.

Basic Authentication
  • Type: HTTP basic authentication

Example

import (
	"context"
	"fmt"
	"github.com/ionos-cloud/sdk-go-bundle/shared"
	nfs "github.com/ionos-cloud/sdk-go-bundle/products/nfs"
	"log"
)

func basicAuthExample() error {
	cfg := shared.NewConfiguration("username_here", "pwd_here", "", "hostUrl_here")
	cfg.LogLevel = Trace
	apiClient := nfs.NewAPIClient(cfg)
	return nil
}
Token Authentication

There are 2 ways to generate your token:

Generate token using sdk for auth:
    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        nfs "github.com/ionos-cloud/sdk-go-bundle/products/nfs"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_USERNAME and IONOS_PASSWORD as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        jwt, _, err := auth.TokensApi.TokensGenerate(context.Background()).Execute()
        if err != nil {
            return fmt.Errorf("error occurred while generating token (%w)", err)
        }
        if !jwt.HasToken() {
            return fmt.Errorf("could not generate token")
        }
        cfg := shared.NewConfiguration("", "", *jwt.GetToken(), "hostUrl_here")
        cfg.LogLevel = Trace
        apiClient := nfs.NewAPIClient(cfg)
        return nil
    }
Generate token using ionosctl:

Install ionosctl as explained here Run commands to login and generate your token.

    ionosctl login
    ionosctl token generate
    export IONOS_TOKEN="insert_here_token_saved_from_generate_command"

Save the generated token and use it to authenticate:

    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
         nfs "github.com/ionos-cloud/sdk-go-bundle/products/nfs"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_TOKEN as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        cfg.LogLevel = Trace
        apiClient := nfs.NewAPIClient(cfg)
        return nil
    }

Certificate pinning:

You can enable certificate pinning if you want to bypass the normal certificate checking procedure, by doing the following:

Set env variable IONOS_PINNED_CERT=<insert_sha256_public_fingerprint_here>

You can get the sha256 fingerprint most easily from the browser by inspecting the certificate.

Depth

Many of the List or Get operations will accept an optional depth argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The details returned vary depending on the resource being queried, but it generally follows this pattern. By default, the SDK sets the depth argument to the maximum value.

Depth Description
0 Only direct properties are included. Children are not included.
1 Direct properties and children's references are returned.
2 Direct properties and children's properties are returned.
3 Direct properties, children's properties, and descendants' references are returned.
4 Direct properties, children's properties, and descendants' properties are returned.
5 Returns all available properties.
Changing the base URL

Base URL for the HTTP operation can be changed by using the following function:

requestProperties.SetURL("https://api.ionos.com/cloudapi/v6")

Debugging

You can inject any logger that implements Printf as a logger instead of using the default sdk logger. There are log levels that you can set: Off, Debug and Trace. Off - does not show any logs Debug - regular logs, no sensitive information 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.

package main

    import (
        nfs "github.com/ionos-cloud/sdk-go-bundle/products/nfs"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        "github.com/sirupsen/logrus"
    )

func main() {
    // create your configuration. replace username, password, token and url with correct values, or use NewConfigurationFromEnv()
    // if you have set your env variables as explained above
    cfg := shared.NewConfiguration("username", "password", "token", "hostUrl")
    // enable request and response logging. this is the most verbose loglevel
    shared.SdkLogLevel = Trace
    // inject your own logger that implements Printf
    shared.SdkLogger = logrus.New()
    // create you api client with the configuration
    apiClient := nfs.NewAPIClient(cfg)
}

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 = "products/nfs/v2.0.0"
)

Variables

This section is empty.

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 DeepCopy

func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func IsZero

func IsZero(v interface{}) bool

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 *shared.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() *shared.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 ApiClustersDeleteRequest

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

func (ApiClustersDeleteRequest) Execute

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

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.

func (*Cluster) GetName

func (o *Cluster) GetName() string

GetName returns the Name field value

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.

func (*Cluster) GetNfs

func (o *Cluster) GetNfs() ClusterNfs

GetNfs returns the Nfs field value if set, zero value otherwise.

func (*Cluster) GetNfsOk

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

GetNfsOk returns a tuple with the Nfs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Cluster) GetSize

func (o *Cluster) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Cluster) GetSizeOk

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

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*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) 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 gets a reference to the given ClusterNfs and assigns it to the Nfs field.

func (*Cluster) SetSize

func (o *Cluster) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (Cluster) ToMap

func (o Cluster) ToMap() (map[string]interface{}, error)

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

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.

func (*ClusterConnections) GetIpAddress

func (o *ClusterConnections) GetIpAddress() string

GetIpAddress returns the IpAddress field value

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.

func (*ClusterConnections) GetLan

func (o *ClusterConnections) GetLan() string

GetLan returns the Lan field value

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.

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

func (ClusterConnections) ToMap

func (o ClusterConnections) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*ClusterCreate) GetMetadataOk

func (o *ClusterCreate) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClusterCreate) GetProperties

func (o *ClusterCreate) GetProperties() Cluster

GetProperties returns the Properties field value

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.

func (*ClusterCreate) HasMetadata

func (o *ClusterCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ClusterCreate) SetMetadata

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

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*ClusterCreate) SetProperties

func (o *ClusterCreate) SetProperties(v Cluster)

SetProperties sets field value

func (ClusterCreate) ToMap

func (o ClusterCreate) ToMap() (map[string]interface{}, error)

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

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.

func (*ClusterEnsure) GetMetadata

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

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ClusterEnsure) GetMetadataOk

func (o *ClusterEnsure) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClusterEnsure) GetProperties

func (o *ClusterEnsure) GetProperties() Cluster

GetProperties returns the Properties field value

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.

func (*ClusterEnsure) HasMetadata

func (o *ClusterEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

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 gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*ClusterEnsure) SetProperties

func (o *ClusterEnsure) SetProperties(v Cluster)

SetProperties sets field value

func (ClusterEnsure) ToMap

func (o ClusterEnsure) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*ClusterNfs) GetMinVersionOk

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

GetMinVersionOk returns a tuple with the MinVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClusterNfs) HasMinVersion

func (o *ClusterNfs) HasMinVersion() bool

HasMinVersion returns a boolean if a field has been set.

func (*ClusterNfs) SetMinVersion

func (o *ClusterNfs) SetMinVersion(v string)

SetMinVersion gets a reference to the given string and assigns it to the MinVersion field.

func (ClusterNfs) ToMap

func (o ClusterNfs) ToMap() (map[string]interface{}, error)

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

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.

func (*ClusterRead) GetId

func (o *ClusterRead) GetId() string

GetId returns the Id field value

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.

func (*ClusterRead) GetMetadata

func (o *ClusterRead) GetMetadata() MetadataWithStatus

GetMetadata returns the Metadata field value

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.

func (*ClusterRead) GetProperties

func (o *ClusterRead) GetProperties() Cluster

GetProperties returns the Properties field value

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.

func (*ClusterRead) GetType

func (o *ClusterRead) GetType() string

GetType returns the Type field value

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.

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

func (ClusterRead) ToMap

func (o ClusterRead) ToMap() (map[string]interface{}, error)

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

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.

func (*ClusterReadList) GetId

func (o *ClusterReadList) GetId() string

GetId returns the Id field value

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.

func (*ClusterReadList) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*ClusterReadList) GetItemsOk

func (o *ClusterReadList) GetItemsOk() ([]ClusterRead, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClusterReadList) GetLimit

func (o *ClusterReadList) GetLimit() int32

GetLimit returns the Limit field value

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.

func (o *ClusterReadList) GetLinks() Links

GetLinks returns the Links field value

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.

func (*ClusterReadList) GetOffset

func (o *ClusterReadList) GetOffset() int32

GetOffset returns the Offset field value

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.

func (*ClusterReadList) GetType

func (o *ClusterReadList) GetType() string

GetType returns the Type field value

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.

func (*ClusterReadList) HasItems

func (o *ClusterReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []ClusterRead and assigns it to the Items field.

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

func (ClusterReadList) ToMap

func (o ClusterReadList) ToMap() (map[string]interface{}, error)

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

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.

func (*ClusterReadListAllOf) GetId

func (o *ClusterReadListAllOf) GetId() string

GetId returns the Id field value

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.

func (*ClusterReadListAllOf) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*ClusterReadListAllOf) GetItemsOk

func (o *ClusterReadListAllOf) GetItemsOk() ([]ClusterRead, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClusterReadListAllOf) GetType

func (o *ClusterReadListAllOf) GetType() string

GetType returns the Type field value

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.

func (*ClusterReadListAllOf) HasItems

func (o *ClusterReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []ClusterRead and assigns it to the Items field.

func (*ClusterReadListAllOf) SetType

func (o *ClusterReadListAllOf) SetType(v string)

SetType sets field value

func (ClusterReadListAllOf) ToMap

func (o ClusterReadListAllOf) ToMap() (map[string]interface{}, error)

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) (*shared.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

* 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 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 set, zero value otherwise.

func (*Error) GetHttpStatusOk

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

GetHttpStatusOk returns a tuple with the HttpStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetMessages

func (o *Error) GetMessages() []ErrorMessages

GetMessages returns the Messages field value if set, zero value otherwise.

func (*Error) GetMessagesOk

func (o *Error) GetMessagesOk() ([]ErrorMessages, bool)

GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.

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

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.

func (*Error) SetMessages

func (o *Error) SetMessages(v []ErrorMessages)

SetMessages gets a reference to the given []ErrorMessages and assigns it to the Messages field.

func (Error) ToMap

func (o Error) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*ErrorMessages) GetErrorCodeOk

func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessages) GetMessage

func (o *ErrorMessages) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorMessages) GetMessageOk

func (o *ErrorMessages) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

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

func (o *ErrorMessages) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorMessages) SetMessage

func (o *ErrorMessages) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorMessages) ToMap

func (o ErrorMessages) ToMap() (map[string]interface{}, 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 set, zero value otherwise.

func (*Links) GetNextOk

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

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Links) GetPrev

func (o *Links) GetPrev() string

GetPrev returns the Prev field value if set, zero value otherwise.

func (*Links) GetPrevOk

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

GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Links) GetSelf

func (o *Links) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*Links) GetSelfOk

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

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

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

func (o *Links) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*Links) SetPrev

func (o *Links) SetPrev(v string)

SetPrev gets a reference to the given string and assigns it to the Prev field.

func (*Links) SetSelf

func (o *Links) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

func (Links) ToMap

func (o Links) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 set, zero value otherwise.

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetResourceURN

func (o *Metadata) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*Metadata) GetResourceURNOk

func (o *Metadata) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.

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

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*Metadata) SetCreatedDate

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

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*Metadata) SetLastModifiedDate

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

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*Metadata) SetResourceURN

func (o *Metadata) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (Metadata) ToMap

func (o Metadata) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*MetadataWithPath) GetCreatedByOk

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

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithPath) GetCreatedByUserId

func (o *MetadataWithPath) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithPath) GetCreatedByUserIdOk

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

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithPath) GetCreatedDate

func (o *MetadataWithPath) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithPath) GetCreatedDateOk

func (o *MetadataWithPath) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithPath) GetLastModifiedBy

func (o *MetadataWithPath) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithPath) GetLastModifiedByOk

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

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithPath) GetLastModifiedByUserId

func (o *MetadataWithPath) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithPath) GetLastModifiedByUserIdOk

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

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithPath) GetLastModifiedDate

func (o *MetadataWithPath) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithPath) GetLastModifiedDateOk

func (o *MetadataWithPath) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithPath) GetNfsPath

func (o *MetadataWithPath) GetNfsPath() string

GetNfsPath returns the NfsPath field value

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.

func (*MetadataWithPath) GetResourceURN

func (o *MetadataWithPath) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*MetadataWithPath) GetResourceURNOk

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

GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithPath) GetStatus

func (o *MetadataWithPath) GetStatus() string

GetStatus returns the Status field value

func (*MetadataWithPath) GetStatusMessage

func (o *MetadataWithPath) GetStatusMessage() string

GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.

func (*MetadataWithPath) GetStatusMessageOk

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

GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.

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.

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

func (o *MetadataWithPath) HasResourceURN() bool

HasResourceURN 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) SetCreatedBy

func (o *MetadataWithPath) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithPath) SetCreatedByUserId

func (o *MetadataWithPath) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithPath) SetCreatedDate

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

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*MetadataWithPath) SetLastModifiedBy

func (o *MetadataWithPath) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithPath) SetLastModifiedByUserId

func (o *MetadataWithPath) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithPath) SetLastModifiedDate

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

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*MetadataWithPath) SetNfsPath

func (o *MetadataWithPath) SetNfsPath(v string)

SetNfsPath sets field value

func (*MetadataWithPath) SetResourceURN

func (o *MetadataWithPath) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (*MetadataWithPath) SetStatus

func (o *MetadataWithPath) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithPath) SetStatusMessage

func (o *MetadataWithPath) SetStatusMessage(v string)

SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.

func (MetadataWithPath) ToMap

func (o MetadataWithPath) ToMap() (map[string]interface{}, error)

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

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.

func (*MetadataWithPathAllOf) SetNfsPath

func (o *MetadataWithPathAllOf) SetNfsPath(v string)

SetNfsPath sets field value

func (MetadataWithPathAllOf) ToMap

func (o MetadataWithPathAllOf) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedByOk

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

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetCreatedByUserId

func (o *MetadataWithStatus) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedByUserIdOk

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

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetCreatedDate

func (o *MetadataWithStatus) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedDateOk

func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetLastModifiedBy

func (o *MetadataWithStatus) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedByOk

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

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetLastModifiedByUserId

func (o *MetadataWithStatus) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedByUserIdOk

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

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetLastModifiedDate

func (o *MetadataWithStatus) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedDateOk

func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetResourceURN

func (o *MetadataWithStatus) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*MetadataWithStatus) GetResourceURNOk

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

GetResourceURNOk returns a tuple with the ResourceURN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataWithStatus) GetStatus

func (o *MetadataWithStatus) GetStatus() string

GetStatus returns the Status field value

func (*MetadataWithStatus) GetStatusMessage

func (o *MetadataWithStatus) GetStatusMessage() string

GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.

func (*MetadataWithStatus) GetStatusMessageOk

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

GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.

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.

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

func (o *MetadataWithStatus) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (*MetadataWithStatus) SetCreatedBy

func (o *MetadataWithStatus) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithStatus) SetCreatedByUserId

func (o *MetadataWithStatus) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithStatus) SetCreatedDate

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

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*MetadataWithStatus) SetLastModifiedBy

func (o *MetadataWithStatus) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithStatus) SetLastModifiedByUserId

func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithStatus) SetLastModifiedDate

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

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*MetadataWithStatus) SetResourceURN

func (o *MetadataWithStatus) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (*MetadataWithStatus) SetStatus

func (o *MetadataWithStatus) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatus) SetStatusMessage

func (o *MetadataWithStatus) SetStatusMessage(v string)

SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.

func (MetadataWithStatus) ToMap

func (o MetadataWithStatus) ToMap() (map[string]interface{}, error)

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

func (*MetadataWithStatusAllOf) GetStatusMessage

func (o *MetadataWithStatusAllOf) GetStatusMessage() string

GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.

func (*MetadataWithStatusAllOf) GetStatusMessageOk

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

GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.

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.

func (*MetadataWithStatusAllOf) HasStatusMessage

func (o *MetadataWithStatusAllOf) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (*MetadataWithStatusAllOf) SetStatus

func (o *MetadataWithStatusAllOf) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatusAllOf) SetStatusMessage

func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)

SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.

func (MetadataWithStatusAllOf) ToMap

func (o MetadataWithStatusAllOf) ToMap() (map[string]interface{}, error)

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 NullableIonosTime

type NullableIonosTime struct {
	NullableTime
}
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

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.

func (o *Pagination) GetLinks() Links

GetLinks returns the Links field value

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.

func (*Pagination) GetOffset

func (o *Pagination) GetOffset() int32

GetOffset returns the Offset field value

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.

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

func (Pagination) ToMap

func (o Pagination) ToMap() (map[string]interface{}, error)

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

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.

func (*Share) GetGid

func (o *Share) GetGid() int32

GetGid returns the Gid field value if set, zero value otherwise.

func (*Share) GetGidOk

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

GetGidOk returns a tuple with the Gid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Share) GetName

func (o *Share) GetName() string

GetName returns the Name field value

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.

func (*Share) GetQuota

func (o *Share) GetQuota() int32

GetQuota returns the Quota field value if set, zero value otherwise.

func (*Share) GetQuotaOk

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

GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Share) GetUid

func (o *Share) GetUid() int32

GetUid returns the Uid field value if set, zero value otherwise.

func (*Share) GetUidOk

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

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Share) HasGid

func (o *Share) HasGid() bool

HasGid 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) SetClientGroups

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

SetClientGroups sets field value

func (*Share) SetGid

func (o *Share) SetGid(v int32)

SetGid gets a reference to the given int32 and assigns it to the Gid field.

func (*Share) SetName

func (o *Share) SetName(v string)

SetName sets field value

func (*Share) SetQuota

func (o *Share) SetQuota(v int32)

SetQuota gets a reference to the given int32 and assigns it to the Quota field.

func (*Share) SetUid

func (o *Share) SetUid(v int32)

SetUid gets a reference to the given int32 and assigns it to the Uid field.

func (Share) ToMap

func (o Share) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*ShareClientGroups) GetDescriptionOk

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

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareClientGroups) GetHosts

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

GetHosts returns the Hosts field value if set, zero value otherwise.

func (*ShareClientGroups) GetHostsOk

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

GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareClientGroups) GetIpNetworks

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

GetIpNetworks returns the IpNetworks field value if set, zero value otherwise.

func (*ShareClientGroups) GetIpNetworksOk

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

GetIpNetworksOk returns a tuple with the IpNetworks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareClientGroups) GetNfs

GetNfs returns the Nfs field value if set, zero value otherwise.

func (*ShareClientGroups) GetNfsOk

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

GetNfsOk returns a tuple with the Nfs field value if set, nil otherwise and a boolean to check if the value has been set.

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

func (o *ShareClientGroups) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ShareClientGroups) SetHosts

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

SetHosts gets a reference to the given []string and assigns it to the Hosts field.

func (*ShareClientGroups) SetIpNetworks

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

SetIpNetworks gets a reference to the given []string and assigns it to the IpNetworks field.

func (*ShareClientGroups) SetNfs

SetNfs gets a reference to the given ShareClientGroupsNfs and assigns it to the Nfs field.

func (ShareClientGroups) ToMap

func (o ShareClientGroups) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*ShareClientGroupsNfs) GetSquashOk

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

GetSquashOk returns a tuple with the Squash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareClientGroupsNfs) HasSquash

func (o *ShareClientGroupsNfs) HasSquash() bool

HasSquash returns a boolean if a field has been set.

func (*ShareClientGroupsNfs) SetSquash

func (o *ShareClientGroupsNfs) SetSquash(v string)

SetSquash gets a reference to the given string and assigns it to the Squash field.

func (ShareClientGroupsNfs) ToMap

func (o ShareClientGroupsNfs) ToMap() (map[string]interface{}, error)

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 set, zero value otherwise.

func (*ShareCreate) GetMetadataOk

func (o *ShareCreate) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareCreate) GetProperties

func (o *ShareCreate) GetProperties() Share

GetProperties returns the Properties field value

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.

func (*ShareCreate) HasMetadata

func (o *ShareCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ShareCreate) SetMetadata

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

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*ShareCreate) SetProperties

func (o *ShareCreate) SetProperties(v Share)

SetProperties sets field value

func (ShareCreate) ToMap

func (o ShareCreate) ToMap() (map[string]interface{}, error)

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

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.

func (*ShareEnsure) GetMetadata

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

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ShareEnsure) GetMetadataOk

func (o *ShareEnsure) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareEnsure) GetProperties

func (o *ShareEnsure) GetProperties() Share

GetProperties returns the Properties field value

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.

func (*ShareEnsure) HasMetadata

func (o *ShareEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

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 gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*ShareEnsure) SetProperties

func (o *ShareEnsure) SetProperties(v Share)

SetProperties sets field value

func (ShareEnsure) ToMap

func (o ShareEnsure) ToMap() (map[string]interface{}, error)

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

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.

func (*ShareRead) GetId

func (o *ShareRead) GetId() string

GetId returns the Id field value

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.

func (*ShareRead) GetMetadata

func (o *ShareRead) GetMetadata() MetadataWithPath

GetMetadata returns the Metadata field value

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.

func (*ShareRead) GetProperties

func (o *ShareRead) GetProperties() Share

GetProperties returns the Properties field value

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.

func (*ShareRead) GetType

func (o *ShareRead) GetType() string

GetType returns the Type field value

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.

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

func (ShareRead) ToMap

func (o ShareRead) ToMap() (map[string]interface{}, error)

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

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.

func (*ShareReadList) GetId

func (o *ShareReadList) GetId() string

GetId returns the Id field value

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.

func (*ShareReadList) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*ShareReadList) GetItemsOk

func (o *ShareReadList) GetItemsOk() ([]ShareRead, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareReadList) GetLimit

func (o *ShareReadList) GetLimit() int32

GetLimit returns the Limit field value

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.

func (o *ShareReadList) GetLinks() Links

GetLinks returns the Links field value

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.

func (*ShareReadList) GetOffset

func (o *ShareReadList) GetOffset() int32

GetOffset returns the Offset field value

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.

func (*ShareReadList) GetType

func (o *ShareReadList) GetType() string

GetType returns the Type field value

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.

func (*ShareReadList) HasItems

func (o *ShareReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []ShareRead and assigns it to the Items field.

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

func (ShareReadList) ToMap

func (o ShareReadList) ToMap() (map[string]interface{}, error)

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

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.

func (*ShareReadListAllOf) GetId

func (o *ShareReadListAllOf) GetId() string

GetId returns the Id field value

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.

func (*ShareReadListAllOf) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*ShareReadListAllOf) GetItemsOk

func (o *ShareReadListAllOf) GetItemsOk() ([]ShareRead, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShareReadListAllOf) GetType

func (o *ShareReadListAllOf) GetType() string

GetType returns the Type field value

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.

func (*ShareReadListAllOf) HasItems

func (o *ShareReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []ShareRead and assigns it to the Items field.

func (*ShareReadListAllOf) SetType

func (o *ShareReadListAllOf) SetType(v string)

SetType sets field value

func (ShareReadListAllOf) ToMap

func (o ShareReadListAllOf) ToMap() (map[string]interface{}, error)

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) (*shared.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, *shared.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

* 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, *shared.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, *shared.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