Documentation
¶
Index ¶
- Constants
- Variables
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- func SliceToValueDefault[T any](ptrSlice *[]T) []T
- func ToBool(ptr *bool) bool
- func ToBoolDefault(ptr *bool) bool
- func ToBoolSlice(ptrSlice *[]bool) []bool
- func ToByte(ptr *byte) byte
- func ToByteDefault(ptr *byte) byte
- func ToByteSlice(ptrSlice *[]byte) []byte
- func ToFloat32(ptr *float32) float32
- func ToFloat32Default(ptr *float32) float32
- func ToFloat32Slice(ptrSlice *[]float32) []float32
- func ToFloat64(ptr *float64) float64
- func ToFloat64Default(ptr *float64) float64
- func ToFloat64Slice(ptrSlice *[]float64) []float64
- func ToInt(ptr *int) int
- func ToInt16(ptr *int16) int16
- func ToInt16Default(ptr *int16) int16
- func ToInt16Slice(ptrSlice *[]int16) []int16
- func ToInt32(ptr *int32) int32
- func ToInt32Default(ptr *int32) int32
- func ToInt32Slice(ptrSlice *[]int32) []int32
- func ToInt64(ptr *int64) int64
- func ToInt64Default(ptr *int64) int64
- func ToInt64Slice(ptrSlice *[]int64) []int64
- func ToInt8(ptr *int8) int8
- func ToInt8Default(ptr *int8) int8
- func ToInt8Slice(ptrSlice *[]int8) []int8
- func ToIntDefault(ptr *int) int
- func ToIntSlice(ptrSlice *[]int) []int
- func ToPtr[T any](v T) *T
- func ToString(ptr *string) string
- func ToStringDefault(ptr *string) string
- func ToStringSlice(ptrSlice *[]string) []string
- func ToTime(ptr *time.Time) time.Time
- func ToTimeDefault(ptr *time.Time) time.Time
- func ToTimeSlice(ptrSlice *[]time.Time) []time.Time
- func ToUint(ptr *uint) uint
- func ToUint16(ptr *uint16) uint16
- func ToUint16Default(ptr *uint16) uint16
- func ToUint16Slice(ptrSlice *[]uint16) []uint16
- func ToUint32(ptr *uint32) uint32
- func ToUint32Default(ptr *uint32) uint32
- func ToUint32Slice(ptrSlice *[]uint32) []uint32
- func ToUint64(ptr *uint64) uint64
- func ToUint64Default(ptr *uint64) uint64
- func ToUint64Slice(ptrSlice *[]uint64) []uint64
- func ToUint8(ptr *uint8) uint8
- func ToUint8Default(ptr *uint8) uint8
- func ToUint8Slice(ptrSlice *[]uint8) []uint8
- func ToUintDefault(ptr *uint) uint
- func ToUintSlice(ptrSlice *[]uint) []uint
- func ToValue[T any](ptr *T) T
- func ToValueDefault[T any](ptr *T) T
- type APIClient
- type APIKey
- type APIResponse
- type ApiClustersDeleteRequest
- type ApiClustersFindByIdRequest
- type ApiClustersGetRequest
- func (r ApiClustersGetRequest) Execute() (ClusterReadList, *APIResponse, error)
- func (r ApiClustersGetRequest) FilterDatacenterId(filterDatacenterId string) ApiClustersGetRequest
- func (r ApiClustersGetRequest) Limit(limit int32) ApiClustersGetRequest
- func (r ApiClustersGetRequest) Offset(offset int32) ApiClustersGetRequest
- type ApiClustersPostRequest
- type ApiClustersPutRequest
- type ApiClustersSharesDeleteRequest
- type ApiClustersSharesFindByIdRequest
- type ApiClustersSharesGetRequest
- type ApiClustersSharesPostRequest
- type ApiClustersSharesPutRequest
- type BasicAuth
- type Cluster
- func (o *Cluster) GetConnections() *[]ClusterConnections
- func (o *Cluster) GetConnectionsOk() (*[]ClusterConnections, bool)
- func (o *Cluster) GetName() *string
- func (o *Cluster) GetNameOk() (*string, bool)
- func (o *Cluster) GetNfs() *ClusterNfs
- func (o *Cluster) GetNfsOk() (*ClusterNfs, bool)
- func (o *Cluster) GetSize() *int32
- func (o *Cluster) GetSizeOk() (*int32, bool)
- func (o *Cluster) HasConnections() bool
- func (o *Cluster) HasName() bool
- func (o *Cluster) HasNfs() bool
- func (o *Cluster) HasSize() bool
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetConnections(v []ClusterConnections)
- func (o *Cluster) SetName(v string)
- func (o *Cluster) SetNfs(v ClusterNfs)
- func (o *Cluster) SetSize(v int32)
- type ClusterConnections
- func (o *ClusterConnections) GetDatacenterId() *string
- func (o *ClusterConnections) GetDatacenterIdOk() (*string, bool)
- func (o *ClusterConnections) GetIpAddress() *string
- func (o *ClusterConnections) GetIpAddressOk() (*string, bool)
- func (o *ClusterConnections) GetLan() *string
- func (o *ClusterConnections) GetLanOk() (*string, bool)
- func (o *ClusterConnections) HasDatacenterId() bool
- func (o *ClusterConnections) HasIpAddress() bool
- func (o *ClusterConnections) HasLan() bool
- func (o ClusterConnections) MarshalJSON() ([]byte, error)
- func (o *ClusterConnections) SetDatacenterId(v string)
- func (o *ClusterConnections) SetIpAddress(v string)
- func (o *ClusterConnections) SetLan(v string)
- type ClusterCreate
- func (o *ClusterCreate) GetMetadata() *map[string]interface{}
- func (o *ClusterCreate) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *ClusterCreate) GetProperties() *Cluster
- func (o *ClusterCreate) GetPropertiesOk() (*Cluster, bool)
- func (o *ClusterCreate) HasMetadata() bool
- func (o *ClusterCreate) HasProperties() bool
- func (o ClusterCreate) MarshalJSON() ([]byte, error)
- func (o *ClusterCreate) SetMetadata(v map[string]interface{})
- func (o *ClusterCreate) SetProperties(v Cluster)
- type ClusterEnsure
- func (o *ClusterEnsure) GetId() *string
- func (o *ClusterEnsure) GetIdOk() (*string, bool)
- func (o *ClusterEnsure) GetMetadata() *map[string]interface{}
- func (o *ClusterEnsure) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *ClusterEnsure) GetProperties() *Cluster
- func (o *ClusterEnsure) GetPropertiesOk() (*Cluster, bool)
- func (o *ClusterEnsure) HasId() bool
- func (o *ClusterEnsure) HasMetadata() bool
- func (o *ClusterEnsure) HasProperties() bool
- func (o ClusterEnsure) MarshalJSON() ([]byte, error)
- func (o *ClusterEnsure) SetId(v string)
- func (o *ClusterEnsure) SetMetadata(v map[string]interface{})
- func (o *ClusterEnsure) SetProperties(v Cluster)
- type ClusterNfs
- type ClusterRead
- func (o *ClusterRead) GetHref() *string
- func (o *ClusterRead) GetHrefOk() (*string, bool)
- func (o *ClusterRead) GetId() *string
- func (o *ClusterRead) GetIdOk() (*string, bool)
- func (o *ClusterRead) GetMetadata() *MetadataWithStatus
- func (o *ClusterRead) GetMetadataOk() (*MetadataWithStatus, bool)
- func (o *ClusterRead) GetProperties() *Cluster
- func (o *ClusterRead) GetPropertiesOk() (*Cluster, bool)
- func (o *ClusterRead) GetType() *string
- func (o *ClusterRead) GetTypeOk() (*string, bool)
- func (o *ClusterRead) HasHref() bool
- func (o *ClusterRead) HasId() bool
- func (o *ClusterRead) HasMetadata() bool
- func (o *ClusterRead) HasProperties() bool
- func (o *ClusterRead) HasType() bool
- func (o ClusterRead) MarshalJSON() ([]byte, error)
- func (o *ClusterRead) SetHref(v string)
- func (o *ClusterRead) SetId(v string)
- func (o *ClusterRead) SetMetadata(v MetadataWithStatus)
- func (o *ClusterRead) SetProperties(v Cluster)
- func (o *ClusterRead) SetType(v string)
- type ClusterReadList
- func (o *ClusterReadList) GetHref() *string
- func (o *ClusterReadList) GetHrefOk() (*string, bool)
- func (o *ClusterReadList) GetId() *string
- func (o *ClusterReadList) GetIdOk() (*string, bool)
- func (o *ClusterReadList) GetItems() *[]ClusterRead
- func (o *ClusterReadList) GetItemsOk() (*[]ClusterRead, bool)
- func (o *ClusterReadList) GetLimit() *int32
- func (o *ClusterReadList) GetLimitOk() (*int32, bool)
- func (o *ClusterReadList) GetLinks() *Links
- func (o *ClusterReadList) GetLinksOk() (*Links, bool)
- func (o *ClusterReadList) GetOffset() *int32
- func (o *ClusterReadList) GetOffsetOk() (*int32, bool)
- func (o *ClusterReadList) GetType() *string
- func (o *ClusterReadList) GetTypeOk() (*string, bool)
- func (o *ClusterReadList) HasHref() bool
- func (o *ClusterReadList) HasId() bool
- func (o *ClusterReadList) HasItems() bool
- func (o *ClusterReadList) HasLimit() bool
- func (o *ClusterReadList) HasLinks() bool
- func (o *ClusterReadList) HasOffset() bool
- func (o *ClusterReadList) HasType() bool
- func (o ClusterReadList) MarshalJSON() ([]byte, error)
- func (o *ClusterReadList) SetHref(v string)
- func (o *ClusterReadList) SetId(v string)
- func (o *ClusterReadList) SetItems(v []ClusterRead)
- func (o *ClusterReadList) SetLimit(v int32)
- func (o *ClusterReadList) SetLinks(v Links)
- func (o *ClusterReadList) SetOffset(v int32)
- func (o *ClusterReadList) SetType(v string)
- type ClusterReadListAllOf
- func (o *ClusterReadListAllOf) GetHref() *string
- func (o *ClusterReadListAllOf) GetHrefOk() (*string, bool)
- func (o *ClusterReadListAllOf) GetId() *string
- func (o *ClusterReadListAllOf) GetIdOk() (*string, bool)
- func (o *ClusterReadListAllOf) GetItems() *[]ClusterRead
- func (o *ClusterReadListAllOf) GetItemsOk() (*[]ClusterRead, bool)
- func (o *ClusterReadListAllOf) GetType() *string
- func (o *ClusterReadListAllOf) GetTypeOk() (*string, bool)
- func (o *ClusterReadListAllOf) HasHref() bool
- func (o *ClusterReadListAllOf) HasId() bool
- func (o *ClusterReadListAllOf) HasItems() bool
- func (o *ClusterReadListAllOf) HasType() bool
- func (o ClusterReadListAllOf) MarshalJSON() ([]byte, error)
- func (o *ClusterReadListAllOf) SetHref(v string)
- func (o *ClusterReadListAllOf) SetId(v string)
- func (o *ClusterReadListAllOf) SetItems(v []ClusterRead)
- func (o *ClusterReadListAllOf) SetType(v string)
- type ClustersApiService
- func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
- func (a *ClustersApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (*APIResponse, error)
- func (a *ClustersApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
- func (a *ClustersApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterRead, *APIResponse, error)
- func (a *ClustersApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
- func (a *ClustersApiService) ClustersGetExecute(r ApiClustersGetRequest) (ClusterReadList, *APIResponse, error)
- func (a *ClustersApiService) ClustersPost(ctx _context.Context) ApiClustersPostRequest
- func (a *ClustersApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterRead, *APIResponse, error)
- func (a *ClustersApiService) ClustersPut(ctx _context.Context, clusterId string) ApiClustersPutRequest
- func (a *ClustersApiService) ClustersPutExecute(r ApiClustersPutRequest) (ClusterRead, *APIResponse, error)
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) AddDefaultQueryParam(key string, value string)
- func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
- func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
- type Error
- func (o *Error) GetHttpStatus() *int32
- func (o *Error) GetHttpStatusOk() (*int32, bool)
- func (o *Error) GetMessages() *[]ErrorMessages
- func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)
- func (o *Error) HasHttpStatus() bool
- func (o *Error) HasMessages() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetHttpStatus(v int32)
- func (o *Error) SetMessages(v []ErrorMessages)
- type ErrorMessages
- func (o *ErrorMessages) GetErrorCode() *string
- func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessages) GetMessage() *string
- func (o *ErrorMessages) GetMessageOk() (*string, bool)
- func (o *ErrorMessages) HasErrorCode() bool
- func (o *ErrorMessages) HasMessage() bool
- func (o ErrorMessages) MarshalJSON() ([]byte, error)
- func (o *ErrorMessages) SetErrorCode(v string)
- func (o *ErrorMessages) SetMessage(v string)
- type GenericOpenAPIError
- func (e GenericOpenAPIError) Body() []byte
- func (e GenericOpenAPIError) Error() string
- func (e GenericOpenAPIError) Model() interface{}
- func (e *GenericOpenAPIError) SetBody(body []byte)
- func (e *GenericOpenAPIError) SetError(error string)
- func (e *GenericOpenAPIError) SetModel(model interface{})
- func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
- func (e GenericOpenAPIError) StatusCode() int
- type IonosTime
- type Links
- func (o *Links) GetNext() *string
- func (o *Links) GetNextOk() (*string, bool)
- func (o *Links) GetPrev() *string
- func (o *Links) GetPrevOk() (*string, bool)
- func (o *Links) GetSelf() *string
- func (o *Links) GetSelfOk() (*string, bool)
- func (o *Links) HasNext() bool
- func (o *Links) HasPrev() bool
- func (o *Links) HasSelf() bool
- func (o Links) MarshalJSON() ([]byte, error)
- func (o *Links) SetNext(v string)
- func (o *Links) SetPrev(v string)
- func (o *Links) SetSelf(v string)
- type LogLevel
- type Logger
- type Metadata
- func (o *Metadata) GetCreatedBy() *string
- func (o *Metadata) GetCreatedByOk() (*string, bool)
- func (o *Metadata) GetCreatedByUserId() *string
- func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *Metadata) GetCreatedDate() *time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetLastModifiedBy() *string
- func (o *Metadata) GetLastModifiedByOk() (*string, bool)
- func (o *Metadata) GetLastModifiedByUserId() *string
- func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *Metadata) GetLastModifiedDate() *time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) GetResourceURN() *string
- func (o *Metadata) GetResourceURNOk() (*string, bool)
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasResourceURN() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetResourceURN(v string)
- type MetadataWithPath
- func (o *MetadataWithPath) GetCreatedBy() *string
- func (o *MetadataWithPath) GetCreatedByOk() (*string, bool)
- func (o *MetadataWithPath) GetCreatedByUserId() *string
- func (o *MetadataWithPath) GetCreatedByUserIdOk() (*string, bool)
- func (o *MetadataWithPath) GetCreatedDate() *time.Time
- func (o *MetadataWithPath) GetCreatedDateOk() (*time.Time, bool)
- func (o *MetadataWithPath) GetLastModifiedBy() *string
- func (o *MetadataWithPath) GetLastModifiedByOk() (*string, bool)
- func (o *MetadataWithPath) GetLastModifiedByUserId() *string
- func (o *MetadataWithPath) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *MetadataWithPath) GetLastModifiedDate() *time.Time
- func (o *MetadataWithPath) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *MetadataWithPath) GetNfsPath() *string
- func (o *MetadataWithPath) GetNfsPathOk() (*string, bool)
- func (o *MetadataWithPath) GetResourceURN() *string
- func (o *MetadataWithPath) GetResourceURNOk() (*string, bool)
- func (o *MetadataWithPath) GetStatus() *string
- func (o *MetadataWithPath) GetStatusMessage() *string
- func (o *MetadataWithPath) GetStatusMessageOk() (*string, bool)
- func (o *MetadataWithPath) GetStatusOk() (*string, bool)
- func (o *MetadataWithPath) HasCreatedBy() bool
- func (o *MetadataWithPath) HasCreatedByUserId() bool
- func (o *MetadataWithPath) HasCreatedDate() bool
- func (o *MetadataWithPath) HasLastModifiedBy() bool
- func (o *MetadataWithPath) HasLastModifiedByUserId() bool
- func (o *MetadataWithPath) HasLastModifiedDate() bool
- func (o *MetadataWithPath) HasNfsPath() bool
- func (o *MetadataWithPath) HasResourceURN() bool
- func (o *MetadataWithPath) HasStatus() bool
- func (o *MetadataWithPath) HasStatusMessage() bool
- func (o MetadataWithPath) MarshalJSON() ([]byte, error)
- func (o *MetadataWithPath) SetCreatedBy(v string)
- func (o *MetadataWithPath) SetCreatedByUserId(v string)
- func (o *MetadataWithPath) SetCreatedDate(v time.Time)
- func (o *MetadataWithPath) SetLastModifiedBy(v string)
- func (o *MetadataWithPath) SetLastModifiedByUserId(v string)
- func (o *MetadataWithPath) SetLastModifiedDate(v time.Time)
- func (o *MetadataWithPath) SetNfsPath(v string)
- func (o *MetadataWithPath) SetResourceURN(v string)
- func (o *MetadataWithPath) SetStatus(v string)
- func (o *MetadataWithPath) SetStatusMessage(v string)
- type MetadataWithPathAllOf
- type MetadataWithStatus
- func (o *MetadataWithStatus) GetCreatedBy() *string
- func (o *MetadataWithStatus) GetCreatedByOk() (*string, bool)
- func (o *MetadataWithStatus) GetCreatedByUserId() *string
- func (o *MetadataWithStatus) GetCreatedByUserIdOk() (*string, bool)
- func (o *MetadataWithStatus) GetCreatedDate() *time.Time
- func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)
- func (o *MetadataWithStatus) GetLastModifiedBy() *string
- func (o *MetadataWithStatus) GetLastModifiedByOk() (*string, bool)
- func (o *MetadataWithStatus) GetLastModifiedByUserId() *string
- func (o *MetadataWithStatus) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *MetadataWithStatus) GetLastModifiedDate() *time.Time
- func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *MetadataWithStatus) GetResourceURN() *string
- func (o *MetadataWithStatus) GetResourceURNOk() (*string, bool)
- func (o *MetadataWithStatus) GetStatus() *string
- func (o *MetadataWithStatus) GetStatusMessage() *string
- func (o *MetadataWithStatus) GetStatusMessageOk() (*string, bool)
- func (o *MetadataWithStatus) GetStatusOk() (*string, bool)
- func (o *MetadataWithStatus) HasCreatedBy() bool
- func (o *MetadataWithStatus) HasCreatedByUserId() bool
- func (o *MetadataWithStatus) HasCreatedDate() bool
- func (o *MetadataWithStatus) HasLastModifiedBy() bool
- func (o *MetadataWithStatus) HasLastModifiedByUserId() bool
- func (o *MetadataWithStatus) HasLastModifiedDate() bool
- func (o *MetadataWithStatus) HasResourceURN() bool
- func (o *MetadataWithStatus) HasStatus() bool
- func (o *MetadataWithStatus) HasStatusMessage() bool
- func (o MetadataWithStatus) MarshalJSON() ([]byte, error)
- func (o *MetadataWithStatus) SetCreatedBy(v string)
- func (o *MetadataWithStatus) SetCreatedByUserId(v string)
- func (o *MetadataWithStatus) SetCreatedDate(v time.Time)
- func (o *MetadataWithStatus) SetLastModifiedBy(v string)
- func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)
- func (o *MetadataWithStatus) SetLastModifiedDate(v time.Time)
- func (o *MetadataWithStatus) SetResourceURN(v string)
- func (o *MetadataWithStatus) SetStatus(v string)
- func (o *MetadataWithStatus) SetStatusMessage(v string)
- type MetadataWithStatusAllOf
- func (o *MetadataWithStatusAllOf) GetStatus() *string
- func (o *MetadataWithStatusAllOf) GetStatusMessage() *string
- func (o *MetadataWithStatusAllOf) GetStatusMessageOk() (*string, bool)
- func (o *MetadataWithStatusAllOf) GetStatusOk() (*string, bool)
- func (o *MetadataWithStatusAllOf) HasStatus() bool
- func (o *MetadataWithStatusAllOf) HasStatusMessage() bool
- func (o MetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
- func (o *MetadataWithStatusAllOf) SetStatus(v string)
- func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)
- type NullableBool
- type NullableCluster
- type NullableClusterConnections
- func (v NullableClusterConnections) Get() *ClusterConnections
- func (v NullableClusterConnections) IsSet() bool
- func (v NullableClusterConnections) MarshalJSON() ([]byte, error)
- func (v *NullableClusterConnections) Set(val *ClusterConnections)
- func (v *NullableClusterConnections) UnmarshalJSON(src []byte) error
- func (v *NullableClusterConnections) Unset()
- type NullableClusterCreate
- func (v NullableClusterCreate) Get() *ClusterCreate
- func (v NullableClusterCreate) IsSet() bool
- func (v NullableClusterCreate) MarshalJSON() ([]byte, error)
- func (v *NullableClusterCreate) Set(val *ClusterCreate)
- func (v *NullableClusterCreate) UnmarshalJSON(src []byte) error
- func (v *NullableClusterCreate) Unset()
- type NullableClusterEnsure
- func (v NullableClusterEnsure) Get() *ClusterEnsure
- func (v NullableClusterEnsure) IsSet() bool
- func (v NullableClusterEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableClusterEnsure) Set(val *ClusterEnsure)
- func (v *NullableClusterEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableClusterEnsure) Unset()
- type NullableClusterNfs
- type NullableClusterRead
- func (v NullableClusterRead) Get() *ClusterRead
- func (v NullableClusterRead) IsSet() bool
- func (v NullableClusterRead) MarshalJSON() ([]byte, error)
- func (v *NullableClusterRead) Set(val *ClusterRead)
- func (v *NullableClusterRead) UnmarshalJSON(src []byte) error
- func (v *NullableClusterRead) Unset()
- type NullableClusterReadList
- func (v NullableClusterReadList) Get() *ClusterReadList
- func (v NullableClusterReadList) IsSet() bool
- func (v NullableClusterReadList) MarshalJSON() ([]byte, error)
- func (v *NullableClusterReadList) Set(val *ClusterReadList)
- func (v *NullableClusterReadList) UnmarshalJSON(src []byte) error
- func (v *NullableClusterReadList) Unset()
- type NullableClusterReadListAllOf
- func (v NullableClusterReadListAllOf) Get() *ClusterReadListAllOf
- func (v NullableClusterReadListAllOf) IsSet() bool
- func (v NullableClusterReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableClusterReadListAllOf) Set(val *ClusterReadListAllOf)
- func (v *NullableClusterReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableClusterReadListAllOf) Unset()
- type NullableError
- type NullableErrorMessages
- func (v NullableErrorMessages) Get() *ErrorMessages
- func (v NullableErrorMessages) IsSet() bool
- func (v NullableErrorMessages) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessages) Set(val *ErrorMessages)
- func (v *NullableErrorMessages) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessages) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLinks
- type NullableMetadata
- type NullableMetadataWithPath
- func (v NullableMetadataWithPath) Get() *MetadataWithPath
- func (v NullableMetadataWithPath) IsSet() bool
- func (v NullableMetadataWithPath) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithPath) Set(val *MetadataWithPath)
- func (v *NullableMetadataWithPath) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithPath) Unset()
- type NullableMetadataWithPathAllOf
- func (v NullableMetadataWithPathAllOf) Get() *MetadataWithPathAllOf
- func (v NullableMetadataWithPathAllOf) IsSet() bool
- func (v NullableMetadataWithPathAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithPathAllOf) Set(val *MetadataWithPathAllOf)
- func (v *NullableMetadataWithPathAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithPathAllOf) Unset()
- type NullableMetadataWithStatus
- func (v NullableMetadataWithStatus) Get() *MetadataWithStatus
- func (v NullableMetadataWithStatus) IsSet() bool
- func (v NullableMetadataWithStatus) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStatus) Set(val *MetadataWithStatus)
- func (v *NullableMetadataWithStatus) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStatus) Unset()
- type NullableMetadataWithStatusAllOf
- func (v NullableMetadataWithStatusAllOf) Get() *MetadataWithStatusAllOf
- func (v NullableMetadataWithStatusAllOf) IsSet() bool
- func (v NullableMetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStatusAllOf) Set(val *MetadataWithStatusAllOf)
- func (v *NullableMetadataWithStatusAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStatusAllOf) Unset()
- type NullablePagination
- type NullableShare
- type NullableShareClientGroups
- func (v NullableShareClientGroups) Get() *ShareClientGroups
- func (v NullableShareClientGroups) IsSet() bool
- func (v NullableShareClientGroups) MarshalJSON() ([]byte, error)
- func (v *NullableShareClientGroups) Set(val *ShareClientGroups)
- func (v *NullableShareClientGroups) UnmarshalJSON(src []byte) error
- func (v *NullableShareClientGroups) Unset()
- type NullableShareClientGroupsNfs
- func (v NullableShareClientGroupsNfs) Get() *ShareClientGroupsNfs
- func (v NullableShareClientGroupsNfs) IsSet() bool
- func (v NullableShareClientGroupsNfs) MarshalJSON() ([]byte, error)
- func (v *NullableShareClientGroupsNfs) Set(val *ShareClientGroupsNfs)
- func (v *NullableShareClientGroupsNfs) UnmarshalJSON(src []byte) error
- func (v *NullableShareClientGroupsNfs) Unset()
- type NullableShareCreate
- func (v NullableShareCreate) Get() *ShareCreate
- func (v NullableShareCreate) IsSet() bool
- func (v NullableShareCreate) MarshalJSON() ([]byte, error)
- func (v *NullableShareCreate) Set(val *ShareCreate)
- func (v *NullableShareCreate) UnmarshalJSON(src []byte) error
- func (v *NullableShareCreate) Unset()
- type NullableShareEnsure
- func (v NullableShareEnsure) Get() *ShareEnsure
- func (v NullableShareEnsure) IsSet() bool
- func (v NullableShareEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableShareEnsure) Set(val *ShareEnsure)
- func (v *NullableShareEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableShareEnsure) Unset()
- type NullableShareRead
- type NullableShareReadList
- func (v NullableShareReadList) Get() *ShareReadList
- func (v NullableShareReadList) IsSet() bool
- func (v NullableShareReadList) MarshalJSON() ([]byte, error)
- func (v *NullableShareReadList) Set(val *ShareReadList)
- func (v *NullableShareReadList) UnmarshalJSON(src []byte) error
- func (v *NullableShareReadList) Unset()
- type NullableShareReadListAllOf
- func (v NullableShareReadListAllOf) Get() *ShareReadListAllOf
- func (v NullableShareReadListAllOf) IsSet() bool
- func (v NullableShareReadListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableShareReadListAllOf) Set(val *ShareReadListAllOf)
- func (v *NullableShareReadListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableShareReadListAllOf) Unset()
- type NullableString
- type NullableTime
- type Pagination
- func (o *Pagination) GetLimit() *int32
- func (o *Pagination) GetLimitOk() (*int32, bool)
- func (o *Pagination) GetLinks() *Links
- func (o *Pagination) GetLinksOk() (*Links, bool)
- func (o *Pagination) GetOffset() *int32
- func (o *Pagination) GetOffsetOk() (*int32, bool)
- func (o *Pagination) HasLimit() bool
- func (o *Pagination) HasLinks() bool
- func (o *Pagination) HasOffset() bool
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetLimit(v int32)
- func (o *Pagination) SetLinks(v Links)
- func (o *Pagination) SetOffset(v int32)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Share
- func (o *Share) GetClientGroups() *[]ShareClientGroups
- func (o *Share) GetClientGroupsOk() (*[]ShareClientGroups, bool)
- func (o *Share) GetGid() *int32
- func (o *Share) GetGidOk() (*int32, bool)
- func (o *Share) GetName() *string
- func (o *Share) GetNameOk() (*string, bool)
- func (o *Share) GetQuota() *int32
- func (o *Share) GetQuotaOk() (*int32, bool)
- func (o *Share) GetUid() *int32
- func (o *Share) GetUidOk() (*int32, bool)
- func (o *Share) HasClientGroups() bool
- func (o *Share) HasGid() bool
- func (o *Share) HasName() bool
- func (o *Share) HasQuota() bool
- func (o *Share) HasUid() bool
- func (o Share) MarshalJSON() ([]byte, error)
- func (o *Share) SetClientGroups(v []ShareClientGroups)
- func (o *Share) SetGid(v int32)
- func (o *Share) SetName(v string)
- func (o *Share) SetQuota(v int32)
- func (o *Share) SetUid(v int32)
- type ShareClientGroups
- func (o *ShareClientGroups) GetDescription() *string
- func (o *ShareClientGroups) GetDescriptionOk() (*string, bool)
- func (o *ShareClientGroups) GetHosts() *[]string
- func (o *ShareClientGroups) GetHostsOk() (*[]string, bool)
- func (o *ShareClientGroups) GetIpNetworks() *[]string
- func (o *ShareClientGroups) GetIpNetworksOk() (*[]string, bool)
- func (o *ShareClientGroups) GetNfs() *ShareClientGroupsNfs
- func (o *ShareClientGroups) GetNfsOk() (*ShareClientGroupsNfs, bool)
- func (o *ShareClientGroups) HasDescription() bool
- func (o *ShareClientGroups) HasHosts() bool
- func (o *ShareClientGroups) HasIpNetworks() bool
- func (o *ShareClientGroups) HasNfs() bool
- func (o ShareClientGroups) MarshalJSON() ([]byte, error)
- func (o *ShareClientGroups) SetDescription(v string)
- func (o *ShareClientGroups) SetHosts(v []string)
- func (o *ShareClientGroups) SetIpNetworks(v []string)
- func (o *ShareClientGroups) SetNfs(v ShareClientGroupsNfs)
- type ShareClientGroupsNfs
- type ShareCreate
- func (o *ShareCreate) GetMetadata() *map[string]interface{}
- func (o *ShareCreate) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *ShareCreate) GetProperties() *Share
- func (o *ShareCreate) GetPropertiesOk() (*Share, bool)
- func (o *ShareCreate) HasMetadata() bool
- func (o *ShareCreate) HasProperties() bool
- func (o ShareCreate) MarshalJSON() ([]byte, error)
- func (o *ShareCreate) SetMetadata(v map[string]interface{})
- func (o *ShareCreate) SetProperties(v Share)
- type ShareEnsure
- func (o *ShareEnsure) GetId() *string
- func (o *ShareEnsure) GetIdOk() (*string, bool)
- func (o *ShareEnsure) GetMetadata() *map[string]interface{}
- func (o *ShareEnsure) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *ShareEnsure) GetProperties() *Share
- func (o *ShareEnsure) GetPropertiesOk() (*Share, bool)
- func (o *ShareEnsure) HasId() bool
- func (o *ShareEnsure) HasMetadata() bool
- func (o *ShareEnsure) HasProperties() bool
- func (o ShareEnsure) MarshalJSON() ([]byte, error)
- func (o *ShareEnsure) SetId(v string)
- func (o *ShareEnsure) SetMetadata(v map[string]interface{})
- func (o *ShareEnsure) SetProperties(v Share)
- type ShareRead
- func (o *ShareRead) GetHref() *string
- func (o *ShareRead) GetHrefOk() (*string, bool)
- func (o *ShareRead) GetId() *string
- func (o *ShareRead) GetIdOk() (*string, bool)
- func (o *ShareRead) GetMetadata() *MetadataWithPath
- func (o *ShareRead) GetMetadataOk() (*MetadataWithPath, bool)
- func (o *ShareRead) GetProperties() *Share
- func (o *ShareRead) GetPropertiesOk() (*Share, bool)
- func (o *ShareRead) GetType() *string
- func (o *ShareRead) GetTypeOk() (*string, bool)
- func (o *ShareRead) HasHref() bool
- func (o *ShareRead) HasId() bool
- func (o *ShareRead) HasMetadata() bool
- func (o *ShareRead) HasProperties() bool
- func (o *ShareRead) HasType() bool
- func (o ShareRead) MarshalJSON() ([]byte, error)
- func (o *ShareRead) SetHref(v string)
- func (o *ShareRead) SetId(v string)
- func (o *ShareRead) SetMetadata(v MetadataWithPath)
- func (o *ShareRead) SetProperties(v Share)
- func (o *ShareRead) SetType(v string)
- type ShareReadList
- func (o *ShareReadList) GetHref() *string
- func (o *ShareReadList) GetHrefOk() (*string, bool)
- func (o *ShareReadList) GetId() *string
- func (o *ShareReadList) GetIdOk() (*string, bool)
- func (o *ShareReadList) GetItems() *[]ShareRead
- func (o *ShareReadList) GetItemsOk() (*[]ShareRead, bool)
- func (o *ShareReadList) GetLimit() *int32
- func (o *ShareReadList) GetLimitOk() (*int32, bool)
- func (o *ShareReadList) GetLinks() *Links
- func (o *ShareReadList) GetLinksOk() (*Links, bool)
- func (o *ShareReadList) GetOffset() *int32
- func (o *ShareReadList) GetOffsetOk() (*int32, bool)
- func (o *ShareReadList) GetType() *string
- func (o *ShareReadList) GetTypeOk() (*string, bool)
- func (o *ShareReadList) HasHref() bool
- func (o *ShareReadList) HasId() bool
- func (o *ShareReadList) HasItems() bool
- func (o *ShareReadList) HasLimit() bool
- func (o *ShareReadList) HasLinks() bool
- func (o *ShareReadList) HasOffset() bool
- func (o *ShareReadList) HasType() bool
- func (o ShareReadList) MarshalJSON() ([]byte, error)
- func (o *ShareReadList) SetHref(v string)
- func (o *ShareReadList) SetId(v string)
- func (o *ShareReadList) SetItems(v []ShareRead)
- func (o *ShareReadList) SetLimit(v int32)
- func (o *ShareReadList) SetLinks(v Links)
- func (o *ShareReadList) SetOffset(v int32)
- func (o *ShareReadList) SetType(v string)
- type ShareReadListAllOf
- func (o *ShareReadListAllOf) GetHref() *string
- func (o *ShareReadListAllOf) GetHrefOk() (*string, bool)
- func (o *ShareReadListAllOf) GetId() *string
- func (o *ShareReadListAllOf) GetIdOk() (*string, bool)
- func (o *ShareReadListAllOf) GetItems() *[]ShareRead
- func (o *ShareReadListAllOf) GetItemsOk() (*[]ShareRead, bool)
- func (o *ShareReadListAllOf) GetType() *string
- func (o *ShareReadListAllOf) GetTypeOk() (*string, bool)
- func (o *ShareReadListAllOf) HasHref() bool
- func (o *ShareReadListAllOf) HasId() bool
- func (o *ShareReadListAllOf) HasItems() bool
- func (o *ShareReadListAllOf) HasType() bool
- func (o ShareReadListAllOf) MarshalJSON() ([]byte, error)
- func (o *ShareReadListAllOf) SetHref(v string)
- func (o *ShareReadListAllOf) SetId(v string)
- func (o *ShareReadListAllOf) SetItems(v []ShareRead)
- func (o *ShareReadListAllOf) SetType(v string)
- type SharesApiService
- func (a *SharesApiService) ClustersSharesDelete(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesDeleteRequest
- func (a *SharesApiService) ClustersSharesDeleteExecute(r ApiClustersSharesDeleteRequest) (*APIResponse, error)
- func (a *SharesApiService) ClustersSharesFindById(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesFindByIdRequest
- func (a *SharesApiService) ClustersSharesFindByIdExecute(r ApiClustersSharesFindByIdRequest) (ShareRead, *APIResponse, error)
- func (a *SharesApiService) ClustersSharesGet(ctx _context.Context, clusterId string) ApiClustersSharesGetRequest
- func (a *SharesApiService) ClustersSharesGetExecute(r ApiClustersSharesGetRequest) (ShareReadList, *APIResponse, error)
- func (a *SharesApiService) ClustersSharesPost(ctx _context.Context, clusterId string) ApiClustersSharesPostRequest
- func (a *SharesApiService) ClustersSharesPostExecute(r ApiClustersSharesPostRequest) (ShareRead, *APIResponse, error)
- func (a *SharesApiService) ClustersSharesPut(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesPutRequest
- func (a *SharesApiService) ClustersSharesPutExecute(r ApiClustersSharesPutRequest) (ShareRead, *APIResponse, error)
- type TLSDial
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "1.1.1" )
const ( IonosUsernameEnvVar = "IONOS_USERNAME" IonosPasswordEnvVar = "IONOS_PASSWORD" IonosTokenEnvVar = "IONOS_TOKEN" IonosApiUrlEnvVar = "IONOS_API_URL" IonosPinnedCertEnvVar = "IONOS_PINNED_CERT" IonosLogLevelEnvVar = "IONOS_LOG_LEVEL" DefaultIonosServerUrl = "https://nfs.de-fra.ionos.com" DefaultIonosBasePath = "" )
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var (
IonosServerUrls = []string{
"https://nfs.de-fra.ionos.com",
"https://nfs.de-txl.ionos.com",
"https://nfs.fr-par.ionos.com",
"https://nfs.gb-lhr.ionos.com",
"https://nfs.es-vit.ionos.com",
"https://nfs.us-las.ionos.com",
"https://nfs.us-ewr.ionos.com",
"https://nfs.us-mci.ionos.com",
}
)
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 - returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 - returns a pointer to given float value.
func SliceToValueDefault ¶
func SliceToValueDefault[T any](ptrSlice *[]T) []T
func ToBoolDefault ¶
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil
func ToBoolSlice ¶
ToBoolSlice - returns a bool slice of the pointer passed in
func ToByteDefault ¶
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil
func ToByteSlice ¶
ToByteSlice - returns a byte slice of the pointer passed in
func ToFloat32Default ¶
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil
func ToFloat32Slice ¶
ToFloat32Slice - returns a float32 slice of the pointer passed in
func ToFloat64Default ¶
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil
func ToFloat64Slice ¶
ToFloat64Slice - returns a float64 slice of the pointer passed in
func ToInt16Default ¶
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil
func ToInt16Slice ¶
ToInt16Slice - returns a int16 slice of the pointer passed in
func ToInt32Default ¶
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil
func ToInt32Slice ¶
ToInt32Slice - returns a int32 slice of the pointer passed in
func ToInt64Default ¶
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil
func ToInt64Slice ¶
ToInt64Slice - returns a int64 slice of the pointer passed in
func ToInt8Default ¶
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil
func ToInt8Slice ¶
ToInt8Slice - returns a int8 slice of the pointer passed in
func ToIntDefault ¶
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil
func ToIntSlice ¶
ToIntSlice - returns a int slice of the pointer passed in
func ToStringDefault ¶
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil
func ToStringSlice ¶
ToStringSlice - returns a string slice of the pointer passed in
func ToTimeDefault ¶
ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil
func ToTimeSlice ¶
ToTimeSlice - returns a Time slice of the pointer passed in
func ToUint16Default ¶
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil
func ToUint16Slice ¶
ToUint16Slice - returns a uint16 slice of the pointer passed in
func ToUint32Default ¶
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil
func ToUint32Slice ¶
ToUint32Slice - returns a uint32 slice of the pointer passed in
func ToUint64Default ¶
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil
func ToUint64Slice ¶
ToUint64Slice - returns a uint63 slice of the pointer passed in
func ToUint8Default ¶
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil
func ToUint8Slice ¶
ToUint8Slice - returns a uint8 slice of the pointer passed in
func ToUintDefault ¶
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil
func ToUintSlice ¶
ToUintSlice - returns a uint slice of the pointer passed in
func ToValueDefault ¶
func ToValueDefault[T any](ptr *T) T
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil
Types ¶
type APIClient ¶
type APIClient struct { ClustersApi *ClustersApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS Cloud - Network File Storage API API v0.1.3 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // RequestTime is the time duration from the moment the APIClient sends // the HTTP request to the moment it receives an HTTP response. RequestTime time.Duration `json:"duration,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
func (*APIResponse) HttpNotFound ¶
func (resp *APIResponse) HttpNotFound() bool
HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values
func (*APIResponse) LogInfo ¶
func (resp *APIResponse) LogInfo()
LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values
type ApiClustersDeleteRequest ¶
type ApiClustersDeleteRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersDeleteRequest) Execute ¶
func (r ApiClustersDeleteRequest) Execute() (*APIResponse, error)
type ApiClustersFindByIdRequest ¶
type ApiClustersFindByIdRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersFindByIdRequest) Execute ¶
func (r ApiClustersFindByIdRequest) Execute() (ClusterRead, *APIResponse, error)
type ApiClustersGetRequest ¶
type ApiClustersGetRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersGetRequest) Execute ¶
func (r ApiClustersGetRequest) Execute() (ClusterReadList, *APIResponse, error)
func (ApiClustersGetRequest) FilterDatacenterId ¶
func (r ApiClustersGetRequest) FilterDatacenterId(filterDatacenterId string) ApiClustersGetRequest
func (ApiClustersGetRequest) Limit ¶
func (r ApiClustersGetRequest) Limit(limit int32) ApiClustersGetRequest
func (ApiClustersGetRequest) Offset ¶
func (r ApiClustersGetRequest) Offset(offset int32) ApiClustersGetRequest
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 ¶
func (r ApiClustersPostRequest) Execute() (ClusterRead, *APIResponse, error)
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 ¶
func (r ApiClustersPutRequest) Execute() (ClusterRead, *APIResponse, error)
type ApiClustersSharesDeleteRequest ¶
type ApiClustersSharesDeleteRequest struct { // contains filtered or unexported fields }
func (ApiClustersSharesDeleteRequest) Execute ¶
func (r ApiClustersSharesDeleteRequest) Execute() (*APIResponse, error)
type ApiClustersSharesFindByIdRequest ¶
type ApiClustersSharesFindByIdRequest struct { // contains filtered or unexported fields }
func (ApiClustersSharesFindByIdRequest) Execute ¶
func (r ApiClustersSharesFindByIdRequest) Execute() (ShareRead, *APIResponse, error)
type ApiClustersSharesGetRequest ¶
type ApiClustersSharesGetRequest struct { // contains filtered or unexported fields }
func (ApiClustersSharesGetRequest) Execute ¶
func (r ApiClustersSharesGetRequest) Execute() (ShareReadList, *APIResponse, error)
func (ApiClustersSharesGetRequest) Limit ¶
func (r ApiClustersSharesGetRequest) Limit(limit int32) ApiClustersSharesGetRequest
func (ApiClustersSharesGetRequest) Offset ¶
func (r ApiClustersSharesGetRequest) Offset(offset int32) ApiClustersSharesGetRequest
type ApiClustersSharesPostRequest ¶
type ApiClustersSharesPostRequest struct { // contains filtered or unexported fields }
func (ApiClustersSharesPostRequest) Execute ¶
func (r ApiClustersSharesPostRequest) Execute() (ShareRead, *APIResponse, error)
func (ApiClustersSharesPostRequest) ShareCreate ¶
func (r ApiClustersSharesPostRequest) ShareCreate(shareCreate ShareCreate) ApiClustersSharesPostRequest
type ApiClustersSharesPutRequest ¶
type ApiClustersSharesPutRequest struct { // contains filtered or unexported fields }
func (ApiClustersSharesPutRequest) Execute ¶
func (r ApiClustersSharesPutRequest) Execute() (ShareRead, *APIResponse, error)
func (ApiClustersSharesPutRequest) ShareEnsure ¶
func (r ApiClustersSharesPutRequest) ShareEnsure(shareEnsure ShareEnsure) ApiClustersSharesPutRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Cluster ¶
type Cluster struct { Name *string `json:"name"` Connections *[]ClusterConnections `json:"connections"` Nfs *ClusterNfs `json:"nfs,omitempty"` // The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Size *int32 `json:"size,omitempty"` }
Cluster Network File Storage cluster
func NewCluster ¶
func NewCluster(name string, connections []ClusterConnections) *Cluster
NewCluster instantiates a new Cluster object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterWithDefaults ¶
func NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Cluster) GetConnections ¶
func (o *Cluster) GetConnections() *[]ClusterConnections
GetConnections returns the Connections field value If the value is explicit nil, the zero value for []ClusterConnections will be returned
func (*Cluster) GetConnectionsOk ¶
func (o *Cluster) GetConnectionsOk() (*[]ClusterConnections, bool)
GetConnectionsOk returns a tuple with the Connections field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Cluster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetNfs ¶
func (o *Cluster) GetNfs() *ClusterNfs
GetNfs returns the Nfs field value If the value is explicit nil, the zero value for ClusterNfs will be returned
func (*Cluster) GetNfsOk ¶
func (o *Cluster) GetNfsOk() (*ClusterNfs, bool)
GetNfsOk returns a tuple with the Nfs field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetSize ¶
GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned
func (*Cluster) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) HasConnections ¶
HasConnections returns a boolean if a field has been set.
func (Cluster) MarshalJSON ¶
func (*Cluster) SetConnections ¶
func (o *Cluster) SetConnections(v []ClusterConnections)
SetConnections sets field value
type ClusterConnections ¶
type ClusterConnections struct { // The ID of the datacenter where the Network File Storage cluster is located. DatacenterId *string `json:"datacenterId"` // The LAN to which the Network File Storage cluster must be connected. Lan *string `json:"lan"` // The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation. IpAddress *string `json:"ipAddress"` }
ClusterConnections struct for ClusterConnections
func NewClusterConnections ¶
func NewClusterConnections(datacenterId string, lan string, ipAddress string) *ClusterConnections
NewClusterConnections instantiates a new ClusterConnections object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterConnectionsWithDefaults ¶
func NewClusterConnectionsWithDefaults() *ClusterConnections
NewClusterConnectionsWithDefaults instantiates a new ClusterConnections object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterConnections) GetDatacenterId ¶
func (o *ClusterConnections) GetDatacenterId() *string
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterConnections) GetDatacenterIdOk ¶
func (o *ClusterConnections) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterConnections) GetIpAddress ¶
func (o *ClusterConnections) GetIpAddress() *string
GetIpAddress returns the IpAddress field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterConnections) GetIpAddressOk ¶
func (o *ClusterConnections) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterConnections) GetLan ¶
func (o *ClusterConnections) GetLan() *string
GetLan returns the Lan field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterConnections) GetLanOk ¶
func (o *ClusterConnections) GetLanOk() (*string, bool)
GetLanOk returns a tuple with the Lan field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterConnections) HasDatacenterId ¶
func (o *ClusterConnections) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (*ClusterConnections) HasIpAddress ¶
func (o *ClusterConnections) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*ClusterConnections) HasLan ¶
func (o *ClusterConnections) HasLan() bool
HasLan returns a boolean if a field has been set.
func (ClusterConnections) MarshalJSON ¶
func (o ClusterConnections) MarshalJSON() ([]byte, error)
func (*ClusterConnections) SetDatacenterId ¶
func (o *ClusterConnections) SetDatacenterId(v string)
SetDatacenterId sets field value
func (*ClusterConnections) SetIpAddress ¶
func (o *ClusterConnections) SetIpAddress(v string)
SetIpAddress sets field value
func (*ClusterConnections) SetLan ¶
func (o *ClusterConnections) SetLan(v string)
SetLan sets field value
type ClusterCreate ¶
type ClusterCreate struct { // Metadata Metadata *map[string]interface{} `json:"metadata,omitempty"` Properties *Cluster `json:"properties"` }
ClusterCreate struct for ClusterCreate
func NewClusterCreate ¶
func NewClusterCreate(properties Cluster) *ClusterCreate
NewClusterCreate instantiates a new ClusterCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterCreateWithDefaults ¶
func NewClusterCreateWithDefaults() *ClusterCreate
NewClusterCreateWithDefaults instantiates a new ClusterCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterCreate) GetMetadata ¶
func (o *ClusterCreate) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*ClusterCreate) GetMetadataOk ¶
func (o *ClusterCreate) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterCreate) GetProperties ¶
func (o *ClusterCreate) GetProperties() *Cluster
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Cluster will be returned
func (*ClusterCreate) GetPropertiesOk ¶
func (o *ClusterCreate) GetPropertiesOk() (*Cluster, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterCreate) HasMetadata ¶
func (o *ClusterCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ClusterCreate) HasProperties ¶
func (o *ClusterCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ClusterCreate) MarshalJSON ¶
func (o ClusterCreate) MarshalJSON() ([]byte, error)
func (*ClusterCreate) SetMetadata ¶
func (o *ClusterCreate) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*ClusterCreate) SetProperties ¶
func (o *ClusterCreate) SetProperties(v Cluster)
SetProperties sets field value
type ClusterEnsure ¶
type ClusterEnsure struct { // The identifier (UUID) of the cluster. Id *string `json:"id"` // Metadata Metadata *map[string]interface{} `json:"metadata,omitempty"` Properties *Cluster `json:"properties"` }
ClusterEnsure struct for ClusterEnsure
func NewClusterEnsure ¶
func NewClusterEnsure(id string, properties Cluster) *ClusterEnsure
NewClusterEnsure instantiates a new ClusterEnsure object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterEnsureWithDefaults ¶
func NewClusterEnsureWithDefaults() *ClusterEnsure
NewClusterEnsureWithDefaults instantiates a new ClusterEnsure object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterEnsure) GetId ¶
func (o *ClusterEnsure) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterEnsure) GetIdOk ¶
func (o *ClusterEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterEnsure) GetMetadata ¶
func (o *ClusterEnsure) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*ClusterEnsure) GetMetadataOk ¶
func (o *ClusterEnsure) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterEnsure) GetProperties ¶
func (o *ClusterEnsure) GetProperties() *Cluster
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Cluster will be returned
func (*ClusterEnsure) GetPropertiesOk ¶
func (o *ClusterEnsure) GetPropertiesOk() (*Cluster, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterEnsure) HasId ¶
func (o *ClusterEnsure) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterEnsure) HasMetadata ¶
func (o *ClusterEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ClusterEnsure) HasProperties ¶
func (o *ClusterEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ClusterEnsure) MarshalJSON ¶
func (o ClusterEnsure) MarshalJSON() ([]byte, error)
func (*ClusterEnsure) SetMetadata ¶
func (o *ClusterEnsure) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*ClusterEnsure) SetProperties ¶
func (o *ClusterEnsure) SetProperties(v Cluster)
SetProperties sets field value
type ClusterNfs ¶
type ClusterNfs struct { // The version of the NFS cluster, that is supported at minimum. Currently supported version: * `4.2` - NFSv4.2 MinVersion *string `json:"minVersion,omitempty"` }
ClusterNfs struct for ClusterNfs
func NewClusterNfs ¶
func NewClusterNfs() *ClusterNfs
NewClusterNfs instantiates a new ClusterNfs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterNfsWithDefaults ¶
func NewClusterNfsWithDefaults() *ClusterNfs
NewClusterNfsWithDefaults instantiates a new ClusterNfs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterNfs) GetMinVersion ¶
func (o *ClusterNfs) GetMinVersion() *string
GetMinVersion returns the MinVersion field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterNfs) GetMinVersionOk ¶
func (o *ClusterNfs) GetMinVersionOk() (*string, bool)
GetMinVersionOk returns a tuple with the MinVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterNfs) HasMinVersion ¶
func (o *ClusterNfs) HasMinVersion() bool
HasMinVersion returns a boolean if a field has been set.
func (ClusterNfs) MarshalJSON ¶
func (o ClusterNfs) MarshalJSON() ([]byte, error)
func (*ClusterNfs) SetMinVersion ¶
func (o *ClusterNfs) SetMinVersion(v string)
SetMinVersion sets field value
type ClusterRead ¶
type ClusterRead struct { // The ID (UUID) of the cluster. Id *string `json:"id"` // The resource type Type *string `json:"type"` // The URL of the cluster. Href *string `json:"href"` Metadata *MetadataWithStatus `json:"metadata"` Properties *Cluster `json:"properties"` }
ClusterRead struct for ClusterRead
func NewClusterRead ¶
func NewClusterRead(id string, type_ string, href string, metadata MetadataWithStatus, properties Cluster) *ClusterRead
NewClusterRead instantiates a new ClusterRead object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterReadWithDefaults ¶
func NewClusterReadWithDefaults() *ClusterRead
NewClusterReadWithDefaults instantiates a new ClusterRead object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterRead) GetHref ¶
func (o *ClusterRead) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterRead) GetHrefOk ¶
func (o *ClusterRead) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterRead) GetId ¶
func (o *ClusterRead) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterRead) GetIdOk ¶
func (o *ClusterRead) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterRead) GetMetadata ¶
func (o *ClusterRead) GetMetadata() *MetadataWithStatus
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithStatus will be returned
func (*ClusterRead) GetMetadataOk ¶
func (o *ClusterRead) GetMetadataOk() (*MetadataWithStatus, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterRead) GetProperties ¶
func (o *ClusterRead) GetProperties() *Cluster
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Cluster will be returned
func (*ClusterRead) GetPropertiesOk ¶
func (o *ClusterRead) GetPropertiesOk() (*Cluster, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterRead) GetType ¶
func (o *ClusterRead) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterRead) GetTypeOk ¶
func (o *ClusterRead) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterRead) HasHref ¶
func (o *ClusterRead) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ClusterRead) HasId ¶
func (o *ClusterRead) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterRead) HasMetadata ¶
func (o *ClusterRead) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ClusterRead) HasProperties ¶
func (o *ClusterRead) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*ClusterRead) HasType ¶
func (o *ClusterRead) HasType() bool
HasType returns a boolean if a field has been set.
func (ClusterRead) MarshalJSON ¶
func (o ClusterRead) MarshalJSON() ([]byte, error)
func (*ClusterRead) SetMetadata ¶
func (o *ClusterRead) SetMetadata(v MetadataWithStatus)
SetMetadata sets field value
func (*ClusterRead) SetProperties ¶
func (o *ClusterRead) SetProperties(v Cluster)
SetProperties sets field value
type ClusterReadList ¶
type ClusterReadList struct { // The identifier (UUID) of the cluster. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the cluster. Href *string `json:"href"` // The list of cluster resources. Items *[]ClusterRead `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit *int32 `json:"limit"` Links *Links `json:"_links"` }
ClusterReadList struct for ClusterReadList
func NewClusterReadList ¶
func NewClusterReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ClusterReadList
NewClusterReadList instantiates a new ClusterReadList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterReadListWithDefaults ¶
func NewClusterReadListWithDefaults() *ClusterReadList
NewClusterReadListWithDefaults instantiates a new ClusterReadList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterReadList) GetHref ¶
func (o *ClusterReadList) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterReadList) GetHrefOk ¶
func (o *ClusterReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadList) GetId ¶
func (o *ClusterReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterReadList) GetIdOk ¶
func (o *ClusterReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadList) GetItems ¶
func (o *ClusterReadList) GetItems() *[]ClusterRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []ClusterRead will be returned
func (*ClusterReadList) GetItemsOk ¶
func (o *ClusterReadList) GetItemsOk() (*[]ClusterRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadList) GetLimit ¶
func (o *ClusterReadList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterReadList) GetLimitOk ¶
func (o *ClusterReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadList) GetLinks ¶
func (o *ClusterReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
func (*ClusterReadList) GetLinksOk ¶
func (o *ClusterReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadList) GetOffset ¶
func (o *ClusterReadList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterReadList) GetOffsetOk ¶
func (o *ClusterReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadList) GetType ¶
func (o *ClusterReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterReadList) GetTypeOk ¶
func (o *ClusterReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadList) HasHref ¶
func (o *ClusterReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ClusterReadList) HasId ¶
func (o *ClusterReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterReadList) HasItems ¶
func (o *ClusterReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ClusterReadList) HasLimit ¶
func (o *ClusterReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*ClusterReadList) HasLinks ¶
func (o *ClusterReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ClusterReadList) HasOffset ¶
func (o *ClusterReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ClusterReadList) HasType ¶
func (o *ClusterReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (ClusterReadList) MarshalJSON ¶
func (o ClusterReadList) MarshalJSON() ([]byte, error)
func (*ClusterReadList) SetHref ¶
func (o *ClusterReadList) SetHref(v string)
SetHref sets field value
func (*ClusterReadList) SetItems ¶
func (o *ClusterReadList) SetItems(v []ClusterRead)
SetItems sets field value
func (*ClusterReadList) SetLimit ¶
func (o *ClusterReadList) SetLimit(v int32)
SetLimit sets field value
func (*ClusterReadList) SetLinks ¶
func (o *ClusterReadList) SetLinks(v Links)
SetLinks sets field value
func (*ClusterReadList) SetOffset ¶
func (o *ClusterReadList) SetOffset(v int32)
SetOffset sets field value
func (*ClusterReadList) SetType ¶
func (o *ClusterReadList) SetType(v string)
SetType sets field value
type ClusterReadListAllOf ¶
type ClusterReadListAllOf struct { // The identifier (UUID) of the cluster. Id *string `json:"id"` // The type of the resource. Type *string `json:"type"` // The URL of the cluster. Href *string `json:"href"` // The list of cluster resources. Items *[]ClusterRead `json:"items,omitempty"` }
ClusterReadListAllOf struct for ClusterReadListAllOf
func NewClusterReadListAllOf ¶
func NewClusterReadListAllOf(id string, type_ string, href string) *ClusterReadListAllOf
NewClusterReadListAllOf instantiates a new ClusterReadListAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterReadListAllOfWithDefaults ¶
func NewClusterReadListAllOfWithDefaults() *ClusterReadListAllOf
NewClusterReadListAllOfWithDefaults instantiates a new ClusterReadListAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterReadListAllOf) GetHref ¶
func (o *ClusterReadListAllOf) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterReadListAllOf) GetHrefOk ¶
func (o *ClusterReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadListAllOf) GetId ¶
func (o *ClusterReadListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterReadListAllOf) GetIdOk ¶
func (o *ClusterReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadListAllOf) GetItems ¶
func (o *ClusterReadListAllOf) GetItems() *[]ClusterRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []ClusterRead will be returned
func (*ClusterReadListAllOf) GetItemsOk ¶
func (o *ClusterReadListAllOf) GetItemsOk() (*[]ClusterRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadListAllOf) GetType ¶
func (o *ClusterReadListAllOf) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterReadListAllOf) GetTypeOk ¶
func (o *ClusterReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterReadListAllOf) HasHref ¶
func (o *ClusterReadListAllOf) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ClusterReadListAllOf) HasId ¶
func (o *ClusterReadListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterReadListAllOf) HasItems ¶
func (o *ClusterReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ClusterReadListAllOf) HasType ¶
func (o *ClusterReadListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (ClusterReadListAllOf) MarshalJSON ¶
func (o ClusterReadListAllOf) MarshalJSON() ([]byte, error)
func (*ClusterReadListAllOf) SetHref ¶
func (o *ClusterReadListAllOf) SetHref(v string)
SetHref sets field value
func (*ClusterReadListAllOf) SetId ¶
func (o *ClusterReadListAllOf) SetId(v string)
SetId sets field value
func (*ClusterReadListAllOf) SetItems ¶
func (o *ClusterReadListAllOf) SetItems(v []ClusterRead)
SetItems sets field value
func (*ClusterReadListAllOf) SetType ¶
func (o *ClusterReadListAllOf) SetType(v string)
SetType sets field value
type ClustersApiService ¶
type ClustersApiService service
ClustersApiService ClustersApi service
func (*ClustersApiService) ClustersDelete ¶
func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
* ClustersDelete Delete Cluster * Deletes the specified cluster. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @return ApiClustersDeleteRequest
func (*ClustersApiService) ClustersDeleteExecute ¶
func (a *ClustersApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (*APIResponse, error)
* Execute executes the request
func (*ClustersApiService) ClustersFindById ¶
func (a *ClustersApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
* ClustersFindById Retrieve Cluster * Returns cluster details by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @return ApiClustersFindByIdRequest
func (*ClustersApiService) ClustersFindByIdExecute ¶
func (a *ClustersApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterRead, *APIResponse, error)
* Execute executes the request * @return ClusterRead
func (*ClustersApiService) ClustersGet ¶
func (a *ClustersApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
* 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 ¶
func (a *ClustersApiService) ClustersGetExecute(r ApiClustersGetRequest) (ClusterReadList, *APIResponse, error)
* Execute executes the request * @return ClusterReadList
func (*ClustersApiService) ClustersPost ¶
func (a *ClustersApiService) ClustersPost(ctx _context.Context) ApiClustersPostRequest
- 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 ¶
func (a *ClustersApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterRead, *APIResponse, error)
* 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 ¶
func (a *ClustersApiService) ClustersPutExecute(r ApiClustersPutRequest) (ClusterRead, *APIResponse, error)
* Execute executes the request * @return ClusterRead
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` DefaultQueryParams url.Values `json:"defaultQueryParams,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client LogLevel LogLevel Logger Logger Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` MaxRetries int `json:"maxRetries,omitempty"` WaitTime time.Duration `json:"waitTime,omitempty"` MaxWaitTime time.Duration `json:"maxWaitTime,omitempty"` }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration(username, password, token, hostUrl string) *Configuration
NewConfiguration returns a new Configuration object
func NewConfigurationFromEnv ¶
func NewConfigurationFromEnv() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) AddDefaultQueryParam ¶
func (c *Configuration) AddDefaultQueryParam(key string, value string)
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Error ¶
type Error struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus,omitempty"` // A list of error messages. Messages *[]ErrorMessages `json:"messages,omitempty"` }
Error The Error object is used to represent an error response from the API.
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetHttpStatus ¶
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*Error) GetHttpStatusOk ¶
GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Error) GetMessages ¶
func (o *Error) GetMessages() *[]ErrorMessages
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessages will be returned
func (*Error) GetMessagesOk ¶
func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Error) HasHttpStatus ¶
HasHttpStatus returns a boolean if a field has been set.
func (*Error) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetMessages ¶
func (o *Error) SetMessages(v []ErrorMessages)
SetMessages sets field value
type ErrorMessages ¶
type ErrorMessages struct { // Application internal error code ErrorCode *string `json:"errorCode,omitempty"` // A human readable explanation specific to this occurrence of the problem. Message *string `json:"message,omitempty"` }
ErrorMessages struct for ErrorMessages
func NewErrorMessages ¶
func NewErrorMessages() *ErrorMessages
NewErrorMessages instantiates a new ErrorMessages object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorMessagesWithDefaults ¶
func NewErrorMessagesWithDefaults() *ErrorMessages
NewErrorMessagesWithDefaults instantiates a new ErrorMessages object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorMessages) GetErrorCode ¶
func (o *ErrorMessages) GetErrorCode() *string
GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetErrorCodeOk ¶
func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessages) GetMessage ¶
func (o *ErrorMessages) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetMessageOk ¶
func (o *ErrorMessages) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessages) HasErrorCode ¶
func (o *ErrorMessages) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ErrorMessages) HasMessage ¶
func (o *ErrorMessages) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorMessages) MarshalJSON ¶
func (o ErrorMessages) MarshalJSON() ([]byte, error)
func (*ErrorMessages) SetErrorCode ¶
func (o *ErrorMessages) SetErrorCode(v string)
SetErrorCode sets field value
func (*ErrorMessages) SetMessage ¶
func (o *ErrorMessages) SetMessage(v string)
SetMessage sets field value
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func NewGenericOpenAPIError ¶
func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError
NewGenericOpenAPIError - constructor for GenericOpenAPIError
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
func (*GenericOpenAPIError) SetBody ¶
func (e *GenericOpenAPIError) SetBody(body []byte)
SetBody sets the raw body of the error
func (*GenericOpenAPIError) SetError ¶
func (e *GenericOpenAPIError) SetError(error string)
SetError sets the error string
func (*GenericOpenAPIError) SetModel ¶
func (e *GenericOpenAPIError) SetModel(model interface{})
SetModel sets the model of the error
func (*GenericOpenAPIError) SetStatusCode ¶
func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
SetStatusCode sets the status code of the error
func (GenericOpenAPIError) StatusCode ¶
func (e GenericOpenAPIError) StatusCode() int
StatusCode returns the status code of the error
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type Links ¶
type Links struct { // URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0. Prev *string `json:"prev,omitempty"` // URL (with offset and limit parameters) of the current page. Self *string `json:"self,omitempty"` // URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements. Next *string `json:"next,omitempty"` }
Links URLs to navigate the different pages. As of now we always only return a single page.
func NewLinks ¶
func NewLinks() *Links
NewLinks instantiates a new Links object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLinksWithDefaults ¶
func NewLinksWithDefaults() *Links
NewLinksWithDefaults instantiates a new Links object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Links) GetNext ¶
GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetNextOk ¶
GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetPrev ¶
GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetPrevOk ¶
GetPrevOk returns a tuple with the Prev field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetSelf ¶
GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetSelfOk ¶
GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Links) MarshalJSON ¶
type LogLevel ¶
type LogLevel uint
const ( Off LogLevel = 0x100 * iota Debug // Trace We recommend you only set this field for debugging purposes. // Disable it in your production environments because it can log sensitive data. // It logs the full request and response without encryption, even for an HTTPS call. // Verbose request and response logging can also significantly impact your application's performance. Trace )
type Logger ¶
type Logger interface {
Printf(format string, args ...interface{})
}
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
type 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 ¶
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByUserIdOk ¶
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByOk ¶
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByUserIdOk ¶
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetResourceURN ¶
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetResourceURNOk ¶
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Metadata) HasCreatedByUserId ¶
HasCreatedByUserId returns a boolean if a field has been set.
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedBy ¶
HasLastModifiedBy returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedByUserId ¶
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (*Metadata) HasResourceURN ¶
HasResourceURN returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId sets field value
func (*Metadata) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy sets field value
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId sets field value
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate sets field value
func (*Metadata) SetResourceURN ¶
SetResourceURN sets field value
type MetadataWithPath ¶
type MetadataWithPath struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` // The status of the resource can be one of the following: * `AVAILABLE` - The resource exists and is healthy. * `PROVISIONING` - The resource is being created or updated. * `DESTROYING` - A delete command was issued, and the resource is being deleted. * `FAILED` - The resource failed, with details provided in `statusMessage`. Status *string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` // The path of the NFS export. NfsPath *string `json:"nfsPath"` }
MetadataWithPath struct for MetadataWithPath
func NewMetadataWithPath ¶
func NewMetadataWithPath(status string, nfsPath string) *MetadataWithPath
NewMetadataWithPath instantiates a new MetadataWithPath object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataWithPathWithDefaults ¶
func NewMetadataWithPathWithDefaults() *MetadataWithPath
NewMetadataWithPathWithDefaults instantiates a new MetadataWithPath object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetadataWithPath) GetCreatedBy ¶
func (o *MetadataWithPath) GetCreatedBy() *string
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetCreatedByOk ¶
func (o *MetadataWithPath) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetCreatedByUserId ¶
func (o *MetadataWithPath) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetCreatedByUserIdOk ¶
func (o *MetadataWithPath) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetCreatedDate ¶
func (o *MetadataWithPath) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithPath) GetCreatedDateOk ¶
func (o *MetadataWithPath) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetLastModifiedBy ¶
func (o *MetadataWithPath) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetLastModifiedByOk ¶
func (o *MetadataWithPath) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetLastModifiedByUserId ¶
func (o *MetadataWithPath) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetLastModifiedByUserIdOk ¶
func (o *MetadataWithPath) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetLastModifiedDate ¶
func (o *MetadataWithPath) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithPath) GetLastModifiedDateOk ¶
func (o *MetadataWithPath) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetNfsPath ¶
func (o *MetadataWithPath) GetNfsPath() *string
GetNfsPath returns the NfsPath field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetNfsPathOk ¶
func (o *MetadataWithPath) GetNfsPathOk() (*string, bool)
GetNfsPathOk returns a tuple with the NfsPath field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetResourceURN ¶
func (o *MetadataWithPath) GetResourceURN() *string
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetResourceURNOk ¶
func (o *MetadataWithPath) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetStatus ¶
func (o *MetadataWithPath) GetStatus() *string
GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetStatusMessage ¶
func (o *MetadataWithPath) GetStatusMessage() *string
GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPath) GetStatusMessageOk ¶
func (o *MetadataWithPath) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) GetStatusOk ¶
func (o *MetadataWithPath) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPath) HasCreatedBy ¶
func (o *MetadataWithPath) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*MetadataWithPath) HasCreatedByUserId ¶
func (o *MetadataWithPath) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*MetadataWithPath) HasCreatedDate ¶
func (o *MetadataWithPath) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*MetadataWithPath) HasLastModifiedBy ¶
func (o *MetadataWithPath) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*MetadataWithPath) HasLastModifiedByUserId ¶
func (o *MetadataWithPath) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*MetadataWithPath) HasLastModifiedDate ¶
func (o *MetadataWithPath) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*MetadataWithPath) HasNfsPath ¶
func (o *MetadataWithPath) HasNfsPath() bool
HasNfsPath returns a boolean if a field has been set.
func (*MetadataWithPath) HasResourceURN ¶
func (o *MetadataWithPath) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*MetadataWithPath) HasStatus ¶
func (o *MetadataWithPath) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*MetadataWithPath) HasStatusMessage ¶
func (o *MetadataWithPath) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (MetadataWithPath) MarshalJSON ¶
func (o MetadataWithPath) MarshalJSON() ([]byte, error)
func (*MetadataWithPath) SetCreatedBy ¶
func (o *MetadataWithPath) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*MetadataWithPath) SetCreatedByUserId ¶
func (o *MetadataWithPath) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*MetadataWithPath) SetCreatedDate ¶
func (o *MetadataWithPath) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*MetadataWithPath) SetLastModifiedBy ¶
func (o *MetadataWithPath) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*MetadataWithPath) SetLastModifiedByUserId ¶
func (o *MetadataWithPath) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*MetadataWithPath) SetLastModifiedDate ¶
func (o *MetadataWithPath) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*MetadataWithPath) SetNfsPath ¶
func (o *MetadataWithPath) SetNfsPath(v string)
SetNfsPath sets field value
func (*MetadataWithPath) SetResourceURN ¶
func (o *MetadataWithPath) SetResourceURN(v string)
SetResourceURN sets field value
func (*MetadataWithPath) SetStatus ¶
func (o *MetadataWithPath) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithPath) SetStatusMessage ¶
func (o *MetadataWithPath) SetStatusMessage(v string)
SetStatusMessage sets field value
type MetadataWithPathAllOf ¶
type MetadataWithPathAllOf struct { // The path of the NFS export. NfsPath *string `json:"nfsPath"` }
MetadataWithPathAllOf struct for MetadataWithPathAllOf
func NewMetadataWithPathAllOf ¶
func NewMetadataWithPathAllOf(nfsPath string) *MetadataWithPathAllOf
NewMetadataWithPathAllOf instantiates a new MetadataWithPathAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataWithPathAllOfWithDefaults ¶
func NewMetadataWithPathAllOfWithDefaults() *MetadataWithPathAllOf
NewMetadataWithPathAllOfWithDefaults instantiates a new MetadataWithPathAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetadataWithPathAllOf) GetNfsPath ¶
func (o *MetadataWithPathAllOf) GetNfsPath() *string
GetNfsPath returns the NfsPath field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithPathAllOf) GetNfsPathOk ¶
func (o *MetadataWithPathAllOf) GetNfsPathOk() (*string, bool)
GetNfsPathOk returns a tuple with the NfsPath field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithPathAllOf) HasNfsPath ¶
func (o *MetadataWithPathAllOf) HasNfsPath() bool
HasNfsPath returns a boolean if a field has been set.
func (MetadataWithPathAllOf) MarshalJSON ¶
func (o MetadataWithPathAllOf) MarshalJSON() ([]byte, error)
func (*MetadataWithPathAllOf) SetNfsPath ¶
func (o *MetadataWithPathAllOf) SetNfsPath(v string)
SetNfsPath sets field value
type MetadataWithStatus ¶
type MetadataWithStatus struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // Unique name of the identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // Unique id of the identity that created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // Unique name of the identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // Unique id of the identity that last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // Unique name of the resource. ResourceURN *string `json:"resourceURN,omitempty"` // The status of the resource can be one of the following: * `AVAILABLE` - The resource exists and is healthy. * `PROVISIONING` - The resource is being created or updated. * `DESTROYING` - A delete command was issued, and the resource is being deleted. * `FAILED` - The resource failed, with details provided in `statusMessage`. Status *string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
MetadataWithStatus struct for MetadataWithStatus
func NewMetadataWithStatus ¶
func NewMetadataWithStatus(status string) *MetadataWithStatus
NewMetadataWithStatus instantiates a new MetadataWithStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataWithStatusWithDefaults ¶
func NewMetadataWithStatusWithDefaults() *MetadataWithStatus
NewMetadataWithStatusWithDefaults instantiates a new MetadataWithStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetadataWithStatus) GetCreatedBy ¶
func (o *MetadataWithStatus) GetCreatedBy() *string
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetCreatedByOk ¶
func (o *MetadataWithStatus) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetCreatedByUserId ¶
func (o *MetadataWithStatus) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetCreatedByUserIdOk ¶
func (o *MetadataWithStatus) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetCreatedDate ¶
func (o *MetadataWithStatus) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStatus) GetCreatedDateOk ¶
func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetLastModifiedBy ¶
func (o *MetadataWithStatus) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetLastModifiedByOk ¶
func (o *MetadataWithStatus) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetLastModifiedByUserId ¶
func (o *MetadataWithStatus) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetLastModifiedByUserIdOk ¶
func (o *MetadataWithStatus) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetLastModifiedDate ¶
func (o *MetadataWithStatus) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStatus) GetLastModifiedDateOk ¶
func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetResourceURN ¶
func (o *MetadataWithStatus) GetResourceURN() *string
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetResourceURNOk ¶
func (o *MetadataWithStatus) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetStatus ¶
func (o *MetadataWithStatus) GetStatus() *string
GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetStatusMessage ¶
func (o *MetadataWithStatus) GetStatusMessage() *string
GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatus) GetStatusMessageOk ¶
func (o *MetadataWithStatus) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) GetStatusOk ¶
func (o *MetadataWithStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatus) HasCreatedBy ¶
func (o *MetadataWithStatus) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*MetadataWithStatus) HasCreatedByUserId ¶
func (o *MetadataWithStatus) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*MetadataWithStatus) HasCreatedDate ¶
func (o *MetadataWithStatus) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*MetadataWithStatus) HasLastModifiedBy ¶
func (o *MetadataWithStatus) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*MetadataWithStatus) HasLastModifiedByUserId ¶
func (o *MetadataWithStatus) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*MetadataWithStatus) HasLastModifiedDate ¶
func (o *MetadataWithStatus) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*MetadataWithStatus) HasResourceURN ¶
func (o *MetadataWithStatus) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (*MetadataWithStatus) HasStatus ¶
func (o *MetadataWithStatus) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*MetadataWithStatus) HasStatusMessage ¶
func (o *MetadataWithStatus) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (MetadataWithStatus) MarshalJSON ¶
func (o MetadataWithStatus) MarshalJSON() ([]byte, error)
func (*MetadataWithStatus) SetCreatedBy ¶
func (o *MetadataWithStatus) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*MetadataWithStatus) SetCreatedByUserId ¶
func (o *MetadataWithStatus) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*MetadataWithStatus) SetCreatedDate ¶
func (o *MetadataWithStatus) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*MetadataWithStatus) SetLastModifiedBy ¶
func (o *MetadataWithStatus) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*MetadataWithStatus) SetLastModifiedByUserId ¶
func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*MetadataWithStatus) SetLastModifiedDate ¶
func (o *MetadataWithStatus) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*MetadataWithStatus) SetResourceURN ¶
func (o *MetadataWithStatus) SetResourceURN(v string)
SetResourceURN sets field value
func (*MetadataWithStatus) SetStatus ¶
func (o *MetadataWithStatus) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithStatus) SetStatusMessage ¶
func (o *MetadataWithStatus) SetStatusMessage(v string)
SetStatusMessage sets field value
type MetadataWithStatusAllOf ¶
type MetadataWithStatusAllOf struct { // The status of the resource can be one of the following: * `AVAILABLE` - The resource exists and is healthy. * `PROVISIONING` - The resource is being created or updated. * `DESTROYING` - A delete command was issued, and the resource is being deleted. * `FAILED` - The resource failed, with details provided in `statusMessage`. Status *string `json:"status"` // The message of the failure if the status is `FAILED`. StatusMessage *string `json:"statusMessage,omitempty"` }
MetadataWithStatusAllOf struct for MetadataWithStatusAllOf
func NewMetadataWithStatusAllOf ¶
func NewMetadataWithStatusAllOf(status string) *MetadataWithStatusAllOf
NewMetadataWithStatusAllOf instantiates a new MetadataWithStatusAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataWithStatusAllOfWithDefaults ¶
func NewMetadataWithStatusAllOfWithDefaults() *MetadataWithStatusAllOf
NewMetadataWithStatusAllOfWithDefaults instantiates a new MetadataWithStatusAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetadataWithStatusAllOf) GetStatus ¶
func (o *MetadataWithStatusAllOf) GetStatus() *string
GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatusAllOf) GetStatusMessage ¶
func (o *MetadataWithStatusAllOf) GetStatusMessage() *string
GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned
func (*MetadataWithStatusAllOf) GetStatusMessageOk ¶
func (o *MetadataWithStatusAllOf) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatusAllOf) GetStatusOk ¶
func (o *MetadataWithStatusAllOf) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStatusAllOf) HasStatus ¶
func (o *MetadataWithStatusAllOf) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*MetadataWithStatusAllOf) HasStatusMessage ¶
func (o *MetadataWithStatusAllOf) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (MetadataWithStatusAllOf) MarshalJSON ¶
func (o MetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
func (*MetadataWithStatusAllOf) SetStatus ¶
func (o *MetadataWithStatusAllOf) SetStatus(v string)
SetStatus sets field value
func (*MetadataWithStatusAllOf) SetStatusMessage ¶
func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)
SetStatusMessage sets field value
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCluster ¶
type NullableCluster struct {
// contains filtered or unexported fields
}
func NewNullableCluster ¶
func NewNullableCluster(val *Cluster) *NullableCluster
func (NullableCluster) Get ¶
func (v NullableCluster) Get() *Cluster
func (NullableCluster) IsSet ¶
func (v NullableCluster) IsSet() bool
func (NullableCluster) MarshalJSON ¶
func (v NullableCluster) MarshalJSON() ([]byte, error)
func (*NullableCluster) Set ¶
func (v *NullableCluster) Set(val *Cluster)
func (*NullableCluster) UnmarshalJSON ¶
func (v *NullableCluster) UnmarshalJSON(src []byte) error
func (*NullableCluster) Unset ¶
func (v *NullableCluster) Unset()
type NullableClusterConnections ¶
type NullableClusterConnections struct {
// contains filtered or unexported fields
}
func NewNullableClusterConnections ¶
func NewNullableClusterConnections(val *ClusterConnections) *NullableClusterConnections
func (NullableClusterConnections) Get ¶
func (v NullableClusterConnections) Get() *ClusterConnections
func (NullableClusterConnections) IsSet ¶
func (v NullableClusterConnections) IsSet() bool
func (NullableClusterConnections) MarshalJSON ¶
func (v NullableClusterConnections) MarshalJSON() ([]byte, error)
func (*NullableClusterConnections) Set ¶
func (v *NullableClusterConnections) Set(val *ClusterConnections)
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 (v NullableClusterCreate) Get() *ClusterCreate
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 (v NullableClusterEnsure) Get() *ClusterEnsure
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 (v NullableClusterRead) Get() *ClusterRead
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 (v NullableClusterReadList) Get() *ClusterReadList
func (NullableClusterReadList) IsSet ¶
func (v NullableClusterReadList) IsSet() bool
func (NullableClusterReadList) MarshalJSON ¶
func (v NullableClusterReadList) MarshalJSON() ([]byte, error)
func (*NullableClusterReadList) Set ¶
func (v *NullableClusterReadList) Set(val *ClusterReadList)
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 (v NullableClusterReadListAllOf) Get() *ClusterReadListAllOf
func (NullableClusterReadListAllOf) IsSet ¶
func (v NullableClusterReadListAllOf) IsSet() bool
func (NullableClusterReadListAllOf) MarshalJSON ¶
func (v NullableClusterReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableClusterReadListAllOf) Set ¶
func (v *NullableClusterReadListAllOf) Set(val *ClusterReadListAllOf)
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 (v NullableErrorMessages) Get() *ErrorMessages
func (NullableErrorMessages) IsSet ¶
func (v NullableErrorMessages) IsSet() bool
func (NullableErrorMessages) MarshalJSON ¶
func (v NullableErrorMessages) MarshalJSON() ([]byte, error)
func (*NullableErrorMessages) Set ¶
func (v *NullableErrorMessages) Set(val *ErrorMessages)
func (*NullableErrorMessages) UnmarshalJSON ¶
func (v *NullableErrorMessages) UnmarshalJSON(src []byte) error
func (*NullableErrorMessages) Unset ¶
func (v *NullableErrorMessages) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLinks ¶
type NullableLinks struct {
// contains filtered or unexported fields
}
func NewNullableLinks ¶
func NewNullableLinks(val *Links) *NullableLinks
func (NullableLinks) Get ¶
func (v NullableLinks) Get() *Links
func (NullableLinks) IsSet ¶
func (v NullableLinks) IsSet() bool
func (NullableLinks) MarshalJSON ¶
func (v NullableLinks) MarshalJSON() ([]byte, error)
func (*NullableLinks) Set ¶
func (v *NullableLinks) Set(val *Links)
func (*NullableLinks) UnmarshalJSON ¶
func (v *NullableLinks) UnmarshalJSON(src []byte) error
func (*NullableLinks) Unset ¶
func (v *NullableLinks) Unset()
type 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 (v NullableMetadataWithPath) Get() *MetadataWithPath
func (NullableMetadataWithPath) IsSet ¶
func (v NullableMetadataWithPath) IsSet() bool
func (NullableMetadataWithPath) MarshalJSON ¶
func (v NullableMetadataWithPath) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithPath) Set ¶
func (v *NullableMetadataWithPath) Set(val *MetadataWithPath)
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 NewNullableMetadataWithPathAllOf ¶
func NewNullableMetadataWithPathAllOf(val *MetadataWithPathAllOf) *NullableMetadataWithPathAllOf
func (NullableMetadataWithPathAllOf) Get ¶
func (v NullableMetadataWithPathAllOf) Get() *MetadataWithPathAllOf
func (NullableMetadataWithPathAllOf) IsSet ¶
func (v NullableMetadataWithPathAllOf) IsSet() bool
func (NullableMetadataWithPathAllOf) MarshalJSON ¶
func (v NullableMetadataWithPathAllOf) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithPathAllOf) Set ¶
func (v *NullableMetadataWithPathAllOf) Set(val *MetadataWithPathAllOf)
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 (v NullableMetadataWithStatus) Get() *MetadataWithStatus
func (NullableMetadataWithStatus) IsSet ¶
func (v NullableMetadataWithStatus) IsSet() bool
func (NullableMetadataWithStatus) MarshalJSON ¶
func (v NullableMetadataWithStatus) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStatus) Set ¶
func (v *NullableMetadataWithStatus) Set(val *MetadataWithStatus)
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 NewNullableMetadataWithStatusAllOf ¶
func NewNullableMetadataWithStatusAllOf(val *MetadataWithStatusAllOf) *NullableMetadataWithStatusAllOf
func (NullableMetadataWithStatusAllOf) Get ¶
func (v NullableMetadataWithStatusAllOf) Get() *MetadataWithStatusAllOf
func (NullableMetadataWithStatusAllOf) IsSet ¶
func (v NullableMetadataWithStatusAllOf) IsSet() bool
func (NullableMetadataWithStatusAllOf) MarshalJSON ¶
func (v NullableMetadataWithStatusAllOf) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStatusAllOf) Set ¶
func (v *NullableMetadataWithStatusAllOf) Set(val *MetadataWithStatusAllOf)
func (*NullableMetadataWithStatusAllOf) UnmarshalJSON ¶
func (v *NullableMetadataWithStatusAllOf) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithStatusAllOf) Unset ¶
func (v *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 (v NullableShareClientGroups) Get() *ShareClientGroups
func (NullableShareClientGroups) IsSet ¶
func (v NullableShareClientGroups) IsSet() bool
func (NullableShareClientGroups) MarshalJSON ¶
func (v NullableShareClientGroups) MarshalJSON() ([]byte, error)
func (*NullableShareClientGroups) Set ¶
func (v *NullableShareClientGroups) Set(val *ShareClientGroups)
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 (v NullableShareClientGroupsNfs) Get() *ShareClientGroupsNfs
func (NullableShareClientGroupsNfs) IsSet ¶
func (v NullableShareClientGroupsNfs) IsSet() bool
func (NullableShareClientGroupsNfs) MarshalJSON ¶
func (v NullableShareClientGroupsNfs) MarshalJSON() ([]byte, error)
func (*NullableShareClientGroupsNfs) Set ¶
func (v *NullableShareClientGroupsNfs) Set(val *ShareClientGroupsNfs)
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 (v NullableShareCreate) Get() *ShareCreate
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 (v NullableShareEnsure) Get() *ShareEnsure
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 (v NullableShareReadList) Get() *ShareReadList
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 (v NullableShareReadListAllOf) Get() *ShareReadListAllOf
func (NullableShareReadListAllOf) IsSet ¶
func (v NullableShareReadListAllOf) IsSet() bool
func (NullableShareReadListAllOf) MarshalJSON ¶
func (v NullableShareReadListAllOf) MarshalJSON() ([]byte, error)
func (*NullableShareReadListAllOf) Set ¶
func (v *NullableShareReadListAllOf) Set(val *ShareReadListAllOf)
func (*NullableShareReadListAllOf) UnmarshalJSON ¶
func (v *NullableShareReadListAllOf) UnmarshalJSON(src []byte) error
func (*NullableShareReadListAllOf) Unset ¶
func (v *NullableShareReadListAllOf) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type Pagination ¶
type Pagination struct { // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). Limit *int32 `json:"limit"` Links *Links `json:"_links"` }
Pagination Pagination information. The offset and limit parameters are used to navigate the list of elements. The _links object contains URLs to navigate the different pages.
func NewPagination ¶
func NewPagination(offset int32, limit int32, links Links) *Pagination
NewPagination instantiates a new Pagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Pagination) GetLimit ¶
func (o *Pagination) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*Pagination) GetLimitOk ¶
func (o *Pagination) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
func (*Pagination) GetLinksOk ¶
func (o *Pagination) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) GetOffset ¶
func (o *Pagination) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*Pagination) GetOffsetOk ¶
func (o *Pagination) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Pagination) HasLimit ¶
func (o *Pagination) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*Pagination) HasLinks ¶
func (o *Pagination) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*Pagination) HasOffset ¶
func (o *Pagination) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Share ¶
type Share struct { string `json:"name"` Quota *int32 `json:"quota,omitempty"` Gid *int32 `json:"gid,omitempty"` Uid *int32 `json:"uid,omitempty"` ClientGroups *[]ShareClientGroups `json:"clientGroups"` }Name *
Share A share represents a directory on a Network File Storage cluster. Options like quotas might be set for this directory.
func NewShare ¶
func NewShare(name string, clientGroups []ShareClientGroups) *Share
NewShare instantiates a new Share object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareWithDefaults ¶
func NewShareWithDefaults() *Share
NewShareWithDefaults instantiates a new Share object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Share) GetClientGroups ¶
func (o *Share) GetClientGroups() *[]ShareClientGroups
GetClientGroups returns the ClientGroups field value If the value is explicit nil, the zero value for []ShareClientGroups will be returned
func (*Share) GetClientGroupsOk ¶
func (o *Share) GetClientGroupsOk() (*[]ShareClientGroups, bool)
GetClientGroupsOk returns a tuple with the ClientGroups field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Share) GetGid ¶
GetGid returns the Gid field value If the value is explicit nil, the zero value for int32 will be returned
func (*Share) GetGidOk ¶
GetGidOk returns a tuple with the Gid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Share) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Share) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Share) GetQuota ¶
GetQuota returns the Quota field value If the value is explicit nil, the zero value for int32 will be returned
func (*Share) GetQuotaOk ¶
GetQuotaOk returns a tuple with the Quota field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Share) GetUid ¶
GetUid returns the Uid field value If the value is explicit nil, the zero value for int32 will be returned
func (*Share) GetUidOk ¶
GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Share) HasClientGroups ¶
HasClientGroups returns a boolean if a field has been set.
func (Share) MarshalJSON ¶
func (*Share) SetClientGroups ¶
func (o *Share) SetClientGroups(v []ShareClientGroups)
SetClientGroups sets field value
type ShareClientGroups ¶
type ShareClientGroups struct { // Optional description for the clients groups. }
ShareClientGroups struct for ShareClientGroups
func NewShareClientGroups ¶
func NewShareClientGroups() *ShareClientGroups
NewShareClientGroups instantiates a new ShareClientGroups object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareClientGroupsWithDefaults ¶
func NewShareClientGroupsWithDefaults() *ShareClientGroups
NewShareClientGroupsWithDefaults instantiates a new ShareClientGroups object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShareClientGroups) GetDescription ¶
func (o *ShareClientGroups) GetDescription() *string
GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned
func (*ShareClientGroups) GetDescriptionOk ¶
func (o *ShareClientGroups) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareClientGroups) GetHosts ¶
func (o *ShareClientGroups) GetHosts() *[]string
GetHosts returns the Hosts field value If the value is explicit nil, the zero value for []string will be returned
func (*ShareClientGroups) GetHostsOk ¶
func (o *ShareClientGroups) GetHostsOk() (*[]string, bool)
GetHostsOk returns a tuple with the Hosts field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareClientGroups) GetIpNetworks ¶
func (o *ShareClientGroups) GetIpNetworks() *[]string
GetIpNetworks returns the IpNetworks field value If the value is explicit nil, the zero value for []string will be returned
func (*ShareClientGroups) GetIpNetworksOk ¶
func (o *ShareClientGroups) GetIpNetworksOk() (*[]string, bool)
GetIpNetworksOk returns a tuple with the IpNetworks field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareClientGroups) GetNfs ¶
func (o *ShareClientGroups) GetNfs() *ShareClientGroupsNfs
GetNfs returns the Nfs field value If the value is explicit nil, the zero value for ShareClientGroupsNfs will be returned
func (*ShareClientGroups) GetNfsOk ¶
func (o *ShareClientGroups) GetNfsOk() (*ShareClientGroupsNfs, bool)
GetNfsOk returns a tuple with the Nfs field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareClientGroups) HasDescription ¶
func (o *ShareClientGroups) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ShareClientGroups) HasHosts ¶
func (o *ShareClientGroups) HasHosts() bool
HasHosts returns a boolean if a field has been set.
func (*ShareClientGroups) HasIpNetworks ¶
func (o *ShareClientGroups) HasIpNetworks() bool
HasIpNetworks returns a boolean if a field has been set.
func (*ShareClientGroups) HasNfs ¶
func (o *ShareClientGroups) HasNfs() bool
HasNfs returns a boolean if a field has been set.
func (ShareClientGroups) MarshalJSON ¶
func (o ShareClientGroups) MarshalJSON() ([]byte, error)
func (*ShareClientGroups) SetDescription ¶
func (o *ShareClientGroups) SetDescription(v string)
SetDescription sets field value
func (*ShareClientGroups) SetHosts ¶
func (o *ShareClientGroups) SetHosts(v []string)
SetHosts sets field value
func (*ShareClientGroups) SetIpNetworks ¶
func (o *ShareClientGroups) SetIpNetworks(v []string)
SetIpNetworks sets field value
func (*ShareClientGroups) SetNfs ¶
func (o *ShareClientGroups) SetNfs(v ShareClientGroupsNfs)
SetNfs sets field value
type ShareClientGroupsNfs ¶
type ShareClientGroupsNfs struct { string `json:"squash,omitempty"` }Squash *
ShareClientGroupsNfs NFS specific configurations.
func NewShareClientGroupsNfs ¶
func NewShareClientGroupsNfs() *ShareClientGroupsNfs
NewShareClientGroupsNfs instantiates a new ShareClientGroupsNfs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareClientGroupsNfsWithDefaults ¶
func NewShareClientGroupsNfsWithDefaults() *ShareClientGroupsNfs
NewShareClientGroupsNfsWithDefaults instantiates a new ShareClientGroupsNfs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShareClientGroupsNfs) GetSquash ¶
func (o *ShareClientGroupsNfs) GetSquash() *string
GetSquash returns the Squash field value If the value is explicit nil, the zero value for string will be returned
func (*ShareClientGroupsNfs) GetSquashOk ¶
func (o *ShareClientGroupsNfs) GetSquashOk() (*string, bool)
GetSquashOk returns a tuple with the Squash field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareClientGroupsNfs) HasSquash ¶
func (o *ShareClientGroupsNfs) HasSquash() bool
HasSquash returns a boolean if a field has been set.
func (ShareClientGroupsNfs) MarshalJSON ¶
func (o ShareClientGroupsNfs) MarshalJSON() ([]byte, error)
func (*ShareClientGroupsNfs) SetSquash ¶
func (o *ShareClientGroupsNfs) SetSquash(v string)
SetSquash sets field value
type ShareCreate ¶
type ShareCreate struct { // Metadata }
ShareCreate struct for ShareCreate
func NewShareCreate ¶
func NewShareCreate(properties Share) *ShareCreate
NewShareCreate instantiates a new ShareCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareCreateWithDefaults ¶
func NewShareCreateWithDefaults() *ShareCreate
NewShareCreateWithDefaults instantiates a new ShareCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShareCreate) GetMetadata ¶
func (o *ShareCreate) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*ShareCreate) GetMetadataOk ¶
func (o *ShareCreate) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareCreate) GetProperties ¶
func (o *ShareCreate) GetProperties() *Share
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Share will be returned
func (*ShareCreate) GetPropertiesOk ¶
func (o *ShareCreate) GetPropertiesOk() (*Share, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareCreate) HasMetadata ¶
func (o *ShareCreate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ShareCreate) HasProperties ¶
func (o *ShareCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ShareCreate) MarshalJSON ¶
func (o ShareCreate) MarshalJSON() ([]byte, error)
func (*ShareCreate) SetMetadata ¶
func (o *ShareCreate) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*ShareCreate) SetProperties ¶
func (o *ShareCreate) SetProperties(v Share)
SetProperties sets field value
type ShareEnsure ¶
type ShareEnsure struct { string `json:"id"` // Metadata }Id *
ShareEnsure struct for ShareEnsure
func NewShareEnsure ¶
func NewShareEnsure(id string, properties Share) *ShareEnsure
NewShareEnsure instantiates a new ShareEnsure object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareEnsureWithDefaults ¶
func NewShareEnsureWithDefaults() *ShareEnsure
NewShareEnsureWithDefaults instantiates a new ShareEnsure object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShareEnsure) GetId ¶
func (o *ShareEnsure) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ShareEnsure) GetIdOk ¶
func (o *ShareEnsure) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareEnsure) GetMetadata ¶
func (o *ShareEnsure) GetMetadata() *map[string]interface{}
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*ShareEnsure) GetMetadataOk ¶
func (o *ShareEnsure) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareEnsure) GetProperties ¶
func (o *ShareEnsure) GetProperties() *Share
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Share will be returned
func (*ShareEnsure) GetPropertiesOk ¶
func (o *ShareEnsure) GetPropertiesOk() (*Share, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareEnsure) HasId ¶
func (o *ShareEnsure) HasId() bool
HasId returns a boolean if a field has been set.
func (*ShareEnsure) HasMetadata ¶
func (o *ShareEnsure) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ShareEnsure) HasProperties ¶
func (o *ShareEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ShareEnsure) MarshalJSON ¶
func (o ShareEnsure) MarshalJSON() ([]byte, error)
func (*ShareEnsure) SetMetadata ¶
func (o *ShareEnsure) SetMetadata(v map[string]interface{})
SetMetadata sets field value
func (*ShareEnsure) SetProperties ¶
func (o *ShareEnsure) SetProperties(v Share)
SetProperties sets field value
type ShareRead ¶
type ShareRead struct { string `json:"id"` Type *string `json:"type"` // The URL of the share. }Id *
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 ¶
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ShareRead) GetHrefOk ¶
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareRead) GetId ¶
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ShareRead) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareRead) GetMetadata ¶
func (o *ShareRead) GetMetadata() *MetadataWithPath
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithPath will be returned
func (*ShareRead) GetMetadataOk ¶
func (o *ShareRead) GetMetadataOk() (*MetadataWithPath, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareRead) GetProperties ¶
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Share will be returned
func (*ShareRead) GetPropertiesOk ¶
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareRead) GetType ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ShareRead) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareRead) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*ShareRead) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (ShareRead) MarshalJSON ¶
func (*ShareRead) SetMetadata ¶
func (o *ShareRead) SetMetadata(v MetadataWithPath)
SetMetadata sets field value
func (*ShareRead) SetProperties ¶
SetProperties sets field value
type ShareReadList ¶
type ShareReadList struct { string `json:"id"` Type *string `json:"type"` Href *string `json:"href"` Items *[]ShareRead `json:"items,omitempty"` Offset *int32 `json:"offset"` // The limit specified in the request (if none was specified, use the endpoint's default pagination limit). }Id *
ShareReadList struct for ShareReadList
func NewShareReadList ¶
func NewShareReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ShareReadList
NewShareReadList instantiates a new ShareReadList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareReadListWithDefaults ¶
func NewShareReadListWithDefaults() *ShareReadList
NewShareReadListWithDefaults instantiates a new ShareReadList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShareReadList) GetHref ¶
func (o *ShareReadList) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ShareReadList) GetHrefOk ¶
func (o *ShareReadList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadList) GetId ¶
func (o *ShareReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ShareReadList) GetIdOk ¶
func (o *ShareReadList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadList) GetItems ¶
func (o *ShareReadList) GetItems() *[]ShareRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []ShareRead will be returned
func (*ShareReadList) GetItemsOk ¶
func (o *ShareReadList) GetItemsOk() (*[]ShareRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadList) GetLimit ¶
func (o *ShareReadList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*ShareReadList) GetLimitOk ¶
func (o *ShareReadList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadList) GetLinks ¶
func (o *ShareReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
func (*ShareReadList) GetLinksOk ¶
func (o *ShareReadList) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadList) GetOffset ¶
func (o *ShareReadList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*ShareReadList) GetOffsetOk ¶
func (o *ShareReadList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadList) GetType ¶
func (o *ShareReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ShareReadList) GetTypeOk ¶
func (o *ShareReadList) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadList) HasHref ¶
func (o *ShareReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ShareReadList) HasId ¶
func (o *ShareReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*ShareReadList) HasItems ¶
func (o *ShareReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ShareReadList) HasLimit ¶
func (o *ShareReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*ShareReadList) HasLinks ¶
func (o *ShareReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ShareReadList) HasOffset ¶
func (o *ShareReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ShareReadList) HasType ¶
func (o *ShareReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (ShareReadList) MarshalJSON ¶
func (o ShareReadList) MarshalJSON() ([]byte, error)
func (*ShareReadList) SetItems ¶
func (o *ShareReadList) SetItems(v []ShareRead)
SetItems sets field value
func (*ShareReadList) SetLimit ¶
func (o *ShareReadList) SetLimit(v int32)
SetLimit sets field value
func (*ShareReadList) SetLinks ¶
func (o *ShareReadList) SetLinks(v Links)
SetLinks sets field value
func (*ShareReadList) SetOffset ¶
func (o *ShareReadList) SetOffset(v int32)
SetOffset sets field value
type ShareReadListAllOf ¶
type ShareReadListAllOf struct { string `json:"id"` Type *string `json:"type"` Href *string `json:"href"` Items *[]ShareRead `json:"items,omitempty"` }Id *
ShareReadListAllOf struct for ShareReadListAllOf
func NewShareReadListAllOf ¶
func NewShareReadListAllOf(id string, type_ string, href string) *ShareReadListAllOf
NewShareReadListAllOf instantiates a new ShareReadListAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareReadListAllOfWithDefaults ¶
func NewShareReadListAllOfWithDefaults() *ShareReadListAllOf
NewShareReadListAllOfWithDefaults instantiates a new ShareReadListAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShareReadListAllOf) GetHref ¶
func (o *ShareReadListAllOf) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ShareReadListAllOf) GetHrefOk ¶
func (o *ShareReadListAllOf) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadListAllOf) GetId ¶
func (o *ShareReadListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ShareReadListAllOf) GetIdOk ¶
func (o *ShareReadListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadListAllOf) GetItems ¶
func (o *ShareReadListAllOf) GetItems() *[]ShareRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []ShareRead will be returned
func (*ShareReadListAllOf) GetItemsOk ¶
func (o *ShareReadListAllOf) GetItemsOk() (*[]ShareRead, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadListAllOf) GetType ¶
func (o *ShareReadListAllOf) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ShareReadListAllOf) GetTypeOk ¶
func (o *ShareReadListAllOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareReadListAllOf) HasHref ¶
func (o *ShareReadListAllOf) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ShareReadListAllOf) HasId ¶
func (o *ShareReadListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*ShareReadListAllOf) HasItems ¶
func (o *ShareReadListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ShareReadListAllOf) HasType ¶
func (o *ShareReadListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (ShareReadListAllOf) MarshalJSON ¶
func (o ShareReadListAllOf) MarshalJSON() ([]byte, error)
func (*ShareReadListAllOf) SetHref ¶
func (o *ShareReadListAllOf) SetHref(v string)
SetHref sets field value
func (*ShareReadListAllOf) SetId ¶
func (o *ShareReadListAllOf) SetId(v string)
SetId sets field value
func (*ShareReadListAllOf) SetItems ¶
func (o *ShareReadListAllOf) SetItems(v []ShareRead)
SetItems sets field value
func (*ShareReadListAllOf) SetType ¶
func (o *ShareReadListAllOf) SetType(v string)
SetType sets field value
type SharesApiService ¶
type SharesApiService service
SharesApiService SharesApi service
func (*SharesApiService) ClustersSharesDelete ¶
func (a *SharesApiService) ClustersSharesDelete(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesDeleteRequest
* ClustersSharesDelete Delete Share * Deletes the specified share. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @param shareId The identifier (UUID) of the share. * @return ApiClustersSharesDeleteRequest
func (*SharesApiService) ClustersSharesDeleteExecute ¶
func (a *SharesApiService) ClustersSharesDeleteExecute(r ApiClustersSharesDeleteRequest) (*APIResponse, error)
* Execute executes the request
func (*SharesApiService) ClustersSharesFindById ¶
func (a *SharesApiService) ClustersSharesFindById(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesFindByIdRequest
* ClustersSharesFindById Retrieve Share * Returns the share by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @param shareId The share identifier. * @return ApiClustersSharesFindByIdRequest
func (*SharesApiService) ClustersSharesFindByIdExecute ¶
func (a *SharesApiService) ClustersSharesFindByIdExecute(r ApiClustersSharesFindByIdRequest) (ShareRead, *APIResponse, error)
* Execute executes the request * @return ShareRead
func (*SharesApiService) ClustersSharesGet ¶
func (a *SharesApiService) ClustersSharesGet(ctx _context.Context, clusterId string) ApiClustersSharesGetRequest
* ClustersSharesGet Retrieve Shares * Retrieves shares of the cluster with pagination and optional filters.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The identifier (UUID) of the cluster. * @return ApiClustersSharesGetRequest
func (*SharesApiService) ClustersSharesGetExecute ¶
func (a *SharesApiService) ClustersSharesGetExecute(r ApiClustersSharesGetRequest) (ShareReadList, *APIResponse, error)
* Execute executes the request * @return ShareReadList
func (*SharesApiService) ClustersSharesPost ¶
func (a *SharesApiService) ClustersSharesPost(ctx _context.Context, clusterId string) ApiClustersSharesPostRequest
- ClustersSharesPost Create Share
- Creates a new share.
The complete share configuration must be provided to create the share. Optional data will be filled with default values or left empty.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The identifier (UUID) of the cluster.
- @return ApiClustersSharesPostRequest
func (*SharesApiService) ClustersSharesPostExecute ¶
func (a *SharesApiService) ClustersSharesPostExecute(r ApiClustersSharesPostRequest) (ShareRead, *APIResponse, error)
* Execute executes the request * @return ShareRead
func (*SharesApiService) ClustersSharesPut ¶
func (a *SharesApiService) ClustersSharesPut(ctx _context.Context, clusterId string, shareId string) ApiClustersSharesPutRequest
- ClustersSharesPut Ensure Share
- Ensures that the share with the provided ID is created or modified.
The complete share configuration must be provided to update or create the share. Any missing data will be filled with default values or left empty, without considering previous values.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The identifier (UUID) of the cluster.
- @param shareId The identifier (UUID) of the share.
- @return ApiClustersSharesPutRequest
func (*SharesApiService) ClustersSharesPutExecute ¶
func (a *SharesApiService) ClustersSharesPutExecute(r ApiClustersSharesPutRequest) (ShareRead, *APIResponse, error)
* Execute executes the request * @return ShareRead
Source Files
¶
- api_clusters.go
- api_shares.go
- client.go
- configuration.go
- logger.go
- model_cluster.go
- model_cluster_connections.go
- model_cluster_create.go
- model_cluster_ensure.go
- model_cluster_nfs.go
- model_cluster_read.go
- model_cluster_read_list.go
- model_cluster_read_list_all_of.go
- model_error.go
- model_error_messages.go
- model_links.go
- model_metadata.go
- model_metadata_with_path.go
- model_metadata_with_path_all_of.go
- model_metadata_with_status.go
- model_metadata_with_status_all_of.go
- model_pagination.go
- model_share.go
- model_share_client_groups.go
- model_share_client_groups_nfs.go
- model_share_create.go
- model_share_ensure.go
- model_share_read.go
- model_share_read_list.go
- model_share_read_list_all_of.go
- response.go
- utils.go