Documentation ¶
Index ¶
- Constants
- Variables
- 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
- type APIClient
- type APIKey
- type APIResponse
- type ApiStorageNetworksGetRequest
- type ApiStorageNetworksIdDeleteRequest
- type ApiStorageNetworksIdGetRequest
- type ApiStorageNetworksIdPatchRequest
- type ApiStorageNetworksPostRequest
- type ApiStorageNetworksStorageNetworkIdVolumesGetRequest
- type ApiStorageNetworksStorageNetworkIdVolumesPostRequest
- type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest
- type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest
- type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest
- type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest
- func (r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) Execute() (*Volume, *http.Response, error)
- func (r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) TagAssignmentRequest(tagAssignmentRequest []TagAssignmentRequest) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest
- type BasicAuth
- type Configuration
- type Error
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetValidationErrors() []string
- func (o *Error) GetValidationErrorsOk() ([]string, bool)
- func (o *Error) HasValidationErrors() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetValidationErrors(v []string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type MappedNullable
- type NfsPermissions
- func (o *NfsPermissions) GetAllSquash() []string
- func (o *NfsPermissions) GetAllSquashOk() ([]string, bool)
- func (o *NfsPermissions) GetNoSquash() []string
- func (o *NfsPermissions) GetNoSquashOk() ([]string, bool)
- func (o *NfsPermissions) GetReadOnly() []string
- func (o *NfsPermissions) GetReadOnlyOk() ([]string, bool)
- func (o *NfsPermissions) GetReadWrite() []string
- func (o *NfsPermissions) GetReadWriteOk() ([]string, bool)
- func (o *NfsPermissions) GetRootSquash() []string
- func (o *NfsPermissions) GetRootSquashOk() ([]string, bool)
- func (o *NfsPermissions) HasAllSquash() bool
- func (o *NfsPermissions) HasNoSquash() bool
- func (o *NfsPermissions) HasReadOnly() bool
- func (o *NfsPermissions) HasReadWrite() bool
- func (o *NfsPermissions) HasRootSquash() bool
- func (o NfsPermissions) MarshalJSON() ([]byte, error)
- func (o *NfsPermissions) SetAllSquash(v []string)
- func (o *NfsPermissions) SetNoSquash(v []string)
- func (o *NfsPermissions) SetReadOnly(v []string)
- func (o *NfsPermissions) SetReadWrite(v []string)
- func (o *NfsPermissions) SetRootSquash(v []string)
- func (o NfsPermissions) ToMap() (map[string]interface{}, error)
- func (o *NfsPermissions) UnmarshalJSON(data []byte) (err error)
- type NfsPermissionsCreate
- func (o *NfsPermissionsCreate) GetAllSquash() []string
- func (o *NfsPermissionsCreate) GetAllSquashOk() ([]string, bool)
- func (o *NfsPermissionsCreate) GetNoSquash() []string
- func (o *NfsPermissionsCreate) GetNoSquashOk() ([]string, bool)
- func (o *NfsPermissionsCreate) GetReadOnly() []string
- func (o *NfsPermissionsCreate) GetReadOnlyOk() ([]string, bool)
- func (o *NfsPermissionsCreate) GetReadWrite() []string
- func (o *NfsPermissionsCreate) GetReadWriteOk() ([]string, bool)
- func (o *NfsPermissionsCreate) GetRootSquash() []string
- func (o *NfsPermissionsCreate) GetRootSquashOk() ([]string, bool)
- func (o *NfsPermissionsCreate) HasAllSquash() bool
- func (o *NfsPermissionsCreate) HasNoSquash() bool
- func (o *NfsPermissionsCreate) HasReadOnly() bool
- func (o *NfsPermissionsCreate) HasReadWrite() bool
- func (o *NfsPermissionsCreate) HasRootSquash() bool
- func (o NfsPermissionsCreate) MarshalJSON() ([]byte, error)
- func (o *NfsPermissionsCreate) SetAllSquash(v []string)
- func (o *NfsPermissionsCreate) SetNoSquash(v []string)
- func (o *NfsPermissionsCreate) SetReadOnly(v []string)
- func (o *NfsPermissionsCreate) SetReadWrite(v []string)
- func (o *NfsPermissionsCreate) SetRootSquash(v []string)
- func (o NfsPermissionsCreate) ToMap() (map[string]interface{}, error)
- func (o *NfsPermissionsCreate) UnmarshalJSON(data []byte) (err error)
- type NfsPermissionsUpdate
- func (o *NfsPermissionsUpdate) GetAllSquash() []string
- func (o *NfsPermissionsUpdate) GetAllSquashOk() ([]string, bool)
- func (o *NfsPermissionsUpdate) GetNoSquash() []string
- func (o *NfsPermissionsUpdate) GetNoSquashOk() ([]string, bool)
- func (o *NfsPermissionsUpdate) GetReadOnly() []string
- func (o *NfsPermissionsUpdate) GetReadOnlyOk() ([]string, bool)
- func (o *NfsPermissionsUpdate) GetReadWrite() []string
- func (o *NfsPermissionsUpdate) GetReadWriteOk() ([]string, bool)
- func (o *NfsPermissionsUpdate) GetRootSquash() []string
- func (o *NfsPermissionsUpdate) GetRootSquashOk() ([]string, bool)
- func (o *NfsPermissionsUpdate) HasAllSquash() bool
- func (o *NfsPermissionsUpdate) HasNoSquash() bool
- func (o *NfsPermissionsUpdate) HasReadOnly() bool
- func (o *NfsPermissionsUpdate) HasReadWrite() bool
- func (o *NfsPermissionsUpdate) HasRootSquash() bool
- func (o NfsPermissionsUpdate) MarshalJSON() ([]byte, error)
- func (o *NfsPermissionsUpdate) SetAllSquash(v []string)
- func (o *NfsPermissionsUpdate) SetNoSquash(v []string)
- func (o *NfsPermissionsUpdate) SetReadOnly(v []string)
- func (o *NfsPermissionsUpdate) SetReadWrite(v []string)
- func (o *NfsPermissionsUpdate) SetRootSquash(v []string)
- func (o NfsPermissionsUpdate) ToMap() (map[string]interface{}, error)
- func (o *NfsPermissionsUpdate) UnmarshalJSON(data []byte) (err error)
- type NullableBool
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNfsPermissions
- func (v NullableNfsPermissions) Get() *NfsPermissions
- func (v NullableNfsPermissions) IsSet() bool
- func (v NullableNfsPermissions) MarshalJSON() ([]byte, error)
- func (v *NullableNfsPermissions) Set(val *NfsPermissions)
- func (v *NullableNfsPermissions) UnmarshalJSON(src []byte) error
- func (v *NullableNfsPermissions) Unset()
- type NullableNfsPermissionsCreate
- func (v NullableNfsPermissionsCreate) Get() *NfsPermissionsCreate
- func (v NullableNfsPermissionsCreate) IsSet() bool
- func (v NullableNfsPermissionsCreate) MarshalJSON() ([]byte, error)
- func (v *NullableNfsPermissionsCreate) Set(val *NfsPermissionsCreate)
- func (v *NullableNfsPermissionsCreate) UnmarshalJSON(src []byte) error
- func (v *NullableNfsPermissionsCreate) Unset()
- type NullableNfsPermissionsUpdate
- func (v NullableNfsPermissionsUpdate) Get() *NfsPermissionsUpdate
- func (v NullableNfsPermissionsUpdate) IsSet() bool
- func (v NullableNfsPermissionsUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableNfsPermissionsUpdate) Set(val *NfsPermissionsUpdate)
- func (v *NullableNfsPermissionsUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableNfsPermissionsUpdate) Unset()
- type NullablePermissions
- func (v NullablePermissions) Get() *Permissions
- func (v NullablePermissions) IsSet() bool
- func (v NullablePermissions) MarshalJSON() ([]byte, error)
- func (v *NullablePermissions) Set(val *Permissions)
- func (v *NullablePermissions) UnmarshalJSON(src []byte) error
- func (v *NullablePermissions) Unset()
- type NullablePermissionsCreate
- func (v NullablePermissionsCreate) Get() *PermissionsCreate
- func (v NullablePermissionsCreate) IsSet() bool
- func (v NullablePermissionsCreate) MarshalJSON() ([]byte, error)
- func (v *NullablePermissionsCreate) Set(val *PermissionsCreate)
- func (v *NullablePermissionsCreate) UnmarshalJSON(src []byte) error
- func (v *NullablePermissionsCreate) Unset()
- type NullablePermissionsUpdate
- func (v NullablePermissionsUpdate) Get() *PermissionsUpdate
- func (v NullablePermissionsUpdate) IsSet() bool
- func (v NullablePermissionsUpdate) MarshalJSON() ([]byte, error)
- func (v *NullablePermissionsUpdate) Set(val *PermissionsUpdate)
- func (v *NullablePermissionsUpdate) UnmarshalJSON(src []byte) error
- func (v *NullablePermissionsUpdate) Unset()
- type NullableStatus
- type NullableStorageNetwork
- func (v NullableStorageNetwork) Get() *StorageNetwork
- func (v NullableStorageNetwork) IsSet() bool
- func (v NullableStorageNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableStorageNetwork) Set(val *StorageNetwork)
- func (v *NullableStorageNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableStorageNetwork) Unset()
- type NullableStorageNetworkCreate
- func (v NullableStorageNetworkCreate) Get() *StorageNetworkCreate
- func (v NullableStorageNetworkCreate) IsSet() bool
- func (v NullableStorageNetworkCreate) MarshalJSON() ([]byte, error)
- func (v *NullableStorageNetworkCreate) Set(val *StorageNetworkCreate)
- func (v *NullableStorageNetworkCreate) UnmarshalJSON(src []byte) error
- func (v *NullableStorageNetworkCreate) Unset()
- type NullableStorageNetworkUpdate
- func (v NullableStorageNetworkUpdate) Get() *StorageNetworkUpdate
- func (v NullableStorageNetworkUpdate) IsSet() bool
- func (v NullableStorageNetworkUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableStorageNetworkUpdate) Set(val *StorageNetworkUpdate)
- func (v *NullableStorageNetworkUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableStorageNetworkUpdate) Unset()
- type NullableStorageNetworkVolumeCreate
- func (v NullableStorageNetworkVolumeCreate) Get() *StorageNetworkVolumeCreate
- func (v NullableStorageNetworkVolumeCreate) IsSet() bool
- func (v NullableStorageNetworkVolumeCreate) MarshalJSON() ([]byte, error)
- func (v *NullableStorageNetworkVolumeCreate) Set(val *StorageNetworkVolumeCreate)
- func (v *NullableStorageNetworkVolumeCreate) UnmarshalJSON(src []byte) error
- func (v *NullableStorageNetworkVolumeCreate) Unset()
- type NullableString
- type NullableTagAssignment
- func (v NullableTagAssignment) Get() *TagAssignment
- func (v NullableTagAssignment) IsSet() bool
- func (v NullableTagAssignment) MarshalJSON() ([]byte, error)
- func (v *NullableTagAssignment) Set(val *TagAssignment)
- func (v *NullableTagAssignment) UnmarshalJSON(src []byte) error
- func (v *NullableTagAssignment) Unset()
- type NullableTagAssignmentRequest
- func (v NullableTagAssignmentRequest) Get() *TagAssignmentRequest
- func (v NullableTagAssignmentRequest) IsSet() bool
- func (v NullableTagAssignmentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTagAssignmentRequest) Set(val *TagAssignmentRequest)
- func (v *NullableTagAssignmentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTagAssignmentRequest) Unset()
- type NullableTime
- type NullableVolume
- type NullableVolumeCreate
- func (v NullableVolumeCreate) Get() *VolumeCreate
- func (v NullableVolumeCreate) IsSet() bool
- func (v NullableVolumeCreate) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeCreate) Set(val *VolumeCreate)
- func (v *NullableVolumeCreate) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeCreate) Unset()
- type NullableVolumeUpdate
- func (v NullableVolumeUpdate) Get() *VolumeUpdate
- func (v NullableVolumeUpdate) IsSet() bool
- func (v NullableVolumeUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeUpdate) Set(val *VolumeUpdate)
- func (v *NullableVolumeUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeUpdate) Unset()
- type Permissions
- func (o *Permissions) GetNfs() NfsPermissions
- func (o *Permissions) GetNfsOk() (*NfsPermissions, bool)
- func (o *Permissions) HasNfs() bool
- func (o Permissions) MarshalJSON() ([]byte, error)
- func (o *Permissions) SetNfs(v NfsPermissions)
- func (o Permissions) ToMap() (map[string]interface{}, error)
- func (o *Permissions) UnmarshalJSON(data []byte) (err error)
- type PermissionsCreate
- func (o *PermissionsCreate) GetNfs() NfsPermissionsCreate
- func (o *PermissionsCreate) GetNfsOk() (*NfsPermissionsCreate, bool)
- func (o *PermissionsCreate) HasNfs() bool
- func (o PermissionsCreate) MarshalJSON() ([]byte, error)
- func (o *PermissionsCreate) SetNfs(v NfsPermissionsCreate)
- func (o PermissionsCreate) ToMap() (map[string]interface{}, error)
- func (o *PermissionsCreate) UnmarshalJSON(data []byte) (err error)
- type PermissionsUpdate
- func (o *PermissionsUpdate) GetNfs() NfsPermissionsUpdate
- func (o *PermissionsUpdate) GetNfsOk() (*NfsPermissionsUpdate, bool)
- func (o *PermissionsUpdate) HasNfs() bool
- func (o PermissionsUpdate) MarshalJSON() ([]byte, error)
- func (o *PermissionsUpdate) SetNfs(v NfsPermissionsUpdate)
- func (o PermissionsUpdate) ToMap() (map[string]interface{}, error)
- func (o *PermissionsUpdate) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Status
- type StorageNetwork
- func (o *StorageNetwork) GetCreatedOn() time.Time
- func (o *StorageNetwork) GetCreatedOnOk() (*time.Time, bool)
- func (o *StorageNetwork) GetDeleteRequestedOn() time.Time
- func (o *StorageNetwork) GetDeleteRequestedOnOk() (*time.Time, bool)
- func (o *StorageNetwork) GetDescription() string
- func (o *StorageNetwork) GetDescriptionOk() (*string, bool)
- func (o *StorageNetwork) GetId() string
- func (o *StorageNetwork) GetIdOk() (*string, bool)
- func (o *StorageNetwork) GetIps() []string
- func (o *StorageNetwork) GetIpsOk() ([]string, bool)
- func (o *StorageNetwork) GetLocation() string
- func (o *StorageNetwork) GetLocationOk() (*string, bool)
- func (o *StorageNetwork) GetName() string
- func (o *StorageNetwork) GetNameOk() (*string, bool)
- func (o *StorageNetwork) GetNetworkId() string
- func (o *StorageNetwork) GetNetworkIdOk() (*string, bool)
- func (o *StorageNetwork) GetStatus() Status
- func (o *StorageNetwork) GetStatusOk() (*Status, bool)
- func (o *StorageNetwork) GetVolumes() []Volume
- func (o *StorageNetwork) GetVolumesOk() ([]Volume, bool)
- func (o *StorageNetwork) HasCreatedOn() bool
- func (o *StorageNetwork) HasDeleteRequestedOn() bool
- func (o *StorageNetwork) HasDescription() bool
- func (o *StorageNetwork) HasId() bool
- func (o *StorageNetwork) HasIps() bool
- func (o *StorageNetwork) HasLocation() bool
- func (o *StorageNetwork) HasName() bool
- func (o *StorageNetwork) HasNetworkId() bool
- func (o *StorageNetwork) HasStatus() bool
- func (o *StorageNetwork) HasVolumes() bool
- func (o StorageNetwork) MarshalJSON() ([]byte, error)
- func (o *StorageNetwork) SetCreatedOn(v time.Time)
- func (o *StorageNetwork) SetDeleteRequestedOn(v time.Time)
- func (o *StorageNetwork) SetDescription(v string)
- func (o *StorageNetwork) SetId(v string)
- func (o *StorageNetwork) SetIps(v []string)
- func (o *StorageNetwork) SetLocation(v string)
- func (o *StorageNetwork) SetName(v string)
- func (o *StorageNetwork) SetNetworkId(v string)
- func (o *StorageNetwork) SetStatus(v Status)
- func (o *StorageNetwork) SetVolumes(v []Volume)
- func (o StorageNetwork) ToMap() (map[string]interface{}, error)
- func (o *StorageNetwork) UnmarshalJSON(data []byte) (err error)
- type StorageNetworkCreate
- func (o *StorageNetworkCreate) GetClientVlan() int32
- func (o *StorageNetworkCreate) GetClientVlanOk() (*int32, bool)
- func (o *StorageNetworkCreate) GetDescription() string
- func (o *StorageNetworkCreate) GetDescriptionOk() (*string, bool)
- func (o *StorageNetworkCreate) GetLocation() string
- func (o *StorageNetworkCreate) GetLocationOk() (*string, bool)
- func (o *StorageNetworkCreate) GetName() string
- func (o *StorageNetworkCreate) GetNameOk() (*string, bool)
- func (o *StorageNetworkCreate) GetVolumes() []StorageNetworkVolumeCreate
- func (o *StorageNetworkCreate) GetVolumesOk() ([]StorageNetworkVolumeCreate, bool)
- func (o *StorageNetworkCreate) HasClientVlan() bool
- func (o *StorageNetworkCreate) HasDescription() bool
- func (o StorageNetworkCreate) MarshalJSON() ([]byte, error)
- func (o *StorageNetworkCreate) SetClientVlan(v int32)
- func (o *StorageNetworkCreate) SetDescription(v string)
- func (o *StorageNetworkCreate) SetLocation(v string)
- func (o *StorageNetworkCreate) SetName(v string)
- func (o *StorageNetworkCreate) SetVolumes(v []StorageNetworkVolumeCreate)
- func (o StorageNetworkCreate) ToMap() (map[string]interface{}, error)
- func (o *StorageNetworkCreate) UnmarshalJSON(data []byte) (err error)
- type StorageNetworkUpdate
- func (o *StorageNetworkUpdate) GetDescription() string
- func (o *StorageNetworkUpdate) GetDescriptionOk() (*string, bool)
- func (o *StorageNetworkUpdate) GetName() string
- func (o *StorageNetworkUpdate) GetNameOk() (*string, bool)
- func (o *StorageNetworkUpdate) HasDescription() bool
- func (o *StorageNetworkUpdate) HasName() bool
- func (o StorageNetworkUpdate) MarshalJSON() ([]byte, error)
- func (o *StorageNetworkUpdate) SetDescription(v string)
- func (o *StorageNetworkUpdate) SetName(v string)
- func (o StorageNetworkUpdate) ToMap() (map[string]interface{}, error)
- func (o *StorageNetworkUpdate) UnmarshalJSON(data []byte) (err error)
- type StorageNetworkVolumeCreate
- func (o *StorageNetworkVolumeCreate) GetCapacityInGb() int32
- func (o *StorageNetworkVolumeCreate) GetCapacityInGbOk() (*int32, bool)
- func (o *StorageNetworkVolumeCreate) GetDescription() string
- func (o *StorageNetworkVolumeCreate) GetDescriptionOk() (*string, bool)
- func (o *StorageNetworkVolumeCreate) GetName() string
- func (o *StorageNetworkVolumeCreate) GetNameOk() (*string, bool)
- func (o *StorageNetworkVolumeCreate) GetPathSuffix() string
- func (o *StorageNetworkVolumeCreate) GetPathSuffixOk() (*string, bool)
- func (o *StorageNetworkVolumeCreate) GetTags() []TagAssignmentRequest
- func (o *StorageNetworkVolumeCreate) GetTagsOk() ([]TagAssignmentRequest, bool)
- func (o *StorageNetworkVolumeCreate) HasDescription() bool
- func (o *StorageNetworkVolumeCreate) HasPathSuffix() bool
- func (o *StorageNetworkVolumeCreate) HasTags() bool
- func (o StorageNetworkVolumeCreate) MarshalJSON() ([]byte, error)
- func (o *StorageNetworkVolumeCreate) SetCapacityInGb(v int32)
- func (o *StorageNetworkVolumeCreate) SetDescription(v string)
- func (o *StorageNetworkVolumeCreate) SetName(v string)
- func (o *StorageNetworkVolumeCreate) SetPathSuffix(v string)
- func (o *StorageNetworkVolumeCreate) SetTags(v []TagAssignmentRequest)
- func (o StorageNetworkVolumeCreate) ToMap() (map[string]interface{}, error)
- func (o *StorageNetworkVolumeCreate) UnmarshalJSON(data []byte) (err error)
- type StorageNetworksAPI
- type StorageNetworksAPIService
- func (a *StorageNetworksAPIService) StorageNetworksGet(ctx context.Context) ApiStorageNetworksGetRequest
- func (a *StorageNetworksAPIService) StorageNetworksGetExecute(r ApiStorageNetworksGetRequest) ([]StorageNetwork, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksIdDelete(ctx context.Context, storageId string) ApiStorageNetworksIdDeleteRequest
- func (a *StorageNetworksAPIService) StorageNetworksIdDeleteExecute(r ApiStorageNetworksIdDeleteRequest) (*http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksIdGet(ctx context.Context, storageId string) ApiStorageNetworksIdGetRequest
- func (a *StorageNetworksAPIService) StorageNetworksIdGetExecute(r ApiStorageNetworksIdGetRequest) (*StorageNetwork, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksIdPatch(ctx context.Context, storageId string) ApiStorageNetworksIdPatchRequest
- func (a *StorageNetworksAPIService) StorageNetworksIdPatchExecute(r ApiStorageNetworksIdPatchRequest) (*StorageNetwork, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksPost(ctx context.Context) ApiStorageNetworksPostRequest
- func (a *StorageNetworksAPIService) StorageNetworksPostExecute(r ApiStorageNetworksPostRequest) (*StorageNetwork, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesGet(ctx context.Context, storageId string) ApiStorageNetworksStorageNetworkIdVolumesGetRequest
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesGetExecute(r ApiStorageNetworksStorageNetworkIdVolumesGetRequest) ([]Volume, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesPost(ctx context.Context, storageId string) ApiStorageNetworksStorageNetworkIdVolumesPostRequest
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesPostExecute(r ApiStorageNetworksStorageNetworkIdVolumesPostRequest) (*Volume, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdDelete(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdDeleteExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest) (*http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdGet(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdGetExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest) (*Volume, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdPatch(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdPatchExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest) (*Volume, *http.Response, error)
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPut(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest
- func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) (*Volume, *http.Response, error)
- type TagAssignment
- func (o *TagAssignment) GetCreatedBy() string
- func (o *TagAssignment) GetCreatedByOk() (*string, bool)
- func (o *TagAssignment) GetId() string
- func (o *TagAssignment) GetIdOk() (*string, bool)
- func (o *TagAssignment) GetIsBillingTag() bool
- func (o *TagAssignment) GetIsBillingTagOk() (*bool, bool)
- func (o *TagAssignment) GetName() string
- func (o *TagAssignment) GetNameOk() (*string, bool)
- func (o *TagAssignment) GetValue() string
- func (o *TagAssignment) GetValueOk() (*string, bool)
- func (o *TagAssignment) HasCreatedBy() bool
- func (o *TagAssignment) HasValue() bool
- func (o TagAssignment) MarshalJSON() ([]byte, error)
- func (o *TagAssignment) SetCreatedBy(v string)
- func (o *TagAssignment) SetId(v string)
- func (o *TagAssignment) SetIsBillingTag(v bool)
- func (o *TagAssignment) SetName(v string)
- func (o *TagAssignment) SetValue(v string)
- func (o TagAssignment) ToMap() (map[string]interface{}, error)
- func (o *TagAssignment) UnmarshalJSON(data []byte) (err error)
- type TagAssignmentRequest
- func (o *TagAssignmentRequest) GetName() string
- func (o *TagAssignmentRequest) GetNameOk() (*string, bool)
- func (o *TagAssignmentRequest) GetValue() string
- func (o *TagAssignmentRequest) GetValueOk() (*string, bool)
- func (o *TagAssignmentRequest) HasValue() bool
- func (o TagAssignmentRequest) MarshalJSON() ([]byte, error)
- func (o *TagAssignmentRequest) SetName(v string)
- func (o *TagAssignmentRequest) SetValue(v string)
- func (o TagAssignmentRequest) ToMap() (map[string]interface{}, error)
- func (o *TagAssignmentRequest) UnmarshalJSON(data []byte) (err error)
- type Volume
- func (o *Volume) GetCapacityInGb() int32
- func (o *Volume) GetCapacityInGbOk() (*int32, bool)
- func (o *Volume) GetCreatedOn() time.Time
- func (o *Volume) GetCreatedOnOk() (*time.Time, bool)
- func (o *Volume) GetDeleteRequestedOn() time.Time
- func (o *Volume) GetDeleteRequestedOnOk() (*time.Time, bool)
- func (o *Volume) GetDescription() string
- func (o *Volume) GetDescriptionOk() (*string, bool)
- func (o *Volume) GetId() string
- func (o *Volume) GetIdOk() (*string, bool)
- func (o *Volume) GetName() string
- func (o *Volume) GetNameOk() (*string, bool)
- func (o *Volume) GetPath() string
- func (o *Volume) GetPathOk() (*string, bool)
- func (o *Volume) GetPathSuffix() string
- func (o *Volume) GetPathSuffixOk() (*string, bool)
- func (o *Volume) GetPermissions() Permissions
- func (o *Volume) GetPermissionsOk() (*Permissions, bool)
- func (o *Volume) GetProtocol() string
- func (o *Volume) GetProtocolOk() (*string, bool)
- func (o *Volume) GetStatus() Status
- func (o *Volume) GetStatusOk() (*Status, bool)
- func (o *Volume) GetTags() []TagAssignment
- func (o *Volume) GetTagsOk() ([]TagAssignment, bool)
- func (o *Volume) GetUsedCapacityInGb() int32
- func (o *Volume) GetUsedCapacityInGbOk() (*int32, bool)
- func (o *Volume) HasCapacityInGb() bool
- func (o *Volume) HasCreatedOn() bool
- func (o *Volume) HasDeleteRequestedOn() bool
- func (o *Volume) HasDescription() bool
- func (o *Volume) HasId() bool
- func (o *Volume) HasName() bool
- func (o *Volume) HasPath() bool
- func (o *Volume) HasPathSuffix() bool
- func (o *Volume) HasPermissions() bool
- func (o *Volume) HasProtocol() bool
- func (o *Volume) HasStatus() bool
- func (o *Volume) HasTags() bool
- func (o *Volume) HasUsedCapacityInGb() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetCapacityInGb(v int32)
- func (o *Volume) SetCreatedOn(v time.Time)
- func (o *Volume) SetDeleteRequestedOn(v time.Time)
- func (o *Volume) SetDescription(v string)
- func (o *Volume) SetId(v string)
- func (o *Volume) SetName(v string)
- func (o *Volume) SetPath(v string)
- func (o *Volume) SetPathSuffix(v string)
- func (o *Volume) SetPermissions(v Permissions)
- func (o *Volume) SetProtocol(v string)
- func (o *Volume) SetStatus(v Status)
- func (o *Volume) SetTags(v []TagAssignment)
- func (o *Volume) SetUsedCapacityInGb(v int32)
- func (o Volume) ToMap() (map[string]interface{}, error)
- func (o *Volume) UnmarshalJSON(data []byte) (err error)
- type VolumeCreate
- func (o *VolumeCreate) GetCapacityInGb() int32
- func (o *VolumeCreate) GetCapacityInGbOk() (*int32, bool)
- func (o *VolumeCreate) GetDescription() string
- func (o *VolumeCreate) GetDescriptionOk() (*string, bool)
- func (o *VolumeCreate) GetName() string
- func (o *VolumeCreate) GetNameOk() (*string, bool)
- func (o *VolumeCreate) GetPathSuffix() string
- func (o *VolumeCreate) GetPathSuffixOk() (*string, bool)
- func (o *VolumeCreate) GetPermissions() PermissionsCreate
- func (o *VolumeCreate) GetPermissionsOk() (*PermissionsCreate, bool)
- func (o *VolumeCreate) GetTags() []TagAssignmentRequest
- func (o *VolumeCreate) GetTagsOk() ([]TagAssignmentRequest, bool)
- func (o *VolumeCreate) HasDescription() bool
- func (o *VolumeCreate) HasPathSuffix() bool
- func (o *VolumeCreate) HasPermissions() bool
- func (o *VolumeCreate) HasTags() bool
- func (o VolumeCreate) MarshalJSON() ([]byte, error)
- func (o *VolumeCreate) SetCapacityInGb(v int32)
- func (o *VolumeCreate) SetDescription(v string)
- func (o *VolumeCreate) SetName(v string)
- func (o *VolumeCreate) SetPathSuffix(v string)
- func (o *VolumeCreate) SetPermissions(v PermissionsCreate)
- func (o *VolumeCreate) SetTags(v []TagAssignmentRequest)
- func (o VolumeCreate) ToMap() (map[string]interface{}, error)
- func (o *VolumeCreate) UnmarshalJSON(data []byte) (err error)
- type VolumeUpdate
- func (o *VolumeUpdate) GetCapacityInGb() int32
- func (o *VolumeUpdate) GetCapacityInGbOk() (*int32, bool)
- func (o *VolumeUpdate) GetDescription() string
- func (o *VolumeUpdate) GetDescriptionOk() (*string, bool)
- func (o *VolumeUpdate) GetName() string
- func (o *VolumeUpdate) GetNameOk() (*string, bool)
- func (o *VolumeUpdate) GetPathSuffix() string
- func (o *VolumeUpdate) GetPathSuffixOk() (*string, bool)
- func (o *VolumeUpdate) GetPermissions() PermissionsUpdate
- func (o *VolumeUpdate) GetPermissionsOk() (*PermissionsUpdate, bool)
- func (o *VolumeUpdate) HasCapacityInGb() bool
- func (o *VolumeUpdate) HasDescription() bool
- func (o *VolumeUpdate) HasName() bool
- func (o *VolumeUpdate) HasPathSuffix() bool
- func (o *VolumeUpdate) HasPermissions() bool
- func (o VolumeUpdate) MarshalJSON() ([]byte, error)
- func (o *VolumeUpdate) SetCapacityInGb(v int32)
- func (o *VolumeUpdate) SetDescription(v string)
- func (o *VolumeUpdate) SetName(v string)
- func (o *VolumeUpdate) SetPathSuffix(v string)
- func (o *VolumeUpdate) SetPermissions(v PermissionsUpdate)
- func (o VolumeUpdate) ToMap() (map[string]interface{}, error)
- func (o *VolumeUpdate) UnmarshalJSON(data []byte) (err error)
Constants ¶
const SdkVersion = "3.0.0"
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // 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 AllowedStatusEnumValues = []Status{
"READY",
"BUSY",
"DELETING",
"ERROR",
}
All allowed values of Status enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { StorageNetworksAPI StorageNetworksAPI // contains filtered or unexported fields }
APIClient manages communication with the Network Storage API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
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"` // 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.
type ApiStorageNetworksGetRequest ¶
type ApiStorageNetworksGetRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksGetRequest) Execute ¶
func (r ApiStorageNetworksGetRequest) Execute() ([]StorageNetwork, *http.Response, error)
func (ApiStorageNetworksGetRequest) Location ¶
func (r ApiStorageNetworksGetRequest) Location(location string) ApiStorageNetworksGetRequest
If present will filter the result by the given location.
type ApiStorageNetworksIdDeleteRequest ¶
type ApiStorageNetworksIdDeleteRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
type ApiStorageNetworksIdGetRequest ¶
type ApiStorageNetworksIdGetRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksIdGetRequest) Execute ¶
func (r ApiStorageNetworksIdGetRequest) Execute() (*StorageNetwork, *http.Response, error)
type ApiStorageNetworksIdPatchRequest ¶
type ApiStorageNetworksIdPatchRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksIdPatchRequest) Execute ¶
func (r ApiStorageNetworksIdPatchRequest) Execute() (*StorageNetwork, *http.Response, error)
func (ApiStorageNetworksIdPatchRequest) StorageNetworkUpdate ¶
func (r ApiStorageNetworksIdPatchRequest) StorageNetworkUpdate(storageNetworkUpdate StorageNetworkUpdate) ApiStorageNetworksIdPatchRequest
Storage network to be updated.
type ApiStorageNetworksPostRequest ¶
type ApiStorageNetworksPostRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksPostRequest) Execute ¶
func (r ApiStorageNetworksPostRequest) Execute() (*StorageNetwork, *http.Response, error)
func (ApiStorageNetworksPostRequest) StorageNetworkCreate ¶
func (r ApiStorageNetworksPostRequest) StorageNetworkCreate(storageNetworkCreate StorageNetworkCreate) ApiStorageNetworksPostRequest
type ApiStorageNetworksStorageNetworkIdVolumesGetRequest ¶
type ApiStorageNetworksStorageNetworkIdVolumesGetRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksStorageNetworkIdVolumesGetRequest) Execute ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesGetRequest) Execute() ([]Volume, *http.Response, error)
func (ApiStorageNetworksStorageNetworkIdVolumesGetRequest) Tag ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesGetRequest) Tag(tag []string) ApiStorageNetworksStorageNetworkIdVolumesGetRequest
A list of query parameters related to tags in the form of tagName.tagValue
type ApiStorageNetworksStorageNetworkIdVolumesPostRequest ¶
type ApiStorageNetworksStorageNetworkIdVolumesPostRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksStorageNetworkIdVolumesPostRequest) Execute ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesPostRequest) Execute() (*Volume, *http.Response, error)
func (ApiStorageNetworksStorageNetworkIdVolumesPostRequest) VolumeCreate ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesPostRequest) VolumeCreate(volumeCreate VolumeCreate) ApiStorageNetworksStorageNetworkIdVolumesPostRequest
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest ¶
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest ¶
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest ¶
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest) Execute ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest) Execute() (*Volume, *http.Response, error)
func (ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest) VolumeUpdate ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest) VolumeUpdate(volumeUpdate VolumeUpdate) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest
Storage network volume to be updated.
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest ¶
type ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest struct { ApiService StorageNetworksAPI // contains filtered or unexported fields }
func (ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) Execute ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) Execute() (*Volume, *http.Response, error)
func (ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) TagAssignmentRequest ¶
func (r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) TagAssignmentRequest(tagAssignmentRequest []TagAssignmentRequest) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest
Tags to assign to the volume.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` XPoweredBy string `json:"xPoweredBy,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Error ¶
type Error struct { // The description detailing the cause of the error code. Message string `json:"message"` // Validation errors, if any. ValidationErrors []string `json:"validationErrors,omitempty"` AdditionalProperties map[string]interface{} }
Error struct for Error
func NewError ¶
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) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetValidationErrors ¶
GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.
func (*Error) GetValidationErrorsOk ¶
GetValidationErrorsOk returns a tuple with the ValidationErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasValidationErrors ¶
HasValidationErrors returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetValidationErrors ¶
SetValidationErrors gets a reference to the given []string and assigns it to the ValidationErrors field.
func (*Error) UnmarshalJSON ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
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
type MappedNullable ¶
type NfsPermissions ¶
type NfsPermissions struct { // Read/Write access. ReadWrite []string `json:"readWrite,omitempty"` // Read only access. ReadOnly []string `json:"readOnly,omitempty"` // Root squash permission. RootSquash []string `json:"rootSquash,omitempty"` // No squash permission. NoSquash []string `json:"noSquash,omitempty"` // All squash permission. AllSquash []string `json:"allSquash,omitempty"` AdditionalProperties map[string]interface{} }
NfsPermissions NFS specific permissions on a volume.
func NewNfsPermissions ¶
func NewNfsPermissions() *NfsPermissions
NewNfsPermissions instantiates a new NfsPermissions 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 NewNfsPermissionsWithDefaults ¶
func NewNfsPermissionsWithDefaults() *NfsPermissions
NewNfsPermissionsWithDefaults instantiates a new NfsPermissions 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 (*NfsPermissions) GetAllSquash ¶
func (o *NfsPermissions) GetAllSquash() []string
GetAllSquash returns the AllSquash field value if set, zero value otherwise.
func (*NfsPermissions) GetAllSquashOk ¶
func (o *NfsPermissions) GetAllSquashOk() ([]string, bool)
GetAllSquashOk returns a tuple with the AllSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissions) GetNoSquash ¶
func (o *NfsPermissions) GetNoSquash() []string
GetNoSquash returns the NoSquash field value if set, zero value otherwise.
func (*NfsPermissions) GetNoSquashOk ¶
func (o *NfsPermissions) GetNoSquashOk() ([]string, bool)
GetNoSquashOk returns a tuple with the NoSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissions) GetReadOnly ¶
func (o *NfsPermissions) GetReadOnly() []string
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*NfsPermissions) GetReadOnlyOk ¶
func (o *NfsPermissions) GetReadOnlyOk() ([]string, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissions) GetReadWrite ¶
func (o *NfsPermissions) GetReadWrite() []string
GetReadWrite returns the ReadWrite field value if set, zero value otherwise.
func (*NfsPermissions) GetReadWriteOk ¶
func (o *NfsPermissions) GetReadWriteOk() ([]string, bool)
GetReadWriteOk returns a tuple with the ReadWrite field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissions) GetRootSquash ¶
func (o *NfsPermissions) GetRootSquash() []string
GetRootSquash returns the RootSquash field value if set, zero value otherwise.
func (*NfsPermissions) GetRootSquashOk ¶
func (o *NfsPermissions) GetRootSquashOk() ([]string, bool)
GetRootSquashOk returns a tuple with the RootSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissions) HasAllSquash ¶
func (o *NfsPermissions) HasAllSquash() bool
HasAllSquash returns a boolean if a field has been set.
func (*NfsPermissions) HasNoSquash ¶
func (o *NfsPermissions) HasNoSquash() bool
HasNoSquash returns a boolean if a field has been set.
func (*NfsPermissions) HasReadOnly ¶
func (o *NfsPermissions) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*NfsPermissions) HasReadWrite ¶
func (o *NfsPermissions) HasReadWrite() bool
HasReadWrite returns a boolean if a field has been set.
func (*NfsPermissions) HasRootSquash ¶
func (o *NfsPermissions) HasRootSquash() bool
HasRootSquash returns a boolean if a field has been set.
func (NfsPermissions) MarshalJSON ¶
func (o NfsPermissions) MarshalJSON() ([]byte, error)
func (*NfsPermissions) SetAllSquash ¶
func (o *NfsPermissions) SetAllSquash(v []string)
SetAllSquash gets a reference to the given []string and assigns it to the AllSquash field.
func (*NfsPermissions) SetNoSquash ¶
func (o *NfsPermissions) SetNoSquash(v []string)
SetNoSquash gets a reference to the given []string and assigns it to the NoSquash field.
func (*NfsPermissions) SetReadOnly ¶
func (o *NfsPermissions) SetReadOnly(v []string)
SetReadOnly gets a reference to the given []string and assigns it to the ReadOnly field.
func (*NfsPermissions) SetReadWrite ¶
func (o *NfsPermissions) SetReadWrite(v []string)
SetReadWrite gets a reference to the given []string and assigns it to the ReadWrite field.
func (*NfsPermissions) SetRootSquash ¶
func (o *NfsPermissions) SetRootSquash(v []string)
SetRootSquash gets a reference to the given []string and assigns it to the RootSquash field.
func (NfsPermissions) ToMap ¶
func (o NfsPermissions) ToMap() (map[string]interface{}, error)
func (*NfsPermissions) UnmarshalJSON ¶
func (o *NfsPermissions) UnmarshalJSON(data []byte) (err error)
type NfsPermissionsCreate ¶
type NfsPermissionsCreate struct { // Read/Write access. ReadWrite []string `json:"readWrite,omitempty"` // Read only access. ReadOnly []string `json:"readOnly,omitempty"` // Root squash permission. RootSquash []string `json:"rootSquash,omitempty"` // No squash permission. NoSquash []string `json:"noSquash,omitempty"` // All squash permission. AllSquash []string `json:"allSquash,omitempty"` AdditionalProperties map[string]interface{} }
NfsPermissionsCreate NFS specific permissions on a volume.
func NewNfsPermissionsCreate ¶
func NewNfsPermissionsCreate() *NfsPermissionsCreate
NewNfsPermissionsCreate instantiates a new NfsPermissionsCreate 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 NewNfsPermissionsCreateWithDefaults ¶
func NewNfsPermissionsCreateWithDefaults() *NfsPermissionsCreate
NewNfsPermissionsCreateWithDefaults instantiates a new NfsPermissionsCreate 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 (*NfsPermissionsCreate) GetAllSquash ¶
func (o *NfsPermissionsCreate) GetAllSquash() []string
GetAllSquash returns the AllSquash field value if set, zero value otherwise.
func (*NfsPermissionsCreate) GetAllSquashOk ¶
func (o *NfsPermissionsCreate) GetAllSquashOk() ([]string, bool)
GetAllSquashOk returns a tuple with the AllSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsCreate) GetNoSquash ¶
func (o *NfsPermissionsCreate) GetNoSquash() []string
GetNoSquash returns the NoSquash field value if set, zero value otherwise.
func (*NfsPermissionsCreate) GetNoSquashOk ¶
func (o *NfsPermissionsCreate) GetNoSquashOk() ([]string, bool)
GetNoSquashOk returns a tuple with the NoSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsCreate) GetReadOnly ¶
func (o *NfsPermissionsCreate) GetReadOnly() []string
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*NfsPermissionsCreate) GetReadOnlyOk ¶
func (o *NfsPermissionsCreate) GetReadOnlyOk() ([]string, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsCreate) GetReadWrite ¶
func (o *NfsPermissionsCreate) GetReadWrite() []string
GetReadWrite returns the ReadWrite field value if set, zero value otherwise.
func (*NfsPermissionsCreate) GetReadWriteOk ¶
func (o *NfsPermissionsCreate) GetReadWriteOk() ([]string, bool)
GetReadWriteOk returns a tuple with the ReadWrite field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsCreate) GetRootSquash ¶
func (o *NfsPermissionsCreate) GetRootSquash() []string
GetRootSquash returns the RootSquash field value if set, zero value otherwise.
func (*NfsPermissionsCreate) GetRootSquashOk ¶
func (o *NfsPermissionsCreate) GetRootSquashOk() ([]string, bool)
GetRootSquashOk returns a tuple with the RootSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsCreate) HasAllSquash ¶
func (o *NfsPermissionsCreate) HasAllSquash() bool
HasAllSquash returns a boolean if a field has been set.
func (*NfsPermissionsCreate) HasNoSquash ¶
func (o *NfsPermissionsCreate) HasNoSquash() bool
HasNoSquash returns a boolean if a field has been set.
func (*NfsPermissionsCreate) HasReadOnly ¶
func (o *NfsPermissionsCreate) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*NfsPermissionsCreate) HasReadWrite ¶
func (o *NfsPermissionsCreate) HasReadWrite() bool
HasReadWrite returns a boolean if a field has been set.
func (*NfsPermissionsCreate) HasRootSquash ¶
func (o *NfsPermissionsCreate) HasRootSquash() bool
HasRootSquash returns a boolean if a field has been set.
func (NfsPermissionsCreate) MarshalJSON ¶
func (o NfsPermissionsCreate) MarshalJSON() ([]byte, error)
func (*NfsPermissionsCreate) SetAllSquash ¶
func (o *NfsPermissionsCreate) SetAllSquash(v []string)
SetAllSquash gets a reference to the given []string and assigns it to the AllSquash field.
func (*NfsPermissionsCreate) SetNoSquash ¶
func (o *NfsPermissionsCreate) SetNoSquash(v []string)
SetNoSquash gets a reference to the given []string and assigns it to the NoSquash field.
func (*NfsPermissionsCreate) SetReadOnly ¶
func (o *NfsPermissionsCreate) SetReadOnly(v []string)
SetReadOnly gets a reference to the given []string and assigns it to the ReadOnly field.
func (*NfsPermissionsCreate) SetReadWrite ¶
func (o *NfsPermissionsCreate) SetReadWrite(v []string)
SetReadWrite gets a reference to the given []string and assigns it to the ReadWrite field.
func (*NfsPermissionsCreate) SetRootSquash ¶
func (o *NfsPermissionsCreate) SetRootSquash(v []string)
SetRootSquash gets a reference to the given []string and assigns it to the RootSquash field.
func (NfsPermissionsCreate) ToMap ¶
func (o NfsPermissionsCreate) ToMap() (map[string]interface{}, error)
func (*NfsPermissionsCreate) UnmarshalJSON ¶
func (o *NfsPermissionsCreate) UnmarshalJSON(data []byte) (err error)
type NfsPermissionsUpdate ¶
type NfsPermissionsUpdate struct { // Read/Write access. ReadWrite []string `json:"readWrite,omitempty"` // Read only access. ReadOnly []string `json:"readOnly,omitempty"` // Root squash permission. RootSquash []string `json:"rootSquash,omitempty"` // No squash permission. NoSquash []string `json:"noSquash,omitempty"` // All squash permission. AllSquash []string `json:"allSquash,omitempty"` AdditionalProperties map[string]interface{} }
NfsPermissionsUpdate Update NFS specific permissions on a volume.
func NewNfsPermissionsUpdate ¶
func NewNfsPermissionsUpdate() *NfsPermissionsUpdate
NewNfsPermissionsUpdate instantiates a new NfsPermissionsUpdate 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 NewNfsPermissionsUpdateWithDefaults ¶
func NewNfsPermissionsUpdateWithDefaults() *NfsPermissionsUpdate
NewNfsPermissionsUpdateWithDefaults instantiates a new NfsPermissionsUpdate 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 (*NfsPermissionsUpdate) GetAllSquash ¶
func (o *NfsPermissionsUpdate) GetAllSquash() []string
GetAllSquash returns the AllSquash field value if set, zero value otherwise.
func (*NfsPermissionsUpdate) GetAllSquashOk ¶
func (o *NfsPermissionsUpdate) GetAllSquashOk() ([]string, bool)
GetAllSquashOk returns a tuple with the AllSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsUpdate) GetNoSquash ¶
func (o *NfsPermissionsUpdate) GetNoSquash() []string
GetNoSquash returns the NoSquash field value if set, zero value otherwise.
func (*NfsPermissionsUpdate) GetNoSquashOk ¶
func (o *NfsPermissionsUpdate) GetNoSquashOk() ([]string, bool)
GetNoSquashOk returns a tuple with the NoSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsUpdate) GetReadOnly ¶
func (o *NfsPermissionsUpdate) GetReadOnly() []string
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*NfsPermissionsUpdate) GetReadOnlyOk ¶
func (o *NfsPermissionsUpdate) GetReadOnlyOk() ([]string, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsUpdate) GetReadWrite ¶
func (o *NfsPermissionsUpdate) GetReadWrite() []string
GetReadWrite returns the ReadWrite field value if set, zero value otherwise.
func (*NfsPermissionsUpdate) GetReadWriteOk ¶
func (o *NfsPermissionsUpdate) GetReadWriteOk() ([]string, bool)
GetReadWriteOk returns a tuple with the ReadWrite field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsUpdate) GetRootSquash ¶
func (o *NfsPermissionsUpdate) GetRootSquash() []string
GetRootSquash returns the RootSquash field value if set, zero value otherwise.
func (*NfsPermissionsUpdate) GetRootSquashOk ¶
func (o *NfsPermissionsUpdate) GetRootSquashOk() ([]string, bool)
GetRootSquashOk returns a tuple with the RootSquash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NfsPermissionsUpdate) HasAllSquash ¶
func (o *NfsPermissionsUpdate) HasAllSquash() bool
HasAllSquash returns a boolean if a field has been set.
func (*NfsPermissionsUpdate) HasNoSquash ¶
func (o *NfsPermissionsUpdate) HasNoSquash() bool
HasNoSquash returns a boolean if a field has been set.
func (*NfsPermissionsUpdate) HasReadOnly ¶
func (o *NfsPermissionsUpdate) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*NfsPermissionsUpdate) HasReadWrite ¶
func (o *NfsPermissionsUpdate) HasReadWrite() bool
HasReadWrite returns a boolean if a field has been set.
func (*NfsPermissionsUpdate) HasRootSquash ¶
func (o *NfsPermissionsUpdate) HasRootSquash() bool
HasRootSquash returns a boolean if a field has been set.
func (NfsPermissionsUpdate) MarshalJSON ¶
func (o NfsPermissionsUpdate) MarshalJSON() ([]byte, error)
func (*NfsPermissionsUpdate) SetAllSquash ¶
func (o *NfsPermissionsUpdate) SetAllSquash(v []string)
SetAllSquash gets a reference to the given []string and assigns it to the AllSquash field.
func (*NfsPermissionsUpdate) SetNoSquash ¶
func (o *NfsPermissionsUpdate) SetNoSquash(v []string)
SetNoSquash gets a reference to the given []string and assigns it to the NoSquash field.
func (*NfsPermissionsUpdate) SetReadOnly ¶
func (o *NfsPermissionsUpdate) SetReadOnly(v []string)
SetReadOnly gets a reference to the given []string and assigns it to the ReadOnly field.
func (*NfsPermissionsUpdate) SetReadWrite ¶
func (o *NfsPermissionsUpdate) SetReadWrite(v []string)
SetReadWrite gets a reference to the given []string and assigns it to the ReadWrite field.
func (*NfsPermissionsUpdate) SetRootSquash ¶
func (o *NfsPermissionsUpdate) SetRootSquash(v []string)
SetRootSquash gets a reference to the given []string and assigns it to the RootSquash field.
func (NfsPermissionsUpdate) ToMap ¶
func (o NfsPermissionsUpdate) ToMap() (map[string]interface{}, error)
func (*NfsPermissionsUpdate) UnmarshalJSON ¶
func (o *NfsPermissionsUpdate) UnmarshalJSON(data []byte) (err error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type 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 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 NullableNfsPermissions ¶
type NullableNfsPermissions struct {
// contains filtered or unexported fields
}
func NewNullableNfsPermissions ¶
func NewNullableNfsPermissions(val *NfsPermissions) *NullableNfsPermissions
func (NullableNfsPermissions) Get ¶
func (v NullableNfsPermissions) Get() *NfsPermissions
func (NullableNfsPermissions) IsSet ¶
func (v NullableNfsPermissions) IsSet() bool
func (NullableNfsPermissions) MarshalJSON ¶
func (v NullableNfsPermissions) MarshalJSON() ([]byte, error)
func (*NullableNfsPermissions) Set ¶
func (v *NullableNfsPermissions) Set(val *NfsPermissions)
func (*NullableNfsPermissions) UnmarshalJSON ¶
func (v *NullableNfsPermissions) UnmarshalJSON(src []byte) error
func (*NullableNfsPermissions) Unset ¶
func (v *NullableNfsPermissions) Unset()
type NullableNfsPermissionsCreate ¶
type NullableNfsPermissionsCreate struct {
// contains filtered or unexported fields
}
func NewNullableNfsPermissionsCreate ¶
func NewNullableNfsPermissionsCreate(val *NfsPermissionsCreate) *NullableNfsPermissionsCreate
func (NullableNfsPermissionsCreate) Get ¶
func (v NullableNfsPermissionsCreate) Get() *NfsPermissionsCreate
func (NullableNfsPermissionsCreate) IsSet ¶
func (v NullableNfsPermissionsCreate) IsSet() bool
func (NullableNfsPermissionsCreate) MarshalJSON ¶
func (v NullableNfsPermissionsCreate) MarshalJSON() ([]byte, error)
func (*NullableNfsPermissionsCreate) Set ¶
func (v *NullableNfsPermissionsCreate) Set(val *NfsPermissionsCreate)
func (*NullableNfsPermissionsCreate) UnmarshalJSON ¶
func (v *NullableNfsPermissionsCreate) UnmarshalJSON(src []byte) error
func (*NullableNfsPermissionsCreate) Unset ¶
func (v *NullableNfsPermissionsCreate) Unset()
type NullableNfsPermissionsUpdate ¶
type NullableNfsPermissionsUpdate struct {
// contains filtered or unexported fields
}
func NewNullableNfsPermissionsUpdate ¶
func NewNullableNfsPermissionsUpdate(val *NfsPermissionsUpdate) *NullableNfsPermissionsUpdate
func (NullableNfsPermissionsUpdate) Get ¶
func (v NullableNfsPermissionsUpdate) Get() *NfsPermissionsUpdate
func (NullableNfsPermissionsUpdate) IsSet ¶
func (v NullableNfsPermissionsUpdate) IsSet() bool
func (NullableNfsPermissionsUpdate) MarshalJSON ¶
func (v NullableNfsPermissionsUpdate) MarshalJSON() ([]byte, error)
func (*NullableNfsPermissionsUpdate) Set ¶
func (v *NullableNfsPermissionsUpdate) Set(val *NfsPermissionsUpdate)
func (*NullableNfsPermissionsUpdate) UnmarshalJSON ¶
func (v *NullableNfsPermissionsUpdate) UnmarshalJSON(src []byte) error
func (*NullableNfsPermissionsUpdate) Unset ¶
func (v *NullableNfsPermissionsUpdate) Unset()
type NullablePermissions ¶
type NullablePermissions struct {
// contains filtered or unexported fields
}
func NewNullablePermissions ¶
func NewNullablePermissions(val *Permissions) *NullablePermissions
func (NullablePermissions) Get ¶
func (v NullablePermissions) Get() *Permissions
func (NullablePermissions) IsSet ¶
func (v NullablePermissions) IsSet() bool
func (NullablePermissions) MarshalJSON ¶
func (v NullablePermissions) MarshalJSON() ([]byte, error)
func (*NullablePermissions) Set ¶
func (v *NullablePermissions) Set(val *Permissions)
func (*NullablePermissions) UnmarshalJSON ¶
func (v *NullablePermissions) UnmarshalJSON(src []byte) error
func (*NullablePermissions) Unset ¶
func (v *NullablePermissions) Unset()
type NullablePermissionsCreate ¶
type NullablePermissionsCreate struct {
// contains filtered or unexported fields
}
func NewNullablePermissionsCreate ¶
func NewNullablePermissionsCreate(val *PermissionsCreate) *NullablePermissionsCreate
func (NullablePermissionsCreate) Get ¶
func (v NullablePermissionsCreate) Get() *PermissionsCreate
func (NullablePermissionsCreate) IsSet ¶
func (v NullablePermissionsCreate) IsSet() bool
func (NullablePermissionsCreate) MarshalJSON ¶
func (v NullablePermissionsCreate) MarshalJSON() ([]byte, error)
func (*NullablePermissionsCreate) Set ¶
func (v *NullablePermissionsCreate) Set(val *PermissionsCreate)
func (*NullablePermissionsCreate) UnmarshalJSON ¶
func (v *NullablePermissionsCreate) UnmarshalJSON(src []byte) error
func (*NullablePermissionsCreate) Unset ¶
func (v *NullablePermissionsCreate) Unset()
type NullablePermissionsUpdate ¶
type NullablePermissionsUpdate struct {
// contains filtered or unexported fields
}
func NewNullablePermissionsUpdate ¶
func NewNullablePermissionsUpdate(val *PermissionsUpdate) *NullablePermissionsUpdate
func (NullablePermissionsUpdate) Get ¶
func (v NullablePermissionsUpdate) Get() *PermissionsUpdate
func (NullablePermissionsUpdate) IsSet ¶
func (v NullablePermissionsUpdate) IsSet() bool
func (NullablePermissionsUpdate) MarshalJSON ¶
func (v NullablePermissionsUpdate) MarshalJSON() ([]byte, error)
func (*NullablePermissionsUpdate) Set ¶
func (v *NullablePermissionsUpdate) Set(val *PermissionsUpdate)
func (*NullablePermissionsUpdate) UnmarshalJSON ¶
func (v *NullablePermissionsUpdate) UnmarshalJSON(src []byte) error
func (*NullablePermissionsUpdate) Unset ¶
func (v *NullablePermissionsUpdate) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableStorageNetwork ¶
type NullableStorageNetwork struct {
// contains filtered or unexported fields
}
func NewNullableStorageNetwork ¶
func NewNullableStorageNetwork(val *StorageNetwork) *NullableStorageNetwork
func (NullableStorageNetwork) Get ¶
func (v NullableStorageNetwork) Get() *StorageNetwork
func (NullableStorageNetwork) IsSet ¶
func (v NullableStorageNetwork) IsSet() bool
func (NullableStorageNetwork) MarshalJSON ¶
func (v NullableStorageNetwork) MarshalJSON() ([]byte, error)
func (*NullableStorageNetwork) Set ¶
func (v *NullableStorageNetwork) Set(val *StorageNetwork)
func (*NullableStorageNetwork) UnmarshalJSON ¶
func (v *NullableStorageNetwork) UnmarshalJSON(src []byte) error
func (*NullableStorageNetwork) Unset ¶
func (v *NullableStorageNetwork) Unset()
type NullableStorageNetworkCreate ¶
type NullableStorageNetworkCreate struct {
// contains filtered or unexported fields
}
func NewNullableStorageNetworkCreate ¶
func NewNullableStorageNetworkCreate(val *StorageNetworkCreate) *NullableStorageNetworkCreate
func (NullableStorageNetworkCreate) Get ¶
func (v NullableStorageNetworkCreate) Get() *StorageNetworkCreate
func (NullableStorageNetworkCreate) IsSet ¶
func (v NullableStorageNetworkCreate) IsSet() bool
func (NullableStorageNetworkCreate) MarshalJSON ¶
func (v NullableStorageNetworkCreate) MarshalJSON() ([]byte, error)
func (*NullableStorageNetworkCreate) Set ¶
func (v *NullableStorageNetworkCreate) Set(val *StorageNetworkCreate)
func (*NullableStorageNetworkCreate) UnmarshalJSON ¶
func (v *NullableStorageNetworkCreate) UnmarshalJSON(src []byte) error
func (*NullableStorageNetworkCreate) Unset ¶
func (v *NullableStorageNetworkCreate) Unset()
type NullableStorageNetworkUpdate ¶
type NullableStorageNetworkUpdate struct {
// contains filtered or unexported fields
}
func NewNullableStorageNetworkUpdate ¶
func NewNullableStorageNetworkUpdate(val *StorageNetworkUpdate) *NullableStorageNetworkUpdate
func (NullableStorageNetworkUpdate) Get ¶
func (v NullableStorageNetworkUpdate) Get() *StorageNetworkUpdate
func (NullableStorageNetworkUpdate) IsSet ¶
func (v NullableStorageNetworkUpdate) IsSet() bool
func (NullableStorageNetworkUpdate) MarshalJSON ¶
func (v NullableStorageNetworkUpdate) MarshalJSON() ([]byte, error)
func (*NullableStorageNetworkUpdate) Set ¶
func (v *NullableStorageNetworkUpdate) Set(val *StorageNetworkUpdate)
func (*NullableStorageNetworkUpdate) UnmarshalJSON ¶
func (v *NullableStorageNetworkUpdate) UnmarshalJSON(src []byte) error
func (*NullableStorageNetworkUpdate) Unset ¶
func (v *NullableStorageNetworkUpdate) Unset()
type NullableStorageNetworkVolumeCreate ¶
type NullableStorageNetworkVolumeCreate struct {
// contains filtered or unexported fields
}
func NewNullableStorageNetworkVolumeCreate ¶
func NewNullableStorageNetworkVolumeCreate(val *StorageNetworkVolumeCreate) *NullableStorageNetworkVolumeCreate
func (NullableStorageNetworkVolumeCreate) Get ¶
func (v NullableStorageNetworkVolumeCreate) Get() *StorageNetworkVolumeCreate
func (NullableStorageNetworkVolumeCreate) IsSet ¶
func (v NullableStorageNetworkVolumeCreate) IsSet() bool
func (NullableStorageNetworkVolumeCreate) MarshalJSON ¶
func (v NullableStorageNetworkVolumeCreate) MarshalJSON() ([]byte, error)
func (*NullableStorageNetworkVolumeCreate) Set ¶
func (v *NullableStorageNetworkVolumeCreate) Set(val *StorageNetworkVolumeCreate)
func (*NullableStorageNetworkVolumeCreate) UnmarshalJSON ¶
func (v *NullableStorageNetworkVolumeCreate) UnmarshalJSON(src []byte) error
func (*NullableStorageNetworkVolumeCreate) Unset ¶
func (v *NullableStorageNetworkVolumeCreate) 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 NullableTagAssignment ¶
type NullableTagAssignment struct {
// contains filtered or unexported fields
}
func NewNullableTagAssignment ¶
func NewNullableTagAssignment(val *TagAssignment) *NullableTagAssignment
func (NullableTagAssignment) Get ¶
func (v NullableTagAssignment) Get() *TagAssignment
func (NullableTagAssignment) IsSet ¶
func (v NullableTagAssignment) IsSet() bool
func (NullableTagAssignment) MarshalJSON ¶
func (v NullableTagAssignment) MarshalJSON() ([]byte, error)
func (*NullableTagAssignment) Set ¶
func (v *NullableTagAssignment) Set(val *TagAssignment)
func (*NullableTagAssignment) UnmarshalJSON ¶
func (v *NullableTagAssignment) UnmarshalJSON(src []byte) error
func (*NullableTagAssignment) Unset ¶
func (v *NullableTagAssignment) Unset()
type NullableTagAssignmentRequest ¶
type NullableTagAssignmentRequest struct {
// contains filtered or unexported fields
}
func NewNullableTagAssignmentRequest ¶
func NewNullableTagAssignmentRequest(val *TagAssignmentRequest) *NullableTagAssignmentRequest
func (NullableTagAssignmentRequest) Get ¶
func (v NullableTagAssignmentRequest) Get() *TagAssignmentRequest
func (NullableTagAssignmentRequest) IsSet ¶
func (v NullableTagAssignmentRequest) IsSet() bool
func (NullableTagAssignmentRequest) MarshalJSON ¶
func (v NullableTagAssignmentRequest) MarshalJSON() ([]byte, error)
func (*NullableTagAssignmentRequest) Set ¶
func (v *NullableTagAssignmentRequest) Set(val *TagAssignmentRequest)
func (*NullableTagAssignmentRequest) UnmarshalJSON ¶
func (v *NullableTagAssignmentRequest) UnmarshalJSON(src []byte) error
func (*NullableTagAssignmentRequest) Unset ¶
func (v *NullableTagAssignmentRequest) 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 NullableVolume ¶
type NullableVolume struct {
// contains filtered or unexported fields
}
func NewNullableVolume ¶
func NewNullableVolume(val *Volume) *NullableVolume
func (NullableVolume) Get ¶
func (v NullableVolume) Get() *Volume
func (NullableVolume) IsSet ¶
func (v NullableVolume) IsSet() bool
func (NullableVolume) MarshalJSON ¶
func (v NullableVolume) MarshalJSON() ([]byte, error)
func (*NullableVolume) Set ¶
func (v *NullableVolume) Set(val *Volume)
func (*NullableVolume) UnmarshalJSON ¶
func (v *NullableVolume) UnmarshalJSON(src []byte) error
func (*NullableVolume) Unset ¶
func (v *NullableVolume) Unset()
type NullableVolumeCreate ¶
type NullableVolumeCreate struct {
// contains filtered or unexported fields
}
func NewNullableVolumeCreate ¶
func NewNullableVolumeCreate(val *VolumeCreate) *NullableVolumeCreate
func (NullableVolumeCreate) Get ¶
func (v NullableVolumeCreate) Get() *VolumeCreate
func (NullableVolumeCreate) IsSet ¶
func (v NullableVolumeCreate) IsSet() bool
func (NullableVolumeCreate) MarshalJSON ¶
func (v NullableVolumeCreate) MarshalJSON() ([]byte, error)
func (*NullableVolumeCreate) Set ¶
func (v *NullableVolumeCreate) Set(val *VolumeCreate)
func (*NullableVolumeCreate) UnmarshalJSON ¶
func (v *NullableVolumeCreate) UnmarshalJSON(src []byte) error
func (*NullableVolumeCreate) Unset ¶
func (v *NullableVolumeCreate) Unset()
type NullableVolumeUpdate ¶
type NullableVolumeUpdate struct {
// contains filtered or unexported fields
}
func NewNullableVolumeUpdate ¶
func NewNullableVolumeUpdate(val *VolumeUpdate) *NullableVolumeUpdate
func (NullableVolumeUpdate) Get ¶
func (v NullableVolumeUpdate) Get() *VolumeUpdate
func (NullableVolumeUpdate) IsSet ¶
func (v NullableVolumeUpdate) IsSet() bool
func (NullableVolumeUpdate) MarshalJSON ¶
func (v NullableVolumeUpdate) MarshalJSON() ([]byte, error)
func (*NullableVolumeUpdate) Set ¶
func (v *NullableVolumeUpdate) Set(val *VolumeUpdate)
func (*NullableVolumeUpdate) UnmarshalJSON ¶
func (v *NullableVolumeUpdate) UnmarshalJSON(src []byte) error
func (*NullableVolumeUpdate) Unset ¶
func (v *NullableVolumeUpdate) Unset()
type Permissions ¶
type Permissions struct { Nfs *NfsPermissions `json:"nfs,omitempty"` AdditionalProperties map[string]interface{} }
Permissions Permissions for a volume.
func NewPermissions ¶
func NewPermissions() *Permissions
NewPermissions instantiates a new Permissions 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 NewPermissionsWithDefaults ¶
func NewPermissionsWithDefaults() *Permissions
NewPermissionsWithDefaults instantiates a new Permissions 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 (*Permissions) GetNfs ¶
func (o *Permissions) GetNfs() NfsPermissions
GetNfs returns the Nfs field value if set, zero value otherwise.
func (*Permissions) GetNfsOk ¶
func (o *Permissions) GetNfsOk() (*NfsPermissions, bool)
GetNfsOk returns a tuple with the Nfs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permissions) HasNfs ¶
func (o *Permissions) HasNfs() bool
HasNfs returns a boolean if a field has been set.
func (Permissions) MarshalJSON ¶
func (o Permissions) MarshalJSON() ([]byte, error)
func (*Permissions) SetNfs ¶
func (o *Permissions) SetNfs(v NfsPermissions)
SetNfs gets a reference to the given NfsPermissions and assigns it to the Nfs field.
func (Permissions) ToMap ¶
func (o Permissions) ToMap() (map[string]interface{}, error)
func (*Permissions) UnmarshalJSON ¶
func (o *Permissions) UnmarshalJSON(data []byte) (err error)
type PermissionsCreate ¶
type PermissionsCreate struct { Nfs *NfsPermissionsCreate `json:"nfs,omitempty"` AdditionalProperties map[string]interface{} }
PermissionsCreate Update permissions for a volume.
func NewPermissionsCreate ¶
func NewPermissionsCreate() *PermissionsCreate
NewPermissionsCreate instantiates a new PermissionsCreate 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 NewPermissionsCreateWithDefaults ¶
func NewPermissionsCreateWithDefaults() *PermissionsCreate
NewPermissionsCreateWithDefaults instantiates a new PermissionsCreate 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 (*PermissionsCreate) GetNfs ¶
func (o *PermissionsCreate) GetNfs() NfsPermissionsCreate
GetNfs returns the Nfs field value if set, zero value otherwise.
func (*PermissionsCreate) GetNfsOk ¶
func (o *PermissionsCreate) GetNfsOk() (*NfsPermissionsCreate, bool)
GetNfsOk returns a tuple with the Nfs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionsCreate) HasNfs ¶
func (o *PermissionsCreate) HasNfs() bool
HasNfs returns a boolean if a field has been set.
func (PermissionsCreate) MarshalJSON ¶
func (o PermissionsCreate) MarshalJSON() ([]byte, error)
func (*PermissionsCreate) SetNfs ¶
func (o *PermissionsCreate) SetNfs(v NfsPermissionsCreate)
SetNfs gets a reference to the given NfsPermissionsCreate and assigns it to the Nfs field.
func (PermissionsCreate) ToMap ¶
func (o PermissionsCreate) ToMap() (map[string]interface{}, error)
func (*PermissionsCreate) UnmarshalJSON ¶
func (o *PermissionsCreate) UnmarshalJSON(data []byte) (err error)
type PermissionsUpdate ¶
type PermissionsUpdate struct { Nfs *NfsPermissionsUpdate `json:"nfs,omitempty"` AdditionalProperties map[string]interface{} }
PermissionsUpdate Update permissions for a volume.
func NewPermissionsUpdate ¶
func NewPermissionsUpdate() *PermissionsUpdate
NewPermissionsUpdate instantiates a new PermissionsUpdate 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 NewPermissionsUpdateWithDefaults ¶
func NewPermissionsUpdateWithDefaults() *PermissionsUpdate
NewPermissionsUpdateWithDefaults instantiates a new PermissionsUpdate 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 (*PermissionsUpdate) GetNfs ¶
func (o *PermissionsUpdate) GetNfs() NfsPermissionsUpdate
GetNfs returns the Nfs field value if set, zero value otherwise.
func (*PermissionsUpdate) GetNfsOk ¶
func (o *PermissionsUpdate) GetNfsOk() (*NfsPermissionsUpdate, bool)
GetNfsOk returns a tuple with the Nfs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionsUpdate) HasNfs ¶
func (o *PermissionsUpdate) HasNfs() bool
HasNfs returns a boolean if a field has been set.
func (PermissionsUpdate) MarshalJSON ¶
func (o PermissionsUpdate) MarshalJSON() ([]byte, error)
func (*PermissionsUpdate) SetNfs ¶
func (o *PermissionsUpdate) SetNfs(v NfsPermissionsUpdate)
SetNfs gets a reference to the given NfsPermissionsUpdate and assigns it to the Nfs field.
func (PermissionsUpdate) ToMap ¶
func (o PermissionsUpdate) ToMap() (map[string]interface{}, error)
func (*PermissionsUpdate) UnmarshalJSON ¶
func (o *PermissionsUpdate) UnmarshalJSON(data []byte) (err 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 Status ¶
type Status string
Status Status of the resource. Currently this field should be set to `READY`, `BUSY`, `DELETING` or `ERROR`.
const ( STATUS_READY Status = "READY" STATUS_BUSY Status = "BUSY" STATUS_DELETING Status = "DELETING" STATUS_ERROR Status = "ERROR" )
List of Status
func NewStatusFromValue ¶
NewStatusFromValue returns a pointer to a valid Status for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Status) UnmarshalJSON ¶
type StorageNetwork ¶
type StorageNetwork struct { // Storage network ID. Id *string `json:"id,omitempty"` // Storage network friendly name. Name *string `json:"name,omitempty"` // Storage network description. Description *string `json:"description,omitempty"` Status *Status `json:"status,omitempty"` // Location of storage network. Currently this field should be set to `PHX` or `ASH`. Location *string `json:"location,omitempty"` // Id of network the storage belongs to. NetworkId *string `json:"networkId,omitempty"` // IP of the storage network. Ips []string `json:"ips,omitempty"` // Date and time when this storage network was created. CreatedOn *time.Time `json:"createdOn,omitempty"` // Date and time of the initial request for storage network deletion. DeleteRequestedOn *time.Time `json:"deleteRequestedOn,omitempty"` // Volume for a storage network. Volumes []Volume `json:"volumes,omitempty"` AdditionalProperties map[string]interface{} }
StorageNetwork Storage network.
func NewStorageNetwork ¶
func NewStorageNetwork() *StorageNetwork
NewStorageNetwork instantiates a new StorageNetwork 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 NewStorageNetworkWithDefaults ¶
func NewStorageNetworkWithDefaults() *StorageNetwork
NewStorageNetworkWithDefaults instantiates a new StorageNetwork 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 (*StorageNetwork) GetCreatedOn ¶
func (o *StorageNetwork) GetCreatedOn() time.Time
GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.
func (*StorageNetwork) GetCreatedOnOk ¶
func (o *StorageNetwork) GetCreatedOnOk() (*time.Time, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetDeleteRequestedOn ¶
func (o *StorageNetwork) GetDeleteRequestedOn() time.Time
GetDeleteRequestedOn returns the DeleteRequestedOn field value if set, zero value otherwise.
func (*StorageNetwork) GetDeleteRequestedOnOk ¶
func (o *StorageNetwork) GetDeleteRequestedOnOk() (*time.Time, bool)
GetDeleteRequestedOnOk returns a tuple with the DeleteRequestedOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetDescription ¶
func (o *StorageNetwork) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StorageNetwork) GetDescriptionOk ¶
func (o *StorageNetwork) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetId ¶
func (o *StorageNetwork) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*StorageNetwork) GetIdOk ¶
func (o *StorageNetwork) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetIps ¶
func (o *StorageNetwork) GetIps() []string
GetIps returns the Ips field value if set, zero value otherwise.
func (*StorageNetwork) GetIpsOk ¶
func (o *StorageNetwork) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetLocation ¶
func (o *StorageNetwork) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*StorageNetwork) GetLocationOk ¶
func (o *StorageNetwork) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetName ¶
func (o *StorageNetwork) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*StorageNetwork) GetNameOk ¶
func (o *StorageNetwork) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetNetworkId ¶
func (o *StorageNetwork) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*StorageNetwork) GetNetworkIdOk ¶
func (o *StorageNetwork) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetStatus ¶
func (o *StorageNetwork) GetStatus() Status
GetStatus returns the Status field value if set, zero value otherwise.
func (*StorageNetwork) GetStatusOk ¶
func (o *StorageNetwork) GetStatusOk() (*Status, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) GetVolumes ¶
func (o *StorageNetwork) GetVolumes() []Volume
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*StorageNetwork) GetVolumesOk ¶
func (o *StorageNetwork) GetVolumesOk() ([]Volume, bool)
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetwork) HasCreatedOn ¶
func (o *StorageNetwork) HasCreatedOn() bool
HasCreatedOn returns a boolean if a field has been set.
func (*StorageNetwork) HasDeleteRequestedOn ¶
func (o *StorageNetwork) HasDeleteRequestedOn() bool
HasDeleteRequestedOn returns a boolean if a field has been set.
func (*StorageNetwork) HasDescription ¶
func (o *StorageNetwork) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StorageNetwork) HasId ¶
func (o *StorageNetwork) HasId() bool
HasId returns a boolean if a field has been set.
func (*StorageNetwork) HasIps ¶
func (o *StorageNetwork) HasIps() bool
HasIps returns a boolean if a field has been set.
func (*StorageNetwork) HasLocation ¶
func (o *StorageNetwork) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*StorageNetwork) HasName ¶
func (o *StorageNetwork) HasName() bool
HasName returns a boolean if a field has been set.
func (*StorageNetwork) HasNetworkId ¶
func (o *StorageNetwork) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (*StorageNetwork) HasStatus ¶
func (o *StorageNetwork) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*StorageNetwork) HasVolumes ¶
func (o *StorageNetwork) HasVolumes() bool
HasVolumes returns a boolean if a field has been set.
func (StorageNetwork) MarshalJSON ¶
func (o StorageNetwork) MarshalJSON() ([]byte, error)
func (*StorageNetwork) SetCreatedOn ¶
func (o *StorageNetwork) SetCreatedOn(v time.Time)
SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.
func (*StorageNetwork) SetDeleteRequestedOn ¶
func (o *StorageNetwork) SetDeleteRequestedOn(v time.Time)
SetDeleteRequestedOn gets a reference to the given time.Time and assigns it to the DeleteRequestedOn field.
func (*StorageNetwork) SetDescription ¶
func (o *StorageNetwork) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StorageNetwork) SetId ¶
func (o *StorageNetwork) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*StorageNetwork) SetIps ¶
func (o *StorageNetwork) SetIps(v []string)
SetIps gets a reference to the given []string and assigns it to the Ips field.
func (*StorageNetwork) SetLocation ¶
func (o *StorageNetwork) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*StorageNetwork) SetName ¶
func (o *StorageNetwork) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*StorageNetwork) SetNetworkId ¶
func (o *StorageNetwork) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*StorageNetwork) SetStatus ¶
func (o *StorageNetwork) SetStatus(v Status)
SetStatus gets a reference to the given Status and assigns it to the Status field.
func (*StorageNetwork) SetVolumes ¶
func (o *StorageNetwork) SetVolumes(v []Volume)
SetVolumes gets a reference to the given []Volume and assigns it to the Volumes field.
func (StorageNetwork) ToMap ¶
func (o StorageNetwork) ToMap() (map[string]interface{}, error)
func (*StorageNetwork) UnmarshalJSON ¶
func (o *StorageNetwork) UnmarshalJSON(data []byte) (err error)
type StorageNetworkCreate ¶
type StorageNetworkCreate struct { // Storage network friendly name. Name string `json:"name"` // Storage network description. Description *string `json:"description,omitempty"` // Location of storage network. Currently this field should be set to `PHX` or `ASH`. Location string `json:"location"` // Volume to be created alongside storage. Currently only 1 volume is supported. Volumes []StorageNetworkVolumeCreate `json:"volumes"` // Custom Client VLAN that the Storage Network will be set to. ClientVlan *int32 `json:"clientVlan,omitempty"` AdditionalProperties map[string]interface{} }
StorageNetworkCreate Create Storage Network.
func NewStorageNetworkCreate ¶
func NewStorageNetworkCreate(name string, location string, volumes []StorageNetworkVolumeCreate) *StorageNetworkCreate
NewStorageNetworkCreate instantiates a new StorageNetworkCreate 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 NewStorageNetworkCreateWithDefaults ¶
func NewStorageNetworkCreateWithDefaults() *StorageNetworkCreate
NewStorageNetworkCreateWithDefaults instantiates a new StorageNetworkCreate 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 (*StorageNetworkCreate) GetClientVlan ¶
func (o *StorageNetworkCreate) GetClientVlan() int32
GetClientVlan returns the ClientVlan field value if set, zero value otherwise.
func (*StorageNetworkCreate) GetClientVlanOk ¶
func (o *StorageNetworkCreate) GetClientVlanOk() (*int32, bool)
GetClientVlanOk returns a tuple with the ClientVlan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetworkCreate) GetDescription ¶
func (o *StorageNetworkCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StorageNetworkCreate) GetDescriptionOk ¶
func (o *StorageNetworkCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetworkCreate) GetLocation ¶
func (o *StorageNetworkCreate) GetLocation() string
GetLocation returns the Location field value
func (*StorageNetworkCreate) GetLocationOk ¶
func (o *StorageNetworkCreate) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*StorageNetworkCreate) GetName ¶
func (o *StorageNetworkCreate) GetName() string
GetName returns the Name field value
func (*StorageNetworkCreate) GetNameOk ¶
func (o *StorageNetworkCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StorageNetworkCreate) GetVolumes ¶
func (o *StorageNetworkCreate) GetVolumes() []StorageNetworkVolumeCreate
GetVolumes returns the Volumes field value
func (*StorageNetworkCreate) GetVolumesOk ¶
func (o *StorageNetworkCreate) GetVolumesOk() ([]StorageNetworkVolumeCreate, bool)
GetVolumesOk returns a tuple with the Volumes field value and a boolean to check if the value has been set.
func (*StorageNetworkCreate) HasClientVlan ¶
func (o *StorageNetworkCreate) HasClientVlan() bool
HasClientVlan returns a boolean if a field has been set.
func (*StorageNetworkCreate) HasDescription ¶
func (o *StorageNetworkCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (StorageNetworkCreate) MarshalJSON ¶
func (o StorageNetworkCreate) MarshalJSON() ([]byte, error)
func (*StorageNetworkCreate) SetClientVlan ¶
func (o *StorageNetworkCreate) SetClientVlan(v int32)
SetClientVlan gets a reference to the given int32 and assigns it to the ClientVlan field.
func (*StorageNetworkCreate) SetDescription ¶
func (o *StorageNetworkCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StorageNetworkCreate) SetLocation ¶
func (o *StorageNetworkCreate) SetLocation(v string)
SetLocation sets field value
func (*StorageNetworkCreate) SetName ¶
func (o *StorageNetworkCreate) SetName(v string)
SetName sets field value
func (*StorageNetworkCreate) SetVolumes ¶
func (o *StorageNetworkCreate) SetVolumes(v []StorageNetworkVolumeCreate)
SetVolumes sets field value
func (StorageNetworkCreate) ToMap ¶
func (o StorageNetworkCreate) ToMap() (map[string]interface{}, error)
func (*StorageNetworkCreate) UnmarshalJSON ¶
func (o *StorageNetworkCreate) UnmarshalJSON(data []byte) (err error)
type StorageNetworkUpdate ¶
type StorageNetworkUpdate struct { // Storage network friendly name. Name *string `json:"name,omitempty"` // Storage network description. Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} }
StorageNetworkUpdate Update storage network.
func NewStorageNetworkUpdate ¶
func NewStorageNetworkUpdate() *StorageNetworkUpdate
NewStorageNetworkUpdate instantiates a new StorageNetworkUpdate 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 NewStorageNetworkUpdateWithDefaults ¶
func NewStorageNetworkUpdateWithDefaults() *StorageNetworkUpdate
NewStorageNetworkUpdateWithDefaults instantiates a new StorageNetworkUpdate 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 (*StorageNetworkUpdate) GetDescription ¶
func (o *StorageNetworkUpdate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StorageNetworkUpdate) GetDescriptionOk ¶
func (o *StorageNetworkUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetworkUpdate) GetName ¶
func (o *StorageNetworkUpdate) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*StorageNetworkUpdate) GetNameOk ¶
func (o *StorageNetworkUpdate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetworkUpdate) HasDescription ¶
func (o *StorageNetworkUpdate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StorageNetworkUpdate) HasName ¶
func (o *StorageNetworkUpdate) HasName() bool
HasName returns a boolean if a field has been set.
func (StorageNetworkUpdate) MarshalJSON ¶
func (o StorageNetworkUpdate) MarshalJSON() ([]byte, error)
func (*StorageNetworkUpdate) SetDescription ¶
func (o *StorageNetworkUpdate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StorageNetworkUpdate) SetName ¶
func (o *StorageNetworkUpdate) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (StorageNetworkUpdate) ToMap ¶
func (o StorageNetworkUpdate) ToMap() (map[string]interface{}, error)
func (*StorageNetworkUpdate) UnmarshalJSON ¶
func (o *StorageNetworkUpdate) UnmarshalJSON(data []byte) (err error)
type StorageNetworkVolumeCreate ¶
type StorageNetworkVolumeCreate struct { // Volume friendly name. Name string `json:"name"` // Volume description. Description *string `json:"description,omitempty"` // Last part of volume's path. PathSuffix *string `json:"pathSuffix,omitempty"` // Capacity of Volume in GB. Currently only whole numbers and multiples of 1000GB are supported. CapacityInGb int32 `json:"capacityInGb"` // Tags to set to the resource. To create a new tag or list all the existing tags that you can use, refer to [Tags API](https://developers.phoenixnap.com/docs/tags/1/overview). Tags []TagAssignmentRequest `json:"tags,omitempty"` AdditionalProperties map[string]interface{} }
StorageNetworkVolumeCreate Create Volume.
func NewStorageNetworkVolumeCreate ¶
func NewStorageNetworkVolumeCreate(name string, capacityInGb int32) *StorageNetworkVolumeCreate
NewStorageNetworkVolumeCreate instantiates a new StorageNetworkVolumeCreate 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 NewStorageNetworkVolumeCreateWithDefaults ¶
func NewStorageNetworkVolumeCreateWithDefaults() *StorageNetworkVolumeCreate
NewStorageNetworkVolumeCreateWithDefaults instantiates a new StorageNetworkVolumeCreate 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 (*StorageNetworkVolumeCreate) GetCapacityInGb ¶
func (o *StorageNetworkVolumeCreate) GetCapacityInGb() int32
GetCapacityInGb returns the CapacityInGb field value
func (*StorageNetworkVolumeCreate) GetCapacityInGbOk ¶
func (o *StorageNetworkVolumeCreate) GetCapacityInGbOk() (*int32, bool)
GetCapacityInGbOk returns a tuple with the CapacityInGb field value and a boolean to check if the value has been set.
func (*StorageNetworkVolumeCreate) GetDescription ¶
func (o *StorageNetworkVolumeCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StorageNetworkVolumeCreate) GetDescriptionOk ¶
func (o *StorageNetworkVolumeCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetworkVolumeCreate) GetName ¶
func (o *StorageNetworkVolumeCreate) GetName() string
GetName returns the Name field value
func (*StorageNetworkVolumeCreate) GetNameOk ¶
func (o *StorageNetworkVolumeCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StorageNetworkVolumeCreate) GetPathSuffix ¶
func (o *StorageNetworkVolumeCreate) GetPathSuffix() string
GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.
func (*StorageNetworkVolumeCreate) GetPathSuffixOk ¶
func (o *StorageNetworkVolumeCreate) GetPathSuffixOk() (*string, bool)
GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetworkVolumeCreate) GetTags ¶
func (o *StorageNetworkVolumeCreate) GetTags() []TagAssignmentRequest
GetTags returns the Tags field value if set, zero value otherwise.
func (*StorageNetworkVolumeCreate) GetTagsOk ¶
func (o *StorageNetworkVolumeCreate) GetTagsOk() ([]TagAssignmentRequest, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageNetworkVolumeCreate) HasDescription ¶
func (o *StorageNetworkVolumeCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StorageNetworkVolumeCreate) HasPathSuffix ¶
func (o *StorageNetworkVolumeCreate) HasPathSuffix() bool
HasPathSuffix returns a boolean if a field has been set.
func (*StorageNetworkVolumeCreate) HasTags ¶
func (o *StorageNetworkVolumeCreate) HasTags() bool
HasTags returns a boolean if a field has been set.
func (StorageNetworkVolumeCreate) MarshalJSON ¶
func (o StorageNetworkVolumeCreate) MarshalJSON() ([]byte, error)
func (*StorageNetworkVolumeCreate) SetCapacityInGb ¶
func (o *StorageNetworkVolumeCreate) SetCapacityInGb(v int32)
SetCapacityInGb sets field value
func (*StorageNetworkVolumeCreate) SetDescription ¶
func (o *StorageNetworkVolumeCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StorageNetworkVolumeCreate) SetName ¶
func (o *StorageNetworkVolumeCreate) SetName(v string)
SetName sets field value
func (*StorageNetworkVolumeCreate) SetPathSuffix ¶
func (o *StorageNetworkVolumeCreate) SetPathSuffix(v string)
SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.
func (*StorageNetworkVolumeCreate) SetTags ¶
func (o *StorageNetworkVolumeCreate) SetTags(v []TagAssignmentRequest)
SetTags gets a reference to the given []TagAssignmentRequest and assigns it to the Tags field.
func (StorageNetworkVolumeCreate) ToMap ¶
func (o StorageNetworkVolumeCreate) ToMap() (map[string]interface{}, error)
func (*StorageNetworkVolumeCreate) UnmarshalJSON ¶
func (o *StorageNetworkVolumeCreate) UnmarshalJSON(data []byte) (err error)
type StorageNetworksAPI ¶
type StorageNetworksAPI interface { /* StorageNetworksGet List all storage networks. List all storage networks. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStorageNetworksGetRequest */ StorageNetworksGet(ctx context.Context) ApiStorageNetworksGetRequest // StorageNetworksGetExecute executes the request // @return []StorageNetwork StorageNetworksGetExecute(r ApiStorageNetworksGetRequest) ([]StorageNetwork, *http.Response, error) /* StorageNetworksIdDelete Delete a storage network and its volume. Delete a storage network and its volume. A storage network can only be removed if it's not in 'BUSY' state. Billing stops on storage network deletion. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksIdDeleteRequest */ StorageNetworksIdDelete(ctx context.Context, storageId string) ApiStorageNetworksIdDeleteRequest // StorageNetworksIdDeleteExecute executes the request StorageNetworksIdDeleteExecute(r ApiStorageNetworksIdDeleteRequest) (*http.Response, error) /* StorageNetworksIdGet Get storage network details. Get storage network details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksIdGetRequest */ StorageNetworksIdGet(ctx context.Context, storageId string) ApiStorageNetworksIdGetRequest // StorageNetworksIdGetExecute executes the request // @return StorageNetwork StorageNetworksIdGetExecute(r ApiStorageNetworksIdGetRequest) (*StorageNetwork, *http.Response, error) /* StorageNetworksIdPatch Update storage network details. Update storage network details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksIdPatchRequest */ StorageNetworksIdPatch(ctx context.Context, storageId string) ApiStorageNetworksIdPatchRequest // StorageNetworksIdPatchExecute executes the request // @return StorageNetwork StorageNetworksIdPatchExecute(r ApiStorageNetworksIdPatchRequest) (*StorageNetwork, *http.Response, error) /* StorageNetworksPost Create a storage network and volume. Create a storage network and volume. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStorageNetworksPostRequest */ StorageNetworksPost(ctx context.Context) ApiStorageNetworksPostRequest // StorageNetworksPostExecute executes the request // @return StorageNetwork StorageNetworksPostExecute(r ApiStorageNetworksPostRequest) (*StorageNetwork, *http.Response, error) /* StorageNetworksStorageNetworkIdVolumesGet Display one or more volumes belonging to a storage network. Display one or more volumes belonging to a storage network. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksStorageNetworkIdVolumesGetRequest */ StorageNetworksStorageNetworkIdVolumesGet(ctx context.Context, storageId string) ApiStorageNetworksStorageNetworkIdVolumesGetRequest // StorageNetworksStorageNetworkIdVolumesGetExecute executes the request // @return []Volume StorageNetworksStorageNetworkIdVolumesGetExecute(r ApiStorageNetworksStorageNetworkIdVolumesGetRequest) ([]Volume, *http.Response, error) /* StorageNetworksStorageNetworkIdVolumesPost Create a volume belonging to a storage network. Create a volume belonging to a storage network. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksStorageNetworkIdVolumesPostRequest */ StorageNetworksStorageNetworkIdVolumesPost(ctx context.Context, storageId string) ApiStorageNetworksStorageNetworkIdVolumesPostRequest // StorageNetworksStorageNetworkIdVolumesPostExecute executes the request // @return Volume StorageNetworksStorageNetworkIdVolumesPostExecute(r ApiStorageNetworksStorageNetworkIdVolumesPostRequest) (*Volume, *http.Response, error) /* StorageNetworksStorageNetworkIdVolumesVolumeIdDelete Delete a Storage Network's Volume Delete a Storage Network's Volume @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest */ StorageNetworksStorageNetworkIdVolumesVolumeIdDelete(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest // StorageNetworksStorageNetworkIdVolumesVolumeIdDeleteExecute executes the request StorageNetworksStorageNetworkIdVolumesVolumeIdDeleteExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest) (*http.Response, error) /* StorageNetworksStorageNetworkIdVolumesVolumeIdGet Get a storage network's volume details. Get a storage network's volume details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest */ StorageNetworksStorageNetworkIdVolumesVolumeIdGet(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest // StorageNetworksStorageNetworkIdVolumesVolumeIdGetExecute executes the request // @return Volume StorageNetworksStorageNetworkIdVolumesVolumeIdGetExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest) (*Volume, *http.Response, error) /* StorageNetworksStorageNetworkIdVolumesVolumeIdPatch Update a storage network's volume details. Update a storage network's volume details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest */ StorageNetworksStorageNetworkIdVolumesVolumeIdPatch(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest // StorageNetworksStorageNetworkIdVolumesVolumeIdPatchExecute executes the request // @return Volume StorageNetworksStorageNetworkIdVolumesVolumeIdPatchExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest) (*Volume, *http.Response, error) /* StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPut Overwrites tags assigned for the volume. Overwrites tags assigned for the volume. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest */ StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPut(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest // StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutExecute executes the request // @return Volume StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) (*Volume, *http.Response, error) }
type StorageNetworksAPIService ¶
type StorageNetworksAPIService service
StorageNetworksAPIService StorageNetworksAPI service
func (*StorageNetworksAPIService) StorageNetworksGet ¶
func (a *StorageNetworksAPIService) StorageNetworksGet(ctx context.Context) ApiStorageNetworksGetRequest
StorageNetworksGet List all storage networks.
List all storage networks.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStorageNetworksGetRequest
func (*StorageNetworksAPIService) StorageNetworksGetExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksGetExecute(r ApiStorageNetworksGetRequest) ([]StorageNetwork, *http.Response, error)
Execute executes the request
@return []StorageNetwork
func (*StorageNetworksAPIService) StorageNetworksIdDelete ¶
func (a *StorageNetworksAPIService) StorageNetworksIdDelete(ctx context.Context, storageId string) ApiStorageNetworksIdDeleteRequest
StorageNetworksIdDelete Delete a storage network and its volume.
Delete a storage network and its volume. A storage network can only be removed if it's not in 'BUSY' state. Billing stops on storage network deletion.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksIdDeleteRequest
func (*StorageNetworksAPIService) StorageNetworksIdDeleteExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksIdDeleteExecute(r ApiStorageNetworksIdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*StorageNetworksAPIService) StorageNetworksIdGet ¶
func (a *StorageNetworksAPIService) StorageNetworksIdGet(ctx context.Context, storageId string) ApiStorageNetworksIdGetRequest
StorageNetworksIdGet Get storage network details.
Get storage network details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksIdGetRequest
func (*StorageNetworksAPIService) StorageNetworksIdGetExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksIdGetExecute(r ApiStorageNetworksIdGetRequest) (*StorageNetwork, *http.Response, error)
Execute executes the request
@return StorageNetwork
func (*StorageNetworksAPIService) StorageNetworksIdPatch ¶
func (a *StorageNetworksAPIService) StorageNetworksIdPatch(ctx context.Context, storageId string) ApiStorageNetworksIdPatchRequest
StorageNetworksIdPatch Update storage network details.
Update storage network details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksIdPatchRequest
func (*StorageNetworksAPIService) StorageNetworksIdPatchExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksIdPatchExecute(r ApiStorageNetworksIdPatchRequest) (*StorageNetwork, *http.Response, error)
Execute executes the request
@return StorageNetwork
func (*StorageNetworksAPIService) StorageNetworksPost ¶
func (a *StorageNetworksAPIService) StorageNetworksPost(ctx context.Context) ApiStorageNetworksPostRequest
StorageNetworksPost Create a storage network and volume.
Create a storage network and volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStorageNetworksPostRequest
func (*StorageNetworksAPIService) StorageNetworksPostExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksPostExecute(r ApiStorageNetworksPostRequest) (*StorageNetwork, *http.Response, error)
Execute executes the request
@return StorageNetwork
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesGet ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesGet(ctx context.Context, storageId string) ApiStorageNetworksStorageNetworkIdVolumesGetRequest
StorageNetworksStorageNetworkIdVolumesGet Display one or more volumes belonging to a storage network.
Display one or more volumes belonging to a storage network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksStorageNetworkIdVolumesGetRequest
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesGetExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesGetExecute(r ApiStorageNetworksStorageNetworkIdVolumesGetRequest) ([]Volume, *http.Response, error)
Execute executes the request
@return []Volume
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesPost ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesPost(ctx context.Context, storageId string) ApiStorageNetworksStorageNetworkIdVolumesPostRequest
StorageNetworksStorageNetworkIdVolumesPost Create a volume belonging to a storage network.
Create a volume belonging to a storage network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @return ApiStorageNetworksStorageNetworkIdVolumesPostRequest
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesPostExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesPostExecute(r ApiStorageNetworksStorageNetworkIdVolumesPostRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdDelete ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdDelete(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest
StorageNetworksStorageNetworkIdVolumesVolumeIdDelete Delete a Storage Network's Volume
Delete a Storage Network's Volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdDeleteExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdDeleteExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdGet ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdGet(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest
StorageNetworksStorageNetworkIdVolumesVolumeIdGet Get a storage network's volume details.
Get a storage network's volume details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdGetExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdGetExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdGetRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdPatch ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdPatch(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest
StorageNetworksStorageNetworkIdVolumesVolumeIdPatch Update a storage network's volume details.
Update a storage network's volume details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdPatchExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdPatchExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdPatchRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPut ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPut(ctx context.Context, storageId string, volumeId string) ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest
StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPut Overwrites tags assigned for the volume.
Overwrites tags assigned for the volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param storageId ID of the storage. @param volumeId ID of volume. @return ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest
func (*StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutExecute ¶
func (a *StorageNetworksAPIService) StorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutExecute(r ApiStorageNetworksStorageNetworkIdVolumesVolumeIdTagsPutRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
type TagAssignment ¶
type TagAssignment struct { // The unique id of the tag. Id string `json:"id"` // The name of the tag. Name string `json:"name"` // The value of the tag assigned to the resource. Value *string `json:"value,omitempty"` // Whether or not to show the tag as part of billing and invoices IsBillingTag bool `json:"isBillingTag"` // Who the tag was created by. CreatedBy *string `json:"createdBy,omitempty"` AdditionalProperties map[string]interface{} }
TagAssignment Tag assigned to resource.
func NewTagAssignment ¶
func NewTagAssignment(id string, name string, isBillingTag bool) *TagAssignment
NewTagAssignment instantiates a new TagAssignment 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 NewTagAssignmentWithDefaults ¶
func NewTagAssignmentWithDefaults() *TagAssignment
NewTagAssignmentWithDefaults instantiates a new TagAssignment 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 (*TagAssignment) GetCreatedBy ¶
func (o *TagAssignment) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*TagAssignment) GetCreatedByOk ¶
func (o *TagAssignment) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagAssignment) GetId ¶
func (o *TagAssignment) GetId() string
GetId returns the Id field value
func (*TagAssignment) GetIdOk ¶
func (o *TagAssignment) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TagAssignment) GetIsBillingTag ¶
func (o *TagAssignment) GetIsBillingTag() bool
GetIsBillingTag returns the IsBillingTag field value
func (*TagAssignment) GetIsBillingTagOk ¶
func (o *TagAssignment) GetIsBillingTagOk() (*bool, bool)
GetIsBillingTagOk returns a tuple with the IsBillingTag field value and a boolean to check if the value has been set.
func (*TagAssignment) GetName ¶
func (o *TagAssignment) GetName() string
GetName returns the Name field value
func (*TagAssignment) GetNameOk ¶
func (o *TagAssignment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TagAssignment) GetValue ¶
func (o *TagAssignment) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*TagAssignment) GetValueOk ¶
func (o *TagAssignment) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagAssignment) HasCreatedBy ¶
func (o *TagAssignment) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*TagAssignment) HasValue ¶
func (o *TagAssignment) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TagAssignment) MarshalJSON ¶
func (o TagAssignment) MarshalJSON() ([]byte, error)
func (*TagAssignment) SetCreatedBy ¶
func (o *TagAssignment) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*TagAssignment) SetIsBillingTag ¶
func (o *TagAssignment) SetIsBillingTag(v bool)
SetIsBillingTag sets field value
func (*TagAssignment) SetValue ¶
func (o *TagAssignment) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (TagAssignment) ToMap ¶
func (o TagAssignment) ToMap() (map[string]interface{}, error)
func (*TagAssignment) UnmarshalJSON ¶
func (o *TagAssignment) UnmarshalJSON(data []byte) (err error)
type TagAssignmentRequest ¶
type TagAssignmentRequest struct { // The name of the tag. Tag names are case-sensitive, and should be composed of a maximum of 100 characters including UTF-8 Unicode letters, numbers, and the following symbols: '-', '_'. Regex: [A-zÀ-ú0-9_-]{1,100}. Name string `json:"name"` // The value of the tag assigned to the resource. Tag values are case-sensitive, and should be composed of a maximum of 100 characters including UTF-8 Unicode letters, numbers, and the following symbols: '-', '_'. Regex: [A-zÀ-ú0-9_-]{1,100}. Value *string `json:"value,omitempty"` AdditionalProperties map[string]interface{} }
TagAssignmentRequest Tag request to assign to resource.
func NewTagAssignmentRequest ¶
func NewTagAssignmentRequest(name string) *TagAssignmentRequest
NewTagAssignmentRequest instantiates a new TagAssignmentRequest 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 NewTagAssignmentRequestWithDefaults ¶
func NewTagAssignmentRequestWithDefaults() *TagAssignmentRequest
NewTagAssignmentRequestWithDefaults instantiates a new TagAssignmentRequest 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 (*TagAssignmentRequest) GetName ¶
func (o *TagAssignmentRequest) GetName() string
GetName returns the Name field value
func (*TagAssignmentRequest) GetNameOk ¶
func (o *TagAssignmentRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TagAssignmentRequest) GetValue ¶
func (o *TagAssignmentRequest) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*TagAssignmentRequest) GetValueOk ¶
func (o *TagAssignmentRequest) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagAssignmentRequest) HasValue ¶
func (o *TagAssignmentRequest) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TagAssignmentRequest) MarshalJSON ¶
func (o TagAssignmentRequest) MarshalJSON() ([]byte, error)
func (*TagAssignmentRequest) SetName ¶
func (o *TagAssignmentRequest) SetName(v string)
SetName sets field value
func (*TagAssignmentRequest) SetValue ¶
func (o *TagAssignmentRequest) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (TagAssignmentRequest) ToMap ¶
func (o TagAssignmentRequest) ToMap() (map[string]interface{}, error)
func (*TagAssignmentRequest) UnmarshalJSON ¶
func (o *TagAssignmentRequest) UnmarshalJSON(data []byte) (err error)
type Volume ¶
type Volume struct { // Volume ID. Id *string `json:"id,omitempty"` // Volume friendly name. Name *string `json:"name,omitempty"` // Volume description. Description *string `json:"description,omitempty"` // Volume's full path. It is in form of `/{volumeId}/pathSuffix`'. Path *string `json:"path,omitempty"` // Last part of volume's path. PathSuffix *string `json:"pathSuffix,omitempty"` // Maximum capacity in GB. CapacityInGb *int32 `json:"capacityInGb,omitempty"` // Used capacity in GB, updated periodically. UsedCapacityInGb *int32 `json:"usedCapacityInGb,omitempty"` // File system protocol. Currently this field should be set to `NFS`. Protocol *string `json:"protocol,omitempty"` Status *Status `json:"status,omitempty"` CreatedOn *time.Time `json:"createdOn,omitempty"` // Date and time of the initial request for volume deletion. DeleteRequestedOn *time.Time `json:"deleteRequestedOn,omitempty"` Permissions *Permissions `json:"permissions,omitempty"` // The tags assigned if any. Tags []TagAssignment `json:"tags,omitempty"` AdditionalProperties map[string]interface{} }
Volume Volume for a storage network.
func NewVolume ¶
func NewVolume() *Volume
NewVolume instantiates a new Volume 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 NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume 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 (*Volume) GetCapacityInGb ¶
GetCapacityInGb returns the CapacityInGb field value if set, zero value otherwise.
func (*Volume) GetCapacityInGbOk ¶
GetCapacityInGbOk returns a tuple with the CapacityInGb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetCreatedOn ¶
GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.
func (*Volume) GetCreatedOnOk ¶
GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetDeleteRequestedOn ¶
GetDeleteRequestedOn returns the DeleteRequestedOn field value if set, zero value otherwise.
func (*Volume) GetDeleteRequestedOnOk ¶
GetDeleteRequestedOnOk returns a tuple with the DeleteRequestedOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Volume) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetPathOk ¶
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetPathSuffix ¶
GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.
func (*Volume) GetPathSuffixOk ¶
GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetPermissions ¶
func (o *Volume) GetPermissions() Permissions
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*Volume) GetPermissionsOk ¶
func (o *Volume) GetPermissionsOk() (*Permissions, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetProtocol ¶
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*Volume) GetProtocolOk ¶
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetTags ¶
func (o *Volume) GetTags() []TagAssignment
GetTags returns the Tags field value if set, zero value otherwise.
func (*Volume) GetTagsOk ¶
func (o *Volume) GetTagsOk() ([]TagAssignment, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetUsedCapacityInGb ¶
GetUsedCapacityInGb returns the UsedCapacityInGb field value if set, zero value otherwise.
func (*Volume) GetUsedCapacityInGbOk ¶
GetUsedCapacityInGbOk returns a tuple with the UsedCapacityInGb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) HasCapacityInGb ¶
HasCapacityInGb returns a boolean if a field has been set.
func (*Volume) HasCreatedOn ¶
HasCreatedOn returns a boolean if a field has been set.
func (*Volume) HasDeleteRequestedOn ¶
HasDeleteRequestedOn returns a boolean if a field has been set.
func (*Volume) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Volume) HasPathSuffix ¶
HasPathSuffix returns a boolean if a field has been set.
func (*Volume) HasPermissions ¶
HasPermissions returns a boolean if a field has been set.
func (*Volume) HasProtocol ¶
HasProtocol returns a boolean if a field has been set.
func (*Volume) HasUsedCapacityInGb ¶
HasUsedCapacityInGb returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetCapacityInGb ¶
SetCapacityInGb gets a reference to the given int32 and assigns it to the CapacityInGb field.
func (*Volume) SetCreatedOn ¶
SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.
func (*Volume) SetDeleteRequestedOn ¶
SetDeleteRequestedOn gets a reference to the given time.Time and assigns it to the DeleteRequestedOn field.
func (*Volume) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Volume) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Volume) SetPath ¶
SetPath gets a reference to the given string and assigns it to the Path field.
func (*Volume) SetPathSuffix ¶
SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.
func (*Volume) SetPermissions ¶
func (o *Volume) SetPermissions(v Permissions)
SetPermissions gets a reference to the given Permissions and assigns it to the Permissions field.
func (*Volume) SetProtocol ¶
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*Volume) SetStatus ¶
SetStatus gets a reference to the given Status and assigns it to the Status field.
func (*Volume) SetTags ¶
func (o *Volume) SetTags(v []TagAssignment)
SetTags gets a reference to the given []TagAssignment and assigns it to the Tags field.
func (*Volume) SetUsedCapacityInGb ¶
SetUsedCapacityInGb gets a reference to the given int32 and assigns it to the UsedCapacityInGb field.
func (*Volume) UnmarshalJSON ¶
type VolumeCreate ¶
type VolumeCreate struct { // Volume friendly name. Name string `json:"name"` // Volume description. Description *string `json:"description,omitempty"` // Last part of volume's path. PathSuffix *string `json:"pathSuffix,omitempty"` // Capacity of Volume in GB. Currently only whole numbers and multiples of 1000GB are supported. CapacityInGb int32 `json:"capacityInGb"` Permissions *PermissionsCreate `json:"permissions,omitempty"` // Tags to set to the resource. To create a new tag or list all the existing tags that you can use, refer to [Tags API](https://developers.phoenixnap.com/docs/tags/1/overview). Tags []TagAssignmentRequest `json:"tags,omitempty"` AdditionalProperties map[string]interface{} }
VolumeCreate Create Volume.
func NewVolumeCreate ¶
func NewVolumeCreate(name string, capacityInGb int32) *VolumeCreate
NewVolumeCreate instantiates a new VolumeCreate 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 NewVolumeCreateWithDefaults ¶
func NewVolumeCreateWithDefaults() *VolumeCreate
NewVolumeCreateWithDefaults instantiates a new VolumeCreate 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 (*VolumeCreate) GetCapacityInGb ¶
func (o *VolumeCreate) GetCapacityInGb() int32
GetCapacityInGb returns the CapacityInGb field value
func (*VolumeCreate) GetCapacityInGbOk ¶
func (o *VolumeCreate) GetCapacityInGbOk() (*int32, bool)
GetCapacityInGbOk returns a tuple with the CapacityInGb field value and a boolean to check if the value has been set.
func (*VolumeCreate) GetDescription ¶
func (o *VolumeCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VolumeCreate) GetDescriptionOk ¶
func (o *VolumeCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeCreate) GetName ¶
func (o *VolumeCreate) GetName() string
GetName returns the Name field value
func (*VolumeCreate) GetNameOk ¶
func (o *VolumeCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*VolumeCreate) GetPathSuffix ¶
func (o *VolumeCreate) GetPathSuffix() string
GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.
func (*VolumeCreate) GetPathSuffixOk ¶
func (o *VolumeCreate) GetPathSuffixOk() (*string, bool)
GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeCreate) GetPermissions ¶
func (o *VolumeCreate) GetPermissions() PermissionsCreate
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*VolumeCreate) GetPermissionsOk ¶
func (o *VolumeCreate) GetPermissionsOk() (*PermissionsCreate, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeCreate) GetTags ¶
func (o *VolumeCreate) GetTags() []TagAssignmentRequest
GetTags returns the Tags field value if set, zero value otherwise.
func (*VolumeCreate) GetTagsOk ¶
func (o *VolumeCreate) GetTagsOk() ([]TagAssignmentRequest, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeCreate) HasDescription ¶
func (o *VolumeCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VolumeCreate) HasPathSuffix ¶
func (o *VolumeCreate) HasPathSuffix() bool
HasPathSuffix returns a boolean if a field has been set.
func (*VolumeCreate) HasPermissions ¶
func (o *VolumeCreate) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (*VolumeCreate) HasTags ¶
func (o *VolumeCreate) HasTags() bool
HasTags returns a boolean if a field has been set.
func (VolumeCreate) MarshalJSON ¶
func (o VolumeCreate) MarshalJSON() ([]byte, error)
func (*VolumeCreate) SetCapacityInGb ¶
func (o *VolumeCreate) SetCapacityInGb(v int32)
SetCapacityInGb sets field value
func (*VolumeCreate) SetDescription ¶
func (o *VolumeCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VolumeCreate) SetPathSuffix ¶
func (o *VolumeCreate) SetPathSuffix(v string)
SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.
func (*VolumeCreate) SetPermissions ¶
func (o *VolumeCreate) SetPermissions(v PermissionsCreate)
SetPermissions gets a reference to the given PermissionsCreate and assigns it to the Permissions field.
func (*VolumeCreate) SetTags ¶
func (o *VolumeCreate) SetTags(v []TagAssignmentRequest)
SetTags gets a reference to the given []TagAssignmentRequest and assigns it to the Tags field.
func (VolumeCreate) ToMap ¶
func (o VolumeCreate) ToMap() (map[string]interface{}, error)
func (*VolumeCreate) UnmarshalJSON ¶
func (o *VolumeCreate) UnmarshalJSON(data []byte) (err error)
type VolumeUpdate ¶
type VolumeUpdate struct { // Volume friendly name. Name *string `json:"name,omitempty"` // Volume description. Description *string `json:"description,omitempty"` // Capacity of Volume in GB. Currently only whole numbers and multiples of 1000GB are supported. CapacityInGb *int32 `json:"capacityInGb,omitempty"` // Last part of volume's path. PathSuffix *string `json:"pathSuffix,omitempty"` Permissions *PermissionsUpdate `json:"permissions,omitempty"` AdditionalProperties map[string]interface{} }
VolumeUpdate Update storage network volume.
func NewVolumeUpdate ¶
func NewVolumeUpdate() *VolumeUpdate
NewVolumeUpdate instantiates a new VolumeUpdate 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 NewVolumeUpdateWithDefaults ¶
func NewVolumeUpdateWithDefaults() *VolumeUpdate
NewVolumeUpdateWithDefaults instantiates a new VolumeUpdate 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 (*VolumeUpdate) GetCapacityInGb ¶
func (o *VolumeUpdate) GetCapacityInGb() int32
GetCapacityInGb returns the CapacityInGb field value if set, zero value otherwise.
func (*VolumeUpdate) GetCapacityInGbOk ¶
func (o *VolumeUpdate) GetCapacityInGbOk() (*int32, bool)
GetCapacityInGbOk returns a tuple with the CapacityInGb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeUpdate) GetDescription ¶
func (o *VolumeUpdate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VolumeUpdate) GetDescriptionOk ¶
func (o *VolumeUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeUpdate) GetName ¶
func (o *VolumeUpdate) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VolumeUpdate) GetNameOk ¶
func (o *VolumeUpdate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeUpdate) GetPathSuffix ¶
func (o *VolumeUpdate) GetPathSuffix() string
GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.
func (*VolumeUpdate) GetPathSuffixOk ¶
func (o *VolumeUpdate) GetPathSuffixOk() (*string, bool)
GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeUpdate) GetPermissions ¶
func (o *VolumeUpdate) GetPermissions() PermissionsUpdate
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*VolumeUpdate) GetPermissionsOk ¶
func (o *VolumeUpdate) GetPermissionsOk() (*PermissionsUpdate, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeUpdate) HasCapacityInGb ¶
func (o *VolumeUpdate) HasCapacityInGb() bool
HasCapacityInGb returns a boolean if a field has been set.
func (*VolumeUpdate) HasDescription ¶
func (o *VolumeUpdate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VolumeUpdate) HasName ¶
func (o *VolumeUpdate) HasName() bool
HasName returns a boolean if a field has been set.
func (*VolumeUpdate) HasPathSuffix ¶
func (o *VolumeUpdate) HasPathSuffix() bool
HasPathSuffix returns a boolean if a field has been set.
func (*VolumeUpdate) HasPermissions ¶
func (o *VolumeUpdate) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (VolumeUpdate) MarshalJSON ¶
func (o VolumeUpdate) MarshalJSON() ([]byte, error)
func (*VolumeUpdate) SetCapacityInGb ¶
func (o *VolumeUpdate) SetCapacityInGb(v int32)
SetCapacityInGb gets a reference to the given int32 and assigns it to the CapacityInGb field.
func (*VolumeUpdate) SetDescription ¶
func (o *VolumeUpdate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VolumeUpdate) SetName ¶
func (o *VolumeUpdate) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VolumeUpdate) SetPathSuffix ¶
func (o *VolumeUpdate) SetPathSuffix(v string)
SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.
func (*VolumeUpdate) SetPermissions ¶
func (o *VolumeUpdate) SetPermissions(v PermissionsUpdate)
SetPermissions gets a reference to the given PermissionsUpdate and assigns it to the Permissions field.
func (VolumeUpdate) ToMap ¶
func (o VolumeUpdate) ToMap() (map[string]interface{}, error)
func (*VolumeUpdate) UnmarshalJSON ¶
func (o *VolumeUpdate) UnmarshalJSON(data []byte) (err error)
Source Files ¶
- VERSION.go
- api_storage_networks.go
- client.go
- configuration.go
- model_error.go
- model_nfs_permissions.go
- model_nfs_permissions_create.go
- model_nfs_permissions_update.go
- model_permissions.go
- model_permissions_create.go
- model_permissions_update.go
- model_status.go
- model_storage_network.go
- model_storage_network_create.go
- model_storage_network_update.go
- model_storage_network_volume_create.go
- model_tag_assignment.go
- model_tag_assignment_request.go
- model_volume.go
- model_volume_create.go
- model_volume_update.go
- response.go
- utils.go