Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- 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 APIResponse
- type ApiCreateResourcePoolRequest
- type ApiCreateResourcePoolSnapshotRequest
- type ApiCreateShareExportPolicyRequest
- type ApiCreateShareRequest
- type ApiDeleteResourcePoolRequest
- type ApiDeleteResourcePoolSnapshotRequest
- type ApiDeleteShareExportPolicyRequest
- type ApiDeleteShareRequest
- type ApiGetResourcePoolRequest
- type ApiGetResourcePoolSnapshotRequest
- type ApiGetShareExportPolicyRequest
- type ApiGetShareRequest
- type ApiListPerformanceClassesRequest
- type ApiListResourcePoolSnapshotsRequest
- type ApiListResourcePoolsRequest
- type ApiListShareExportPoliciesRequest
- type ApiListSharesRequest
- type ApiUpdateResourcePoolRequest
- type ApiUpdateShareExportPolicyRequest
- type ApiUpdateShareRequest
- type CreateResourcePoolPayload
- func (o *CreateResourcePoolPayload) GetAvailabilityZone() string
- func (o *CreateResourcePoolPayload) GetAvailabilityZoneOk() (*string, bool)
- func (o *CreateResourcePoolPayload) GetIpAcl() []string
- func (o *CreateResourcePoolPayload) GetIpAclOk() ([]string, bool)
- func (o *CreateResourcePoolPayload) GetLabels() map[string]string
- func (o *CreateResourcePoolPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateResourcePoolPayload) GetName() string
- func (o *CreateResourcePoolPayload) GetNameOk() (*string, bool)
- func (o *CreateResourcePoolPayload) GetPerformanceClass() string
- func (o *CreateResourcePoolPayload) GetPerformanceClassOk() (*string, bool)
- func (o *CreateResourcePoolPayload) GetSizeGigabytes() int32
- func (o *CreateResourcePoolPayload) GetSizeGigabytesOk() (*int32, bool)
- func (o *CreateResourcePoolPayload) GetSnapshotsAreVisible() bool
- func (o *CreateResourcePoolPayload) GetSnapshotsAreVisibleOk() (*bool, bool)
- func (o *CreateResourcePoolPayload) HasLabels() bool
- func (o *CreateResourcePoolPayload) HasSnapshotsAreVisible() bool
- func (o CreateResourcePoolPayload) MarshalJSON() ([]byte, error)
- func (o *CreateResourcePoolPayload) SetAvailabilityZone(v string)
- func (o *CreateResourcePoolPayload) SetIpAcl(v []string)
- func (o *CreateResourcePoolPayload) SetLabels(v map[string]string)
- func (o *CreateResourcePoolPayload) SetName(v string)
- func (o *CreateResourcePoolPayload) SetPerformanceClass(v string)
- func (o *CreateResourcePoolPayload) SetSizeGigabytes(v int32)
- func (o *CreateResourcePoolPayload) SetSnapshotsAreVisible(v bool)
- func (o CreateResourcePoolPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateResourcePoolPayload) UnmarshalJSON(data []byte) (err error)
- type CreateResourcePoolResponse
- func (o *CreateResourcePoolResponse) GetResourcePool() ResourcePool
- func (o *CreateResourcePoolResponse) GetResourcePoolOk() (*ResourcePool, bool)
- func (o *CreateResourcePoolResponse) HasResourcePool() bool
- func (o CreateResourcePoolResponse) MarshalJSON() ([]byte, error)
- func (o *CreateResourcePoolResponse) SetResourcePool(v ResourcePool)
- func (o CreateResourcePoolResponse) ToMap() (map[string]interface{}, error)
- type CreateResourcePoolSnapshotPayload
- func (o *CreateResourcePoolSnapshotPayload) GetComment() string
- func (o *CreateResourcePoolSnapshotPayload) GetCommentOk() (*string, bool)
- func (o *CreateResourcePoolSnapshotPayload) GetName() string
- func (o *CreateResourcePoolSnapshotPayload) GetNameOk() (*string, bool)
- func (o *CreateResourcePoolSnapshotPayload) HasComment() bool
- func (o *CreateResourcePoolSnapshotPayload) HasName() bool
- func (o CreateResourcePoolSnapshotPayload) MarshalJSON() ([]byte, error)
- func (o *CreateResourcePoolSnapshotPayload) SetComment(v string)
- func (o *CreateResourcePoolSnapshotPayload) SetCommentNil()
- func (o *CreateResourcePoolSnapshotPayload) SetName(v string)
- func (o CreateResourcePoolSnapshotPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateResourcePoolSnapshotPayload) UnsetComment()
- type CreateResourcePoolSnapshotResponse
- func (o *CreateResourcePoolSnapshotResponse) GetResourcePoolSnapshot() ResourcePoolSnapshot
- func (o *CreateResourcePoolSnapshotResponse) GetResourcePoolSnapshotOk() (*ResourcePoolSnapshot, bool)
- func (o *CreateResourcePoolSnapshotResponse) HasResourcePoolSnapshot() bool
- func (o CreateResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
- func (o *CreateResourcePoolSnapshotResponse) SetResourcePoolSnapshot(v ResourcePoolSnapshot)
- func (o CreateResourcePoolSnapshotResponse) ToMap() (map[string]interface{}, error)
- type CreateShareExportPolicyPayload
- func (o *CreateShareExportPolicyPayload) GetLabels() map[string]string
- func (o *CreateShareExportPolicyPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateShareExportPolicyPayload) GetName() string
- func (o *CreateShareExportPolicyPayload) GetNameOk() (*string, bool)
- func (o *CreateShareExportPolicyPayload) GetRules() []CreateShareExportPolicyRequestRule
- func (o *CreateShareExportPolicyPayload) GetRulesOk() ([]CreateShareExportPolicyRequestRule, bool)
- func (o *CreateShareExportPolicyPayload) HasLabels() bool
- func (o *CreateShareExportPolicyPayload) HasRules() bool
- func (o CreateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
- func (o *CreateShareExportPolicyPayload) SetLabels(v map[string]string)
- func (o *CreateShareExportPolicyPayload) SetName(v string)
- func (o *CreateShareExportPolicyPayload) SetRules(v []CreateShareExportPolicyRequestRule)
- func (o CreateShareExportPolicyPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateShareExportPolicyPayload) UnmarshalJSON(data []byte) (err error)
- type CreateShareExportPolicyRequestRule
- func (o *CreateShareExportPolicyRequestRule) GetDescription() string
- func (o *CreateShareExportPolicyRequestRule) GetDescriptionOk() (*string, bool)
- func (o *CreateShareExportPolicyRequestRule) GetIpAcl() []string
- func (o *CreateShareExportPolicyRequestRule) GetIpAclOk() ([]string, bool)
- func (o *CreateShareExportPolicyRequestRule) GetOrder() int32
- func (o *CreateShareExportPolicyRequestRule) GetOrderOk() (*int32, bool)
- func (o *CreateShareExportPolicyRequestRule) GetReadOnly() bool
- func (o *CreateShareExportPolicyRequestRule) GetReadOnlyOk() (*bool, bool)
- func (o *CreateShareExportPolicyRequestRule) GetSetUuid() bool
- func (o *CreateShareExportPolicyRequestRule) GetSetUuidOk() (*bool, bool)
- func (o *CreateShareExportPolicyRequestRule) GetSuperUser() bool
- func (o *CreateShareExportPolicyRequestRule) GetSuperUserOk() (*bool, bool)
- func (o *CreateShareExportPolicyRequestRule) HasDescription() bool
- func (o *CreateShareExportPolicyRequestRule) HasIpAcl() bool
- func (o *CreateShareExportPolicyRequestRule) HasOrder() bool
- func (o *CreateShareExportPolicyRequestRule) HasReadOnly() bool
- func (o *CreateShareExportPolicyRequestRule) HasSetUuid() bool
- func (o *CreateShareExportPolicyRequestRule) HasSuperUser() bool
- func (o CreateShareExportPolicyRequestRule) MarshalJSON() ([]byte, error)
- func (o *CreateShareExportPolicyRequestRule) SetDescription(v string)
- func (o *CreateShareExportPolicyRequestRule) SetDescriptionNil()
- func (o *CreateShareExportPolicyRequestRule) SetIpAcl(v []string)
- func (o *CreateShareExportPolicyRequestRule) SetOrder(v int32)
- func (o *CreateShareExportPolicyRequestRule) SetReadOnly(v bool)
- func (o *CreateShareExportPolicyRequestRule) SetSetUuid(v bool)
- func (o *CreateShareExportPolicyRequestRule) SetSuperUser(v bool)
- func (o CreateShareExportPolicyRequestRule) ToMap() (map[string]interface{}, error)
- func (o *CreateShareExportPolicyRequestRule) UnsetDescription()
- type CreateShareExportPolicyResponse
- func (o *CreateShareExportPolicyResponse) GetShareExportPolicy() ShareExportPolicy
- func (o *CreateShareExportPolicyResponse) GetShareExportPolicyOk() (*ShareExportPolicy, bool)
- func (o *CreateShareExportPolicyResponse) HasShareExportPolicy() bool
- func (o CreateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
- func (o *CreateShareExportPolicyResponse) SetShareExportPolicy(v ShareExportPolicy)
- func (o CreateShareExportPolicyResponse) ToMap() (map[string]interface{}, error)
- type CreateSharePayload
- func (o *CreateSharePayload) GetExportPolicyName() string
- func (o *CreateSharePayload) GetExportPolicyNameOk() (*string, bool)
- func (o *CreateSharePayload) GetLabels() map[string]string
- func (o *CreateSharePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateSharePayload) GetName() string
- func (o *CreateSharePayload) GetNameOk() (*string, bool)
- func (o *CreateSharePayload) GetSpaceHardLimitGigabytes() int32
- func (o *CreateSharePayload) GetSpaceHardLimitGigabytesOk() (*int32, bool)
- func (o *CreateSharePayload) HasExportPolicyName() bool
- func (o *CreateSharePayload) HasLabels() bool
- func (o CreateSharePayload) MarshalJSON() ([]byte, error)
- func (o *CreateSharePayload) SetExportPolicyName(v string)
- func (o *CreateSharePayload) SetExportPolicyNameNil()
- func (o *CreateSharePayload) SetLabels(v map[string]string)
- func (o *CreateSharePayload) SetName(v string)
- func (o *CreateSharePayload) SetSpaceHardLimitGigabytes(v int32)
- func (o CreateSharePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateSharePayload) UnmarshalJSON(data []byte) (err error)
- func (o *CreateSharePayload) UnsetExportPolicyName()
- type CreateShareResponse
- func (o *CreateShareResponse) GetShare() Share
- func (o *CreateShareResponse) GetShareOk() (*Share, bool)
- func (o *CreateShareResponse) HasShare() bool
- func (o CreateShareResponse) MarshalJSON() ([]byte, error)
- func (o *CreateShareResponse) SetShare(v Share)
- func (o CreateShareResponse) ToMap() (map[string]interface{}, error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateResourcePool(ctx context.Context, projectId string, region string) ApiCreateResourcePoolRequest
- func (a *DefaultAPIService) CreateResourcePoolExecute(r ApiCreateResourcePoolRequest) (*CreateResourcePoolResponse, error)
- func (a *DefaultAPIService) CreateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateResourcePoolSnapshotRequest
- func (a *DefaultAPIService) CreateResourcePoolSnapshotExecute(r ApiCreateResourcePoolSnapshotRequest) (*CreateResourcePoolSnapshotResponse, error)
- func (a *DefaultAPIService) CreateShare(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateShareRequest
- func (a *DefaultAPIService) CreateShareExecute(r ApiCreateShareRequest) (*CreateShareResponse, error)
- func (a *DefaultAPIService) CreateShareExportPolicy(ctx context.Context, projectId string, region string) ApiCreateShareExportPolicyRequest
- func (a *DefaultAPIService) CreateShareExportPolicyExecute(r ApiCreateShareExportPolicyRequest) (*CreateShareExportPolicyResponse, error)
- func (a *DefaultAPIService) DeleteResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiDeleteResourcePoolRequest
- func (a *DefaultAPIService) DeleteResourcePoolExecute(r ApiDeleteResourcePoolRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) DeleteResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiDeleteResourcePoolSnapshotRequest
- func (a *DefaultAPIService) DeleteResourcePoolSnapshotExecute(r ApiDeleteResourcePoolSnapshotRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) DeleteShare(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiDeleteShareRequest
- func (a *DefaultAPIService) DeleteShareExecute(r ApiDeleteShareRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) DeleteShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiDeleteShareExportPolicyRequest
- func (a *DefaultAPIService) DeleteShareExportPolicyExecute(r ApiDeleteShareExportPolicyRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) GetResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiGetResourcePoolRequest
- func (a *DefaultAPIService) GetResourcePoolExecute(r ApiGetResourcePoolRequest) (*GetResourcePoolResponse, error)
- func (a *DefaultAPIService) GetResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiGetResourcePoolSnapshotRequest
- func (a *DefaultAPIService) GetResourcePoolSnapshotExecute(r ApiGetResourcePoolSnapshotRequest) (*GetResourcePoolSnapshotResponse, error)
- func (a *DefaultAPIService) GetShare(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiGetShareRequest
- func (a *DefaultAPIService) GetShareExecute(r ApiGetShareRequest) (*GetShareResponse, error)
- func (a *DefaultAPIService) GetShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiGetShareExportPolicyRequest
- func (a *DefaultAPIService) GetShareExportPolicyExecute(r ApiGetShareExportPolicyRequest) (*GetShareExportPolicyResponse, error)
- func (a *DefaultAPIService) ListPerformanceClasses(ctx context.Context) ApiListPerformanceClassesRequest
- func (a *DefaultAPIService) ListPerformanceClassesExecute(r ApiListPerformanceClassesRequest) (*ListPerformanceClassesResponse, error)
- func (a *DefaultAPIService) ListResourcePoolSnapshots(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListResourcePoolSnapshotsRequest
- func (a *DefaultAPIService) ListResourcePoolSnapshotsExecute(r ApiListResourcePoolSnapshotsRequest) (*ListResourcePoolSnapshotsResponse, error)
- func (a *DefaultAPIService) ListResourcePools(ctx context.Context, projectId string, region string) ApiListResourcePoolsRequest
- func (a *DefaultAPIService) ListResourcePoolsExecute(r ApiListResourcePoolsRequest) (*ListResourcePoolsResponse, error)
- func (a *DefaultAPIService) ListShareExportPolicies(ctx context.Context, projectId string, region string) ApiListShareExportPoliciesRequest
- func (a *DefaultAPIService) ListShareExportPoliciesExecute(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)
- func (a *DefaultAPIService) ListShares(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListSharesRequest
- func (a *DefaultAPIService) ListSharesExecute(r ApiListSharesRequest) (*ListSharesResponse, error)
- func (a *DefaultAPIService) UpdateResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiUpdateResourcePoolRequest
- func (a *DefaultAPIService) UpdateResourcePoolExecute(r ApiUpdateResourcePoolRequest) (*UpdateResourcePoolResponse, error)
- func (a *DefaultAPIService) UpdateShare(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiUpdateShareRequest
- func (a *DefaultAPIService) UpdateShareExecute(r ApiUpdateShareRequest) (*UpdateShareResponse, error)
- func (a *DefaultAPIService) UpdateShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiUpdateShareExportPolicyRequest
- func (a *DefaultAPIService) UpdateShareExportPolicyExecute(r ApiUpdateShareExportPolicyRequest) (*UpdateShareExportPolicyResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateResourcePool(ctx context.Context, projectId string, region string) ApiCreateResourcePoolRequest
- func (a DefaultAPIServiceMock) CreateResourcePoolExecute(r ApiCreateResourcePoolRequest) (*CreateResourcePoolResponse, error)
- func (a DefaultAPIServiceMock) CreateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateResourcePoolSnapshotRequest
- func (a DefaultAPIServiceMock) CreateResourcePoolSnapshotExecute(r ApiCreateResourcePoolSnapshotRequest) (*CreateResourcePoolSnapshotResponse, error)
- func (a DefaultAPIServiceMock) CreateShare(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateShareRequest
- func (a DefaultAPIServiceMock) CreateShareExecute(r ApiCreateShareRequest) (*CreateShareResponse, error)
- func (a DefaultAPIServiceMock) CreateShareExportPolicy(ctx context.Context, projectId string, region string) ApiCreateShareExportPolicyRequest
- func (a DefaultAPIServiceMock) CreateShareExportPolicyExecute(r ApiCreateShareExportPolicyRequest) (*CreateShareExportPolicyResponse, error)
- func (a DefaultAPIServiceMock) DeleteResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiDeleteResourcePoolRequest
- func (a DefaultAPIServiceMock) DeleteResourcePoolExecute(r ApiDeleteResourcePoolRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) DeleteResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiDeleteResourcePoolSnapshotRequest
- func (a DefaultAPIServiceMock) DeleteResourcePoolSnapshotExecute(r ApiDeleteResourcePoolSnapshotRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) DeleteShare(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiDeleteShareRequest
- func (a DefaultAPIServiceMock) DeleteShareExecute(r ApiDeleteShareRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) DeleteShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiDeleteShareExportPolicyRequest
- func (a DefaultAPIServiceMock) DeleteShareExportPolicyExecute(r ApiDeleteShareExportPolicyRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) GetResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiGetResourcePoolRequest
- func (a DefaultAPIServiceMock) GetResourcePoolExecute(r ApiGetResourcePoolRequest) (*GetResourcePoolResponse, error)
- func (a DefaultAPIServiceMock) GetResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiGetResourcePoolSnapshotRequest
- func (a DefaultAPIServiceMock) GetResourcePoolSnapshotExecute(r ApiGetResourcePoolSnapshotRequest) (*GetResourcePoolSnapshotResponse, error)
- func (a DefaultAPIServiceMock) GetShare(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiGetShareRequest
- func (a DefaultAPIServiceMock) GetShareExecute(r ApiGetShareRequest) (*GetShareResponse, error)
- func (a DefaultAPIServiceMock) GetShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiGetShareExportPolicyRequest
- func (a DefaultAPIServiceMock) GetShareExportPolicyExecute(r ApiGetShareExportPolicyRequest) (*GetShareExportPolicyResponse, error)
- func (a DefaultAPIServiceMock) ListPerformanceClasses(ctx context.Context) ApiListPerformanceClassesRequest
- func (a DefaultAPIServiceMock) ListPerformanceClassesExecute(r ApiListPerformanceClassesRequest) (*ListPerformanceClassesResponse, error)
- func (a DefaultAPIServiceMock) ListResourcePoolSnapshots(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListResourcePoolSnapshotsRequest
- func (a DefaultAPIServiceMock) ListResourcePoolSnapshotsExecute(r ApiListResourcePoolSnapshotsRequest) (*ListResourcePoolSnapshotsResponse, error)
- func (a DefaultAPIServiceMock) ListResourcePools(ctx context.Context, projectId string, region string) ApiListResourcePoolsRequest
- func (a DefaultAPIServiceMock) ListResourcePoolsExecute(r ApiListResourcePoolsRequest) (*ListResourcePoolsResponse, error)
- func (a DefaultAPIServiceMock) ListShareExportPolicies(ctx context.Context, projectId string, region string) ApiListShareExportPoliciesRequest
- func (a DefaultAPIServiceMock) ListShareExportPoliciesExecute(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)
- func (a DefaultAPIServiceMock) ListShares(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListSharesRequest
- func (a DefaultAPIServiceMock) ListSharesExecute(r ApiListSharesRequest) (*ListSharesResponse, error)
- func (a DefaultAPIServiceMock) UpdateResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiUpdateResourcePoolRequest
- func (a DefaultAPIServiceMock) UpdateResourcePoolExecute(r ApiUpdateResourcePoolRequest) (*UpdateResourcePoolResponse, error)
- func (a DefaultAPIServiceMock) UpdateShare(ctx context.Context, projectId string, region string, resourcePoolId string, ...) ApiUpdateShareRequest
- func (a DefaultAPIServiceMock) UpdateShareExecute(r ApiUpdateShareRequest) (*UpdateShareResponse, error)
- func (a DefaultAPIServiceMock) UpdateShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiUpdateShareExportPolicyRequest
- func (a DefaultAPIServiceMock) UpdateShareExportPolicyExecute(r ApiUpdateShareExportPolicyRequest) (*UpdateShareExportPolicyResponse, error)
- type Error
- func (o *Error) GetErrorDescription() interface{}
- func (o *Error) GetErrorDescriptionOk() (*interface{}, bool)
- func (o *Error) GetTitle() string
- func (o *Error) GetTitleOk() (*string, bool)
- func (o *Error) GetType() string
- func (o *Error) GetTypeOk() (*string, bool)
- func (o *Error) HasErrorDescription() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetErrorDescription(v interface{})
- func (o *Error) SetTitle(v string)
- func (o *Error) SetType(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type GetResourcePoolResponse
- func (o *GetResourcePoolResponse) GetResourcePool() ResourcePool
- func (o *GetResourcePoolResponse) GetResourcePoolOk() (*ResourcePool, bool)
- func (o *GetResourcePoolResponse) HasResourcePool() bool
- func (o GetResourcePoolResponse) MarshalJSON() ([]byte, error)
- func (o *GetResourcePoolResponse) SetResourcePool(v ResourcePool)
- func (o GetResourcePoolResponse) ToMap() (map[string]interface{}, error)
- type GetResourcePoolSnapshotResponse
- func (o *GetResourcePoolSnapshotResponse) GetResourcePoolSnapshot() ResourcePoolSnapshot
- func (o *GetResourcePoolSnapshotResponse) GetResourcePoolSnapshotOk() (*ResourcePoolSnapshot, bool)
- func (o *GetResourcePoolSnapshotResponse) HasResourcePoolSnapshot() bool
- func (o GetResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
- func (o *GetResourcePoolSnapshotResponse) SetResourcePoolSnapshot(v ResourcePoolSnapshot)
- func (o GetResourcePoolSnapshotResponse) ToMap() (map[string]interface{}, error)
- type GetShareExportPolicyResponse
- func (o *GetShareExportPolicyResponse) GetShareExportPolicy() ShareExportPolicy
- func (o *GetShareExportPolicyResponse) GetShareExportPolicyOk() (*ShareExportPolicy, bool)
- func (o *GetShareExportPolicyResponse) HasShareExportPolicy() bool
- func (o GetShareExportPolicyResponse) MarshalJSON() ([]byte, error)
- func (o *GetShareExportPolicyResponse) SetShareExportPolicy(v ShareExportPolicy)
- func (o GetShareExportPolicyResponse) ToMap() (map[string]interface{}, error)
- type GetShareResponse
- func (o *GetShareResponse) GetShare() Share
- func (o *GetShareResponse) GetShareOk() (*Share, bool)
- func (o *GetShareResponse) HasShare() bool
- func (o GetShareResponse) MarshalJSON() ([]byte, error)
- func (o *GetShareResponse) SetShare(v Share)
- func (o GetShareResponse) ToMap() (map[string]interface{}, error)
- type GoogleProtobufAny
- func (o *GoogleProtobufAny) GetType() string
- func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
- func (o *GoogleProtobufAny) HasType() bool
- func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (o *GoogleProtobufAny) SetType(v string)
- func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
- func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
- type ListPerformanceClassesResponse
- func (o *ListPerformanceClassesResponse) GetPerformanceClasses() []PerformanceClass
- func (o *ListPerformanceClassesResponse) GetPerformanceClassesOk() ([]PerformanceClass, bool)
- func (o *ListPerformanceClassesResponse) HasPerformanceClasses() bool
- func (o ListPerformanceClassesResponse) MarshalJSON() ([]byte, error)
- func (o *ListPerformanceClassesResponse) SetPerformanceClasses(v []PerformanceClass)
- func (o ListPerformanceClassesResponse) ToMap() (map[string]interface{}, error)
- type ListResourcePoolSnapshotsResponse
- func (o *ListResourcePoolSnapshotsResponse) GetResourcePoolSnapshots() []ResourcePoolSnapshot
- func (o *ListResourcePoolSnapshotsResponse) GetResourcePoolSnapshotsOk() ([]ResourcePoolSnapshot, bool)
- func (o *ListResourcePoolSnapshotsResponse) HasResourcePoolSnapshots() bool
- func (o ListResourcePoolSnapshotsResponse) MarshalJSON() ([]byte, error)
- func (o *ListResourcePoolSnapshotsResponse) SetResourcePoolSnapshots(v []ResourcePoolSnapshot)
- func (o ListResourcePoolSnapshotsResponse) ToMap() (map[string]interface{}, error)
- type ListResourcePoolsResponse
- func (o *ListResourcePoolsResponse) GetResourcePools() []ResourcePool
- func (o *ListResourcePoolsResponse) GetResourcePoolsOk() ([]ResourcePool, bool)
- func (o *ListResourcePoolsResponse) HasResourcePools() bool
- func (o ListResourcePoolsResponse) MarshalJSON() ([]byte, error)
- func (o *ListResourcePoolsResponse) SetResourcePools(v []ResourcePool)
- func (o ListResourcePoolsResponse) ToMap() (map[string]interface{}, error)
- type ListShareExportPoliciesResponse
- func (o *ListShareExportPoliciesResponse) GetShareExportPolicies() []ShareExportPolicy
- func (o *ListShareExportPoliciesResponse) GetShareExportPoliciesOk() ([]ShareExportPolicy, bool)
- func (o *ListShareExportPoliciesResponse) HasShareExportPolicies() bool
- func (o ListShareExportPoliciesResponse) MarshalJSON() ([]byte, error)
- func (o *ListShareExportPoliciesResponse) SetShareExportPolicies(v []ShareExportPolicy)
- func (o ListShareExportPoliciesResponse) ToMap() (map[string]interface{}, error)
- type ListSharesResponse
- func (o *ListSharesResponse) GetShares() []Share
- func (o *ListSharesResponse) GetSharesOk() ([]Share, bool)
- func (o *ListSharesResponse) HasShares() bool
- func (o ListSharesResponse) MarshalJSON() ([]byte, error)
- func (o *ListSharesResponse) SetShares(v []Share)
- func (o ListSharesResponse) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableCreateResourcePoolPayload
- func (v NullableCreateResourcePoolPayload) Get() *CreateResourcePoolPayload
- func (v NullableCreateResourcePoolPayload) IsSet() bool
- func (v NullableCreateResourcePoolPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateResourcePoolPayload) Set(val *CreateResourcePoolPayload)
- func (v *NullableCreateResourcePoolPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateResourcePoolPayload) Unset()
- type NullableCreateResourcePoolResponse
- func (v NullableCreateResourcePoolResponse) Get() *CreateResourcePoolResponse
- func (v NullableCreateResourcePoolResponse) IsSet() bool
- func (v NullableCreateResourcePoolResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateResourcePoolResponse) Set(val *CreateResourcePoolResponse)
- func (v *NullableCreateResourcePoolResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateResourcePoolResponse) Unset()
- type NullableCreateResourcePoolSnapshotPayload
- func (v NullableCreateResourcePoolSnapshotPayload) Get() *CreateResourcePoolSnapshotPayload
- func (v NullableCreateResourcePoolSnapshotPayload) IsSet() bool
- func (v NullableCreateResourcePoolSnapshotPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateResourcePoolSnapshotPayload) Set(val *CreateResourcePoolSnapshotPayload)
- func (v *NullableCreateResourcePoolSnapshotPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateResourcePoolSnapshotPayload) Unset()
- type NullableCreateResourcePoolSnapshotResponse
- func (v NullableCreateResourcePoolSnapshotResponse) Get() *CreateResourcePoolSnapshotResponse
- func (v NullableCreateResourcePoolSnapshotResponse) IsSet() bool
- func (v NullableCreateResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateResourcePoolSnapshotResponse) Set(val *CreateResourcePoolSnapshotResponse)
- func (v *NullableCreateResourcePoolSnapshotResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateResourcePoolSnapshotResponse) Unset()
- type NullableCreateShareExportPolicyPayload
- func (v NullableCreateShareExportPolicyPayload) Get() *CreateShareExportPolicyPayload
- func (v NullableCreateShareExportPolicyPayload) IsSet() bool
- func (v NullableCreateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShareExportPolicyPayload) Set(val *CreateShareExportPolicyPayload)
- func (v *NullableCreateShareExportPolicyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShareExportPolicyPayload) Unset()
- type NullableCreateShareExportPolicyRequestRule
- func (v NullableCreateShareExportPolicyRequestRule) Get() *CreateShareExportPolicyRequestRule
- func (v NullableCreateShareExportPolicyRequestRule) IsSet() bool
- func (v NullableCreateShareExportPolicyRequestRule) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShareExportPolicyRequestRule) Set(val *CreateShareExportPolicyRequestRule)
- func (v *NullableCreateShareExportPolicyRequestRule) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShareExportPolicyRequestRule) Unset()
- type NullableCreateShareExportPolicyResponse
- func (v NullableCreateShareExportPolicyResponse) Get() *CreateShareExportPolicyResponse
- func (v NullableCreateShareExportPolicyResponse) IsSet() bool
- func (v NullableCreateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShareExportPolicyResponse) Set(val *CreateShareExportPolicyResponse)
- func (v *NullableCreateShareExportPolicyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShareExportPolicyResponse) Unset()
- type NullableCreateSharePayload
- func (v NullableCreateSharePayload) Get() *CreateSharePayload
- func (v NullableCreateSharePayload) IsSet() bool
- func (v NullableCreateSharePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSharePayload) Set(val *CreateSharePayload)
- func (v *NullableCreateSharePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSharePayload) Unset()
- type NullableCreateShareResponse
- func (v NullableCreateShareResponse) Get() *CreateShareResponse
- func (v NullableCreateShareResponse) IsSet() bool
- func (v NullableCreateShareResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShareResponse) Set(val *CreateShareResponse)
- func (v *NullableCreateShareResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShareResponse) Unset()
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableGetResourcePoolResponse
- func (v NullableGetResourcePoolResponse) Get() *GetResourcePoolResponse
- func (v NullableGetResourcePoolResponse) IsSet() bool
- func (v NullableGetResourcePoolResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetResourcePoolResponse) Set(val *GetResourcePoolResponse)
- func (v *NullableGetResourcePoolResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetResourcePoolResponse) Unset()
- type NullableGetResourcePoolSnapshotResponse
- func (v NullableGetResourcePoolSnapshotResponse) Get() *GetResourcePoolSnapshotResponse
- func (v NullableGetResourcePoolSnapshotResponse) IsSet() bool
- func (v NullableGetResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetResourcePoolSnapshotResponse) Set(val *GetResourcePoolSnapshotResponse)
- func (v *NullableGetResourcePoolSnapshotResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetResourcePoolSnapshotResponse) Unset()
- type NullableGetShareExportPolicyResponse
- func (v NullableGetShareExportPolicyResponse) Get() *GetShareExportPolicyResponse
- func (v NullableGetShareExportPolicyResponse) IsSet() bool
- func (v NullableGetShareExportPolicyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetShareExportPolicyResponse) Set(val *GetShareExportPolicyResponse)
- func (v *NullableGetShareExportPolicyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetShareExportPolicyResponse) Unset()
- type NullableGetShareResponse
- func (v NullableGetShareResponse) Get() *GetShareResponse
- func (v NullableGetShareResponse) IsSet() bool
- func (v NullableGetShareResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetShareResponse) Set(val *GetShareResponse)
- func (v *NullableGetShareResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetShareResponse) Unset()
- type NullableGoogleProtobufAny
- func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
- func (v NullableGoogleProtobufAny) IsSet() bool
- func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
- func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
- func (v *NullableGoogleProtobufAny) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListPerformanceClassesResponse
- func (v NullableListPerformanceClassesResponse) Get() *ListPerformanceClassesResponse
- func (v NullableListPerformanceClassesResponse) IsSet() bool
- func (v NullableListPerformanceClassesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListPerformanceClassesResponse) Set(val *ListPerformanceClassesResponse)
- func (v *NullableListPerformanceClassesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListPerformanceClassesResponse) Unset()
- type NullableListResourcePoolSnapshotsResponse
- func (v NullableListResourcePoolSnapshotsResponse) Get() *ListResourcePoolSnapshotsResponse
- func (v NullableListResourcePoolSnapshotsResponse) IsSet() bool
- func (v NullableListResourcePoolSnapshotsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListResourcePoolSnapshotsResponse) Set(val *ListResourcePoolSnapshotsResponse)
- func (v *NullableListResourcePoolSnapshotsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListResourcePoolSnapshotsResponse) Unset()
- type NullableListResourcePoolsResponse
- func (v NullableListResourcePoolsResponse) Get() *ListResourcePoolsResponse
- func (v NullableListResourcePoolsResponse) IsSet() bool
- func (v NullableListResourcePoolsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListResourcePoolsResponse) Set(val *ListResourcePoolsResponse)
- func (v *NullableListResourcePoolsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListResourcePoolsResponse) Unset()
- type NullableListShareExportPoliciesResponse
- func (v NullableListShareExportPoliciesResponse) Get() *ListShareExportPoliciesResponse
- func (v NullableListShareExportPoliciesResponse) IsSet() bool
- func (v NullableListShareExportPoliciesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListShareExportPoliciesResponse) Set(val *ListShareExportPoliciesResponse)
- func (v *NullableListShareExportPoliciesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListShareExportPoliciesResponse) Unset()
- type NullableListSharesResponse
- func (v NullableListSharesResponse) Get() *ListSharesResponse
- func (v NullableListSharesResponse) IsSet() bool
- func (v NullableListSharesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListSharesResponse) Set(val *ListSharesResponse)
- func (v *NullableListSharesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListSharesResponse) Unset()
- type NullablePerformanceClass
- func (v NullablePerformanceClass) Get() *PerformanceClass
- func (v NullablePerformanceClass) IsSet() bool
- func (v NullablePerformanceClass) MarshalJSON() ([]byte, error)
- func (v *NullablePerformanceClass) Set(val *PerformanceClass)
- func (v *NullablePerformanceClass) UnmarshalJSON(src []byte) error
- func (v *NullablePerformanceClass) Unset()
- type NullableResourcePool
- func (v NullableResourcePool) Get() *ResourcePool
- func (v NullableResourcePool) IsSet() bool
- func (v NullableResourcePool) MarshalJSON() ([]byte, error)
- func (v *NullableResourcePool) Set(val *ResourcePool)
- func (v *NullableResourcePool) UnmarshalJSON(src []byte) error
- func (v *NullableResourcePool) Unset()
- type NullableResourcePoolPerformanceClass
- func (v NullableResourcePoolPerformanceClass) Get() *ResourcePoolPerformanceClass
- func (v NullableResourcePoolPerformanceClass) IsSet() bool
- func (v NullableResourcePoolPerformanceClass) MarshalJSON() ([]byte, error)
- func (v *NullableResourcePoolPerformanceClass) Set(val *ResourcePoolPerformanceClass)
- func (v *NullableResourcePoolPerformanceClass) UnmarshalJSON(src []byte) error
- func (v *NullableResourcePoolPerformanceClass) Unset()
- type NullableResourcePoolSnapshot
- func (v NullableResourcePoolSnapshot) Get() *ResourcePoolSnapshot
- func (v NullableResourcePoolSnapshot) IsSet() bool
- func (v NullableResourcePoolSnapshot) MarshalJSON() ([]byte, error)
- func (v *NullableResourcePoolSnapshot) Set(val *ResourcePoolSnapshot)
- func (v *NullableResourcePoolSnapshot) UnmarshalJSON(src []byte) error
- func (v *NullableResourcePoolSnapshot) Unset()
- type NullableResourcePoolSpace
- func (v NullableResourcePoolSpace) Get() *ResourcePoolSpace
- func (v NullableResourcePoolSpace) IsSet() bool
- func (v NullableResourcePoolSpace) MarshalJSON() ([]byte, error)
- func (v *NullableResourcePoolSpace) Set(val *ResourcePoolSpace)
- func (v *NullableResourcePoolSpace) UnmarshalJSON(src []byte) error
- func (v *NullableResourcePoolSpace) Unset()
- type NullableShare
- type NullableShareExportPolicy
- func (v NullableShareExportPolicy) Get() *ShareExportPolicy
- func (v NullableShareExportPolicy) IsSet() bool
- func (v NullableShareExportPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableShareExportPolicy) Set(val *ShareExportPolicy)
- func (v *NullableShareExportPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableShareExportPolicy) Unset()
- type NullableShareExportPolicyRule
- func (v NullableShareExportPolicyRule) Get() *ShareExportPolicyRule
- func (v NullableShareExportPolicyRule) IsSet() bool
- func (v NullableShareExportPolicyRule) MarshalJSON() ([]byte, error)
- func (v *NullableShareExportPolicyRule) Set(val *ShareExportPolicyRule)
- func (v *NullableShareExportPolicyRule) UnmarshalJSON(src []byte) error
- func (v *NullableShareExportPolicyRule) Unset()
- type NullableStatus
- type NullableString
- type NullableTime
- type NullableUpdateResourcePoolPayload
- func (v NullableUpdateResourcePoolPayload) Get() *UpdateResourcePoolPayload
- func (v NullableUpdateResourcePoolPayload) IsSet() bool
- func (v NullableUpdateResourcePoolPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateResourcePoolPayload) Set(val *UpdateResourcePoolPayload)
- func (v *NullableUpdateResourcePoolPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateResourcePoolPayload) Unset()
- type NullableUpdateResourcePoolResponse
- func (v NullableUpdateResourcePoolResponse) Get() *UpdateResourcePoolResponse
- func (v NullableUpdateResourcePoolResponse) IsSet() bool
- func (v NullableUpdateResourcePoolResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateResourcePoolResponse) Set(val *UpdateResourcePoolResponse)
- func (v *NullableUpdateResourcePoolResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateResourcePoolResponse) Unset()
- type NullableUpdateShareExportPolicyBodyRule
- func (v NullableUpdateShareExportPolicyBodyRule) Get() *UpdateShareExportPolicyBodyRule
- func (v NullableUpdateShareExportPolicyBodyRule) IsSet() bool
- func (v NullableUpdateShareExportPolicyBodyRule) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateShareExportPolicyBodyRule) Set(val *UpdateShareExportPolicyBodyRule)
- func (v *NullableUpdateShareExportPolicyBodyRule) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateShareExportPolicyBodyRule) Unset()
- type NullableUpdateShareExportPolicyPayload
- func (v NullableUpdateShareExportPolicyPayload) Get() *UpdateShareExportPolicyPayload
- func (v NullableUpdateShareExportPolicyPayload) IsSet() bool
- func (v NullableUpdateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateShareExportPolicyPayload) Set(val *UpdateShareExportPolicyPayload)
- func (v *NullableUpdateShareExportPolicyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateShareExportPolicyPayload) Unset()
- type NullableUpdateShareExportPolicyResponse
- func (v NullableUpdateShareExportPolicyResponse) Get() *UpdateShareExportPolicyResponse
- func (v NullableUpdateShareExportPolicyResponse) IsSet() bool
- func (v NullableUpdateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateShareExportPolicyResponse) Set(val *UpdateShareExportPolicyResponse)
- func (v *NullableUpdateShareExportPolicyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateShareExportPolicyResponse) Unset()
- type NullableUpdateSharePayload
- func (v NullableUpdateSharePayload) Get() *UpdateSharePayload
- func (v NullableUpdateSharePayload) IsSet() bool
- func (v NullableUpdateSharePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSharePayload) Set(val *UpdateSharePayload)
- func (v *NullableUpdateSharePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSharePayload) Unset()
- type NullableUpdateShareResponse
- func (v NullableUpdateShareResponse) Get() *UpdateShareResponse
- func (v NullableUpdateShareResponse) IsSet() bool
- func (v NullableUpdateShareResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateShareResponse) Set(val *UpdateShareResponse)
- func (v *NullableUpdateShareResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateShareResponse) Unset()
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type NullableValidationErrorField
- func (v NullableValidationErrorField) Get() *ValidationErrorField
- func (v NullableValidationErrorField) IsSet() bool
- func (v NullableValidationErrorField) MarshalJSON() ([]byte, error)
- func (v *NullableValidationErrorField) Set(val *ValidationErrorField)
- func (v *NullableValidationErrorField) UnmarshalJSON(src []byte) error
- func (v *NullableValidationErrorField) Unset()
- type PerformanceClass
- func (o *PerformanceClass) GetIops() int32
- func (o *PerformanceClass) GetIopsOk() (*int32, bool)
- func (o *PerformanceClass) GetName() string
- func (o *PerformanceClass) GetNameOk() (*string, bool)
- func (o *PerformanceClass) GetThroughput() int32
- func (o *PerformanceClass) GetThroughputOk() (*int32, bool)
- func (o *PerformanceClass) HasIops() bool
- func (o *PerformanceClass) HasName() bool
- func (o *PerformanceClass) HasThroughput() bool
- func (o PerformanceClass) MarshalJSON() ([]byte, error)
- func (o *PerformanceClass) SetIops(v int32)
- func (o *PerformanceClass) SetName(v string)
- func (o *PerformanceClass) SetThroughput(v int32)
- func (o PerformanceClass) ToMap() (map[string]interface{}, error)
- type ResourcePool
- func (o *ResourcePool) GetAvailabilityZone() string
- func (o *ResourcePool) GetAvailabilityZoneOk() (*string, bool)
- func (o *ResourcePool) GetCountShares() int32
- func (o *ResourcePool) GetCountSharesOk() (*int32, bool)
- func (o *ResourcePool) GetCreatedAt() time.Time
- func (o *ResourcePool) GetCreatedAtOk() (*time.Time, bool)
- func (o *ResourcePool) GetId() string
- func (o *ResourcePool) GetIdOk() (*string, bool)
- func (o *ResourcePool) GetIpAcl() []string
- func (o *ResourcePool) GetIpAclOk() ([]string, bool)
- func (o *ResourcePool) GetLabels() map[string]string
- func (o *ResourcePool) GetLabelsOk() (*map[string]string, bool)
- func (o *ResourcePool) GetMountPath() string
- func (o *ResourcePool) GetMountPathOk() (*string, bool)
- func (o *ResourcePool) GetName() string
- func (o *ResourcePool) GetNameOk() (*string, bool)
- func (o *ResourcePool) GetPerformanceClass() ResourcePoolPerformanceClass
- func (o *ResourcePool) GetPerformanceClassDowngradableAt() time.Time
- func (o *ResourcePool) GetPerformanceClassDowngradableAtOk() (*time.Time, bool)
- func (o *ResourcePool) GetPerformanceClassOk() (*ResourcePoolPerformanceClass, bool)
- func (o *ResourcePool) GetSizeReducibleAt() time.Time
- func (o *ResourcePool) GetSizeReducibleAtOk() (*time.Time, bool)
- func (o *ResourcePool) GetSnapshotsAreVisible() bool
- func (o *ResourcePool) GetSnapshotsAreVisibleOk() (*bool, bool)
- func (o *ResourcePool) GetSpace() ResourcePoolSpace
- func (o *ResourcePool) GetSpaceOk() (*ResourcePoolSpace, bool)
- func (o *ResourcePool) GetState() string
- func (o *ResourcePool) GetStateOk() (*string, bool)
- func (o *ResourcePool) HasAvailabilityZone() bool
- func (o *ResourcePool) HasCountShares() bool
- func (o *ResourcePool) HasCreatedAt() bool
- func (o *ResourcePool) HasId() bool
- func (o *ResourcePool) HasIpAcl() bool
- func (o *ResourcePool) HasLabels() bool
- func (o *ResourcePool) HasMountPath() bool
- func (o *ResourcePool) HasName() bool
- func (o *ResourcePool) HasPerformanceClass() bool
- func (o *ResourcePool) HasPerformanceClassDowngradableAt() bool
- func (o *ResourcePool) HasSizeReducibleAt() bool
- func (o *ResourcePool) HasSnapshotsAreVisible() bool
- func (o *ResourcePool) HasSpace() bool
- func (o *ResourcePool) HasState() bool
- func (o ResourcePool) MarshalJSON() ([]byte, error)
- func (o *ResourcePool) SetAvailabilityZone(v string)
- func (o *ResourcePool) SetCountShares(v int32)
- func (o *ResourcePool) SetCreatedAt(v time.Time)
- func (o *ResourcePool) SetId(v string)
- func (o *ResourcePool) SetIpAcl(v []string)
- func (o *ResourcePool) SetLabels(v map[string]string)
- func (o *ResourcePool) SetMountPath(v string)
- func (o *ResourcePool) SetName(v string)
- func (o *ResourcePool) SetPerformanceClass(v ResourcePoolPerformanceClass)
- func (o *ResourcePool) SetPerformanceClassDowngradableAt(v time.Time)
- func (o *ResourcePool) SetSizeReducibleAt(v time.Time)
- func (o *ResourcePool) SetSnapshotsAreVisible(v bool)
- func (o *ResourcePool) SetSpace(v ResourcePoolSpace)
- func (o *ResourcePool) SetState(v string)
- func (o ResourcePool) ToMap() (map[string]interface{}, error)
- type ResourcePoolPerformanceClass
- func (o *ResourcePoolPerformanceClass) GetName() string
- func (o *ResourcePoolPerformanceClass) GetNameOk() (*string, bool)
- func (o *ResourcePoolPerformanceClass) GetPeakIops() int32
- func (o *ResourcePoolPerformanceClass) GetPeakIopsOk() (*int32, bool)
- func (o *ResourcePoolPerformanceClass) GetThroughput() int32
- func (o *ResourcePoolPerformanceClass) GetThroughputOk() (*int32, bool)
- func (o *ResourcePoolPerformanceClass) HasName() bool
- func (o *ResourcePoolPerformanceClass) HasPeakIops() bool
- func (o *ResourcePoolPerformanceClass) HasThroughput() bool
- func (o ResourcePoolPerformanceClass) MarshalJSON() ([]byte, error)
- func (o *ResourcePoolPerformanceClass) SetName(v string)
- func (o *ResourcePoolPerformanceClass) SetPeakIops(v int32)
- func (o *ResourcePoolPerformanceClass) SetThroughput(v int32)
- func (o ResourcePoolPerformanceClass) ToMap() (map[string]interface{}, error)
- type ResourcePoolSnapshot
- func (o *ResourcePoolSnapshot) GetComment() string
- func (o *ResourcePoolSnapshot) GetCommentOk() (*string, bool)
- func (o *ResourcePoolSnapshot) GetCreatedAt() time.Time
- func (o *ResourcePoolSnapshot) GetCreatedAtOk() (*time.Time, bool)
- func (o *ResourcePoolSnapshot) GetLogicalSizeGigabytes() int32
- func (o *ResourcePoolSnapshot) GetLogicalSizeGigabytesOk() (*int32, bool)
- func (o *ResourcePoolSnapshot) GetResourcePoolId() string
- func (o *ResourcePoolSnapshot) GetResourcePoolIdOk() (*string, bool)
- func (o *ResourcePoolSnapshot) GetSizeGigabytes() int32
- func (o *ResourcePoolSnapshot) GetSizeGigabytesOk() (*int32, bool)
- func (o *ResourcePoolSnapshot) GetSnapshotName() string
- func (o *ResourcePoolSnapshot) GetSnapshotNameOk() (*string, bool)
- func (o *ResourcePoolSnapshot) HasComment() bool
- func (o *ResourcePoolSnapshot) HasCreatedAt() bool
- func (o *ResourcePoolSnapshot) HasLogicalSizeGigabytes() bool
- func (o *ResourcePoolSnapshot) HasResourcePoolId() bool
- func (o *ResourcePoolSnapshot) HasSizeGigabytes() bool
- func (o *ResourcePoolSnapshot) HasSnapshotName() bool
- func (o ResourcePoolSnapshot) MarshalJSON() ([]byte, error)
- func (o *ResourcePoolSnapshot) SetComment(v string)
- func (o *ResourcePoolSnapshot) SetCommentNil()
- func (o *ResourcePoolSnapshot) SetCreatedAt(v time.Time)
- func (o *ResourcePoolSnapshot) SetLogicalSizeGigabytes(v int32)
- func (o *ResourcePoolSnapshot) SetResourcePoolId(v string)
- func (o *ResourcePoolSnapshot) SetSizeGigabytes(v int32)
- func (o *ResourcePoolSnapshot) SetSnapshotName(v string)
- func (o ResourcePoolSnapshot) ToMap() (map[string]interface{}, error)
- func (o *ResourcePoolSnapshot) UnsetComment()
- type ResourcePoolSpace
- func (o *ResourcePoolSpace) GetAvailableGigabytes() float64
- func (o *ResourcePoolSpace) GetAvailableGigabytesOk() (*float64, bool)
- func (o *ResourcePoolSpace) GetSizeGigabytes() int32
- func (o *ResourcePoolSpace) GetSizeGigabytesOk() (*int32, bool)
- func (o *ResourcePoolSpace) GetUsedGigabytes() float64
- func (o *ResourcePoolSpace) GetUsedGigabytesOk() (*float64, bool)
- func (o *ResourcePoolSpace) HasAvailableGigabytes() bool
- func (o *ResourcePoolSpace) HasSizeGigabytes() bool
- func (o *ResourcePoolSpace) HasUsedGigabytes() bool
- func (o ResourcePoolSpace) MarshalJSON() ([]byte, error)
- func (o *ResourcePoolSpace) SetAvailableGigabytes(v float64)
- func (o *ResourcePoolSpace) SetAvailableGigabytesNil()
- func (o *ResourcePoolSpace) SetSizeGigabytes(v int32)
- func (o *ResourcePoolSpace) SetUsedGigabytes(v float64)
- func (o *ResourcePoolSpace) SetUsedGigabytesNil()
- func (o ResourcePoolSpace) ToMap() (map[string]interface{}, error)
- func (o *ResourcePoolSpace) UnsetAvailableGigabytes()
- func (o *ResourcePoolSpace) UnsetUsedGigabytes()
- type Share
- func (o *Share) GetCreatedAt() time.Time
- func (o *Share) GetCreatedAtOk() (*time.Time, bool)
- func (o *Share) GetExportPolicy() ShareExportPolicy
- func (o *Share) GetExportPolicyOk() (*ShareExportPolicy, bool)
- func (o *Share) GetId() string
- func (o *Share) GetIdOk() (*string, bool)
- func (o *Share) GetLabels() map[string]string
- func (o *Share) GetLabelsOk() (*map[string]string, bool)
- func (o *Share) GetMountPath() string
- func (o *Share) GetMountPathOk() (*string, bool)
- func (o *Share) GetName() string
- func (o *Share) GetNameOk() (*string, bool)
- func (o *Share) GetSpaceHardLimitGigabytes() int32
- func (o *Share) GetSpaceHardLimitGigabytesOk() (*int32, bool)
- func (o *Share) GetState() string
- func (o *Share) GetStateOk() (*string, bool)
- func (o *Share) HasCreatedAt() bool
- func (o *Share) HasExportPolicy() bool
- func (o *Share) HasId() bool
- func (o *Share) HasLabels() bool
- func (o *Share) HasMountPath() bool
- func (o *Share) HasName() bool
- func (o *Share) HasSpaceHardLimitGigabytes() bool
- func (o *Share) HasState() bool
- func (o Share) MarshalJSON() ([]byte, error)
- func (o *Share) SetCreatedAt(v time.Time)
- func (o *Share) SetExportPolicy(v ShareExportPolicy)
- func (o *Share) SetExportPolicyNil()
- func (o *Share) SetId(v string)
- func (o *Share) SetLabels(v map[string]string)
- func (o *Share) SetMountPath(v string)
- func (o *Share) SetName(v string)
- func (o *Share) SetSpaceHardLimitGigabytes(v int32)
- func (o *Share) SetState(v string)
- func (o Share) ToMap() (map[string]interface{}, error)
- func (o *Share) UnsetExportPolicy()
- type ShareExportPolicy
- func (o *ShareExportPolicy) GetCreatedAt() time.Time
- func (o *ShareExportPolicy) GetCreatedAtOk() (*time.Time, bool)
- func (o *ShareExportPolicy) GetId() string
- func (o *ShareExportPolicy) GetIdOk() (*string, bool)
- func (o *ShareExportPolicy) GetLabels() map[string]string
- func (o *ShareExportPolicy) GetLabelsOk() (*map[string]string, bool)
- func (o *ShareExportPolicy) GetName() string
- func (o *ShareExportPolicy) GetNameOk() (*string, bool)
- func (o *ShareExportPolicy) GetRules() []ShareExportPolicyRule
- func (o *ShareExportPolicy) GetRulesOk() ([]ShareExportPolicyRule, bool)
- func (o *ShareExportPolicy) GetSharesUsingExportPolicy() int32
- func (o *ShareExportPolicy) GetSharesUsingExportPolicyOk() (*int32, bool)
- func (o *ShareExportPolicy) HasCreatedAt() bool
- func (o *ShareExportPolicy) HasId() bool
- func (o *ShareExportPolicy) HasLabels() bool
- func (o *ShareExportPolicy) HasName() bool
- func (o *ShareExportPolicy) HasRules() bool
- func (o *ShareExportPolicy) HasSharesUsingExportPolicy() bool
- func (o ShareExportPolicy) MarshalJSON() ([]byte, error)
- func (o *ShareExportPolicy) SetCreatedAt(v time.Time)
- func (o *ShareExportPolicy) SetId(v string)
- func (o *ShareExportPolicy) SetLabels(v map[string]string)
- func (o *ShareExportPolicy) SetName(v string)
- func (o *ShareExportPolicy) SetRules(v []ShareExportPolicyRule)
- func (o *ShareExportPolicy) SetSharesUsingExportPolicy(v int32)
- func (o ShareExportPolicy) ToMap() (map[string]interface{}, error)
- type ShareExportPolicyRule
- func (o *ShareExportPolicyRule) GetCreatedAt() time.Time
- func (o *ShareExportPolicyRule) GetCreatedAtOk() (*time.Time, bool)
- func (o *ShareExportPolicyRule) GetDescription() string
- func (o *ShareExportPolicyRule) GetDescriptionOk() (*string, bool)
- func (o *ShareExportPolicyRule) GetId() string
- func (o *ShareExportPolicyRule) GetIdOk() (*string, bool)
- func (o *ShareExportPolicyRule) GetIpAcl() []string
- func (o *ShareExportPolicyRule) GetIpAclOk() ([]string, bool)
- func (o *ShareExportPolicyRule) GetOrder() int32
- func (o *ShareExportPolicyRule) GetOrderOk() (*int32, bool)
- func (o *ShareExportPolicyRule) GetReadOnly() bool
- func (o *ShareExportPolicyRule) GetReadOnlyOk() (*bool, bool)
- func (o *ShareExportPolicyRule) GetSetUuid() bool
- func (o *ShareExportPolicyRule) GetSetUuidOk() (*bool, bool)
- func (o *ShareExportPolicyRule) GetSuperUser() bool
- func (o *ShareExportPolicyRule) GetSuperUserOk() (*bool, bool)
- func (o *ShareExportPolicyRule) HasCreatedAt() bool
- func (o *ShareExportPolicyRule) HasDescription() bool
- func (o *ShareExportPolicyRule) HasId() bool
- func (o *ShareExportPolicyRule) HasIpAcl() bool
- func (o *ShareExportPolicyRule) HasOrder() bool
- func (o *ShareExportPolicyRule) HasReadOnly() bool
- func (o *ShareExportPolicyRule) HasSetUuid() bool
- func (o *ShareExportPolicyRule) HasSuperUser() bool
- func (o ShareExportPolicyRule) MarshalJSON() ([]byte, error)
- func (o *ShareExportPolicyRule) SetCreatedAt(v time.Time)
- func (o *ShareExportPolicyRule) SetDescription(v string)
- func (o *ShareExportPolicyRule) SetDescriptionNil()
- func (o *ShareExportPolicyRule) SetId(v string)
- func (o *ShareExportPolicyRule) SetIpAcl(v []string)
- func (o *ShareExportPolicyRule) SetOrder(v int32)
- func (o *ShareExportPolicyRule) SetReadOnly(v bool)
- func (o *ShareExportPolicyRule) SetSetUuid(v bool)
- func (o *ShareExportPolicyRule) SetSuperUser(v bool)
- func (o ShareExportPolicyRule) ToMap() (map[string]interface{}, error)
- func (o *ShareExportPolicyRule) UnsetDescription()
- type Status
- func (o *Status) GetCode() int32
- func (o *Status) GetCodeOk() (*int32, bool)
- func (o *Status) GetDetails() []GoogleProtobufAny
- func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
- func (o *Status) GetMessage() string
- func (o *Status) GetMessageOk() (*string, bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetCode(v int32)
- func (o *Status) SetDetails(v []GoogleProtobufAny)
- func (o *Status) SetMessage(v string)
- func (o Status) ToMap() (map[string]interface{}, error)
- type UpdateResourcePoolPayload
- func (o *UpdateResourcePoolPayload) GetIpAcl() []string
- func (o *UpdateResourcePoolPayload) GetIpAclOk() ([]string, bool)
- func (o *UpdateResourcePoolPayload) GetLabels() map[string]string
- func (o *UpdateResourcePoolPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateResourcePoolPayload) GetPerformanceClass() string
- func (o *UpdateResourcePoolPayload) GetPerformanceClassOk() (*string, bool)
- func (o *UpdateResourcePoolPayload) GetSizeGigabytes() int32
- func (o *UpdateResourcePoolPayload) GetSizeGigabytesOk() (*int32, bool)
- func (o *UpdateResourcePoolPayload) GetSnapshotsAreVisible() bool
- func (o *UpdateResourcePoolPayload) GetSnapshotsAreVisibleOk() (*bool, bool)
- func (o *UpdateResourcePoolPayload) HasIpAcl() bool
- func (o *UpdateResourcePoolPayload) HasLabels() bool
- func (o *UpdateResourcePoolPayload) HasPerformanceClass() bool
- func (o *UpdateResourcePoolPayload) HasSizeGigabytes() bool
- func (o *UpdateResourcePoolPayload) HasSnapshotsAreVisible() bool
- func (o UpdateResourcePoolPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateResourcePoolPayload) SetIpAcl(v []string)
- func (o *UpdateResourcePoolPayload) SetLabels(v map[string]string)
- func (o *UpdateResourcePoolPayload) SetPerformanceClass(v string)
- func (o *UpdateResourcePoolPayload) SetSizeGigabytes(v int32)
- func (o *UpdateResourcePoolPayload) SetSizeGigabytesNil()
- func (o *UpdateResourcePoolPayload) SetSnapshotsAreVisible(v bool)
- func (o UpdateResourcePoolPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateResourcePoolPayload) UnsetSizeGigabytes()
- type UpdateResourcePoolResponse
- func (o *UpdateResourcePoolResponse) GetResourcePool() ResourcePool
- func (o *UpdateResourcePoolResponse) GetResourcePoolOk() (*ResourcePool, bool)
- func (o *UpdateResourcePoolResponse) HasResourcePool() bool
- func (o UpdateResourcePoolResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateResourcePoolResponse) SetResourcePool(v ResourcePool)
- func (o UpdateResourcePoolResponse) ToMap() (map[string]interface{}, error)
- type UpdateShareExportPolicyBodyRule
- func (o *UpdateShareExportPolicyBodyRule) GetDescription() string
- func (o *UpdateShareExportPolicyBodyRule) GetDescriptionOk() (*string, bool)
- func (o *UpdateShareExportPolicyBodyRule) GetIpAcl() []string
- func (o *UpdateShareExportPolicyBodyRule) GetIpAclOk() ([]string, bool)
- func (o *UpdateShareExportPolicyBodyRule) GetOrder() int32
- func (o *UpdateShareExportPolicyBodyRule) GetOrderOk() (*int32, bool)
- func (o *UpdateShareExportPolicyBodyRule) GetReadOnly() bool
- func (o *UpdateShareExportPolicyBodyRule) GetReadOnlyOk() (*bool, bool)
- func (o *UpdateShareExportPolicyBodyRule) GetSetUuid() bool
- func (o *UpdateShareExportPolicyBodyRule) GetSetUuidOk() (*bool, bool)
- func (o *UpdateShareExportPolicyBodyRule) GetSuperUser() bool
- func (o *UpdateShareExportPolicyBodyRule) GetSuperUserOk() (*bool, bool)
- func (o *UpdateShareExportPolicyBodyRule) HasDescription() bool
- func (o *UpdateShareExportPolicyBodyRule) HasIpAcl() bool
- func (o *UpdateShareExportPolicyBodyRule) HasOrder() bool
- func (o *UpdateShareExportPolicyBodyRule) HasReadOnly() bool
- func (o *UpdateShareExportPolicyBodyRule) HasSetUuid() bool
- func (o *UpdateShareExportPolicyBodyRule) HasSuperUser() bool
- func (o UpdateShareExportPolicyBodyRule) MarshalJSON() ([]byte, error)
- func (o *UpdateShareExportPolicyBodyRule) SetDescription(v string)
- func (o *UpdateShareExportPolicyBodyRule) SetDescriptionNil()
- func (o *UpdateShareExportPolicyBodyRule) SetIpAcl(v []string)
- func (o *UpdateShareExportPolicyBodyRule) SetOrder(v int32)
- func (o *UpdateShareExportPolicyBodyRule) SetReadOnly(v bool)
- func (o *UpdateShareExportPolicyBodyRule) SetSetUuid(v bool)
- func (o *UpdateShareExportPolicyBodyRule) SetSuperUser(v bool)
- func (o UpdateShareExportPolicyBodyRule) ToMap() (map[string]interface{}, error)
- func (o *UpdateShareExportPolicyBodyRule) UnsetDescription()
- type UpdateShareExportPolicyPayload
- func (o *UpdateShareExportPolicyPayload) GetLabels() map[string]string
- func (o *UpdateShareExportPolicyPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateShareExportPolicyPayload) GetRules() []UpdateShareExportPolicyBodyRule
- func (o *UpdateShareExportPolicyPayload) GetRulesOk() ([]UpdateShareExportPolicyBodyRule, bool)
- func (o *UpdateShareExportPolicyPayload) HasLabels() bool
- func (o *UpdateShareExportPolicyPayload) HasRules() bool
- func (o UpdateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateShareExportPolicyPayload) SetLabels(v map[string]string)
- func (o *UpdateShareExportPolicyPayload) SetRules(v []UpdateShareExportPolicyBodyRule)
- func (o UpdateShareExportPolicyPayload) ToMap() (map[string]interface{}, error)
- type UpdateShareExportPolicyResponse
- func (o *UpdateShareExportPolicyResponse) GetShareExportPolicy() ShareExportPolicy
- func (o *UpdateShareExportPolicyResponse) GetShareExportPolicyOk() (*ShareExportPolicy, bool)
- func (o *UpdateShareExportPolicyResponse) HasShareExportPolicy() bool
- func (o UpdateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateShareExportPolicyResponse) SetShareExportPolicy(v ShareExportPolicy)
- func (o UpdateShareExportPolicyResponse) ToMap() (map[string]interface{}, error)
- type UpdateSharePayload
- func (o *UpdateSharePayload) GetExportPolicyName() string
- func (o *UpdateSharePayload) GetExportPolicyNameOk() (*string, bool)
- func (o *UpdateSharePayload) GetLabels() map[string]string
- func (o *UpdateSharePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateSharePayload) GetSpaceHardLimitGigabytes() int32
- func (o *UpdateSharePayload) GetSpaceHardLimitGigabytesOk() (*int32, bool)
- func (o *UpdateSharePayload) HasExportPolicyName() bool
- func (o *UpdateSharePayload) HasLabels() bool
- func (o *UpdateSharePayload) HasSpaceHardLimitGigabytes() bool
- func (o UpdateSharePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateSharePayload) SetExportPolicyName(v string)
- func (o *UpdateSharePayload) SetExportPolicyNameNil()
- func (o *UpdateSharePayload) SetLabels(v map[string]string)
- func (o *UpdateSharePayload) SetSpaceHardLimitGigabytes(v int32)
- func (o *UpdateSharePayload) SetSpaceHardLimitGigabytesNil()
- func (o UpdateSharePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateSharePayload) UnsetExportPolicyName()
- func (o *UpdateSharePayload) UnsetSpaceHardLimitGigabytes()
- type UpdateShareResponse
- func (o *UpdateShareResponse) GetShare() Share
- func (o *UpdateShareResponse) GetShareOk() (*Share, bool)
- func (o *UpdateShareResponse) HasShare() bool
- func (o UpdateShareResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateShareResponse) SetShare(v Share)
- func (o UpdateShareResponse) ToMap() (map[string]interface{}, error)
- type ValidationError
- func (o *ValidationError) GetErrorDescription() interface{}
- func (o *ValidationError) GetErrorDescriptionOk() (*interface{}, bool)
- func (o *ValidationError) GetFields() []ValidationErrorField
- func (o *ValidationError) GetFieldsOk() ([]ValidationErrorField, bool)
- func (o *ValidationError) GetTitle() string
- func (o *ValidationError) GetTitleOk() (*string, bool)
- func (o *ValidationError) GetType() string
- func (o *ValidationError) GetTypeOk() (*string, bool)
- func (o *ValidationError) HasErrorDescription() bool
- func (o ValidationError) MarshalJSON() ([]byte, error)
- func (o *ValidationError) SetErrorDescription(v interface{})
- func (o *ValidationError) SetFields(v []ValidationErrorField)
- func (o *ValidationError) SetTitle(v string)
- func (o *ValidationError) SetType(v string)
- func (o ValidationError) ToMap() (map[string]interface{}, error)
- func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
- type ValidationErrorField
- func (o *ValidationErrorField) GetField() string
- func (o *ValidationErrorField) GetFieldOk() (*string, bool)
- func (o *ValidationErrorField) GetReason() string
- func (o *ValidationErrorField) GetReasonOk() (*string, bool)
- func (o ValidationErrorField) MarshalJSON() ([]byte, error)
- func (o *ValidationErrorField) SetField(v string)
- func (o *ValidationErrorField) SetReason(v string)
- func (o ValidationErrorField) ToMap() (map[string]interface{}, error)
- func (o *ValidationErrorField) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
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 {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT File Storage (SFS) API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
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() *config.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 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 ApiCreateResourcePoolRequest ¶
type ApiCreateResourcePoolRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateResourcePoolRequest) CreateResourcePoolPayload ¶
func (r ApiCreateResourcePoolRequest) CreateResourcePoolPayload(createResourcePoolPayload CreateResourcePoolPayload) ApiCreateResourcePoolRequest
func (ApiCreateResourcePoolRequest) Execute ¶
func (r ApiCreateResourcePoolRequest) Execute() (*CreateResourcePoolResponse, error)
type ApiCreateResourcePoolSnapshotRequest ¶
type ApiCreateResourcePoolSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateResourcePoolSnapshotRequest) CreateResourcePoolSnapshotPayload ¶
func (r ApiCreateResourcePoolSnapshotRequest) CreateResourcePoolSnapshotPayload(createResourcePoolSnapshotPayload CreateResourcePoolSnapshotPayload) ApiCreateResourcePoolSnapshotRequest
func (ApiCreateResourcePoolSnapshotRequest) Execute ¶
func (r ApiCreateResourcePoolSnapshotRequest) Execute() (*CreateResourcePoolSnapshotResponse, error)
type ApiCreateShareExportPolicyRequest ¶
type ApiCreateShareExportPolicyRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateShareExportPolicyRequest) CreateShareExportPolicyPayload ¶
func (r ApiCreateShareExportPolicyRequest) CreateShareExportPolicyPayload(createShareExportPolicyPayload CreateShareExportPolicyPayload) ApiCreateShareExportPolicyRequest
func (ApiCreateShareExportPolicyRequest) Execute ¶
func (r ApiCreateShareExportPolicyRequest) Execute() (*CreateShareExportPolicyResponse, error)
type ApiCreateShareRequest ¶
type ApiCreateShareRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateShareRequest) CreateSharePayload ¶
func (r ApiCreateShareRequest) CreateSharePayload(createSharePayload CreateSharePayload) ApiCreateShareRequest
func (ApiCreateShareRequest) Execute ¶
func (r ApiCreateShareRequest) Execute() (*CreateShareResponse, error)
type ApiDeleteResourcePoolRequest ¶
type ApiDeleteResourcePoolRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteResourcePoolRequest) Execute ¶
func (r ApiDeleteResourcePoolRequest) Execute() (map[string]interface{}, error)
type ApiDeleteResourcePoolSnapshotRequest ¶
type ApiDeleteResourcePoolSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteResourcePoolSnapshotRequest) Execute ¶
func (r ApiDeleteResourcePoolSnapshotRequest) Execute() (map[string]interface{}, error)
type ApiDeleteShareExportPolicyRequest ¶
type ApiDeleteShareExportPolicyRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteShareExportPolicyRequest) Execute ¶
func (r ApiDeleteShareExportPolicyRequest) Execute() (map[string]interface{}, error)
type ApiDeleteShareRequest ¶
type ApiDeleteShareRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteShareRequest) Execute ¶
func (r ApiDeleteShareRequest) Execute() (map[string]interface{}, error)
type ApiGetResourcePoolRequest ¶
type ApiGetResourcePoolRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetResourcePoolRequest) Execute ¶
func (r ApiGetResourcePoolRequest) Execute() (*GetResourcePoolResponse, error)
type ApiGetResourcePoolSnapshotRequest ¶
type ApiGetResourcePoolSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetResourcePoolSnapshotRequest) Execute ¶
func (r ApiGetResourcePoolSnapshotRequest) Execute() (*GetResourcePoolSnapshotResponse, error)
type ApiGetShareExportPolicyRequest ¶
type ApiGetShareExportPolicyRequest struct {
// contains filtered or unexported fields
}
func (ApiGetShareExportPolicyRequest) Execute ¶
func (r ApiGetShareExportPolicyRequest) Execute() (*GetShareExportPolicyResponse, error)
type ApiGetShareRequest ¶
type ApiGetShareRequest struct {
// contains filtered or unexported fields
}
func (ApiGetShareRequest) Execute ¶
func (r ApiGetShareRequest) Execute() (*GetShareResponse, error)
type ApiListPerformanceClassesRequest ¶
type ApiListPerformanceClassesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListPerformanceClassesRequest) Execute ¶
func (r ApiListPerformanceClassesRequest) Execute() (*ListPerformanceClassesResponse, error)
type ApiListResourcePoolSnapshotsRequest ¶
type ApiListResourcePoolSnapshotsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListResourcePoolSnapshotsRequest) Execute ¶
func (r ApiListResourcePoolSnapshotsRequest) Execute() (*ListResourcePoolSnapshotsResponse, error)
type ApiListResourcePoolsRequest ¶
type ApiListResourcePoolsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListResourcePoolsRequest) Execute ¶
func (r ApiListResourcePoolsRequest) Execute() (*ListResourcePoolsResponse, error)
type ApiListShareExportPoliciesRequest ¶
type ApiListShareExportPoliciesRequest struct {
// contains filtered or unexported fields
}
func (ApiListShareExportPoliciesRequest) Execute ¶
func (r ApiListShareExportPoliciesRequest) Execute() (*ListShareExportPoliciesResponse, error)
type ApiListSharesRequest ¶
type ApiListSharesRequest struct {
// contains filtered or unexported fields
}
func (ApiListSharesRequest) Execute ¶
func (r ApiListSharesRequest) Execute() (*ListSharesResponse, error)
type ApiUpdateResourcePoolRequest ¶
type ApiUpdateResourcePoolRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateResourcePoolRequest) Execute ¶
func (r ApiUpdateResourcePoolRequest) Execute() (*UpdateResourcePoolResponse, error)
func (ApiUpdateResourcePoolRequest) UpdateResourcePoolPayload ¶
func (r ApiUpdateResourcePoolRequest) UpdateResourcePoolPayload(updateResourcePoolPayload UpdateResourcePoolPayload) ApiUpdateResourcePoolRequest
type ApiUpdateShareExportPolicyRequest ¶
type ApiUpdateShareExportPolicyRequest struct {
// contains filtered or unexported fields
}
func (ApiUpdateShareExportPolicyRequest) Execute ¶
func (r ApiUpdateShareExportPolicyRequest) Execute() (*UpdateShareExportPolicyResponse, error)
func (ApiUpdateShareExportPolicyRequest) UpdateShareExportPolicyPayload ¶
func (r ApiUpdateShareExportPolicyRequest) UpdateShareExportPolicyPayload(updateShareExportPolicyPayload UpdateShareExportPolicyPayload) ApiUpdateShareExportPolicyRequest
type ApiUpdateShareRequest ¶
type ApiUpdateShareRequest struct {
// contains filtered or unexported fields
}
func (ApiUpdateShareRequest) Execute ¶
func (r ApiUpdateShareRequest) Execute() (*UpdateShareResponse, error)
func (ApiUpdateShareRequest) UpdateSharePayload ¶
func (r ApiUpdateShareRequest) UpdateSharePayload(updateSharePayload UpdateSharePayload) ApiUpdateShareRequest
type CreateResourcePoolPayload ¶
type CreateResourcePoolPayload struct {
// Availability zone
AvailabilityZone string `json:"availabilityZone"`
// List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP)
IpAcl []string `json:"ipAcl"`
// An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$'
Labels *map[string]string `json:"labels,omitempty"`
// Name of the Resource Pool
Name string `json:"name"`
// Name of the performance class
PerformanceClass string `json:"performanceClass"`
// Size of the Resource Pool (unit: gibibytes)
SizeGigabytes int32 `json:"sizeGigabytes"`
// Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares.
SnapshotsAreVisible *bool `json:"snapshotsAreVisible,omitempty"`
}
CreateResourcePoolPayload struct for CreateResourcePoolPayload
func NewCreateResourcePoolPayload ¶
func NewCreateResourcePoolPayload(availabilityZone string, ipAcl []string, name string, performanceClass string, sizeGigabytes int32) *CreateResourcePoolPayload
NewCreateResourcePoolPayload instantiates a new CreateResourcePoolPayload 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 NewCreateResourcePoolPayloadWithDefaults ¶
func NewCreateResourcePoolPayloadWithDefaults() *CreateResourcePoolPayload
NewCreateResourcePoolPayloadWithDefaults instantiates a new CreateResourcePoolPayload 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 (*CreateResourcePoolPayload) GetAvailabilityZone ¶
func (o *CreateResourcePoolPayload) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field value
func (*CreateResourcePoolPayload) GetAvailabilityZoneOk ¶
func (o *CreateResourcePoolPayload) GetAvailabilityZoneOk() (*string, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set.
func (*CreateResourcePoolPayload) GetIpAcl ¶
func (o *CreateResourcePoolPayload) GetIpAcl() []string
GetIpAcl returns the IpAcl field value
func (*CreateResourcePoolPayload) GetIpAclOk ¶
func (o *CreateResourcePoolPayload) GetIpAclOk() ([]string, bool)
GetIpAclOk returns a tuple with the IpAcl field value and a boolean to check if the value has been set.
func (*CreateResourcePoolPayload) GetLabels ¶
func (o *CreateResourcePoolPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateResourcePoolPayload) GetLabelsOk ¶
func (o *CreateResourcePoolPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateResourcePoolPayload) GetName ¶
func (o *CreateResourcePoolPayload) GetName() string
GetName returns the Name field value
func (*CreateResourcePoolPayload) GetNameOk ¶
func (o *CreateResourcePoolPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateResourcePoolPayload) GetPerformanceClass ¶
func (o *CreateResourcePoolPayload) GetPerformanceClass() string
GetPerformanceClass returns the PerformanceClass field value
func (*CreateResourcePoolPayload) GetPerformanceClassOk ¶
func (o *CreateResourcePoolPayload) GetPerformanceClassOk() (*string, bool)
GetPerformanceClassOk returns a tuple with the PerformanceClass field value and a boolean to check if the value has been set.
func (*CreateResourcePoolPayload) GetSizeGigabytes ¶
func (o *CreateResourcePoolPayload) GetSizeGigabytes() int32
GetSizeGigabytes returns the SizeGigabytes field value
func (*CreateResourcePoolPayload) GetSizeGigabytesOk ¶
func (o *CreateResourcePoolPayload) GetSizeGigabytesOk() (*int32, bool)
GetSizeGigabytesOk returns a tuple with the SizeGigabytes field value and a boolean to check if the value has been set.
func (*CreateResourcePoolPayload) GetSnapshotsAreVisible ¶
func (o *CreateResourcePoolPayload) GetSnapshotsAreVisible() bool
GetSnapshotsAreVisible returns the SnapshotsAreVisible field value if set, zero value otherwise.
func (*CreateResourcePoolPayload) GetSnapshotsAreVisibleOk ¶
func (o *CreateResourcePoolPayload) GetSnapshotsAreVisibleOk() (*bool, bool)
GetSnapshotsAreVisibleOk returns a tuple with the SnapshotsAreVisible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateResourcePoolPayload) HasLabels ¶
func (o *CreateResourcePoolPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateResourcePoolPayload) HasSnapshotsAreVisible ¶
func (o *CreateResourcePoolPayload) HasSnapshotsAreVisible() bool
HasSnapshotsAreVisible returns a boolean if a field has been set.
func (CreateResourcePoolPayload) MarshalJSON ¶
func (o CreateResourcePoolPayload) MarshalJSON() ([]byte, error)
func (*CreateResourcePoolPayload) SetAvailabilityZone ¶
func (o *CreateResourcePoolPayload) SetAvailabilityZone(v string)
SetAvailabilityZone sets field value
func (*CreateResourcePoolPayload) SetIpAcl ¶
func (o *CreateResourcePoolPayload) SetIpAcl(v []string)
SetIpAcl sets field value
func (*CreateResourcePoolPayload) SetLabels ¶
func (o *CreateResourcePoolPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateResourcePoolPayload) SetName ¶
func (o *CreateResourcePoolPayload) SetName(v string)
SetName sets field value
func (*CreateResourcePoolPayload) SetPerformanceClass ¶
func (o *CreateResourcePoolPayload) SetPerformanceClass(v string)
SetPerformanceClass sets field value
func (*CreateResourcePoolPayload) SetSizeGigabytes ¶
func (o *CreateResourcePoolPayload) SetSizeGigabytes(v int32)
SetSizeGigabytes sets field value
func (*CreateResourcePoolPayload) SetSnapshotsAreVisible ¶
func (o *CreateResourcePoolPayload) SetSnapshotsAreVisible(v bool)
SetSnapshotsAreVisible gets a reference to the given bool and assigns it to the SnapshotsAreVisible field.
func (CreateResourcePoolPayload) ToMap ¶
func (o CreateResourcePoolPayload) ToMap() (map[string]interface{}, error)
func (*CreateResourcePoolPayload) UnmarshalJSON ¶
func (o *CreateResourcePoolPayload) UnmarshalJSON(data []byte) (err error)
type CreateResourcePoolResponse ¶
type CreateResourcePoolResponse struct {
// Created Resource Pool
ResourcePool *ResourcePool `json:"resourcePool,omitempty"`
}
CreateResourcePoolResponse struct for CreateResourcePoolResponse
func NewCreateResourcePoolResponse ¶
func NewCreateResourcePoolResponse() *CreateResourcePoolResponse
NewCreateResourcePoolResponse instantiates a new CreateResourcePoolResponse 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 NewCreateResourcePoolResponseWithDefaults ¶
func NewCreateResourcePoolResponseWithDefaults() *CreateResourcePoolResponse
NewCreateResourcePoolResponseWithDefaults instantiates a new CreateResourcePoolResponse 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 (*CreateResourcePoolResponse) GetResourcePool ¶
func (o *CreateResourcePoolResponse) GetResourcePool() ResourcePool
GetResourcePool returns the ResourcePool field value if set, zero value otherwise.
func (*CreateResourcePoolResponse) GetResourcePoolOk ¶
func (o *CreateResourcePoolResponse) GetResourcePoolOk() (*ResourcePool, bool)
GetResourcePoolOk returns a tuple with the ResourcePool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateResourcePoolResponse) HasResourcePool ¶
func (o *CreateResourcePoolResponse) HasResourcePool() bool
HasResourcePool returns a boolean if a field has been set.
func (CreateResourcePoolResponse) MarshalJSON ¶
func (o CreateResourcePoolResponse) MarshalJSON() ([]byte, error)
func (*CreateResourcePoolResponse) SetResourcePool ¶
func (o *CreateResourcePoolResponse) SetResourcePool(v ResourcePool)
SetResourcePool gets a reference to the given ResourcePool and assigns it to the ResourcePool field.
func (CreateResourcePoolResponse) ToMap ¶
func (o CreateResourcePoolResponse) ToMap() (map[string]interface{}, error)
type CreateResourcePoolSnapshotPayload ¶
type CreateResourcePoolSnapshotPayload struct {
// (optional) A comment to add more information about a snapshot
Comment NullableString `json:"comment,omitempty"`
// Name of the Resource Pool Snapshot
Name *string `json:"name,omitempty"`
}
CreateResourcePoolSnapshotPayload struct for CreateResourcePoolSnapshotPayload
func NewCreateResourcePoolSnapshotPayload ¶
func NewCreateResourcePoolSnapshotPayload() *CreateResourcePoolSnapshotPayload
NewCreateResourcePoolSnapshotPayload instantiates a new CreateResourcePoolSnapshotPayload 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 NewCreateResourcePoolSnapshotPayloadWithDefaults ¶
func NewCreateResourcePoolSnapshotPayloadWithDefaults() *CreateResourcePoolSnapshotPayload
NewCreateResourcePoolSnapshotPayloadWithDefaults instantiates a new CreateResourcePoolSnapshotPayload 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 (*CreateResourcePoolSnapshotPayload) GetComment ¶
func (o *CreateResourcePoolSnapshotPayload) GetComment() string
GetComment returns the Comment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateResourcePoolSnapshotPayload) GetCommentOk ¶
func (o *CreateResourcePoolSnapshotPayload) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateResourcePoolSnapshotPayload) GetName ¶
func (o *CreateResourcePoolSnapshotPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateResourcePoolSnapshotPayload) GetNameOk ¶
func (o *CreateResourcePoolSnapshotPayload) 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 (*CreateResourcePoolSnapshotPayload) HasComment ¶
func (o *CreateResourcePoolSnapshotPayload) HasComment() bool
HasComment returns a boolean if a field has been set.
func (*CreateResourcePoolSnapshotPayload) HasName ¶
func (o *CreateResourcePoolSnapshotPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateResourcePoolSnapshotPayload) MarshalJSON ¶
func (o CreateResourcePoolSnapshotPayload) MarshalJSON() ([]byte, error)
func (*CreateResourcePoolSnapshotPayload) SetComment ¶
func (o *CreateResourcePoolSnapshotPayload) SetComment(v string)
SetComment gets a reference to the given NullableString and assigns it to the Comment field.
func (*CreateResourcePoolSnapshotPayload) SetCommentNil ¶
func (o *CreateResourcePoolSnapshotPayload) SetCommentNil()
SetCommentNil sets the value for Comment to be an explicit nil
func (*CreateResourcePoolSnapshotPayload) SetName ¶
func (o *CreateResourcePoolSnapshotPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateResourcePoolSnapshotPayload) ToMap ¶
func (o CreateResourcePoolSnapshotPayload) ToMap() (map[string]interface{}, error)
func (*CreateResourcePoolSnapshotPayload) UnsetComment ¶
func (o *CreateResourcePoolSnapshotPayload) UnsetComment()
UnsetComment ensures that no value is present for Comment, not even an explicit nil
type CreateResourcePoolSnapshotResponse ¶
type CreateResourcePoolSnapshotResponse struct {
// Created Resource Pool Snapshot
ResourcePoolSnapshot *ResourcePoolSnapshot `json:"resourcePoolSnapshot,omitempty"`
}
CreateResourcePoolSnapshotResponse struct for CreateResourcePoolSnapshotResponse
func NewCreateResourcePoolSnapshotResponse ¶
func NewCreateResourcePoolSnapshotResponse() *CreateResourcePoolSnapshotResponse
NewCreateResourcePoolSnapshotResponse instantiates a new CreateResourcePoolSnapshotResponse 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 NewCreateResourcePoolSnapshotResponseWithDefaults ¶
func NewCreateResourcePoolSnapshotResponseWithDefaults() *CreateResourcePoolSnapshotResponse
NewCreateResourcePoolSnapshotResponseWithDefaults instantiates a new CreateResourcePoolSnapshotResponse 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 (*CreateResourcePoolSnapshotResponse) GetResourcePoolSnapshot ¶
func (o *CreateResourcePoolSnapshotResponse) GetResourcePoolSnapshot() ResourcePoolSnapshot
GetResourcePoolSnapshot returns the ResourcePoolSnapshot field value if set, zero value otherwise.
func (*CreateResourcePoolSnapshotResponse) GetResourcePoolSnapshotOk ¶
func (o *CreateResourcePoolSnapshotResponse) GetResourcePoolSnapshotOk() (*ResourcePoolSnapshot, bool)
GetResourcePoolSnapshotOk returns a tuple with the ResourcePoolSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateResourcePoolSnapshotResponse) HasResourcePoolSnapshot ¶
func (o *CreateResourcePoolSnapshotResponse) HasResourcePoolSnapshot() bool
HasResourcePoolSnapshot returns a boolean if a field has been set.
func (CreateResourcePoolSnapshotResponse) MarshalJSON ¶
func (o CreateResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
func (*CreateResourcePoolSnapshotResponse) SetResourcePoolSnapshot ¶
func (o *CreateResourcePoolSnapshotResponse) SetResourcePoolSnapshot(v ResourcePoolSnapshot)
SetResourcePoolSnapshot gets a reference to the given ResourcePoolSnapshot and assigns it to the ResourcePoolSnapshot field.
func (CreateResourcePoolSnapshotResponse) ToMap ¶
func (o CreateResourcePoolSnapshotResponse) ToMap() (map[string]interface{}, error)
type CreateShareExportPolicyPayload ¶
type CreateShareExportPolicyPayload struct {
Labels *map[string]string `json:"labels,omitempty"`
Name string `json:"name"`
Rules []CreateShareExportPolicyRequestRule `json:"rules,omitempty"`
}
CreateShareExportPolicyPayload struct for CreateShareExportPolicyPayload
func NewCreateShareExportPolicyPayload ¶
func NewCreateShareExportPolicyPayload(name string) *CreateShareExportPolicyPayload
NewCreateShareExportPolicyPayload instantiates a new CreateShareExportPolicyPayload 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 NewCreateShareExportPolicyPayloadWithDefaults ¶
func NewCreateShareExportPolicyPayloadWithDefaults() *CreateShareExportPolicyPayload
NewCreateShareExportPolicyPayloadWithDefaults instantiates a new CreateShareExportPolicyPayload 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 (*CreateShareExportPolicyPayload) GetLabels ¶
func (o *CreateShareExportPolicyPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateShareExportPolicyPayload) GetLabelsOk ¶
func (o *CreateShareExportPolicyPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareExportPolicyPayload) GetName ¶
func (o *CreateShareExportPolicyPayload) GetName() string
GetName returns the Name field value
func (*CreateShareExportPolicyPayload) GetNameOk ¶
func (o *CreateShareExportPolicyPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateShareExportPolicyPayload) GetRules ¶
func (o *CreateShareExportPolicyPayload) GetRules() []CreateShareExportPolicyRequestRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*CreateShareExportPolicyPayload) GetRulesOk ¶
func (o *CreateShareExportPolicyPayload) GetRulesOk() ([]CreateShareExportPolicyRequestRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareExportPolicyPayload) HasLabels ¶
func (o *CreateShareExportPolicyPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateShareExportPolicyPayload) HasRules ¶
func (o *CreateShareExportPolicyPayload) HasRules() bool
HasRules returns a boolean if a field has been set.
func (CreateShareExportPolicyPayload) MarshalJSON ¶
func (o CreateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
func (*CreateShareExportPolicyPayload) SetLabels ¶
func (o *CreateShareExportPolicyPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateShareExportPolicyPayload) SetName ¶
func (o *CreateShareExportPolicyPayload) SetName(v string)
SetName sets field value
func (*CreateShareExportPolicyPayload) SetRules ¶
func (o *CreateShareExportPolicyPayload) SetRules(v []CreateShareExportPolicyRequestRule)
SetRules gets a reference to the given []CreateShareExportPolicyRequestRule and assigns it to the Rules field.
func (CreateShareExportPolicyPayload) ToMap ¶
func (o CreateShareExportPolicyPayload) ToMap() (map[string]interface{}, error)
func (*CreateShareExportPolicyPayload) UnmarshalJSON ¶
func (o *CreateShareExportPolicyPayload) UnmarshalJSON(data []byte) (err error)
type CreateShareExportPolicyRequestRule ¶
type CreateShareExportPolicyRequestRule struct {
Description NullableString `json:"description,omitempty"`
IpAcl []string `json:"ipAcl,omitempty"`
Order *int32 `json:"order,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
SetUuid *bool `json:"setUuid,omitempty"`
SuperUser *bool `json:"superUser,omitempty"`
}
CreateShareExportPolicyRequestRule struct for CreateShareExportPolicyRequestRule
func NewCreateShareExportPolicyRequestRule ¶
func NewCreateShareExportPolicyRequestRule() *CreateShareExportPolicyRequestRule
NewCreateShareExportPolicyRequestRule instantiates a new CreateShareExportPolicyRequestRule 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 NewCreateShareExportPolicyRequestRuleWithDefaults ¶
func NewCreateShareExportPolicyRequestRuleWithDefaults() *CreateShareExportPolicyRequestRule
NewCreateShareExportPolicyRequestRuleWithDefaults instantiates a new CreateShareExportPolicyRequestRule 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 (*CreateShareExportPolicyRequestRule) GetDescription ¶
func (o *CreateShareExportPolicyRequestRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateShareExportPolicyRequestRule) GetDescriptionOk ¶
func (o *CreateShareExportPolicyRequestRule) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateShareExportPolicyRequestRule) GetIpAcl ¶
func (o *CreateShareExportPolicyRequestRule) GetIpAcl() []string
GetIpAcl returns the IpAcl field value if set, zero value otherwise.
func (*CreateShareExportPolicyRequestRule) GetIpAclOk ¶
func (o *CreateShareExportPolicyRequestRule) GetIpAclOk() ([]string, bool)
GetIpAclOk returns a tuple with the IpAcl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareExportPolicyRequestRule) GetOrder ¶
func (o *CreateShareExportPolicyRequestRule) GetOrder() int32
GetOrder returns the Order field value if set, zero value otherwise.
func (*CreateShareExportPolicyRequestRule) GetOrderOk ¶
func (o *CreateShareExportPolicyRequestRule) GetOrderOk() (*int32, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareExportPolicyRequestRule) GetReadOnly ¶
func (o *CreateShareExportPolicyRequestRule) GetReadOnly() bool
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*CreateShareExportPolicyRequestRule) GetReadOnlyOk ¶
func (o *CreateShareExportPolicyRequestRule) GetReadOnlyOk() (*bool, 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 (*CreateShareExportPolicyRequestRule) GetSetUuid ¶
func (o *CreateShareExportPolicyRequestRule) GetSetUuid() bool
GetSetUuid returns the SetUuid field value if set, zero value otherwise.
func (*CreateShareExportPolicyRequestRule) GetSetUuidOk ¶
func (o *CreateShareExportPolicyRequestRule) GetSetUuidOk() (*bool, bool)
GetSetUuidOk returns a tuple with the SetUuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareExportPolicyRequestRule) GetSuperUser ¶
func (o *CreateShareExportPolicyRequestRule) GetSuperUser() bool
GetSuperUser returns the SuperUser field value if set, zero value otherwise.
func (*CreateShareExportPolicyRequestRule) GetSuperUserOk ¶
func (o *CreateShareExportPolicyRequestRule) GetSuperUserOk() (*bool, bool)
GetSuperUserOk returns a tuple with the SuperUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareExportPolicyRequestRule) HasDescription ¶
func (o *CreateShareExportPolicyRequestRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateShareExportPolicyRequestRule) HasIpAcl ¶
func (o *CreateShareExportPolicyRequestRule) HasIpAcl() bool
HasIpAcl returns a boolean if a field has been set.
func (*CreateShareExportPolicyRequestRule) HasOrder ¶
func (o *CreateShareExportPolicyRequestRule) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*CreateShareExportPolicyRequestRule) HasReadOnly ¶
func (o *CreateShareExportPolicyRequestRule) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*CreateShareExportPolicyRequestRule) HasSetUuid ¶
func (o *CreateShareExportPolicyRequestRule) HasSetUuid() bool
HasSetUuid returns a boolean if a field has been set.
func (*CreateShareExportPolicyRequestRule) HasSuperUser ¶
func (o *CreateShareExportPolicyRequestRule) HasSuperUser() bool
HasSuperUser returns a boolean if a field has been set.
func (CreateShareExportPolicyRequestRule) MarshalJSON ¶
func (o CreateShareExportPolicyRequestRule) MarshalJSON() ([]byte, error)
func (*CreateShareExportPolicyRequestRule) SetDescription ¶
func (o *CreateShareExportPolicyRequestRule) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*CreateShareExportPolicyRequestRule) SetDescriptionNil ¶
func (o *CreateShareExportPolicyRequestRule) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*CreateShareExportPolicyRequestRule) SetIpAcl ¶
func (o *CreateShareExportPolicyRequestRule) SetIpAcl(v []string)
SetIpAcl gets a reference to the given []string and assigns it to the IpAcl field.
func (*CreateShareExportPolicyRequestRule) SetOrder ¶
func (o *CreateShareExportPolicyRequestRule) SetOrder(v int32)
SetOrder gets a reference to the given int32 and assigns it to the Order field.
func (*CreateShareExportPolicyRequestRule) SetReadOnly ¶
func (o *CreateShareExportPolicyRequestRule) SetReadOnly(v bool)
SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.
func (*CreateShareExportPolicyRequestRule) SetSetUuid ¶
func (o *CreateShareExportPolicyRequestRule) SetSetUuid(v bool)
SetSetUuid gets a reference to the given bool and assigns it to the SetUuid field.
func (*CreateShareExportPolicyRequestRule) SetSuperUser ¶
func (o *CreateShareExportPolicyRequestRule) SetSuperUser(v bool)
SetSuperUser gets a reference to the given bool and assigns it to the SuperUser field.
func (CreateShareExportPolicyRequestRule) ToMap ¶
func (o CreateShareExportPolicyRequestRule) ToMap() (map[string]interface{}, error)
func (*CreateShareExportPolicyRequestRule) UnsetDescription ¶
func (o *CreateShareExportPolicyRequestRule) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type CreateShareExportPolicyResponse ¶
type CreateShareExportPolicyResponse struct {
ShareExportPolicy *ShareExportPolicy `json:"shareExportPolicy,omitempty"`
}
CreateShareExportPolicyResponse struct for CreateShareExportPolicyResponse
func NewCreateShareExportPolicyResponse ¶
func NewCreateShareExportPolicyResponse() *CreateShareExportPolicyResponse
NewCreateShareExportPolicyResponse instantiates a new CreateShareExportPolicyResponse 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 NewCreateShareExportPolicyResponseWithDefaults ¶
func NewCreateShareExportPolicyResponseWithDefaults() *CreateShareExportPolicyResponse
NewCreateShareExportPolicyResponseWithDefaults instantiates a new CreateShareExportPolicyResponse 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 (*CreateShareExportPolicyResponse) GetShareExportPolicy ¶
func (o *CreateShareExportPolicyResponse) GetShareExportPolicy() ShareExportPolicy
GetShareExportPolicy returns the ShareExportPolicy field value if set, zero value otherwise.
func (*CreateShareExportPolicyResponse) GetShareExportPolicyOk ¶
func (o *CreateShareExportPolicyResponse) GetShareExportPolicyOk() (*ShareExportPolicy, bool)
GetShareExportPolicyOk returns a tuple with the ShareExportPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareExportPolicyResponse) HasShareExportPolicy ¶
func (o *CreateShareExportPolicyResponse) HasShareExportPolicy() bool
HasShareExportPolicy returns a boolean if a field has been set.
func (CreateShareExportPolicyResponse) MarshalJSON ¶
func (o CreateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
func (*CreateShareExportPolicyResponse) SetShareExportPolicy ¶
func (o *CreateShareExportPolicyResponse) SetShareExportPolicy(v ShareExportPolicy)
SetShareExportPolicy gets a reference to the given ShareExportPolicy and assigns it to the ShareExportPolicy field.
func (CreateShareExportPolicyResponse) ToMap ¶
func (o CreateShareExportPolicyResponse) ToMap() (map[string]interface{}, error)
type CreateSharePayload ¶
type CreateSharePayload struct {
ExportPolicyName NullableString `json:"exportPolicyName,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Name string `json:"name"`
SpaceHardLimitGigabytes int32 `json:"spaceHardLimitGigabytes"`
}
CreateSharePayload struct for CreateSharePayload
func NewCreateSharePayload ¶
func NewCreateSharePayload(name string, spaceHardLimitGigabytes int32) *CreateSharePayload
NewCreateSharePayload instantiates a new CreateSharePayload 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 NewCreateSharePayloadWithDefaults ¶
func NewCreateSharePayloadWithDefaults() *CreateSharePayload
NewCreateSharePayloadWithDefaults instantiates a new CreateSharePayload 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 (*CreateSharePayload) GetExportPolicyName ¶
func (o *CreateSharePayload) GetExportPolicyName() string
GetExportPolicyName returns the ExportPolicyName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateSharePayload) GetExportPolicyNameOk ¶
func (o *CreateSharePayload) GetExportPolicyNameOk() (*string, bool)
GetExportPolicyNameOk returns a tuple with the ExportPolicyName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateSharePayload) GetLabels ¶
func (o *CreateSharePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateSharePayload) GetLabelsOk ¶
func (o *CreateSharePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSharePayload) GetName ¶
func (o *CreateSharePayload) GetName() string
GetName returns the Name field value
func (*CreateSharePayload) GetNameOk ¶
func (o *CreateSharePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateSharePayload) GetSpaceHardLimitGigabytes ¶
func (o *CreateSharePayload) GetSpaceHardLimitGigabytes() int32
GetSpaceHardLimitGigabytes returns the SpaceHardLimitGigabytes field value
func (*CreateSharePayload) GetSpaceHardLimitGigabytesOk ¶
func (o *CreateSharePayload) GetSpaceHardLimitGigabytesOk() (*int32, bool)
GetSpaceHardLimitGigabytesOk returns a tuple with the SpaceHardLimitGigabytes field value and a boolean to check if the value has been set.
func (*CreateSharePayload) HasExportPolicyName ¶
func (o *CreateSharePayload) HasExportPolicyName() bool
HasExportPolicyName returns a boolean if a field has been set.
func (*CreateSharePayload) HasLabels ¶
func (o *CreateSharePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateSharePayload) MarshalJSON ¶
func (o CreateSharePayload) MarshalJSON() ([]byte, error)
func (*CreateSharePayload) SetExportPolicyName ¶
func (o *CreateSharePayload) SetExportPolicyName(v string)
SetExportPolicyName gets a reference to the given NullableString and assigns it to the ExportPolicyName field.
func (*CreateSharePayload) SetExportPolicyNameNil ¶
func (o *CreateSharePayload) SetExportPolicyNameNil()
SetExportPolicyNameNil sets the value for ExportPolicyName to be an explicit nil
func (*CreateSharePayload) SetLabels ¶
func (o *CreateSharePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateSharePayload) SetName ¶
func (o *CreateSharePayload) SetName(v string)
SetName sets field value
func (*CreateSharePayload) SetSpaceHardLimitGigabytes ¶
func (o *CreateSharePayload) SetSpaceHardLimitGigabytes(v int32)
SetSpaceHardLimitGigabytes sets field value
func (CreateSharePayload) ToMap ¶
func (o CreateSharePayload) ToMap() (map[string]interface{}, error)
func (*CreateSharePayload) UnmarshalJSON ¶
func (o *CreateSharePayload) UnmarshalJSON(data []byte) (err error)
func (*CreateSharePayload) UnsetExportPolicyName ¶
func (o *CreateSharePayload) UnsetExportPolicyName()
UnsetExportPolicyName ensures that no value is present for ExportPolicyName, not even an explicit nil
type CreateShareResponse ¶
type CreateShareResponse struct {
Share *Share `json:"share,omitempty"`
}
CreateShareResponse struct for CreateShareResponse
func NewCreateShareResponse ¶
func NewCreateShareResponse() *CreateShareResponse
NewCreateShareResponse instantiates a new CreateShareResponse 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 NewCreateShareResponseWithDefaults ¶
func NewCreateShareResponseWithDefaults() *CreateShareResponse
NewCreateShareResponseWithDefaults instantiates a new CreateShareResponse 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 (*CreateShareResponse) GetShare ¶
func (o *CreateShareResponse) GetShare() Share
GetShare returns the Share field value if set, zero value otherwise.
func (*CreateShareResponse) GetShareOk ¶
func (o *CreateShareResponse) GetShareOk() (*Share, bool)
GetShareOk returns a tuple with the Share field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareResponse) HasShare ¶
func (o *CreateShareResponse) HasShare() bool
HasShare returns a boolean if a field has been set.
func (CreateShareResponse) MarshalJSON ¶
func (o CreateShareResponse) MarshalJSON() ([]byte, error)
func (*CreateShareResponse) SetShare ¶
func (o *CreateShareResponse) SetShare(v Share)
SetShare gets a reference to the given Share and assigns it to the Share field.
func (CreateShareResponse) ToMap ¶
func (o CreateShareResponse) ToMap() (map[string]interface{}, error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateResourcePool Create Resource Pool
Create a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateResourcePoolRequest
*/
CreateResourcePool(ctx context.Context, projectId string, region string) ApiCreateResourcePoolRequest
// CreateResourcePoolExecute executes the request
// @return CreateResourcePoolResponse
CreateResourcePoolExecute(r ApiCreateResourcePoolRequest) (*CreateResourcePoolResponse, error)
/*
CreateResourcePoolSnapshot Create Resource Pool Snapshot
Creates a Snapshot of a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param resourcePoolId
@return ApiCreateResourcePoolSnapshotRequest
*/
CreateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateResourcePoolSnapshotRequest
// CreateResourcePoolSnapshotExecute executes the request
// @return CreateResourcePoolSnapshotResponse
CreateResourcePoolSnapshotExecute(r ApiCreateResourcePoolSnapshotRequest) (*CreateResourcePoolSnapshotResponse, error)
CreateShare(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateShareRequest
// @return CreateShareResponse
CreateShareExecute(r ApiCreateShareRequest) (*CreateShareResponse, error)
CreateShareExportPolicy(ctx context.Context, projectId string, region string) ApiCreateShareExportPolicyRequest
// @return CreateShareExportPolicyResponse
CreateShareExportPolicyExecute(r ApiCreateShareExportPolicyRequest) (*CreateShareExportPolicyResponse, error)
/*
DeleteResourcePool Delete Resource Pool
Deletes a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param resourcePoolId
@return ApiDeleteResourcePoolRequest
*/
DeleteResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiDeleteResourcePoolRequest
// DeleteResourcePoolExecute executes the request
// @return map[string]interface{}
DeleteResourcePoolExecute(r ApiDeleteResourcePoolRequest) (map[string]interface{}, error)
/*
DeleteResourcePoolSnapshot Delete Resource Pool Snapshot
Deletes a Snapshot from a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param resourcePoolId
@param snapshotName
@return ApiDeleteResourcePoolSnapshotRequest
*/
DeleteResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiDeleteResourcePoolSnapshotRequest
// DeleteResourcePoolSnapshotExecute executes the request
// @return map[string]interface{}
DeleteResourcePoolSnapshotExecute(r ApiDeleteResourcePoolSnapshotRequest) (map[string]interface{}, error)
DeleteShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiDeleteShareRequest
// @return map[string]interface{}
DeleteShareExecute(r ApiDeleteShareRequest) (map[string]interface{}, error)
DeleteShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiDeleteShareExportPolicyRequest
// @return map[string]interface{}
DeleteShareExportPolicyExecute(r ApiDeleteShareExportPolicyRequest) (map[string]interface{}, error)
/*
GetResourcePool Get Resource Pool
Retrieves a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param resourcePoolId
@return ApiGetResourcePoolRequest
*/
GetResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiGetResourcePoolRequest
// GetResourcePoolExecute executes the request
// @return GetResourcePoolResponse
GetResourcePoolExecute(r ApiGetResourcePoolRequest) (*GetResourcePoolResponse, error)
/*
GetResourcePoolSnapshot Get Resource Pool Snapshot
Retrieves a Snapshot from a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param resourcePoolId
@param snapshotName
@return ApiGetResourcePoolSnapshotRequest
*/
GetResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiGetResourcePoolSnapshotRequest
// GetResourcePoolSnapshotExecute executes the request
// @return GetResourcePoolSnapshotResponse
GetResourcePoolSnapshotExecute(r ApiGetResourcePoolSnapshotRequest) (*GetResourcePoolSnapshotResponse, error)
GetShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiGetShareRequest
// @return GetShareResponse
GetShareExecute(r ApiGetShareRequest) (*GetShareResponse, error)
GetShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiGetShareExportPolicyRequest
// @return GetShareExportPolicyResponse
GetShareExportPolicyExecute(r ApiGetShareExportPolicyRequest) (*GetShareExportPolicyResponse, error)
/*
ListPerformanceClasses List Resource Pool Performance Classes
Lists all performances classes available
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPerformanceClassesRequest
*/
ListPerformanceClasses(ctx context.Context) ApiListPerformanceClassesRequest
// ListPerformanceClassesExecute executes the request
// @return ListPerformanceClassesResponse
ListPerformanceClassesExecute(r ApiListPerformanceClassesRequest) (*ListPerformanceClassesResponse, error)
/*
ListResourcePoolSnapshots List Resource Pool Snapshots
Lists the Snapshots of a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param resourcePoolId
@return ApiListResourcePoolSnapshotsRequest
*/
ListResourcePoolSnapshots(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListResourcePoolSnapshotsRequest
// ListResourcePoolSnapshotsExecute executes the request
// @return ListResourcePoolSnapshotsResponse
ListResourcePoolSnapshotsExecute(r ApiListResourcePoolSnapshotsRequest) (*ListResourcePoolSnapshotsResponse, error)
/*
ListResourcePools List Resource Pools
Lists Resource Pools in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListResourcePoolsRequest
*/
ListResourcePools(ctx context.Context, projectId string, region string) ApiListResourcePoolsRequest
// ListResourcePoolsExecute executes the request
// @return ListResourcePoolsResponse
ListResourcePoolsExecute(r ApiListResourcePoolsRequest) (*ListResourcePoolsResponse, error)
ListShareExportPolicies(ctx context.Context, projectId string, region string) ApiListShareExportPoliciesRequest
// @return ListShareExportPoliciesResponse
ListShareExportPoliciesExecute(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)
ListShares(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListSharesRequest
// @return ListSharesResponse
ListSharesExecute(r ApiListSharesRequest) (*ListSharesResponse, error)
/*
UpdateResourcePool Update Resource Pool
Updates a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param resourcePoolId
@return ApiUpdateResourcePoolRequest
*/
UpdateResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiUpdateResourcePoolRequest
// UpdateResourcePoolExecute executes the request
// @return UpdateResourcePoolResponse
UpdateResourcePoolExecute(r ApiUpdateResourcePoolRequest) (*UpdateResourcePoolResponse, error)
UpdateShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiUpdateShareRequest
// @return UpdateShareResponse
UpdateShareExecute(r ApiUpdateShareRequest) (*UpdateShareResponse, error)
UpdateShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiUpdateShareExportPolicyRequest
// @return UpdateShareExportPolicyResponse
UpdateShareExportPolicyExecute(r ApiUpdateShareExportPolicyRequest) (*UpdateShareExportPolicyResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateResourcePool ¶
func (a *DefaultAPIService) CreateResourcePool(ctx context.Context, projectId string, region string) ApiCreateResourcePoolRequest
CreateResourcePool Create Resource Pool
Create a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateResourcePoolRequest
func (*DefaultAPIService) CreateResourcePoolExecute ¶
func (a *DefaultAPIService) CreateResourcePoolExecute(r ApiCreateResourcePoolRequest) (*CreateResourcePoolResponse, error)
Execute executes the request
@return CreateResourcePoolResponse
func (*DefaultAPIService) CreateResourcePoolSnapshot ¶
func (a *DefaultAPIService) CreateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateResourcePoolSnapshotRequest
CreateResourcePoolSnapshot Create Resource Pool Snapshot
Creates a Snapshot of a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @return ApiCreateResourcePoolSnapshotRequest
func (*DefaultAPIService) CreateResourcePoolSnapshotExecute ¶
func (a *DefaultAPIService) CreateResourcePoolSnapshotExecute(r ApiCreateResourcePoolSnapshotRequest) (*CreateResourcePoolSnapshotResponse, error)
Execute executes the request
@return CreateResourcePoolSnapshotResponse
func (*DefaultAPIService) CreateShare ¶
func (a *DefaultAPIService) CreateShare(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateShareRequest
CreateShare Create Share
Creates a Share in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @return ApiCreateShareRequest
func (*DefaultAPIService) CreateShareExecute ¶
func (a *DefaultAPIService) CreateShareExecute(r ApiCreateShareRequest) (*CreateShareResponse, error)
Execute executes the request
@return CreateShareResponse
func (*DefaultAPIService) CreateShareExportPolicy ¶
func (a *DefaultAPIService) CreateShareExportPolicy(ctx context.Context, projectId string, region string) ApiCreateShareExportPolicyRequest
CreateShareExportPolicy Create Share Export Policy
Creates a ShareExportPolicy in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateShareExportPolicyRequest
func (*DefaultAPIService) CreateShareExportPolicyExecute ¶
func (a *DefaultAPIService) CreateShareExportPolicyExecute(r ApiCreateShareExportPolicyRequest) (*CreateShareExportPolicyResponse, error)
Execute executes the request
@return CreateShareExportPolicyResponse
func (*DefaultAPIService) DeleteResourcePool ¶
func (a *DefaultAPIService) DeleteResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiDeleteResourcePoolRequest
DeleteResourcePool Delete Resource Pool
Deletes a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @return ApiDeleteResourcePoolRequest
func (*DefaultAPIService) DeleteResourcePoolExecute ¶
func (a *DefaultAPIService) DeleteResourcePoolExecute(r ApiDeleteResourcePoolRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) DeleteResourcePoolSnapshot ¶
func (a *DefaultAPIService) DeleteResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiDeleteResourcePoolSnapshotRequest
DeleteResourcePoolSnapshot Delete Resource Pool Snapshot
Deletes a Snapshot from a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @param snapshotName @return ApiDeleteResourcePoolSnapshotRequest
func (*DefaultAPIService) DeleteResourcePoolSnapshotExecute ¶
func (a *DefaultAPIService) DeleteResourcePoolSnapshotExecute(r ApiDeleteResourcePoolSnapshotRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) DeleteShare ¶
func (a *DefaultAPIService) DeleteShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiDeleteShareRequest
DeleteShare Delete Share
Deletes a Shares in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @param shareId @return ApiDeleteShareRequest
func (*DefaultAPIService) DeleteShareExecute ¶
func (a *DefaultAPIService) DeleteShareExecute(r ApiDeleteShareRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) DeleteShareExportPolicy ¶
func (a *DefaultAPIService) DeleteShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiDeleteShareExportPolicyRequest
DeleteShareExportPolicy Delete Share Export Policy
Deletes a ShareExportPolicies in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param policyId @return ApiDeleteShareExportPolicyRequest
func (*DefaultAPIService) DeleteShareExportPolicyExecute ¶
func (a *DefaultAPIService) DeleteShareExportPolicyExecute(r ApiDeleteShareExportPolicyRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) GetResourcePool ¶
func (a *DefaultAPIService) GetResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiGetResourcePoolRequest
GetResourcePool Get Resource Pool
Retrieves a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @return ApiGetResourcePoolRequest
func (*DefaultAPIService) GetResourcePoolExecute ¶
func (a *DefaultAPIService) GetResourcePoolExecute(r ApiGetResourcePoolRequest) (*GetResourcePoolResponse, error)
Execute executes the request
@return GetResourcePoolResponse
func (*DefaultAPIService) GetResourcePoolSnapshot ¶
func (a *DefaultAPIService) GetResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiGetResourcePoolSnapshotRequest
GetResourcePoolSnapshot Get Resource Pool Snapshot
Retrieves a Snapshot from a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @param snapshotName @return ApiGetResourcePoolSnapshotRequest
func (*DefaultAPIService) GetResourcePoolSnapshotExecute ¶
func (a *DefaultAPIService) GetResourcePoolSnapshotExecute(r ApiGetResourcePoolSnapshotRequest) (*GetResourcePoolSnapshotResponse, error)
Execute executes the request
@return GetResourcePoolSnapshotResponse
func (*DefaultAPIService) GetShare ¶
func (a *DefaultAPIService) GetShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiGetShareRequest
GetShare Get Share
Retrieves a Shares in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @param shareId @return ApiGetShareRequest
func (*DefaultAPIService) GetShareExecute ¶
func (a *DefaultAPIService) GetShareExecute(r ApiGetShareRequest) (*GetShareResponse, error)
Execute executes the request
@return GetShareResponse
func (*DefaultAPIService) GetShareExportPolicy ¶
func (a *DefaultAPIService) GetShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiGetShareExportPolicyRequest
GetShareExportPolicy Get Share Export Policy
Retrieves a ShareExportPolicies in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param policyId @return ApiGetShareExportPolicyRequest
func (*DefaultAPIService) GetShareExportPolicyExecute ¶
func (a *DefaultAPIService) GetShareExportPolicyExecute(r ApiGetShareExportPolicyRequest) (*GetShareExportPolicyResponse, error)
Execute executes the request
@return GetShareExportPolicyResponse
func (*DefaultAPIService) ListPerformanceClasses ¶
func (a *DefaultAPIService) ListPerformanceClasses(ctx context.Context) ApiListPerformanceClassesRequest
ListPerformanceClasses List Resource Pool Performance Classes
Lists all performances classes available
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPerformanceClassesRequest
func (*DefaultAPIService) ListPerformanceClassesExecute ¶
func (a *DefaultAPIService) ListPerformanceClassesExecute(r ApiListPerformanceClassesRequest) (*ListPerformanceClassesResponse, error)
Execute executes the request
@return ListPerformanceClassesResponse
func (*DefaultAPIService) ListResourcePoolSnapshots ¶
func (a *DefaultAPIService) ListResourcePoolSnapshots(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListResourcePoolSnapshotsRequest
ListResourcePoolSnapshots List Resource Pool Snapshots
Lists the Snapshots of a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @return ApiListResourcePoolSnapshotsRequest
func (*DefaultAPIService) ListResourcePoolSnapshotsExecute ¶
func (a *DefaultAPIService) ListResourcePoolSnapshotsExecute(r ApiListResourcePoolSnapshotsRequest) (*ListResourcePoolSnapshotsResponse, error)
Execute executes the request
@return ListResourcePoolSnapshotsResponse
func (*DefaultAPIService) ListResourcePools ¶
func (a *DefaultAPIService) ListResourcePools(ctx context.Context, projectId string, region string) ApiListResourcePoolsRequest
ListResourcePools List Resource Pools
Lists Resource Pools in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListResourcePoolsRequest
func (*DefaultAPIService) ListResourcePoolsExecute ¶
func (a *DefaultAPIService) ListResourcePoolsExecute(r ApiListResourcePoolsRequest) (*ListResourcePoolsResponse, error)
Execute executes the request
@return ListResourcePoolsResponse
func (*DefaultAPIService) ListShareExportPolicies ¶
func (a *DefaultAPIService) ListShareExportPolicies(ctx context.Context, projectId string, region string) ApiListShareExportPoliciesRequest
ListShareExportPolicies List Share Export Policies
Lists ShareExportPolicies in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListShareExportPoliciesRequest
func (*DefaultAPIService) ListShareExportPoliciesExecute ¶
func (a *DefaultAPIService) ListShareExportPoliciesExecute(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)
Execute executes the request
@return ListShareExportPoliciesResponse
func (*DefaultAPIService) ListShares ¶
func (a *DefaultAPIService) ListShares(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListSharesRequest
ListShares List Shares
Lists Shares in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @return ApiListSharesRequest
func (*DefaultAPIService) ListSharesExecute ¶
func (a *DefaultAPIService) ListSharesExecute(r ApiListSharesRequest) (*ListSharesResponse, error)
Execute executes the request
@return ListSharesResponse
func (*DefaultAPIService) UpdateResourcePool ¶
func (a *DefaultAPIService) UpdateResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiUpdateResourcePoolRequest
UpdateResourcePool Update Resource Pool
Updates a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @return ApiUpdateResourcePoolRequest
func (*DefaultAPIService) UpdateResourcePoolExecute ¶
func (a *DefaultAPIService) UpdateResourcePoolExecute(r ApiUpdateResourcePoolRequest) (*UpdateResourcePoolResponse, error)
Execute executes the request
@return UpdateResourcePoolResponse
func (*DefaultAPIService) UpdateShare ¶
func (a *DefaultAPIService) UpdateShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiUpdateShareRequest
UpdateShare Update Share
Updates a Shares in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param resourcePoolId @param shareId @return ApiUpdateShareRequest
func (*DefaultAPIService) UpdateShareExecute ¶
func (a *DefaultAPIService) UpdateShareExecute(r ApiUpdateShareRequest) (*UpdateShareResponse, error)
Execute executes the request
@return UpdateShareResponse
func (*DefaultAPIService) UpdateShareExportPolicy ¶
func (a *DefaultAPIService) UpdateShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiUpdateShareExportPolicyRequest
UpdateShareExportPolicy Update Share Export Policy
Updates a ShareExportPolicies in a Resource Pool in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param policyId @return ApiUpdateShareExportPolicyRequest
func (*DefaultAPIService) UpdateShareExportPolicyExecute ¶
func (a *DefaultAPIService) UpdateShareExportPolicyExecute(r ApiUpdateShareExportPolicyRequest) (*UpdateShareExportPolicyResponse, error)
Execute executes the request
@return UpdateShareExportPolicyResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateResourcePoolExecuteMock can be populated to implement the behavior of the CreateResourcePoolExecute function of this mock
CreateResourcePoolExecuteMock *func(r ApiCreateResourcePoolRequest) (*CreateResourcePoolResponse, error)
// CreateResourcePoolSnapshotExecuteMock can be populated to implement the behavior of the CreateResourcePoolSnapshotExecute function of this mock
CreateResourcePoolSnapshotExecuteMock *func(r ApiCreateResourcePoolSnapshotRequest) (*CreateResourcePoolSnapshotResponse, error)
CreateShareExecuteMock *func(r ApiCreateShareRequest) (*CreateShareResponse, error)
CreateShareExportPolicyExecuteMock *func(r ApiCreateShareExportPolicyRequest) (*CreateShareExportPolicyResponse, error)
// DeleteResourcePoolExecuteMock can be populated to implement the behavior of the DeleteResourcePoolExecute function of this mock
DeleteResourcePoolExecuteMock *func(r ApiDeleteResourcePoolRequest) (map[string]interface{}, error)
// DeleteResourcePoolSnapshotExecuteMock can be populated to implement the behavior of the DeleteResourcePoolSnapshotExecute function of this mock
DeleteResourcePoolSnapshotExecuteMock *func(r ApiDeleteResourcePoolSnapshotRequest) (map[string]interface{}, error)
DeleteShareExecuteMock *func(r ApiDeleteShareRequest) (map[string]interface{}, error)
DeleteShareExportPolicyExecuteMock *func(r ApiDeleteShareExportPolicyRequest) (map[string]interface{}, error)
// GetResourcePoolExecuteMock can be populated to implement the behavior of the GetResourcePoolExecute function of this mock
GetResourcePoolExecuteMock *func(r ApiGetResourcePoolRequest) (*GetResourcePoolResponse, error)
// GetResourcePoolSnapshotExecuteMock can be populated to implement the behavior of the GetResourcePoolSnapshotExecute function of this mock
GetResourcePoolSnapshotExecuteMock *func(r ApiGetResourcePoolSnapshotRequest) (*GetResourcePoolSnapshotResponse, error)
GetShareExecuteMock *func(r ApiGetShareRequest) (*GetShareResponse, error)
GetShareExportPolicyExecuteMock *func(r ApiGetShareExportPolicyRequest) (*GetShareExportPolicyResponse, error)
// ListPerformanceClassesExecuteMock can be populated to implement the behavior of the ListPerformanceClassesExecute function of this mock
ListPerformanceClassesExecuteMock *func(r ApiListPerformanceClassesRequest) (*ListPerformanceClassesResponse, error)
// ListResourcePoolSnapshotsExecuteMock can be populated to implement the behavior of the ListResourcePoolSnapshotsExecute function of this mock
ListResourcePoolSnapshotsExecuteMock *func(r ApiListResourcePoolSnapshotsRequest) (*ListResourcePoolSnapshotsResponse, error)
// ListResourcePoolsExecuteMock can be populated to implement the behavior of the ListResourcePoolsExecute function of this mock
ListResourcePoolsExecuteMock *func(r ApiListResourcePoolsRequest) (*ListResourcePoolsResponse, error)
ListShareExportPoliciesExecuteMock *func(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)
ListSharesExecuteMock *func(r ApiListSharesRequest) (*ListSharesResponse, error)
// UpdateResourcePoolExecuteMock can be populated to implement the behavior of the UpdateResourcePoolExecute function of this mock
UpdateResourcePoolExecuteMock *func(r ApiUpdateResourcePoolRequest) (*UpdateResourcePoolResponse, error)
UpdateShareExecuteMock *func(r ApiUpdateShareRequest) (*UpdateShareResponse, error)
UpdateShareExportPolicyExecuteMock *func(r ApiUpdateShareExportPolicyRequest) (*UpdateShareExportPolicyResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateResourcePool ¶
func (a DefaultAPIServiceMock) CreateResourcePool(ctx context.Context, projectId string, region string) ApiCreateResourcePoolRequest
func (DefaultAPIServiceMock) CreateResourcePoolExecute ¶
func (a DefaultAPIServiceMock) CreateResourcePoolExecute(r ApiCreateResourcePoolRequest) (*CreateResourcePoolResponse, error)
CreateResourcePoolExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateResourcePoolExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateResourcePoolSnapshot ¶
func (a DefaultAPIServiceMock) CreateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateResourcePoolSnapshotRequest
func (DefaultAPIServiceMock) CreateResourcePoolSnapshotExecute ¶
func (a DefaultAPIServiceMock) CreateResourcePoolSnapshotExecute(r ApiCreateResourcePoolSnapshotRequest) (*CreateResourcePoolSnapshotResponse, error)
CreateResourcePoolSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateResourcePoolSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateShare ¶
func (a DefaultAPIServiceMock) CreateShare(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateShareRequest
func (DefaultAPIServiceMock) CreateShareExecute ¶
func (a DefaultAPIServiceMock) CreateShareExecute(r ApiCreateShareRequest) (*CreateShareResponse, error)
CreateShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateShareExportPolicy ¶
func (a DefaultAPIServiceMock) CreateShareExportPolicy(ctx context.Context, projectId string, region string) ApiCreateShareExportPolicyRequest
func (DefaultAPIServiceMock) CreateShareExportPolicyExecute ¶
func (a DefaultAPIServiceMock) CreateShareExportPolicyExecute(r ApiCreateShareExportPolicyRequest) (*CreateShareExportPolicyResponse, error)
CreateShareExportPolicyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateShareExportPolicyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteResourcePool ¶
func (a DefaultAPIServiceMock) DeleteResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiDeleteResourcePoolRequest
func (DefaultAPIServiceMock) DeleteResourcePoolExecute ¶
func (a DefaultAPIServiceMock) DeleteResourcePoolExecute(r ApiDeleteResourcePoolRequest) (map[string]interface{}, error)
DeleteResourcePoolExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteResourcePoolExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteResourcePoolSnapshot ¶
func (a DefaultAPIServiceMock) DeleteResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiDeleteResourcePoolSnapshotRequest
func (DefaultAPIServiceMock) DeleteResourcePoolSnapshotExecute ¶
func (a DefaultAPIServiceMock) DeleteResourcePoolSnapshotExecute(r ApiDeleteResourcePoolSnapshotRequest) (map[string]interface{}, error)
DeleteResourcePoolSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteResourcePoolSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteShare ¶
func (a DefaultAPIServiceMock) DeleteShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiDeleteShareRequest
func (DefaultAPIServiceMock) DeleteShareExecute ¶
func (a DefaultAPIServiceMock) DeleteShareExecute(r ApiDeleteShareRequest) (map[string]interface{}, error)
DeleteShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteShareExportPolicy ¶
func (a DefaultAPIServiceMock) DeleteShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiDeleteShareExportPolicyRequest
func (DefaultAPIServiceMock) DeleteShareExportPolicyExecute ¶
func (a DefaultAPIServiceMock) DeleteShareExportPolicyExecute(r ApiDeleteShareExportPolicyRequest) (map[string]interface{}, error)
DeleteShareExportPolicyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteShareExportPolicyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetResourcePool ¶
func (a DefaultAPIServiceMock) GetResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiGetResourcePoolRequest
func (DefaultAPIServiceMock) GetResourcePoolExecute ¶
func (a DefaultAPIServiceMock) GetResourcePoolExecute(r ApiGetResourcePoolRequest) (*GetResourcePoolResponse, error)
GetResourcePoolExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetResourcePoolExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetResourcePoolSnapshot ¶
func (a DefaultAPIServiceMock) GetResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiGetResourcePoolSnapshotRequest
func (DefaultAPIServiceMock) GetResourcePoolSnapshotExecute ¶
func (a DefaultAPIServiceMock) GetResourcePoolSnapshotExecute(r ApiGetResourcePoolSnapshotRequest) (*GetResourcePoolSnapshotResponse, error)
GetResourcePoolSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetResourcePoolSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetShare ¶
func (a DefaultAPIServiceMock) GetShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiGetShareRequest
func (DefaultAPIServiceMock) GetShareExecute ¶
func (a DefaultAPIServiceMock) GetShareExecute(r ApiGetShareRequest) (*GetShareResponse, error)
GetShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetShareExportPolicy ¶
func (a DefaultAPIServiceMock) GetShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiGetShareExportPolicyRequest
func (DefaultAPIServiceMock) GetShareExportPolicyExecute ¶
func (a DefaultAPIServiceMock) GetShareExportPolicyExecute(r ApiGetShareExportPolicyRequest) (*GetShareExportPolicyResponse, error)
GetShareExportPolicyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetShareExportPolicyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListPerformanceClasses ¶
func (a DefaultAPIServiceMock) ListPerformanceClasses(ctx context.Context) ApiListPerformanceClassesRequest
func (DefaultAPIServiceMock) ListPerformanceClassesExecute ¶
func (a DefaultAPIServiceMock) ListPerformanceClassesExecute(r ApiListPerformanceClassesRequest) (*ListPerformanceClassesResponse, error)
ListPerformanceClassesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPerformanceClassesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListResourcePoolSnapshots ¶
func (a DefaultAPIServiceMock) ListResourcePoolSnapshots(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListResourcePoolSnapshotsRequest
func (DefaultAPIServiceMock) ListResourcePoolSnapshotsExecute ¶
func (a DefaultAPIServiceMock) ListResourcePoolSnapshotsExecute(r ApiListResourcePoolSnapshotsRequest) (*ListResourcePoolSnapshotsResponse, error)
ListResourcePoolSnapshotsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListResourcePoolSnapshotsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListResourcePools ¶
func (a DefaultAPIServiceMock) ListResourcePools(ctx context.Context, projectId string, region string) ApiListResourcePoolsRequest
func (DefaultAPIServiceMock) ListResourcePoolsExecute ¶
func (a DefaultAPIServiceMock) ListResourcePoolsExecute(r ApiListResourcePoolsRequest) (*ListResourcePoolsResponse, error)
ListResourcePoolsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListResourcePoolsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListShareExportPolicies ¶
func (a DefaultAPIServiceMock) ListShareExportPolicies(ctx context.Context, projectId string, region string) ApiListShareExportPoliciesRequest
func (DefaultAPIServiceMock) ListShareExportPoliciesExecute ¶
func (a DefaultAPIServiceMock) ListShareExportPoliciesExecute(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)
ListShareExportPoliciesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListShareExportPoliciesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListShares ¶
func (a DefaultAPIServiceMock) ListShares(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListSharesRequest
func (DefaultAPIServiceMock) ListSharesExecute ¶
func (a DefaultAPIServiceMock) ListSharesExecute(r ApiListSharesRequest) (*ListSharesResponse, error)
ListSharesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSharesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateResourcePool ¶
func (a DefaultAPIServiceMock) UpdateResourcePool(ctx context.Context, projectId string, region string, resourcePoolId string) ApiUpdateResourcePoolRequest
func (DefaultAPIServiceMock) UpdateResourcePoolExecute ¶
func (a DefaultAPIServiceMock) UpdateResourcePoolExecute(r ApiUpdateResourcePoolRequest) (*UpdateResourcePoolResponse, error)
UpdateResourcePoolExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateResourcePoolExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateShare ¶
func (a DefaultAPIServiceMock) UpdateShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiUpdateShareRequest
func (DefaultAPIServiceMock) UpdateShareExecute ¶
func (a DefaultAPIServiceMock) UpdateShareExecute(r ApiUpdateShareRequest) (*UpdateShareResponse, error)
UpdateShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateShareExportPolicy ¶
func (a DefaultAPIServiceMock) UpdateShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiUpdateShareExportPolicyRequest
func (DefaultAPIServiceMock) UpdateShareExportPolicyExecute ¶
func (a DefaultAPIServiceMock) UpdateShareExportPolicyExecute(r ApiUpdateShareExportPolicyRequest) (*UpdateShareExportPolicyResponse, error)
UpdateShareExportPolicyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateShareExportPolicyExecuteMock field in the DefaultAPIServiceMock struct.
type Error ¶
type Error struct {
// Human-readable string of the error that occured
// Deprecated
ErrorDescription interface{} `json:"error_description,omitempty"`
// Human-readable description of the error that occurred.
Title string `json:"title"`
// URI Uniquely identifies the error type. It will be in the format of storage.stackit.cloud/<error-type> e.g. storage.stackit.cloud/validation-error
Type string `json:"type"`
}
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) GetErrorDescription ¶
func (o *Error) GetErrorDescription() interface{}
GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*Error) GetErrorDescriptionOk ¶
GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*Error) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Error) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Error) HasErrorDescription ¶
HasErrorDescription returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetErrorDescription ¶
func (o *Error) SetErrorDescription(v interface{})
SetErrorDescription gets a reference to the given interface{} and assigns it to the ErrorDescription field. Deprecated
func (*Error) UnmarshalJSON ¶
type GetResourcePoolResponse ¶
type GetResourcePoolResponse struct {
// Resource Pool
ResourcePool *ResourcePool `json:"resourcePool,omitempty"`
}
GetResourcePoolResponse struct for GetResourcePoolResponse
func NewGetResourcePoolResponse ¶
func NewGetResourcePoolResponse() *GetResourcePoolResponse
NewGetResourcePoolResponse instantiates a new GetResourcePoolResponse 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 NewGetResourcePoolResponseWithDefaults ¶
func NewGetResourcePoolResponseWithDefaults() *GetResourcePoolResponse
NewGetResourcePoolResponseWithDefaults instantiates a new GetResourcePoolResponse 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 (*GetResourcePoolResponse) GetResourcePool ¶
func (o *GetResourcePoolResponse) GetResourcePool() ResourcePool
GetResourcePool returns the ResourcePool field value if set, zero value otherwise.
func (*GetResourcePoolResponse) GetResourcePoolOk ¶
func (o *GetResourcePoolResponse) GetResourcePoolOk() (*ResourcePool, bool)
GetResourcePoolOk returns a tuple with the ResourcePool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetResourcePoolResponse) HasResourcePool ¶
func (o *GetResourcePoolResponse) HasResourcePool() bool
HasResourcePool returns a boolean if a field has been set.
func (GetResourcePoolResponse) MarshalJSON ¶
func (o GetResourcePoolResponse) MarshalJSON() ([]byte, error)
func (*GetResourcePoolResponse) SetResourcePool ¶
func (o *GetResourcePoolResponse) SetResourcePool(v ResourcePool)
SetResourcePool gets a reference to the given ResourcePool and assigns it to the ResourcePool field.
func (GetResourcePoolResponse) ToMap ¶
func (o GetResourcePoolResponse) ToMap() (map[string]interface{}, error)
type GetResourcePoolSnapshotResponse ¶
type GetResourcePoolSnapshotResponse struct {
// Resource Pool Snapshot
ResourcePoolSnapshot *ResourcePoolSnapshot `json:"resourcePoolSnapshot,omitempty"`
}
GetResourcePoolSnapshotResponse struct for GetResourcePoolSnapshotResponse
func NewGetResourcePoolSnapshotResponse ¶
func NewGetResourcePoolSnapshotResponse() *GetResourcePoolSnapshotResponse
NewGetResourcePoolSnapshotResponse instantiates a new GetResourcePoolSnapshotResponse 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 NewGetResourcePoolSnapshotResponseWithDefaults ¶
func NewGetResourcePoolSnapshotResponseWithDefaults() *GetResourcePoolSnapshotResponse
NewGetResourcePoolSnapshotResponseWithDefaults instantiates a new GetResourcePoolSnapshotResponse 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 (*GetResourcePoolSnapshotResponse) GetResourcePoolSnapshot ¶
func (o *GetResourcePoolSnapshotResponse) GetResourcePoolSnapshot() ResourcePoolSnapshot
GetResourcePoolSnapshot returns the ResourcePoolSnapshot field value if set, zero value otherwise.
func (*GetResourcePoolSnapshotResponse) GetResourcePoolSnapshotOk ¶
func (o *GetResourcePoolSnapshotResponse) GetResourcePoolSnapshotOk() (*ResourcePoolSnapshot, bool)
GetResourcePoolSnapshotOk returns a tuple with the ResourcePoolSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetResourcePoolSnapshotResponse) HasResourcePoolSnapshot ¶
func (o *GetResourcePoolSnapshotResponse) HasResourcePoolSnapshot() bool
HasResourcePoolSnapshot returns a boolean if a field has been set.
func (GetResourcePoolSnapshotResponse) MarshalJSON ¶
func (o GetResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
func (*GetResourcePoolSnapshotResponse) SetResourcePoolSnapshot ¶
func (o *GetResourcePoolSnapshotResponse) SetResourcePoolSnapshot(v ResourcePoolSnapshot)
SetResourcePoolSnapshot gets a reference to the given ResourcePoolSnapshot and assigns it to the ResourcePoolSnapshot field.
func (GetResourcePoolSnapshotResponse) ToMap ¶
func (o GetResourcePoolSnapshotResponse) ToMap() (map[string]interface{}, error)
type GetShareExportPolicyResponse ¶
type GetShareExportPolicyResponse struct {
ShareExportPolicy *ShareExportPolicy `json:"shareExportPolicy,omitempty"`
}
GetShareExportPolicyResponse struct for GetShareExportPolicyResponse
func NewGetShareExportPolicyResponse ¶
func NewGetShareExportPolicyResponse() *GetShareExportPolicyResponse
NewGetShareExportPolicyResponse instantiates a new GetShareExportPolicyResponse 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 NewGetShareExportPolicyResponseWithDefaults ¶
func NewGetShareExportPolicyResponseWithDefaults() *GetShareExportPolicyResponse
NewGetShareExportPolicyResponseWithDefaults instantiates a new GetShareExportPolicyResponse 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 (*GetShareExportPolicyResponse) GetShareExportPolicy ¶
func (o *GetShareExportPolicyResponse) GetShareExportPolicy() ShareExportPolicy
GetShareExportPolicy returns the ShareExportPolicy field value if set, zero value otherwise.
func (*GetShareExportPolicyResponse) GetShareExportPolicyOk ¶
func (o *GetShareExportPolicyResponse) GetShareExportPolicyOk() (*ShareExportPolicy, bool)
GetShareExportPolicyOk returns a tuple with the ShareExportPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetShareExportPolicyResponse) HasShareExportPolicy ¶
func (o *GetShareExportPolicyResponse) HasShareExportPolicy() bool
HasShareExportPolicy returns a boolean if a field has been set.
func (GetShareExportPolicyResponse) MarshalJSON ¶
func (o GetShareExportPolicyResponse) MarshalJSON() ([]byte, error)
func (*GetShareExportPolicyResponse) SetShareExportPolicy ¶
func (o *GetShareExportPolicyResponse) SetShareExportPolicy(v ShareExportPolicy)
SetShareExportPolicy gets a reference to the given ShareExportPolicy and assigns it to the ShareExportPolicy field.
func (GetShareExportPolicyResponse) ToMap ¶
func (o GetShareExportPolicyResponse) ToMap() (map[string]interface{}, error)
type GetShareResponse ¶
type GetShareResponse struct {
Share *Share `json:"share,omitempty"`
}
GetShareResponse struct for GetShareResponse
func NewGetShareResponse ¶
func NewGetShareResponse() *GetShareResponse
NewGetShareResponse instantiates a new GetShareResponse 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 NewGetShareResponseWithDefaults ¶
func NewGetShareResponseWithDefaults() *GetShareResponse
NewGetShareResponseWithDefaults instantiates a new GetShareResponse 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 (*GetShareResponse) GetShare ¶
func (o *GetShareResponse) GetShare() Share
GetShare returns the Share field value if set, zero value otherwise.
func (*GetShareResponse) GetShareOk ¶
func (o *GetShareResponse) GetShareOk() (*Share, bool)
GetShareOk returns a tuple with the Share field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetShareResponse) HasShare ¶
func (o *GetShareResponse) HasShare() bool
HasShare returns a boolean if a field has been set.
func (GetShareResponse) MarshalJSON ¶
func (o GetShareResponse) MarshalJSON() ([]byte, error)
func (*GetShareResponse) SetShare ¶
func (o *GetShareResponse) SetShare(v Share)
SetShare gets a reference to the given Share and assigns it to the Share field.
func (GetShareResponse) ToMap ¶
func (o GetShareResponse) ToMap() (map[string]interface{}, error)
type GoogleProtobufAny ¶
type GoogleProtobufAny struct {
// The type of the serialized message.
Type *string `json:"@type,omitempty"`
AdditionalProperties map[string]interface{}
}
GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
func NewGoogleProtobufAny ¶
func NewGoogleProtobufAny() *GoogleProtobufAny
NewGoogleProtobufAny instantiates a new GoogleProtobufAny 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 NewGoogleProtobufAnyWithDefaults ¶
func NewGoogleProtobufAnyWithDefaults() *GoogleProtobufAny
NewGoogleProtobufAnyWithDefaults instantiates a new GoogleProtobufAny 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 (*GoogleProtobufAny) GetType ¶
func (o *GoogleProtobufAny) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GoogleProtobufAny) GetTypeOk ¶
func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GoogleProtobufAny) HasType ¶
func (o *GoogleProtobufAny) HasType() bool
HasType returns a boolean if a field has been set.
func (GoogleProtobufAny) MarshalJSON ¶
func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*GoogleProtobufAny) SetType ¶
func (o *GoogleProtobufAny) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (GoogleProtobufAny) ToMap ¶
func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
func (*GoogleProtobufAny) UnmarshalJSON ¶
func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
type ListPerformanceClassesResponse ¶
type ListPerformanceClassesResponse struct {
// List of Performance Classes
PerformanceClasses []PerformanceClass `json:"performanceClasses,omitempty"`
}
ListPerformanceClassesResponse struct for ListPerformanceClassesResponse
func NewListPerformanceClassesResponse ¶
func NewListPerformanceClassesResponse() *ListPerformanceClassesResponse
NewListPerformanceClassesResponse instantiates a new ListPerformanceClassesResponse 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 NewListPerformanceClassesResponseWithDefaults ¶
func NewListPerformanceClassesResponseWithDefaults() *ListPerformanceClassesResponse
NewListPerformanceClassesResponseWithDefaults instantiates a new ListPerformanceClassesResponse 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 (*ListPerformanceClassesResponse) GetPerformanceClasses ¶
func (o *ListPerformanceClassesResponse) GetPerformanceClasses() []PerformanceClass
GetPerformanceClasses returns the PerformanceClasses field value if set, zero value otherwise.
func (*ListPerformanceClassesResponse) GetPerformanceClassesOk ¶
func (o *ListPerformanceClassesResponse) GetPerformanceClassesOk() ([]PerformanceClass, bool)
GetPerformanceClassesOk returns a tuple with the PerformanceClasses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListPerformanceClassesResponse) HasPerformanceClasses ¶
func (o *ListPerformanceClassesResponse) HasPerformanceClasses() bool
HasPerformanceClasses returns a boolean if a field has been set.
func (ListPerformanceClassesResponse) MarshalJSON ¶
func (o ListPerformanceClassesResponse) MarshalJSON() ([]byte, error)
func (*ListPerformanceClassesResponse) SetPerformanceClasses ¶
func (o *ListPerformanceClassesResponse) SetPerformanceClasses(v []PerformanceClass)
SetPerformanceClasses gets a reference to the given []PerformanceClass and assigns it to the PerformanceClasses field.
func (ListPerformanceClassesResponse) ToMap ¶
func (o ListPerformanceClassesResponse) ToMap() (map[string]interface{}, error)
type ListResourcePoolSnapshotsResponse ¶
type ListResourcePoolSnapshotsResponse struct {
// List of Resource Pool Snapshots
ResourcePoolSnapshots []ResourcePoolSnapshot `json:"resourcePoolSnapshots,omitempty"`
}
ListResourcePoolSnapshotsResponse struct for ListResourcePoolSnapshotsResponse
func NewListResourcePoolSnapshotsResponse ¶
func NewListResourcePoolSnapshotsResponse() *ListResourcePoolSnapshotsResponse
NewListResourcePoolSnapshotsResponse instantiates a new ListResourcePoolSnapshotsResponse 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 NewListResourcePoolSnapshotsResponseWithDefaults ¶
func NewListResourcePoolSnapshotsResponseWithDefaults() *ListResourcePoolSnapshotsResponse
NewListResourcePoolSnapshotsResponseWithDefaults instantiates a new ListResourcePoolSnapshotsResponse 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 (*ListResourcePoolSnapshotsResponse) GetResourcePoolSnapshots ¶
func (o *ListResourcePoolSnapshotsResponse) GetResourcePoolSnapshots() []ResourcePoolSnapshot
GetResourcePoolSnapshots returns the ResourcePoolSnapshots field value if set, zero value otherwise.
func (*ListResourcePoolSnapshotsResponse) GetResourcePoolSnapshotsOk ¶
func (o *ListResourcePoolSnapshotsResponse) GetResourcePoolSnapshotsOk() ([]ResourcePoolSnapshot, bool)
GetResourcePoolSnapshotsOk returns a tuple with the ResourcePoolSnapshots field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListResourcePoolSnapshotsResponse) HasResourcePoolSnapshots ¶
func (o *ListResourcePoolSnapshotsResponse) HasResourcePoolSnapshots() bool
HasResourcePoolSnapshots returns a boolean if a field has been set.
func (ListResourcePoolSnapshotsResponse) MarshalJSON ¶
func (o ListResourcePoolSnapshotsResponse) MarshalJSON() ([]byte, error)
func (*ListResourcePoolSnapshotsResponse) SetResourcePoolSnapshots ¶
func (o *ListResourcePoolSnapshotsResponse) SetResourcePoolSnapshots(v []ResourcePoolSnapshot)
SetResourcePoolSnapshots gets a reference to the given []ResourcePoolSnapshot and assigns it to the ResourcePoolSnapshots field.
func (ListResourcePoolSnapshotsResponse) ToMap ¶
func (o ListResourcePoolSnapshotsResponse) ToMap() (map[string]interface{}, error)
type ListResourcePoolsResponse ¶
type ListResourcePoolsResponse struct {
// List of Resource Pools
ResourcePools []ResourcePool `json:"resourcePools,omitempty"`
}
ListResourcePoolsResponse struct for ListResourcePoolsResponse
func NewListResourcePoolsResponse ¶
func NewListResourcePoolsResponse() *ListResourcePoolsResponse
NewListResourcePoolsResponse instantiates a new ListResourcePoolsResponse 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 NewListResourcePoolsResponseWithDefaults ¶
func NewListResourcePoolsResponseWithDefaults() *ListResourcePoolsResponse
NewListResourcePoolsResponseWithDefaults instantiates a new ListResourcePoolsResponse 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 (*ListResourcePoolsResponse) GetResourcePools ¶
func (o *ListResourcePoolsResponse) GetResourcePools() []ResourcePool
GetResourcePools returns the ResourcePools field value if set, zero value otherwise.
func (*ListResourcePoolsResponse) GetResourcePoolsOk ¶
func (o *ListResourcePoolsResponse) GetResourcePoolsOk() ([]ResourcePool, bool)
GetResourcePoolsOk returns a tuple with the ResourcePools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListResourcePoolsResponse) HasResourcePools ¶
func (o *ListResourcePoolsResponse) HasResourcePools() bool
HasResourcePools returns a boolean if a field has been set.
func (ListResourcePoolsResponse) MarshalJSON ¶
func (o ListResourcePoolsResponse) MarshalJSON() ([]byte, error)
func (*ListResourcePoolsResponse) SetResourcePools ¶
func (o *ListResourcePoolsResponse) SetResourcePools(v []ResourcePool)
SetResourcePools gets a reference to the given []ResourcePool and assigns it to the ResourcePools field.
func (ListResourcePoolsResponse) ToMap ¶
func (o ListResourcePoolsResponse) ToMap() (map[string]interface{}, error)
type ListShareExportPoliciesResponse ¶
type ListShareExportPoliciesResponse struct {
ShareExportPolicies []ShareExportPolicy `json:"shareExportPolicies,omitempty"`
}
ListShareExportPoliciesResponse struct for ListShareExportPoliciesResponse
func NewListShareExportPoliciesResponse ¶
func NewListShareExportPoliciesResponse() *ListShareExportPoliciesResponse
NewListShareExportPoliciesResponse instantiates a new ListShareExportPoliciesResponse 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 NewListShareExportPoliciesResponseWithDefaults ¶
func NewListShareExportPoliciesResponseWithDefaults() *ListShareExportPoliciesResponse
NewListShareExportPoliciesResponseWithDefaults instantiates a new ListShareExportPoliciesResponse 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 (*ListShareExportPoliciesResponse) GetShareExportPolicies ¶
func (o *ListShareExportPoliciesResponse) GetShareExportPolicies() []ShareExportPolicy
GetShareExportPolicies returns the ShareExportPolicies field value if set, zero value otherwise.
func (*ListShareExportPoliciesResponse) GetShareExportPoliciesOk ¶
func (o *ListShareExportPoliciesResponse) GetShareExportPoliciesOk() ([]ShareExportPolicy, bool)
GetShareExportPoliciesOk returns a tuple with the ShareExportPolicies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListShareExportPoliciesResponse) HasShareExportPolicies ¶
func (o *ListShareExportPoliciesResponse) HasShareExportPolicies() bool
HasShareExportPolicies returns a boolean if a field has been set.
func (ListShareExportPoliciesResponse) MarshalJSON ¶
func (o ListShareExportPoliciesResponse) MarshalJSON() ([]byte, error)
func (*ListShareExportPoliciesResponse) SetShareExportPolicies ¶
func (o *ListShareExportPoliciesResponse) SetShareExportPolicies(v []ShareExportPolicy)
SetShareExportPolicies gets a reference to the given []ShareExportPolicy and assigns it to the ShareExportPolicies field.
func (ListShareExportPoliciesResponse) ToMap ¶
func (o ListShareExportPoliciesResponse) ToMap() (map[string]interface{}, error)
type ListSharesResponse ¶
type ListSharesResponse struct {
Shares []Share `json:"shares,omitempty"`
}
ListSharesResponse struct for ListSharesResponse
func NewListSharesResponse ¶
func NewListSharesResponse() *ListSharesResponse
NewListSharesResponse instantiates a new ListSharesResponse 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 NewListSharesResponseWithDefaults ¶
func NewListSharesResponseWithDefaults() *ListSharesResponse
NewListSharesResponseWithDefaults instantiates a new ListSharesResponse 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 (*ListSharesResponse) GetShares ¶
func (o *ListSharesResponse) GetShares() []Share
GetShares returns the Shares field value if set, zero value otherwise.
func (*ListSharesResponse) GetSharesOk ¶
func (o *ListSharesResponse) GetSharesOk() ([]Share, bool)
GetSharesOk returns a tuple with the Shares field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListSharesResponse) HasShares ¶
func (o *ListSharesResponse) HasShares() bool
HasShares returns a boolean if a field has been set.
func (ListSharesResponse) MarshalJSON ¶
func (o ListSharesResponse) MarshalJSON() ([]byte, error)
func (*ListSharesResponse) SetShares ¶
func (o *ListSharesResponse) SetShares(v []Share)
SetShares gets a reference to the given []Share and assigns it to the Shares field.
func (ListSharesResponse) ToMap ¶
func (o ListSharesResponse) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
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 NullableCreateResourcePoolPayload ¶
type NullableCreateResourcePoolPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateResourcePoolPayload ¶
func NewNullableCreateResourcePoolPayload(val *CreateResourcePoolPayload) *NullableCreateResourcePoolPayload
func (NullableCreateResourcePoolPayload) Get ¶
func (v NullableCreateResourcePoolPayload) Get() *CreateResourcePoolPayload
func (NullableCreateResourcePoolPayload) IsSet ¶
func (v NullableCreateResourcePoolPayload) IsSet() bool
func (NullableCreateResourcePoolPayload) MarshalJSON ¶
func (v NullableCreateResourcePoolPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateResourcePoolPayload) Set ¶
func (v *NullableCreateResourcePoolPayload) Set(val *CreateResourcePoolPayload)
func (*NullableCreateResourcePoolPayload) UnmarshalJSON ¶
func (v *NullableCreateResourcePoolPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateResourcePoolPayload) Unset ¶
func (v *NullableCreateResourcePoolPayload) Unset()
type NullableCreateResourcePoolResponse ¶
type NullableCreateResourcePoolResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateResourcePoolResponse ¶
func NewNullableCreateResourcePoolResponse(val *CreateResourcePoolResponse) *NullableCreateResourcePoolResponse
func (NullableCreateResourcePoolResponse) Get ¶
func (v NullableCreateResourcePoolResponse) Get() *CreateResourcePoolResponse
func (NullableCreateResourcePoolResponse) IsSet ¶
func (v NullableCreateResourcePoolResponse) IsSet() bool
func (NullableCreateResourcePoolResponse) MarshalJSON ¶
func (v NullableCreateResourcePoolResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateResourcePoolResponse) Set ¶
func (v *NullableCreateResourcePoolResponse) Set(val *CreateResourcePoolResponse)
func (*NullableCreateResourcePoolResponse) UnmarshalJSON ¶
func (v *NullableCreateResourcePoolResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateResourcePoolResponse) Unset ¶
func (v *NullableCreateResourcePoolResponse) Unset()
type NullableCreateResourcePoolSnapshotPayload ¶
type NullableCreateResourcePoolSnapshotPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateResourcePoolSnapshotPayload ¶
func NewNullableCreateResourcePoolSnapshotPayload(val *CreateResourcePoolSnapshotPayload) *NullableCreateResourcePoolSnapshotPayload
func (NullableCreateResourcePoolSnapshotPayload) IsSet ¶
func (v NullableCreateResourcePoolSnapshotPayload) IsSet() bool
func (NullableCreateResourcePoolSnapshotPayload) MarshalJSON ¶
func (v NullableCreateResourcePoolSnapshotPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateResourcePoolSnapshotPayload) Set ¶
func (v *NullableCreateResourcePoolSnapshotPayload) Set(val *CreateResourcePoolSnapshotPayload)
func (*NullableCreateResourcePoolSnapshotPayload) UnmarshalJSON ¶
func (v *NullableCreateResourcePoolSnapshotPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateResourcePoolSnapshotPayload) Unset ¶
func (v *NullableCreateResourcePoolSnapshotPayload) Unset()
type NullableCreateResourcePoolSnapshotResponse ¶
type NullableCreateResourcePoolSnapshotResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateResourcePoolSnapshotResponse ¶
func NewNullableCreateResourcePoolSnapshotResponse(val *CreateResourcePoolSnapshotResponse) *NullableCreateResourcePoolSnapshotResponse
func (NullableCreateResourcePoolSnapshotResponse) IsSet ¶
func (v NullableCreateResourcePoolSnapshotResponse) IsSet() bool
func (NullableCreateResourcePoolSnapshotResponse) MarshalJSON ¶
func (v NullableCreateResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateResourcePoolSnapshotResponse) Set ¶
func (v *NullableCreateResourcePoolSnapshotResponse) Set(val *CreateResourcePoolSnapshotResponse)
func (*NullableCreateResourcePoolSnapshotResponse) UnmarshalJSON ¶
func (v *NullableCreateResourcePoolSnapshotResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateResourcePoolSnapshotResponse) Unset ¶
func (v *NullableCreateResourcePoolSnapshotResponse) Unset()
type NullableCreateShareExportPolicyPayload ¶
type NullableCreateShareExportPolicyPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateShareExportPolicyPayload ¶
func NewNullableCreateShareExportPolicyPayload(val *CreateShareExportPolicyPayload) *NullableCreateShareExportPolicyPayload
func (NullableCreateShareExportPolicyPayload) Get ¶
func (v NullableCreateShareExportPolicyPayload) Get() *CreateShareExportPolicyPayload
func (NullableCreateShareExportPolicyPayload) IsSet ¶
func (v NullableCreateShareExportPolicyPayload) IsSet() bool
func (NullableCreateShareExportPolicyPayload) MarshalJSON ¶
func (v NullableCreateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateShareExportPolicyPayload) Set ¶
func (v *NullableCreateShareExportPolicyPayload) Set(val *CreateShareExportPolicyPayload)
func (*NullableCreateShareExportPolicyPayload) UnmarshalJSON ¶
func (v *NullableCreateShareExportPolicyPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateShareExportPolicyPayload) Unset ¶
func (v *NullableCreateShareExportPolicyPayload) Unset()
type NullableCreateShareExportPolicyRequestRule ¶
type NullableCreateShareExportPolicyRequestRule struct {
// contains filtered or unexported fields
}
func NewNullableCreateShareExportPolicyRequestRule ¶
func NewNullableCreateShareExportPolicyRequestRule(val *CreateShareExportPolicyRequestRule) *NullableCreateShareExportPolicyRequestRule
func (NullableCreateShareExportPolicyRequestRule) IsSet ¶
func (v NullableCreateShareExportPolicyRequestRule) IsSet() bool
func (NullableCreateShareExportPolicyRequestRule) MarshalJSON ¶
func (v NullableCreateShareExportPolicyRequestRule) MarshalJSON() ([]byte, error)
func (*NullableCreateShareExportPolicyRequestRule) Set ¶
func (v *NullableCreateShareExportPolicyRequestRule) Set(val *CreateShareExportPolicyRequestRule)
func (*NullableCreateShareExportPolicyRequestRule) UnmarshalJSON ¶
func (v *NullableCreateShareExportPolicyRequestRule) UnmarshalJSON(src []byte) error
func (*NullableCreateShareExportPolicyRequestRule) Unset ¶
func (v *NullableCreateShareExportPolicyRequestRule) Unset()
type NullableCreateShareExportPolicyResponse ¶
type NullableCreateShareExportPolicyResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateShareExportPolicyResponse ¶
func NewNullableCreateShareExportPolicyResponse(val *CreateShareExportPolicyResponse) *NullableCreateShareExportPolicyResponse
func (NullableCreateShareExportPolicyResponse) IsSet ¶
func (v NullableCreateShareExportPolicyResponse) IsSet() bool
func (NullableCreateShareExportPolicyResponse) MarshalJSON ¶
func (v NullableCreateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateShareExportPolicyResponse) Set ¶
func (v *NullableCreateShareExportPolicyResponse) Set(val *CreateShareExportPolicyResponse)
func (*NullableCreateShareExportPolicyResponse) UnmarshalJSON ¶
func (v *NullableCreateShareExportPolicyResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateShareExportPolicyResponse) Unset ¶
func (v *NullableCreateShareExportPolicyResponse) Unset()
type NullableCreateSharePayload ¶
type NullableCreateSharePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateSharePayload ¶
func NewNullableCreateSharePayload(val *CreateSharePayload) *NullableCreateSharePayload
func (NullableCreateSharePayload) Get ¶
func (v NullableCreateSharePayload) Get() *CreateSharePayload
func (NullableCreateSharePayload) IsSet ¶
func (v NullableCreateSharePayload) IsSet() bool
func (NullableCreateSharePayload) MarshalJSON ¶
func (v NullableCreateSharePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateSharePayload) Set ¶
func (v *NullableCreateSharePayload) Set(val *CreateSharePayload)
func (*NullableCreateSharePayload) UnmarshalJSON ¶
func (v *NullableCreateSharePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateSharePayload) Unset ¶
func (v *NullableCreateSharePayload) Unset()
type NullableCreateShareResponse ¶
type NullableCreateShareResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateShareResponse ¶
func NewNullableCreateShareResponse(val *CreateShareResponse) *NullableCreateShareResponse
func (NullableCreateShareResponse) Get ¶
func (v NullableCreateShareResponse) Get() *CreateShareResponse
func (NullableCreateShareResponse) IsSet ¶
func (v NullableCreateShareResponse) IsSet() bool
func (NullableCreateShareResponse) MarshalJSON ¶
func (v NullableCreateShareResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateShareResponse) Set ¶
func (v *NullableCreateShareResponse) Set(val *CreateShareResponse)
func (*NullableCreateShareResponse) UnmarshalJSON ¶
func (v *NullableCreateShareResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateShareResponse) Unset ¶
func (v *NullableCreateShareResponse) 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 NullableGetResourcePoolResponse ¶
type NullableGetResourcePoolResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetResourcePoolResponse ¶
func NewNullableGetResourcePoolResponse(val *GetResourcePoolResponse) *NullableGetResourcePoolResponse
func (NullableGetResourcePoolResponse) Get ¶
func (v NullableGetResourcePoolResponse) Get() *GetResourcePoolResponse
func (NullableGetResourcePoolResponse) IsSet ¶
func (v NullableGetResourcePoolResponse) IsSet() bool
func (NullableGetResourcePoolResponse) MarshalJSON ¶
func (v NullableGetResourcePoolResponse) MarshalJSON() ([]byte, error)
func (*NullableGetResourcePoolResponse) Set ¶
func (v *NullableGetResourcePoolResponse) Set(val *GetResourcePoolResponse)
func (*NullableGetResourcePoolResponse) UnmarshalJSON ¶
func (v *NullableGetResourcePoolResponse) UnmarshalJSON(src []byte) error
func (*NullableGetResourcePoolResponse) Unset ¶
func (v *NullableGetResourcePoolResponse) Unset()
type NullableGetResourcePoolSnapshotResponse ¶
type NullableGetResourcePoolSnapshotResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetResourcePoolSnapshotResponse ¶
func NewNullableGetResourcePoolSnapshotResponse(val *GetResourcePoolSnapshotResponse) *NullableGetResourcePoolSnapshotResponse
func (NullableGetResourcePoolSnapshotResponse) IsSet ¶
func (v NullableGetResourcePoolSnapshotResponse) IsSet() bool
func (NullableGetResourcePoolSnapshotResponse) MarshalJSON ¶
func (v NullableGetResourcePoolSnapshotResponse) MarshalJSON() ([]byte, error)
func (*NullableGetResourcePoolSnapshotResponse) Set ¶
func (v *NullableGetResourcePoolSnapshotResponse) Set(val *GetResourcePoolSnapshotResponse)
func (*NullableGetResourcePoolSnapshotResponse) UnmarshalJSON ¶
func (v *NullableGetResourcePoolSnapshotResponse) UnmarshalJSON(src []byte) error
func (*NullableGetResourcePoolSnapshotResponse) Unset ¶
func (v *NullableGetResourcePoolSnapshotResponse) Unset()
type NullableGetShareExportPolicyResponse ¶
type NullableGetShareExportPolicyResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetShareExportPolicyResponse ¶
func NewNullableGetShareExportPolicyResponse(val *GetShareExportPolicyResponse) *NullableGetShareExportPolicyResponse
func (NullableGetShareExportPolicyResponse) Get ¶
func (v NullableGetShareExportPolicyResponse) Get() *GetShareExportPolicyResponse
func (NullableGetShareExportPolicyResponse) IsSet ¶
func (v NullableGetShareExportPolicyResponse) IsSet() bool
func (NullableGetShareExportPolicyResponse) MarshalJSON ¶
func (v NullableGetShareExportPolicyResponse) MarshalJSON() ([]byte, error)
func (*NullableGetShareExportPolicyResponse) Set ¶
func (v *NullableGetShareExportPolicyResponse) Set(val *GetShareExportPolicyResponse)
func (*NullableGetShareExportPolicyResponse) UnmarshalJSON ¶
func (v *NullableGetShareExportPolicyResponse) UnmarshalJSON(src []byte) error
func (*NullableGetShareExportPolicyResponse) Unset ¶
func (v *NullableGetShareExportPolicyResponse) Unset()
type NullableGetShareResponse ¶
type NullableGetShareResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetShareResponse ¶
func NewNullableGetShareResponse(val *GetShareResponse) *NullableGetShareResponse
func (NullableGetShareResponse) Get ¶
func (v NullableGetShareResponse) Get() *GetShareResponse
func (NullableGetShareResponse) IsSet ¶
func (v NullableGetShareResponse) IsSet() bool
func (NullableGetShareResponse) MarshalJSON ¶
func (v NullableGetShareResponse) MarshalJSON() ([]byte, error)
func (*NullableGetShareResponse) Set ¶
func (v *NullableGetShareResponse) Set(val *GetShareResponse)
func (*NullableGetShareResponse) UnmarshalJSON ¶
func (v *NullableGetShareResponse) UnmarshalJSON(src []byte) error
func (*NullableGetShareResponse) Unset ¶
func (v *NullableGetShareResponse) Unset()
type NullableGoogleProtobufAny ¶
type NullableGoogleProtobufAny struct {
// contains filtered or unexported fields
}
func NewNullableGoogleProtobufAny ¶
func NewNullableGoogleProtobufAny(val *GoogleProtobufAny) *NullableGoogleProtobufAny
func (NullableGoogleProtobufAny) Get ¶
func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
func (NullableGoogleProtobufAny) IsSet ¶
func (v NullableGoogleProtobufAny) IsSet() bool
func (NullableGoogleProtobufAny) MarshalJSON ¶
func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*NullableGoogleProtobufAny) Set ¶
func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
func (*NullableGoogleProtobufAny) UnmarshalJSON ¶
func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
func (*NullableGoogleProtobufAny) Unset ¶
func (v *NullableGoogleProtobufAny) 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 NullableListPerformanceClassesResponse ¶
type NullableListPerformanceClassesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListPerformanceClassesResponse ¶
func NewNullableListPerformanceClassesResponse(val *ListPerformanceClassesResponse) *NullableListPerformanceClassesResponse
func (NullableListPerformanceClassesResponse) Get ¶
func (v NullableListPerformanceClassesResponse) Get() *ListPerformanceClassesResponse
func (NullableListPerformanceClassesResponse) IsSet ¶
func (v NullableListPerformanceClassesResponse) IsSet() bool
func (NullableListPerformanceClassesResponse) MarshalJSON ¶
func (v NullableListPerformanceClassesResponse) MarshalJSON() ([]byte, error)
func (*NullableListPerformanceClassesResponse) Set ¶
func (v *NullableListPerformanceClassesResponse) Set(val *ListPerformanceClassesResponse)
func (*NullableListPerformanceClassesResponse) UnmarshalJSON ¶
func (v *NullableListPerformanceClassesResponse) UnmarshalJSON(src []byte) error
func (*NullableListPerformanceClassesResponse) Unset ¶
func (v *NullableListPerformanceClassesResponse) Unset()
type NullableListResourcePoolSnapshotsResponse ¶
type NullableListResourcePoolSnapshotsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListResourcePoolSnapshotsResponse ¶
func NewNullableListResourcePoolSnapshotsResponse(val *ListResourcePoolSnapshotsResponse) *NullableListResourcePoolSnapshotsResponse
func (NullableListResourcePoolSnapshotsResponse) IsSet ¶
func (v NullableListResourcePoolSnapshotsResponse) IsSet() bool
func (NullableListResourcePoolSnapshotsResponse) MarshalJSON ¶
func (v NullableListResourcePoolSnapshotsResponse) MarshalJSON() ([]byte, error)
func (*NullableListResourcePoolSnapshotsResponse) Set ¶
func (v *NullableListResourcePoolSnapshotsResponse) Set(val *ListResourcePoolSnapshotsResponse)
func (*NullableListResourcePoolSnapshotsResponse) UnmarshalJSON ¶
func (v *NullableListResourcePoolSnapshotsResponse) UnmarshalJSON(src []byte) error
func (*NullableListResourcePoolSnapshotsResponse) Unset ¶
func (v *NullableListResourcePoolSnapshotsResponse) Unset()
type NullableListResourcePoolsResponse ¶
type NullableListResourcePoolsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListResourcePoolsResponse ¶
func NewNullableListResourcePoolsResponse(val *ListResourcePoolsResponse) *NullableListResourcePoolsResponse
func (NullableListResourcePoolsResponse) Get ¶
func (v NullableListResourcePoolsResponse) Get() *ListResourcePoolsResponse
func (NullableListResourcePoolsResponse) IsSet ¶
func (v NullableListResourcePoolsResponse) IsSet() bool
func (NullableListResourcePoolsResponse) MarshalJSON ¶
func (v NullableListResourcePoolsResponse) MarshalJSON() ([]byte, error)
func (*NullableListResourcePoolsResponse) Set ¶
func (v *NullableListResourcePoolsResponse) Set(val *ListResourcePoolsResponse)
func (*NullableListResourcePoolsResponse) UnmarshalJSON ¶
func (v *NullableListResourcePoolsResponse) UnmarshalJSON(src []byte) error
func (*NullableListResourcePoolsResponse) Unset ¶
func (v *NullableListResourcePoolsResponse) Unset()
type NullableListShareExportPoliciesResponse ¶
type NullableListShareExportPoliciesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListShareExportPoliciesResponse ¶
func NewNullableListShareExportPoliciesResponse(val *ListShareExportPoliciesResponse) *NullableListShareExportPoliciesResponse
func (NullableListShareExportPoliciesResponse) IsSet ¶
func (v NullableListShareExportPoliciesResponse) IsSet() bool
func (NullableListShareExportPoliciesResponse) MarshalJSON ¶
func (v NullableListShareExportPoliciesResponse) MarshalJSON() ([]byte, error)
func (*NullableListShareExportPoliciesResponse) Set ¶
func (v *NullableListShareExportPoliciesResponse) Set(val *ListShareExportPoliciesResponse)
func (*NullableListShareExportPoliciesResponse) UnmarshalJSON ¶
func (v *NullableListShareExportPoliciesResponse) UnmarshalJSON(src []byte) error
func (*NullableListShareExportPoliciesResponse) Unset ¶
func (v *NullableListShareExportPoliciesResponse) Unset()
type NullableListSharesResponse ¶
type NullableListSharesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListSharesResponse ¶
func NewNullableListSharesResponse(val *ListSharesResponse) *NullableListSharesResponse
func (NullableListSharesResponse) Get ¶
func (v NullableListSharesResponse) Get() *ListSharesResponse
func (NullableListSharesResponse) IsSet ¶
func (v NullableListSharesResponse) IsSet() bool
func (NullableListSharesResponse) MarshalJSON ¶
func (v NullableListSharesResponse) MarshalJSON() ([]byte, error)
func (*NullableListSharesResponse) Set ¶
func (v *NullableListSharesResponse) Set(val *ListSharesResponse)
func (*NullableListSharesResponse) UnmarshalJSON ¶
func (v *NullableListSharesResponse) UnmarshalJSON(src []byte) error
func (*NullableListSharesResponse) Unset ¶
func (v *NullableListSharesResponse) Unset()
type NullablePerformanceClass ¶
type NullablePerformanceClass struct {
// contains filtered or unexported fields
}
func NewNullablePerformanceClass ¶
func NewNullablePerformanceClass(val *PerformanceClass) *NullablePerformanceClass
func (NullablePerformanceClass) Get ¶
func (v NullablePerformanceClass) Get() *PerformanceClass
func (NullablePerformanceClass) IsSet ¶
func (v NullablePerformanceClass) IsSet() bool
func (NullablePerformanceClass) MarshalJSON ¶
func (v NullablePerformanceClass) MarshalJSON() ([]byte, error)
func (*NullablePerformanceClass) Set ¶
func (v *NullablePerformanceClass) Set(val *PerformanceClass)
func (*NullablePerformanceClass) UnmarshalJSON ¶
func (v *NullablePerformanceClass) UnmarshalJSON(src []byte) error
func (*NullablePerformanceClass) Unset ¶
func (v *NullablePerformanceClass) Unset()
type NullableResourcePool ¶
type NullableResourcePool struct {
// contains filtered or unexported fields
}
func NewNullableResourcePool ¶
func NewNullableResourcePool(val *ResourcePool) *NullableResourcePool
func (NullableResourcePool) Get ¶
func (v NullableResourcePool) Get() *ResourcePool
func (NullableResourcePool) IsSet ¶
func (v NullableResourcePool) IsSet() bool
func (NullableResourcePool) MarshalJSON ¶
func (v NullableResourcePool) MarshalJSON() ([]byte, error)
func (*NullableResourcePool) Set ¶
func (v *NullableResourcePool) Set(val *ResourcePool)
func (*NullableResourcePool) UnmarshalJSON ¶
func (v *NullableResourcePool) UnmarshalJSON(src []byte) error
func (*NullableResourcePool) Unset ¶
func (v *NullableResourcePool) Unset()
type NullableResourcePoolPerformanceClass ¶
type NullableResourcePoolPerformanceClass struct {
// contains filtered or unexported fields
}
func NewNullableResourcePoolPerformanceClass ¶
func NewNullableResourcePoolPerformanceClass(val *ResourcePoolPerformanceClass) *NullableResourcePoolPerformanceClass
func (NullableResourcePoolPerformanceClass) Get ¶
func (v NullableResourcePoolPerformanceClass) Get() *ResourcePoolPerformanceClass
func (NullableResourcePoolPerformanceClass) IsSet ¶
func (v NullableResourcePoolPerformanceClass) IsSet() bool
func (NullableResourcePoolPerformanceClass) MarshalJSON ¶
func (v NullableResourcePoolPerformanceClass) MarshalJSON() ([]byte, error)
func (*NullableResourcePoolPerformanceClass) Set ¶
func (v *NullableResourcePoolPerformanceClass) Set(val *ResourcePoolPerformanceClass)
func (*NullableResourcePoolPerformanceClass) UnmarshalJSON ¶
func (v *NullableResourcePoolPerformanceClass) UnmarshalJSON(src []byte) error
func (*NullableResourcePoolPerformanceClass) Unset ¶
func (v *NullableResourcePoolPerformanceClass) Unset()
type NullableResourcePoolSnapshot ¶
type NullableResourcePoolSnapshot struct {
// contains filtered or unexported fields
}
func NewNullableResourcePoolSnapshot ¶
func NewNullableResourcePoolSnapshot(val *ResourcePoolSnapshot) *NullableResourcePoolSnapshot
func (NullableResourcePoolSnapshot) Get ¶
func (v NullableResourcePoolSnapshot) Get() *ResourcePoolSnapshot
func (NullableResourcePoolSnapshot) IsSet ¶
func (v NullableResourcePoolSnapshot) IsSet() bool
func (NullableResourcePoolSnapshot) MarshalJSON ¶
func (v NullableResourcePoolSnapshot) MarshalJSON() ([]byte, error)
func (*NullableResourcePoolSnapshot) Set ¶
func (v *NullableResourcePoolSnapshot) Set(val *ResourcePoolSnapshot)
func (*NullableResourcePoolSnapshot) UnmarshalJSON ¶
func (v *NullableResourcePoolSnapshot) UnmarshalJSON(src []byte) error
func (*NullableResourcePoolSnapshot) Unset ¶
func (v *NullableResourcePoolSnapshot) Unset()
type NullableResourcePoolSpace ¶
type NullableResourcePoolSpace struct {
// contains filtered or unexported fields
}
func NewNullableResourcePoolSpace ¶
func NewNullableResourcePoolSpace(val *ResourcePoolSpace) *NullableResourcePoolSpace
func (NullableResourcePoolSpace) Get ¶
func (v NullableResourcePoolSpace) Get() *ResourcePoolSpace
func (NullableResourcePoolSpace) IsSet ¶
func (v NullableResourcePoolSpace) IsSet() bool
func (NullableResourcePoolSpace) MarshalJSON ¶
func (v NullableResourcePoolSpace) MarshalJSON() ([]byte, error)
func (*NullableResourcePoolSpace) Set ¶
func (v *NullableResourcePoolSpace) Set(val *ResourcePoolSpace)
func (*NullableResourcePoolSpace) UnmarshalJSON ¶
func (v *NullableResourcePoolSpace) UnmarshalJSON(src []byte) error
func (*NullableResourcePoolSpace) Unset ¶
func (v *NullableResourcePoolSpace) Unset()
type NullableShare ¶
type NullableShare struct {
// contains filtered or unexported fields
}
func NewNullableShare ¶
func NewNullableShare(val *Share) *NullableShare
func (NullableShare) Get ¶
func (v NullableShare) Get() *Share
func (NullableShare) IsSet ¶
func (v NullableShare) IsSet() bool
func (NullableShare) MarshalJSON ¶
func (v NullableShare) MarshalJSON() ([]byte, error)
func (*NullableShare) Set ¶
func (v *NullableShare) Set(val *Share)
func (*NullableShare) UnmarshalJSON ¶
func (v *NullableShare) UnmarshalJSON(src []byte) error
func (*NullableShare) Unset ¶
func (v *NullableShare) Unset()
type NullableShareExportPolicy ¶
type NullableShareExportPolicy struct {
// contains filtered or unexported fields
}
func NewNullableShareExportPolicy ¶
func NewNullableShareExportPolicy(val *ShareExportPolicy) *NullableShareExportPolicy
func (NullableShareExportPolicy) Get ¶
func (v NullableShareExportPolicy) Get() *ShareExportPolicy
func (NullableShareExportPolicy) IsSet ¶
func (v NullableShareExportPolicy) IsSet() bool
func (NullableShareExportPolicy) MarshalJSON ¶
func (v NullableShareExportPolicy) MarshalJSON() ([]byte, error)
func (*NullableShareExportPolicy) Set ¶
func (v *NullableShareExportPolicy) Set(val *ShareExportPolicy)
func (*NullableShareExportPolicy) UnmarshalJSON ¶
func (v *NullableShareExportPolicy) UnmarshalJSON(src []byte) error
func (*NullableShareExportPolicy) Unset ¶
func (v *NullableShareExportPolicy) Unset()
type NullableShareExportPolicyRule ¶
type NullableShareExportPolicyRule struct {
// contains filtered or unexported fields
}
func NewNullableShareExportPolicyRule ¶
func NewNullableShareExportPolicyRule(val *ShareExportPolicyRule) *NullableShareExportPolicyRule
func (NullableShareExportPolicyRule) Get ¶
func (v NullableShareExportPolicyRule) Get() *ShareExportPolicyRule
func (NullableShareExportPolicyRule) IsSet ¶
func (v NullableShareExportPolicyRule) IsSet() bool
func (NullableShareExportPolicyRule) MarshalJSON ¶
func (v NullableShareExportPolicyRule) MarshalJSON() ([]byte, error)
func (*NullableShareExportPolicyRule) Set ¶
func (v *NullableShareExportPolicyRule) Set(val *ShareExportPolicyRule)
func (*NullableShareExportPolicyRule) UnmarshalJSON ¶
func (v *NullableShareExportPolicyRule) UnmarshalJSON(src []byte) error
func (*NullableShareExportPolicyRule) Unset ¶
func (v *NullableShareExportPolicyRule) 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 NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateResourcePoolPayload ¶
type NullableUpdateResourcePoolPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateResourcePoolPayload ¶
func NewNullableUpdateResourcePoolPayload(val *UpdateResourcePoolPayload) *NullableUpdateResourcePoolPayload
func (NullableUpdateResourcePoolPayload) Get ¶
func (v NullableUpdateResourcePoolPayload) Get() *UpdateResourcePoolPayload
func (NullableUpdateResourcePoolPayload) IsSet ¶
func (v NullableUpdateResourcePoolPayload) IsSet() bool
func (NullableUpdateResourcePoolPayload) MarshalJSON ¶
func (v NullableUpdateResourcePoolPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateResourcePoolPayload) Set ¶
func (v *NullableUpdateResourcePoolPayload) Set(val *UpdateResourcePoolPayload)
func (*NullableUpdateResourcePoolPayload) UnmarshalJSON ¶
func (v *NullableUpdateResourcePoolPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateResourcePoolPayload) Unset ¶
func (v *NullableUpdateResourcePoolPayload) Unset()
type NullableUpdateResourcePoolResponse ¶
type NullableUpdateResourcePoolResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateResourcePoolResponse ¶
func NewNullableUpdateResourcePoolResponse(val *UpdateResourcePoolResponse) *NullableUpdateResourcePoolResponse
func (NullableUpdateResourcePoolResponse) Get ¶
func (v NullableUpdateResourcePoolResponse) Get() *UpdateResourcePoolResponse
func (NullableUpdateResourcePoolResponse) IsSet ¶
func (v NullableUpdateResourcePoolResponse) IsSet() bool
func (NullableUpdateResourcePoolResponse) MarshalJSON ¶
func (v NullableUpdateResourcePoolResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateResourcePoolResponse) Set ¶
func (v *NullableUpdateResourcePoolResponse) Set(val *UpdateResourcePoolResponse)
func (*NullableUpdateResourcePoolResponse) UnmarshalJSON ¶
func (v *NullableUpdateResourcePoolResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateResourcePoolResponse) Unset ¶
func (v *NullableUpdateResourcePoolResponse) Unset()
type NullableUpdateShareExportPolicyBodyRule ¶
type NullableUpdateShareExportPolicyBodyRule struct {
// contains filtered or unexported fields
}
func NewNullableUpdateShareExportPolicyBodyRule ¶
func NewNullableUpdateShareExportPolicyBodyRule(val *UpdateShareExportPolicyBodyRule) *NullableUpdateShareExportPolicyBodyRule
func (NullableUpdateShareExportPolicyBodyRule) IsSet ¶
func (v NullableUpdateShareExportPolicyBodyRule) IsSet() bool
func (NullableUpdateShareExportPolicyBodyRule) MarshalJSON ¶
func (v NullableUpdateShareExportPolicyBodyRule) MarshalJSON() ([]byte, error)
func (*NullableUpdateShareExportPolicyBodyRule) Set ¶
func (v *NullableUpdateShareExportPolicyBodyRule) Set(val *UpdateShareExportPolicyBodyRule)
func (*NullableUpdateShareExportPolicyBodyRule) UnmarshalJSON ¶
func (v *NullableUpdateShareExportPolicyBodyRule) UnmarshalJSON(src []byte) error
func (*NullableUpdateShareExportPolicyBodyRule) Unset ¶
func (v *NullableUpdateShareExportPolicyBodyRule) Unset()
type NullableUpdateShareExportPolicyPayload ¶
type NullableUpdateShareExportPolicyPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateShareExportPolicyPayload ¶
func NewNullableUpdateShareExportPolicyPayload(val *UpdateShareExportPolicyPayload) *NullableUpdateShareExportPolicyPayload
func (NullableUpdateShareExportPolicyPayload) Get ¶
func (v NullableUpdateShareExportPolicyPayload) Get() *UpdateShareExportPolicyPayload
func (NullableUpdateShareExportPolicyPayload) IsSet ¶
func (v NullableUpdateShareExportPolicyPayload) IsSet() bool
func (NullableUpdateShareExportPolicyPayload) MarshalJSON ¶
func (v NullableUpdateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateShareExportPolicyPayload) Set ¶
func (v *NullableUpdateShareExportPolicyPayload) Set(val *UpdateShareExportPolicyPayload)
func (*NullableUpdateShareExportPolicyPayload) UnmarshalJSON ¶
func (v *NullableUpdateShareExportPolicyPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateShareExportPolicyPayload) Unset ¶
func (v *NullableUpdateShareExportPolicyPayload) Unset()
type NullableUpdateShareExportPolicyResponse ¶
type NullableUpdateShareExportPolicyResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateShareExportPolicyResponse ¶
func NewNullableUpdateShareExportPolicyResponse(val *UpdateShareExportPolicyResponse) *NullableUpdateShareExportPolicyResponse
func (NullableUpdateShareExportPolicyResponse) IsSet ¶
func (v NullableUpdateShareExportPolicyResponse) IsSet() bool
func (NullableUpdateShareExportPolicyResponse) MarshalJSON ¶
func (v NullableUpdateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateShareExportPolicyResponse) Set ¶
func (v *NullableUpdateShareExportPolicyResponse) Set(val *UpdateShareExportPolicyResponse)
func (*NullableUpdateShareExportPolicyResponse) UnmarshalJSON ¶
func (v *NullableUpdateShareExportPolicyResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateShareExportPolicyResponse) Unset ¶
func (v *NullableUpdateShareExportPolicyResponse) Unset()
type NullableUpdateSharePayload ¶
type NullableUpdateSharePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSharePayload ¶
func NewNullableUpdateSharePayload(val *UpdateSharePayload) *NullableUpdateSharePayload
func (NullableUpdateSharePayload) Get ¶
func (v NullableUpdateSharePayload) Get() *UpdateSharePayload
func (NullableUpdateSharePayload) IsSet ¶
func (v NullableUpdateSharePayload) IsSet() bool
func (NullableUpdateSharePayload) MarshalJSON ¶
func (v NullableUpdateSharePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateSharePayload) Set ¶
func (v *NullableUpdateSharePayload) Set(val *UpdateSharePayload)
func (*NullableUpdateSharePayload) UnmarshalJSON ¶
func (v *NullableUpdateSharePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateSharePayload) Unset ¶
func (v *NullableUpdateSharePayload) Unset()
type NullableUpdateShareResponse ¶
type NullableUpdateShareResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateShareResponse ¶
func NewNullableUpdateShareResponse(val *UpdateShareResponse) *NullableUpdateShareResponse
func (NullableUpdateShareResponse) Get ¶
func (v NullableUpdateShareResponse) Get() *UpdateShareResponse
func (NullableUpdateShareResponse) IsSet ¶
func (v NullableUpdateShareResponse) IsSet() bool
func (NullableUpdateShareResponse) MarshalJSON ¶
func (v NullableUpdateShareResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateShareResponse) Set ¶
func (v *NullableUpdateShareResponse) Set(val *UpdateShareResponse)
func (*NullableUpdateShareResponse) UnmarshalJSON ¶
func (v *NullableUpdateShareResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateShareResponse) Unset ¶
func (v *NullableUpdateShareResponse) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type NullableValidationErrorField ¶
type NullableValidationErrorField struct {
// contains filtered or unexported fields
}
func NewNullableValidationErrorField ¶
func NewNullableValidationErrorField(val *ValidationErrorField) *NullableValidationErrorField
func (NullableValidationErrorField) Get ¶
func (v NullableValidationErrorField) Get() *ValidationErrorField
func (NullableValidationErrorField) IsSet ¶
func (v NullableValidationErrorField) IsSet() bool
func (NullableValidationErrorField) MarshalJSON ¶
func (v NullableValidationErrorField) MarshalJSON() ([]byte, error)
func (*NullableValidationErrorField) Set ¶
func (v *NullableValidationErrorField) Set(val *ValidationErrorField)
func (*NullableValidationErrorField) UnmarshalJSON ¶
func (v *NullableValidationErrorField) UnmarshalJSON(src []byte) error
func (*NullableValidationErrorField) Unset ¶
func (v *NullableValidationErrorField) Unset()
type PerformanceClass ¶
type PerformanceClass struct {
// IOPS of the Performance Class
Iops *int32 `json:"iops,omitempty"`
// Name of the Performance Class
Name *string `json:"name,omitempty"`
// Throughput of the Performance Class
Throughput *int32 `json:"throughput,omitempty"`
}
PerformanceClass struct for PerformanceClass
func NewPerformanceClass ¶
func NewPerformanceClass() *PerformanceClass
NewPerformanceClass instantiates a new PerformanceClass 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 NewPerformanceClassWithDefaults ¶
func NewPerformanceClassWithDefaults() *PerformanceClass
NewPerformanceClassWithDefaults instantiates a new PerformanceClass 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 (*PerformanceClass) GetIops ¶
func (o *PerformanceClass) GetIops() int32
GetIops returns the Iops field value if set, zero value otherwise.
func (*PerformanceClass) GetIopsOk ¶
func (o *PerformanceClass) GetIopsOk() (*int32, bool)
GetIopsOk returns a tuple with the Iops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PerformanceClass) GetName ¶
func (o *PerformanceClass) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PerformanceClass) GetNameOk ¶
func (o *PerformanceClass) 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 (*PerformanceClass) GetThroughput ¶
func (o *PerformanceClass) GetThroughput() int32
GetThroughput returns the Throughput field value if set, zero value otherwise.
func (*PerformanceClass) GetThroughputOk ¶
func (o *PerformanceClass) GetThroughputOk() (*int32, bool)
GetThroughputOk returns a tuple with the Throughput field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PerformanceClass) HasIops ¶
func (o *PerformanceClass) HasIops() bool
HasIops returns a boolean if a field has been set.
func (*PerformanceClass) HasName ¶
func (o *PerformanceClass) HasName() bool
HasName returns a boolean if a field has been set.
func (*PerformanceClass) HasThroughput ¶
func (o *PerformanceClass) HasThroughput() bool
HasThroughput returns a boolean if a field has been set.
func (PerformanceClass) MarshalJSON ¶
func (o PerformanceClass) MarshalJSON() ([]byte, error)
func (*PerformanceClass) SetIops ¶
func (o *PerformanceClass) SetIops(v int32)
SetIops gets a reference to the given int32 and assigns it to the Iops field.
func (*PerformanceClass) SetName ¶
func (o *PerformanceClass) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PerformanceClass) SetThroughput ¶
func (o *PerformanceClass) SetThroughput(v int32)
SetThroughput gets a reference to the given int32 and assigns it to the Throughput field.
func (PerformanceClass) ToMap ¶
func (o PerformanceClass) ToMap() (map[string]interface{}, error)
type ResourcePool ¶
type ResourcePool struct {
// Name of the respective availability zone
AvailabilityZone *string `json:"availabilityZone,omitempty"`
// Number of Shares in the Resource Pool
CreatedAt *time.Time `json:"createdAt,omitempty"`
// ID of the Resource Pool
Id *string `json:"id,omitempty"`
// List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP)
IpAcl []string `json:"ipAcl,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
// Mount path of the Resource Pool, used to mount the Resource Pool Note that a Resource Pool can only be mounted in read-only
MountPath *string `json:"mountPath,omitempty"`
// Name of the Resource Pool
Name *string `json:"name,omitempty"`
// Information about the performance class
PerformanceClass *ResourcePoolPerformanceClass `json:"performanceClass,omitempty"`
// Time when the performance class can be downgraded again.
PerformanceClassDowngradableAt *time.Time `json:"performanceClassDowngradableAt,omitempty"`
// Time when the size can be reduced again.
SizeReducibleAt *time.Time `json:"sizeReducibleAt,omitempty"`
// Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares.
SnapshotsAreVisible *bool `json:"snapshotsAreVisible,omitempty"`
// Space information
Space *ResourcePoolSpace `json:"space,omitempty"`
// State of the Resource Pool (possible values: [\"pending\", \"creating\", \"created\", \"updating\", \"error\", \"deleting\"])
State *string `json:"state,omitempty"`
}
ResourcePool struct for ResourcePool
func NewResourcePool ¶
func NewResourcePool() *ResourcePool
NewResourcePool instantiates a new ResourcePool 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 NewResourcePoolWithDefaults ¶
func NewResourcePoolWithDefaults() *ResourcePool
NewResourcePoolWithDefaults instantiates a new ResourcePool 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 (*ResourcePool) GetAvailabilityZone ¶
func (o *ResourcePool) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.
func (*ResourcePool) GetAvailabilityZoneOk ¶
func (o *ResourcePool) GetAvailabilityZoneOk() (*string, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetCountShares ¶
func (o *ResourcePool) GetCountShares() int32
GetCountShares returns the CountShares field value if set, zero value otherwise.
func (*ResourcePool) GetCountSharesOk ¶
func (o *ResourcePool) GetCountSharesOk() (*int32, bool)
GetCountSharesOk returns a tuple with the CountShares field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetCreatedAt ¶
func (o *ResourcePool) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ResourcePool) GetCreatedAtOk ¶
func (o *ResourcePool) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetId ¶
func (o *ResourcePool) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ResourcePool) GetIdOk ¶
func (o *ResourcePool) 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 (*ResourcePool) GetIpAcl ¶
func (o *ResourcePool) GetIpAcl() []string
GetIpAcl returns the IpAcl field value if set, zero value otherwise.
func (*ResourcePool) GetIpAclOk ¶
func (o *ResourcePool) GetIpAclOk() ([]string, bool)
GetIpAclOk returns a tuple with the IpAcl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetLabels ¶
func (o *ResourcePool) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ResourcePool) GetLabelsOk ¶
func (o *ResourcePool) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetMountPath ¶
func (o *ResourcePool) GetMountPath() string
GetMountPath returns the MountPath field value if set, zero value otherwise.
func (*ResourcePool) GetMountPathOk ¶
func (o *ResourcePool) GetMountPathOk() (*string, bool)
GetMountPathOk returns a tuple with the MountPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetName ¶
func (o *ResourcePool) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ResourcePool) GetNameOk ¶
func (o *ResourcePool) 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 (*ResourcePool) GetPerformanceClass ¶
func (o *ResourcePool) GetPerformanceClass() ResourcePoolPerformanceClass
GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.
func (*ResourcePool) GetPerformanceClassDowngradableAt ¶
func (o *ResourcePool) GetPerformanceClassDowngradableAt() time.Time
GetPerformanceClassDowngradableAt returns the PerformanceClassDowngradableAt field value if set, zero value otherwise.
func (*ResourcePool) GetPerformanceClassDowngradableAtOk ¶
func (o *ResourcePool) GetPerformanceClassDowngradableAtOk() (*time.Time, bool)
GetPerformanceClassDowngradableAtOk returns a tuple with the PerformanceClassDowngradableAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetPerformanceClassOk ¶
func (o *ResourcePool) GetPerformanceClassOk() (*ResourcePoolPerformanceClass, bool)
GetPerformanceClassOk returns a tuple with the PerformanceClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetSizeReducibleAt ¶
func (o *ResourcePool) GetSizeReducibleAt() time.Time
GetSizeReducibleAt returns the SizeReducibleAt field value if set, zero value otherwise.
func (*ResourcePool) GetSizeReducibleAtOk ¶
func (o *ResourcePool) GetSizeReducibleAtOk() (*time.Time, bool)
GetSizeReducibleAtOk returns a tuple with the SizeReducibleAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetSnapshotsAreVisible ¶
func (o *ResourcePool) GetSnapshotsAreVisible() bool
GetSnapshotsAreVisible returns the SnapshotsAreVisible field value if set, zero value otherwise.
func (*ResourcePool) GetSnapshotsAreVisibleOk ¶
func (o *ResourcePool) GetSnapshotsAreVisibleOk() (*bool, bool)
GetSnapshotsAreVisibleOk returns a tuple with the SnapshotsAreVisible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetSpace ¶
func (o *ResourcePool) GetSpace() ResourcePoolSpace
GetSpace returns the Space field value if set, zero value otherwise.
func (*ResourcePool) GetSpaceOk ¶
func (o *ResourcePool) GetSpaceOk() (*ResourcePoolSpace, bool)
GetSpaceOk returns a tuple with the Space field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) GetState ¶
func (o *ResourcePool) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResourcePool) GetStateOk ¶
func (o *ResourcePool) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePool) HasAvailabilityZone ¶
func (o *ResourcePool) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (*ResourcePool) HasCountShares ¶
func (o *ResourcePool) HasCountShares() bool
HasCountShares returns a boolean if a field has been set.
func (*ResourcePool) HasCreatedAt ¶
func (o *ResourcePool) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ResourcePool) HasId ¶
func (o *ResourcePool) HasId() bool
HasId returns a boolean if a field has been set.
func (*ResourcePool) HasIpAcl ¶
func (o *ResourcePool) HasIpAcl() bool
HasIpAcl returns a boolean if a field has been set.
func (*ResourcePool) HasLabels ¶
func (o *ResourcePool) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ResourcePool) HasMountPath ¶
func (o *ResourcePool) HasMountPath() bool
HasMountPath returns a boolean if a field has been set.
func (*ResourcePool) HasName ¶
func (o *ResourcePool) HasName() bool
HasName returns a boolean if a field has been set.
func (*ResourcePool) HasPerformanceClass ¶
func (o *ResourcePool) HasPerformanceClass() bool
HasPerformanceClass returns a boolean if a field has been set.
func (*ResourcePool) HasPerformanceClassDowngradableAt ¶
func (o *ResourcePool) HasPerformanceClassDowngradableAt() bool
HasPerformanceClassDowngradableAt returns a boolean if a field has been set.
func (*ResourcePool) HasSizeReducibleAt ¶
func (o *ResourcePool) HasSizeReducibleAt() bool
HasSizeReducibleAt returns a boolean if a field has been set.
func (*ResourcePool) HasSnapshotsAreVisible ¶
func (o *ResourcePool) HasSnapshotsAreVisible() bool
HasSnapshotsAreVisible returns a boolean if a field has been set.
func (*ResourcePool) HasSpace ¶
func (o *ResourcePool) HasSpace() bool
HasSpace returns a boolean if a field has been set.
func (*ResourcePool) HasState ¶
func (o *ResourcePool) HasState() bool
HasState returns a boolean if a field has been set.
func (ResourcePool) MarshalJSON ¶
func (o ResourcePool) MarshalJSON() ([]byte, error)
func (*ResourcePool) SetAvailabilityZone ¶
func (o *ResourcePool) SetAvailabilityZone(v string)
SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.
func (*ResourcePool) SetCountShares ¶
func (o *ResourcePool) SetCountShares(v int32)
SetCountShares gets a reference to the given int32 and assigns it to the CountShares field.
func (*ResourcePool) SetCreatedAt ¶
func (o *ResourcePool) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ResourcePool) SetId ¶
func (o *ResourcePool) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ResourcePool) SetIpAcl ¶
func (o *ResourcePool) SetIpAcl(v []string)
SetIpAcl gets a reference to the given []string and assigns it to the IpAcl field.
func (*ResourcePool) SetLabels ¶
func (o *ResourcePool) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ResourcePool) SetMountPath ¶
func (o *ResourcePool) SetMountPath(v string)
SetMountPath gets a reference to the given string and assigns it to the MountPath field.
func (*ResourcePool) SetName ¶
func (o *ResourcePool) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ResourcePool) SetPerformanceClass ¶
func (o *ResourcePool) SetPerformanceClass(v ResourcePoolPerformanceClass)
SetPerformanceClass gets a reference to the given ResourcePoolPerformanceClass and assigns it to the PerformanceClass field.
func (*ResourcePool) SetPerformanceClassDowngradableAt ¶
func (o *ResourcePool) SetPerformanceClassDowngradableAt(v time.Time)
SetPerformanceClassDowngradableAt gets a reference to the given time.Time and assigns it to the PerformanceClassDowngradableAt field.
func (*ResourcePool) SetSizeReducibleAt ¶
func (o *ResourcePool) SetSizeReducibleAt(v time.Time)
SetSizeReducibleAt gets a reference to the given time.Time and assigns it to the SizeReducibleAt field.
func (*ResourcePool) SetSnapshotsAreVisible ¶
func (o *ResourcePool) SetSnapshotsAreVisible(v bool)
SetSnapshotsAreVisible gets a reference to the given bool and assigns it to the SnapshotsAreVisible field.
func (*ResourcePool) SetSpace ¶
func (o *ResourcePool) SetSpace(v ResourcePoolSpace)
SetSpace gets a reference to the given ResourcePoolSpace and assigns it to the Space field.
func (*ResourcePool) SetState ¶
func (o *ResourcePool) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResourcePool) ToMap ¶
func (o ResourcePool) ToMap() (map[string]interface{}, error)
type ResourcePoolPerformanceClass ¶
type ResourcePoolPerformanceClass struct {
// Name of the performance class
Name *string `json:"name,omitempty"`
// Max. IOPS of the Resource Pool. This is shared between every Share in the Resource Pool.
PeakIops *int32 `json:"peakIops,omitempty"`
// Throughput of the Resource Pool.
Throughput *int32 `json:"throughput,omitempty"`
}
ResourcePoolPerformanceClass struct for ResourcePoolPerformanceClass
func NewResourcePoolPerformanceClass ¶
func NewResourcePoolPerformanceClass() *ResourcePoolPerformanceClass
NewResourcePoolPerformanceClass instantiates a new ResourcePoolPerformanceClass 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 NewResourcePoolPerformanceClassWithDefaults ¶
func NewResourcePoolPerformanceClassWithDefaults() *ResourcePoolPerformanceClass
NewResourcePoolPerformanceClassWithDefaults instantiates a new ResourcePoolPerformanceClass 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 (*ResourcePoolPerformanceClass) GetName ¶
func (o *ResourcePoolPerformanceClass) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ResourcePoolPerformanceClass) GetNameOk ¶
func (o *ResourcePoolPerformanceClass) 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 (*ResourcePoolPerformanceClass) GetPeakIops ¶
func (o *ResourcePoolPerformanceClass) GetPeakIops() int32
GetPeakIops returns the PeakIops field value if set, zero value otherwise.
func (*ResourcePoolPerformanceClass) GetPeakIopsOk ¶
func (o *ResourcePoolPerformanceClass) GetPeakIopsOk() (*int32, bool)
GetPeakIopsOk returns a tuple with the PeakIops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolPerformanceClass) GetThroughput ¶
func (o *ResourcePoolPerformanceClass) GetThroughput() int32
GetThroughput returns the Throughput field value if set, zero value otherwise.
func (*ResourcePoolPerformanceClass) GetThroughputOk ¶
func (o *ResourcePoolPerformanceClass) GetThroughputOk() (*int32, bool)
GetThroughputOk returns a tuple with the Throughput field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolPerformanceClass) HasName ¶
func (o *ResourcePoolPerformanceClass) HasName() bool
HasName returns a boolean if a field has been set.
func (*ResourcePoolPerformanceClass) HasPeakIops ¶
func (o *ResourcePoolPerformanceClass) HasPeakIops() bool
HasPeakIops returns a boolean if a field has been set.
func (*ResourcePoolPerformanceClass) HasThroughput ¶
func (o *ResourcePoolPerformanceClass) HasThroughput() bool
HasThroughput returns a boolean if a field has been set.
func (ResourcePoolPerformanceClass) MarshalJSON ¶
func (o ResourcePoolPerformanceClass) MarshalJSON() ([]byte, error)
func (*ResourcePoolPerformanceClass) SetName ¶
func (o *ResourcePoolPerformanceClass) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ResourcePoolPerformanceClass) SetPeakIops ¶
func (o *ResourcePoolPerformanceClass) SetPeakIops(v int32)
SetPeakIops gets a reference to the given int32 and assigns it to the PeakIops field.
func (*ResourcePoolPerformanceClass) SetThroughput ¶
func (o *ResourcePoolPerformanceClass) SetThroughput(v int32)
SetThroughput gets a reference to the given int32 and assigns it to the Throughput field.
func (ResourcePoolPerformanceClass) ToMap ¶
func (o ResourcePoolPerformanceClass) ToMap() (map[string]interface{}, error)
type ResourcePoolSnapshot ¶
type ResourcePoolSnapshot struct {
// (optional) A comment to add more information about a snapshot
Comment NullableString `json:"comment,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Represents the user-visible data size at the time of the snapshot in Gibibytes (e.g. what’s in the snapshot)
LogicalSizeGigabytes *int32 `json:"logicalSizeGigabytes,omitempty"`
// ID of the Resource Pool of the Snapshot
ResourcePoolId *string `json:"resourcePoolId,omitempty"`
// Reflects the actual storage footprint in the backend at snapshot time in Gibibytes (e.g. how much storage from the Resource Pool does it use).
SizeGigabytes *int32 `json:"sizeGigabytes,omitempty"`
// Name of the Resource Pool Snapshot
SnapshotName *string `json:"snapshotName,omitempty"`
}
ResourcePoolSnapshot struct for ResourcePoolSnapshot
func NewResourcePoolSnapshot ¶
func NewResourcePoolSnapshot() *ResourcePoolSnapshot
NewResourcePoolSnapshot instantiates a new ResourcePoolSnapshot 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 NewResourcePoolSnapshotWithDefaults ¶
func NewResourcePoolSnapshotWithDefaults() *ResourcePoolSnapshot
NewResourcePoolSnapshotWithDefaults instantiates a new ResourcePoolSnapshot 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 (*ResourcePoolSnapshot) GetComment ¶
func (o *ResourcePoolSnapshot) GetComment() string
GetComment returns the Comment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ResourcePoolSnapshot) GetCommentOk ¶
func (o *ResourcePoolSnapshot) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ResourcePoolSnapshot) GetCreatedAt ¶
func (o *ResourcePoolSnapshot) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ResourcePoolSnapshot) GetCreatedAtOk ¶
func (o *ResourcePoolSnapshot) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolSnapshot) GetLogicalSizeGigabytes ¶
func (o *ResourcePoolSnapshot) GetLogicalSizeGigabytes() int32
GetLogicalSizeGigabytes returns the LogicalSizeGigabytes field value if set, zero value otherwise.
func (*ResourcePoolSnapshot) GetLogicalSizeGigabytesOk ¶
func (o *ResourcePoolSnapshot) GetLogicalSizeGigabytesOk() (*int32, bool)
GetLogicalSizeGigabytesOk returns a tuple with the LogicalSizeGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolSnapshot) GetResourcePoolId ¶
func (o *ResourcePoolSnapshot) GetResourcePoolId() string
GetResourcePoolId returns the ResourcePoolId field value if set, zero value otherwise.
func (*ResourcePoolSnapshot) GetResourcePoolIdOk ¶
func (o *ResourcePoolSnapshot) GetResourcePoolIdOk() (*string, bool)
GetResourcePoolIdOk returns a tuple with the ResourcePoolId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolSnapshot) GetSizeGigabytes ¶
func (o *ResourcePoolSnapshot) GetSizeGigabytes() int32
GetSizeGigabytes returns the SizeGigabytes field value if set, zero value otherwise.
func (*ResourcePoolSnapshot) GetSizeGigabytesOk ¶
func (o *ResourcePoolSnapshot) GetSizeGigabytesOk() (*int32, bool)
GetSizeGigabytesOk returns a tuple with the SizeGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolSnapshot) GetSnapshotName ¶
func (o *ResourcePoolSnapshot) GetSnapshotName() string
GetSnapshotName returns the SnapshotName field value if set, zero value otherwise.
func (*ResourcePoolSnapshot) GetSnapshotNameOk ¶
func (o *ResourcePoolSnapshot) GetSnapshotNameOk() (*string, bool)
GetSnapshotNameOk returns a tuple with the SnapshotName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolSnapshot) HasComment ¶
func (o *ResourcePoolSnapshot) HasComment() bool
HasComment returns a boolean if a field has been set.
func (*ResourcePoolSnapshot) HasCreatedAt ¶
func (o *ResourcePoolSnapshot) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ResourcePoolSnapshot) HasLogicalSizeGigabytes ¶
func (o *ResourcePoolSnapshot) HasLogicalSizeGigabytes() bool
HasLogicalSizeGigabytes returns a boolean if a field has been set.
func (*ResourcePoolSnapshot) HasResourcePoolId ¶
func (o *ResourcePoolSnapshot) HasResourcePoolId() bool
HasResourcePoolId returns a boolean if a field has been set.
func (*ResourcePoolSnapshot) HasSizeGigabytes ¶
func (o *ResourcePoolSnapshot) HasSizeGigabytes() bool
HasSizeGigabytes returns a boolean if a field has been set.
func (*ResourcePoolSnapshot) HasSnapshotName ¶
func (o *ResourcePoolSnapshot) HasSnapshotName() bool
HasSnapshotName returns a boolean if a field has been set.
func (ResourcePoolSnapshot) MarshalJSON ¶
func (o ResourcePoolSnapshot) MarshalJSON() ([]byte, error)
func (*ResourcePoolSnapshot) SetComment ¶
func (o *ResourcePoolSnapshot) SetComment(v string)
SetComment gets a reference to the given NullableString and assigns it to the Comment field.
func (*ResourcePoolSnapshot) SetCommentNil ¶
func (o *ResourcePoolSnapshot) SetCommentNil()
SetCommentNil sets the value for Comment to be an explicit nil
func (*ResourcePoolSnapshot) SetCreatedAt ¶
func (o *ResourcePoolSnapshot) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ResourcePoolSnapshot) SetLogicalSizeGigabytes ¶
func (o *ResourcePoolSnapshot) SetLogicalSizeGigabytes(v int32)
SetLogicalSizeGigabytes gets a reference to the given int32 and assigns it to the LogicalSizeGigabytes field.
func (*ResourcePoolSnapshot) SetResourcePoolId ¶
func (o *ResourcePoolSnapshot) SetResourcePoolId(v string)
SetResourcePoolId gets a reference to the given string and assigns it to the ResourcePoolId field.
func (*ResourcePoolSnapshot) SetSizeGigabytes ¶
func (o *ResourcePoolSnapshot) SetSizeGigabytes(v int32)
SetSizeGigabytes gets a reference to the given int32 and assigns it to the SizeGigabytes field.
func (*ResourcePoolSnapshot) SetSnapshotName ¶
func (o *ResourcePoolSnapshot) SetSnapshotName(v string)
SetSnapshotName gets a reference to the given string and assigns it to the SnapshotName field.
func (ResourcePoolSnapshot) ToMap ¶
func (o ResourcePoolSnapshot) ToMap() (map[string]interface{}, error)
func (*ResourcePoolSnapshot) UnsetComment ¶
func (o *ResourcePoolSnapshot) UnsetComment()
UnsetComment ensures that no value is present for Comment, not even an explicit nil
type ResourcePoolSpace ¶
type ResourcePoolSpace struct {
// Available space of the Resource Pool (only available when retrieving a single Resource Pool by ID)
AvailableGigabytes NullableFloat64 `json:"availableGigabytes,omitempty"`
// Size of the Resource Pool in Gibibytes.
SizeGigabytes *int32 `json:"sizeGigabytes,omitempty"`
// Used space of the Resource Pool (only available when retrieving a single Resource Pool by ID)
UsedGigabytes NullableFloat64 `json:"usedGigabytes,omitempty"`
}
ResourcePoolSpace struct for ResourcePoolSpace
func NewResourcePoolSpace ¶
func NewResourcePoolSpace() *ResourcePoolSpace
NewResourcePoolSpace instantiates a new ResourcePoolSpace 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 NewResourcePoolSpaceWithDefaults ¶
func NewResourcePoolSpaceWithDefaults() *ResourcePoolSpace
NewResourcePoolSpaceWithDefaults instantiates a new ResourcePoolSpace 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 (*ResourcePoolSpace) GetAvailableGigabytes ¶
func (o *ResourcePoolSpace) GetAvailableGigabytes() float64
GetAvailableGigabytes returns the AvailableGigabytes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ResourcePoolSpace) GetAvailableGigabytesOk ¶
func (o *ResourcePoolSpace) GetAvailableGigabytesOk() (*float64, bool)
GetAvailableGigabytesOk returns a tuple with the AvailableGigabytes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ResourcePoolSpace) GetSizeGigabytes ¶
func (o *ResourcePoolSpace) GetSizeGigabytes() int32
GetSizeGigabytes returns the SizeGigabytes field value if set, zero value otherwise.
func (*ResourcePoolSpace) GetSizeGigabytesOk ¶
func (o *ResourcePoolSpace) GetSizeGigabytesOk() (*int32, bool)
GetSizeGigabytesOk returns a tuple with the SizeGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourcePoolSpace) GetUsedGigabytes ¶
func (o *ResourcePoolSpace) GetUsedGigabytes() float64
GetUsedGigabytes returns the UsedGigabytes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ResourcePoolSpace) GetUsedGigabytesOk ¶
func (o *ResourcePoolSpace) GetUsedGigabytesOk() (*float64, bool)
GetUsedGigabytesOk returns a tuple with the UsedGigabytes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ResourcePoolSpace) HasAvailableGigabytes ¶
func (o *ResourcePoolSpace) HasAvailableGigabytes() bool
HasAvailableGigabytes returns a boolean if a field has been set.
func (*ResourcePoolSpace) HasSizeGigabytes ¶
func (o *ResourcePoolSpace) HasSizeGigabytes() bool
HasSizeGigabytes returns a boolean if a field has been set.
func (*ResourcePoolSpace) HasUsedGigabytes ¶
func (o *ResourcePoolSpace) HasUsedGigabytes() bool
HasUsedGigabytes returns a boolean if a field has been set.
func (ResourcePoolSpace) MarshalJSON ¶
func (o ResourcePoolSpace) MarshalJSON() ([]byte, error)
func (*ResourcePoolSpace) SetAvailableGigabytes ¶
func (o *ResourcePoolSpace) SetAvailableGigabytes(v float64)
SetAvailableGigabytes gets a reference to the given NullableFloat64 and assigns it to the AvailableGigabytes field.
func (*ResourcePoolSpace) SetAvailableGigabytesNil ¶
func (o *ResourcePoolSpace) SetAvailableGigabytesNil()
SetAvailableGigabytesNil sets the value for AvailableGigabytes to be an explicit nil
func (*ResourcePoolSpace) SetSizeGigabytes ¶
func (o *ResourcePoolSpace) SetSizeGigabytes(v int32)
SetSizeGigabytes gets a reference to the given int32 and assigns it to the SizeGigabytes field.
func (*ResourcePoolSpace) SetUsedGigabytes ¶
func (o *ResourcePoolSpace) SetUsedGigabytes(v float64)
SetUsedGigabytes gets a reference to the given NullableFloat64 and assigns it to the UsedGigabytes field.
func (*ResourcePoolSpace) SetUsedGigabytesNil ¶
func (o *ResourcePoolSpace) SetUsedGigabytesNil()
SetUsedGigabytesNil sets the value for UsedGigabytes to be an explicit nil
func (ResourcePoolSpace) ToMap ¶
func (o ResourcePoolSpace) ToMap() (map[string]interface{}, error)
func (*ResourcePoolSpace) UnsetAvailableGigabytes ¶
func (o *ResourcePoolSpace) UnsetAvailableGigabytes()
UnsetAvailableGigabytes ensures that no value is present for AvailableGigabytes, not even an explicit nil
func (*ResourcePoolSpace) UnsetUsedGigabytes ¶
func (o *ResourcePoolSpace) UnsetUsedGigabytes()
UnsetUsedGigabytes ensures that no value is present for UsedGigabytes, not even an explicit nil
type Share ¶
type Share struct {
ExportPolicy NullableShareExportPolicy `json:"exportPolicy,omitempty"`
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
MountPath *string `json:"mountPath,omitempty"`
Name *string `json:"name,omitempty"`
SpaceHardLimitGigabytes *int32 `json:"spaceHardLimitGigabytes,omitempty"`
State *string `json:"state,omitempty"`
}
Share struct for Share
func NewShare ¶
func NewShare() *Share
NewShare instantiates a new Share object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShareWithDefaults ¶
func NewShareWithDefaults() *Share
NewShareWithDefaults instantiates a new Share object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Share) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Share) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetExportPolicy ¶
func (o *Share) GetExportPolicy() ShareExportPolicy
GetExportPolicy returns the ExportPolicy field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Share) GetExportPolicyOk ¶
func (o *Share) GetExportPolicyOk() (*ShareExportPolicy, bool)
GetExportPolicyOk returns a tuple with the ExportPolicy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Share) 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 (*Share) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetMountPath ¶
GetMountPath returns the MountPath field value if set, zero value otherwise.
func (*Share) GetMountPathOk ¶
GetMountPathOk returns a tuple with the MountPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) 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 (*Share) GetSpaceHardLimitGigabytes ¶
GetSpaceHardLimitGigabytes returns the SpaceHardLimitGigabytes field value if set, zero value otherwise.
func (*Share) GetSpaceHardLimitGigabytesOk ¶
GetSpaceHardLimitGigabytesOk returns a tuple with the SpaceHardLimitGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Share) HasExportPolicy ¶
HasExportPolicy returns a boolean if a field has been set.
func (*Share) HasMountPath ¶
HasMountPath returns a boolean if a field has been set.
func (*Share) HasSpaceHardLimitGigabytes ¶
HasSpaceHardLimitGigabytes returns a boolean if a field has been set.
func (Share) MarshalJSON ¶
func (*Share) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Share) SetExportPolicy ¶
func (o *Share) SetExportPolicy(v ShareExportPolicy)
SetExportPolicy gets a reference to the given NullableShareExportPolicy and assigns it to the ExportPolicy field.
func (*Share) SetExportPolicyNil ¶
func (o *Share) SetExportPolicyNil()
SetExportPolicyNil sets the value for ExportPolicy to be an explicit nil
func (*Share) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Share) SetMountPath ¶
SetMountPath gets a reference to the given string and assigns it to the MountPath field.
func (*Share) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Share) SetSpaceHardLimitGigabytes ¶
SetSpaceHardLimitGigabytes gets a reference to the given int32 and assigns it to the SpaceHardLimitGigabytes field.
func (*Share) SetState ¶
SetState gets a reference to the given string and assigns it to the State field.
func (*Share) UnsetExportPolicy ¶
func (o *Share) UnsetExportPolicy()
UnsetExportPolicy ensures that no value is present for ExportPolicy, not even an explicit nil
type ShareExportPolicy ¶
type ShareExportPolicy struct {
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
Rules []ShareExportPolicyRule `json:"rules,omitempty"`
SharesUsingExportPolicy *int32 `json:"sharesUsingExportPolicy,omitempty"`
}
ShareExportPolicy struct for ShareExportPolicy
func NewShareExportPolicy ¶
func NewShareExportPolicy() *ShareExportPolicy
NewShareExportPolicy instantiates a new ShareExportPolicy 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 NewShareExportPolicyWithDefaults ¶
func NewShareExportPolicyWithDefaults() *ShareExportPolicy
NewShareExportPolicyWithDefaults instantiates a new ShareExportPolicy 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 (*ShareExportPolicy) GetCreatedAt ¶
func (o *ShareExportPolicy) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ShareExportPolicy) GetCreatedAtOk ¶
func (o *ShareExportPolicy) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicy) GetId ¶
func (o *ShareExportPolicy) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ShareExportPolicy) GetIdOk ¶
func (o *ShareExportPolicy) 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 (*ShareExportPolicy) GetLabels ¶
func (o *ShareExportPolicy) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ShareExportPolicy) GetLabelsOk ¶
func (o *ShareExportPolicy) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicy) GetName ¶
func (o *ShareExportPolicy) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ShareExportPolicy) GetNameOk ¶
func (o *ShareExportPolicy) 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 (*ShareExportPolicy) GetRules ¶
func (o *ShareExportPolicy) GetRules() []ShareExportPolicyRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*ShareExportPolicy) GetRulesOk ¶
func (o *ShareExportPolicy) GetRulesOk() ([]ShareExportPolicyRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicy) GetSharesUsingExportPolicy ¶
func (o *ShareExportPolicy) GetSharesUsingExportPolicy() int32
GetSharesUsingExportPolicy returns the SharesUsingExportPolicy field value if set, zero value otherwise.
func (*ShareExportPolicy) GetSharesUsingExportPolicyOk ¶
func (o *ShareExportPolicy) GetSharesUsingExportPolicyOk() (*int32, bool)
GetSharesUsingExportPolicyOk returns a tuple with the SharesUsingExportPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicy) HasCreatedAt ¶
func (o *ShareExportPolicy) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ShareExportPolicy) HasId ¶
func (o *ShareExportPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (*ShareExportPolicy) HasLabels ¶
func (o *ShareExportPolicy) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ShareExportPolicy) HasName ¶
func (o *ShareExportPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (*ShareExportPolicy) HasRules ¶
func (o *ShareExportPolicy) HasRules() bool
HasRules returns a boolean if a field has been set.
func (*ShareExportPolicy) HasSharesUsingExportPolicy ¶
func (o *ShareExportPolicy) HasSharesUsingExportPolicy() bool
HasSharesUsingExportPolicy returns a boolean if a field has been set.
func (ShareExportPolicy) MarshalJSON ¶
func (o ShareExportPolicy) MarshalJSON() ([]byte, error)
func (*ShareExportPolicy) SetCreatedAt ¶
func (o *ShareExportPolicy) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ShareExportPolicy) SetId ¶
func (o *ShareExportPolicy) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ShareExportPolicy) SetLabels ¶
func (o *ShareExportPolicy) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ShareExportPolicy) SetName ¶
func (o *ShareExportPolicy) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ShareExportPolicy) SetRules ¶
func (o *ShareExportPolicy) SetRules(v []ShareExportPolicyRule)
SetRules gets a reference to the given []ShareExportPolicyRule and assigns it to the Rules field.
func (*ShareExportPolicy) SetSharesUsingExportPolicy ¶
func (o *ShareExportPolicy) SetSharesUsingExportPolicy(v int32)
SetSharesUsingExportPolicy gets a reference to the given int32 and assigns it to the SharesUsingExportPolicy field.
func (ShareExportPolicy) ToMap ¶
func (o ShareExportPolicy) ToMap() (map[string]interface{}, error)
type ShareExportPolicyRule ¶
type ShareExportPolicyRule struct {
Description NullableString `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
IpAcl []string `json:"ipAcl,omitempty"`
Order *int32 `json:"order,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
SetUuid *bool `json:"setUuid,omitempty"`
SuperUser *bool `json:"superUser,omitempty"`
}
ShareExportPolicyRule struct for ShareExportPolicyRule
func NewShareExportPolicyRule ¶
func NewShareExportPolicyRule() *ShareExportPolicyRule
NewShareExportPolicyRule instantiates a new ShareExportPolicyRule 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 NewShareExportPolicyRuleWithDefaults ¶
func NewShareExportPolicyRuleWithDefaults() *ShareExportPolicyRule
NewShareExportPolicyRuleWithDefaults instantiates a new ShareExportPolicyRule 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 (*ShareExportPolicyRule) GetCreatedAt ¶
func (o *ShareExportPolicyRule) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ShareExportPolicyRule) GetCreatedAtOk ¶
func (o *ShareExportPolicyRule) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicyRule) GetDescription ¶
func (o *ShareExportPolicyRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShareExportPolicyRule) GetDescriptionOk ¶
func (o *ShareExportPolicyRule) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareExportPolicyRule) GetId ¶
func (o *ShareExportPolicyRule) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ShareExportPolicyRule) GetIdOk ¶
func (o *ShareExportPolicyRule) 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 (*ShareExportPolicyRule) GetIpAcl ¶
func (o *ShareExportPolicyRule) GetIpAcl() []string
GetIpAcl returns the IpAcl field value if set, zero value otherwise.
func (*ShareExportPolicyRule) GetIpAclOk ¶
func (o *ShareExportPolicyRule) GetIpAclOk() ([]string, bool)
GetIpAclOk returns a tuple with the IpAcl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicyRule) GetOrder ¶
func (o *ShareExportPolicyRule) GetOrder() int32
GetOrder returns the Order field value if set, zero value otherwise.
func (*ShareExportPolicyRule) GetOrderOk ¶
func (o *ShareExportPolicyRule) GetOrderOk() (*int32, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicyRule) GetReadOnly ¶
func (o *ShareExportPolicyRule) GetReadOnly() bool
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*ShareExportPolicyRule) GetReadOnlyOk ¶
func (o *ShareExportPolicyRule) GetReadOnlyOk() (*bool, 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 (*ShareExportPolicyRule) GetSetUuid ¶
func (o *ShareExportPolicyRule) GetSetUuid() bool
GetSetUuid returns the SetUuid field value if set, zero value otherwise.
func (*ShareExportPolicyRule) GetSetUuidOk ¶
func (o *ShareExportPolicyRule) GetSetUuidOk() (*bool, bool)
GetSetUuidOk returns a tuple with the SetUuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicyRule) GetSuperUser ¶
func (o *ShareExportPolicyRule) GetSuperUser() bool
GetSuperUser returns the SuperUser field value if set, zero value otherwise.
func (*ShareExportPolicyRule) GetSuperUserOk ¶
func (o *ShareExportPolicyRule) GetSuperUserOk() (*bool, bool)
GetSuperUserOk returns a tuple with the SuperUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareExportPolicyRule) HasCreatedAt ¶
func (o *ShareExportPolicyRule) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ShareExportPolicyRule) HasDescription ¶
func (o *ShareExportPolicyRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ShareExportPolicyRule) HasId ¶
func (o *ShareExportPolicyRule) HasId() bool
HasId returns a boolean if a field has been set.
func (*ShareExportPolicyRule) HasIpAcl ¶
func (o *ShareExportPolicyRule) HasIpAcl() bool
HasIpAcl returns a boolean if a field has been set.
func (*ShareExportPolicyRule) HasOrder ¶
func (o *ShareExportPolicyRule) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*ShareExportPolicyRule) HasReadOnly ¶
func (o *ShareExportPolicyRule) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*ShareExportPolicyRule) HasSetUuid ¶
func (o *ShareExportPolicyRule) HasSetUuid() bool
HasSetUuid returns a boolean if a field has been set.
func (*ShareExportPolicyRule) HasSuperUser ¶
func (o *ShareExportPolicyRule) HasSuperUser() bool
HasSuperUser returns a boolean if a field has been set.
func (ShareExportPolicyRule) MarshalJSON ¶
func (o ShareExportPolicyRule) MarshalJSON() ([]byte, error)
func (*ShareExportPolicyRule) SetCreatedAt ¶
func (o *ShareExportPolicyRule) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ShareExportPolicyRule) SetDescription ¶
func (o *ShareExportPolicyRule) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ShareExportPolicyRule) SetDescriptionNil ¶
func (o *ShareExportPolicyRule) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ShareExportPolicyRule) SetId ¶
func (o *ShareExportPolicyRule) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ShareExportPolicyRule) SetIpAcl ¶
func (o *ShareExportPolicyRule) SetIpAcl(v []string)
SetIpAcl gets a reference to the given []string and assigns it to the IpAcl field.
func (*ShareExportPolicyRule) SetOrder ¶
func (o *ShareExportPolicyRule) SetOrder(v int32)
SetOrder gets a reference to the given int32 and assigns it to the Order field.
func (*ShareExportPolicyRule) SetReadOnly ¶
func (o *ShareExportPolicyRule) SetReadOnly(v bool)
SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.
func (*ShareExportPolicyRule) SetSetUuid ¶
func (o *ShareExportPolicyRule) SetSetUuid(v bool)
SetSetUuid gets a reference to the given bool and assigns it to the SetUuid field.
func (*ShareExportPolicyRule) SetSuperUser ¶
func (o *ShareExportPolicyRule) SetSuperUser(v bool)
SetSuperUser gets a reference to the given bool and assigns it to the SuperUser field.
func (ShareExportPolicyRule) ToMap ¶
func (o ShareExportPolicyRule) ToMap() (map[string]interface{}, error)
func (*ShareExportPolicyRule) UnsetDescription ¶
func (o *ShareExportPolicyRule) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type Status ¶
type Status struct {
// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
Code *int32 `json:"code,omitempty"`
// A list of messages that carry the error details. There is a common set of message types for APIs to use.
Details []GoogleProtobufAny `json:"details,omitempty"`
// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
Message *string `json:"message,omitempty"`
}
Status The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func NewStatus ¶
func NewStatus() *Status
NewStatus instantiates a new Status 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 NewStatusWithDefaults ¶
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetDetails ¶
func (o *Status) GetDetails() []GoogleProtobufAny
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetDetailsOk ¶
func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Status) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Status) MarshalJSON ¶
func (*Status) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Status) SetDetails ¶
func (o *Status) SetDetails(v []GoogleProtobufAny)
SetDetails gets a reference to the given []GoogleProtobufAny and assigns it to the Details field.
func (*Status) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type UpdateResourcePoolPayload ¶
type UpdateResourcePoolPayload struct {
// (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP)
IpAcl []string `json:"ipAcl,omitempty"`
// An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$'
Labels *map[string]string `json:"labels,omitempty"`
// (optional) Name of the performance class
PerformanceClass *string `json:"performanceClass,omitempty"`
// (optional) Size of the Resource Pool (unit: gigabytes)
SizeGigabytes NullableInt32 `json:"sizeGigabytes,omitempty"`
// Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares.
SnapshotsAreVisible *bool `json:"snapshotsAreVisible,omitempty"`
}
UpdateResourcePoolPayload struct for UpdateResourcePoolPayload
func NewUpdateResourcePoolPayload ¶
func NewUpdateResourcePoolPayload() *UpdateResourcePoolPayload
NewUpdateResourcePoolPayload instantiates a new UpdateResourcePoolPayload 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 NewUpdateResourcePoolPayloadWithDefaults ¶
func NewUpdateResourcePoolPayloadWithDefaults() *UpdateResourcePoolPayload
NewUpdateResourcePoolPayloadWithDefaults instantiates a new UpdateResourcePoolPayload 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 (*UpdateResourcePoolPayload) GetIpAcl ¶
func (o *UpdateResourcePoolPayload) GetIpAcl() []string
GetIpAcl returns the IpAcl field value if set, zero value otherwise.
func (*UpdateResourcePoolPayload) GetIpAclOk ¶
func (o *UpdateResourcePoolPayload) GetIpAclOk() ([]string, bool)
GetIpAclOk returns a tuple with the IpAcl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourcePoolPayload) GetLabels ¶
func (o *UpdateResourcePoolPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateResourcePoolPayload) GetLabelsOk ¶
func (o *UpdateResourcePoolPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourcePoolPayload) GetPerformanceClass ¶
func (o *UpdateResourcePoolPayload) GetPerformanceClass() string
GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.
func (*UpdateResourcePoolPayload) GetPerformanceClassOk ¶
func (o *UpdateResourcePoolPayload) GetPerformanceClassOk() (*string, bool)
GetPerformanceClassOk returns a tuple with the PerformanceClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourcePoolPayload) GetSizeGigabytes ¶
func (o *UpdateResourcePoolPayload) GetSizeGigabytes() int32
GetSizeGigabytes returns the SizeGigabytes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateResourcePoolPayload) GetSizeGigabytesOk ¶
func (o *UpdateResourcePoolPayload) GetSizeGigabytesOk() (*int32, bool)
GetSizeGigabytesOk returns a tuple with the SizeGigabytes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateResourcePoolPayload) GetSnapshotsAreVisible ¶
func (o *UpdateResourcePoolPayload) GetSnapshotsAreVisible() bool
GetSnapshotsAreVisible returns the SnapshotsAreVisible field value if set, zero value otherwise.
func (*UpdateResourcePoolPayload) GetSnapshotsAreVisibleOk ¶
func (o *UpdateResourcePoolPayload) GetSnapshotsAreVisibleOk() (*bool, bool)
GetSnapshotsAreVisibleOk returns a tuple with the SnapshotsAreVisible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourcePoolPayload) HasIpAcl ¶
func (o *UpdateResourcePoolPayload) HasIpAcl() bool
HasIpAcl returns a boolean if a field has been set.
func (*UpdateResourcePoolPayload) HasLabels ¶
func (o *UpdateResourcePoolPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateResourcePoolPayload) HasPerformanceClass ¶
func (o *UpdateResourcePoolPayload) HasPerformanceClass() bool
HasPerformanceClass returns a boolean if a field has been set.
func (*UpdateResourcePoolPayload) HasSizeGigabytes ¶
func (o *UpdateResourcePoolPayload) HasSizeGigabytes() bool
HasSizeGigabytes returns a boolean if a field has been set.
func (*UpdateResourcePoolPayload) HasSnapshotsAreVisible ¶
func (o *UpdateResourcePoolPayload) HasSnapshotsAreVisible() bool
HasSnapshotsAreVisible returns a boolean if a field has been set.
func (UpdateResourcePoolPayload) MarshalJSON ¶
func (o UpdateResourcePoolPayload) MarshalJSON() ([]byte, error)
func (*UpdateResourcePoolPayload) SetIpAcl ¶
func (o *UpdateResourcePoolPayload) SetIpAcl(v []string)
SetIpAcl gets a reference to the given []string and assigns it to the IpAcl field.
func (*UpdateResourcePoolPayload) SetLabels ¶
func (o *UpdateResourcePoolPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateResourcePoolPayload) SetPerformanceClass ¶
func (o *UpdateResourcePoolPayload) SetPerformanceClass(v string)
SetPerformanceClass gets a reference to the given string and assigns it to the PerformanceClass field.
func (*UpdateResourcePoolPayload) SetSizeGigabytes ¶
func (o *UpdateResourcePoolPayload) SetSizeGigabytes(v int32)
SetSizeGigabytes gets a reference to the given NullableInt32 and assigns it to the SizeGigabytes field.
func (*UpdateResourcePoolPayload) SetSizeGigabytesNil ¶
func (o *UpdateResourcePoolPayload) SetSizeGigabytesNil()
SetSizeGigabytesNil sets the value for SizeGigabytes to be an explicit nil
func (*UpdateResourcePoolPayload) SetSnapshotsAreVisible ¶
func (o *UpdateResourcePoolPayload) SetSnapshotsAreVisible(v bool)
SetSnapshotsAreVisible gets a reference to the given bool and assigns it to the SnapshotsAreVisible field.
func (UpdateResourcePoolPayload) ToMap ¶
func (o UpdateResourcePoolPayload) ToMap() (map[string]interface{}, error)
func (*UpdateResourcePoolPayload) UnsetSizeGigabytes ¶
func (o *UpdateResourcePoolPayload) UnsetSizeGigabytes()
UnsetSizeGigabytes ensures that no value is present for SizeGigabytes, not even an explicit nil
type UpdateResourcePoolResponse ¶
type UpdateResourcePoolResponse struct {
// Updated Resource Pool
ResourcePool *ResourcePool `json:"resourcePool,omitempty"`
}
UpdateResourcePoolResponse struct for UpdateResourcePoolResponse
func NewUpdateResourcePoolResponse ¶
func NewUpdateResourcePoolResponse() *UpdateResourcePoolResponse
NewUpdateResourcePoolResponse instantiates a new UpdateResourcePoolResponse 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 NewUpdateResourcePoolResponseWithDefaults ¶
func NewUpdateResourcePoolResponseWithDefaults() *UpdateResourcePoolResponse
NewUpdateResourcePoolResponseWithDefaults instantiates a new UpdateResourcePoolResponse 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 (*UpdateResourcePoolResponse) GetResourcePool ¶
func (o *UpdateResourcePoolResponse) GetResourcePool() ResourcePool
GetResourcePool returns the ResourcePool field value if set, zero value otherwise.
func (*UpdateResourcePoolResponse) GetResourcePoolOk ¶
func (o *UpdateResourcePoolResponse) GetResourcePoolOk() (*ResourcePool, bool)
GetResourcePoolOk returns a tuple with the ResourcePool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourcePoolResponse) HasResourcePool ¶
func (o *UpdateResourcePoolResponse) HasResourcePool() bool
HasResourcePool returns a boolean if a field has been set.
func (UpdateResourcePoolResponse) MarshalJSON ¶
func (o UpdateResourcePoolResponse) MarshalJSON() ([]byte, error)
func (*UpdateResourcePoolResponse) SetResourcePool ¶
func (o *UpdateResourcePoolResponse) SetResourcePool(v ResourcePool)
SetResourcePool gets a reference to the given ResourcePool and assigns it to the ResourcePool field.
func (UpdateResourcePoolResponse) ToMap ¶
func (o UpdateResourcePoolResponse) ToMap() (map[string]interface{}, error)
type UpdateShareExportPolicyBodyRule ¶
type UpdateShareExportPolicyBodyRule struct {
Description NullableString `json:"description,omitempty"`
IpAcl []string `json:"ipAcl,omitempty"`
Order *int32 `json:"order,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
SetUuid *bool `json:"setUuid,omitempty"`
SuperUser *bool `json:"superUser,omitempty"`
}
UpdateShareExportPolicyBodyRule struct for UpdateShareExportPolicyBodyRule
func NewUpdateShareExportPolicyBodyRule ¶
func NewUpdateShareExportPolicyBodyRule() *UpdateShareExportPolicyBodyRule
NewUpdateShareExportPolicyBodyRule instantiates a new UpdateShareExportPolicyBodyRule 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 NewUpdateShareExportPolicyBodyRuleWithDefaults ¶
func NewUpdateShareExportPolicyBodyRuleWithDefaults() *UpdateShareExportPolicyBodyRule
NewUpdateShareExportPolicyBodyRuleWithDefaults instantiates a new UpdateShareExportPolicyBodyRule 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 (*UpdateShareExportPolicyBodyRule) GetDescription ¶
func (o *UpdateShareExportPolicyBodyRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateShareExportPolicyBodyRule) GetDescriptionOk ¶
func (o *UpdateShareExportPolicyBodyRule) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateShareExportPolicyBodyRule) GetIpAcl ¶
func (o *UpdateShareExportPolicyBodyRule) GetIpAcl() []string
GetIpAcl returns the IpAcl field value if set, zero value otherwise.
func (*UpdateShareExportPolicyBodyRule) GetIpAclOk ¶
func (o *UpdateShareExportPolicyBodyRule) GetIpAclOk() ([]string, bool)
GetIpAclOk returns a tuple with the IpAcl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateShareExportPolicyBodyRule) GetOrder ¶
func (o *UpdateShareExportPolicyBodyRule) GetOrder() int32
GetOrder returns the Order field value if set, zero value otherwise.
func (*UpdateShareExportPolicyBodyRule) GetOrderOk ¶
func (o *UpdateShareExportPolicyBodyRule) GetOrderOk() (*int32, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateShareExportPolicyBodyRule) GetReadOnly ¶
func (o *UpdateShareExportPolicyBodyRule) GetReadOnly() bool
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*UpdateShareExportPolicyBodyRule) GetReadOnlyOk ¶
func (o *UpdateShareExportPolicyBodyRule) GetReadOnlyOk() (*bool, 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 (*UpdateShareExportPolicyBodyRule) GetSetUuid ¶
func (o *UpdateShareExportPolicyBodyRule) GetSetUuid() bool
GetSetUuid returns the SetUuid field value if set, zero value otherwise.
func (*UpdateShareExportPolicyBodyRule) GetSetUuidOk ¶
func (o *UpdateShareExportPolicyBodyRule) GetSetUuidOk() (*bool, bool)
GetSetUuidOk returns a tuple with the SetUuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateShareExportPolicyBodyRule) GetSuperUser ¶
func (o *UpdateShareExportPolicyBodyRule) GetSuperUser() bool
GetSuperUser returns the SuperUser field value if set, zero value otherwise.
func (*UpdateShareExportPolicyBodyRule) GetSuperUserOk ¶
func (o *UpdateShareExportPolicyBodyRule) GetSuperUserOk() (*bool, bool)
GetSuperUserOk returns a tuple with the SuperUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateShareExportPolicyBodyRule) HasDescription ¶
func (o *UpdateShareExportPolicyBodyRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateShareExportPolicyBodyRule) HasIpAcl ¶
func (o *UpdateShareExportPolicyBodyRule) HasIpAcl() bool
HasIpAcl returns a boolean if a field has been set.
func (*UpdateShareExportPolicyBodyRule) HasOrder ¶
func (o *UpdateShareExportPolicyBodyRule) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*UpdateShareExportPolicyBodyRule) HasReadOnly ¶
func (o *UpdateShareExportPolicyBodyRule) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*UpdateShareExportPolicyBodyRule) HasSetUuid ¶
func (o *UpdateShareExportPolicyBodyRule) HasSetUuid() bool
HasSetUuid returns a boolean if a field has been set.
func (*UpdateShareExportPolicyBodyRule) HasSuperUser ¶
func (o *UpdateShareExportPolicyBodyRule) HasSuperUser() bool
HasSuperUser returns a boolean if a field has been set.
func (UpdateShareExportPolicyBodyRule) MarshalJSON ¶
func (o UpdateShareExportPolicyBodyRule) MarshalJSON() ([]byte, error)
func (*UpdateShareExportPolicyBodyRule) SetDescription ¶
func (o *UpdateShareExportPolicyBodyRule) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*UpdateShareExportPolicyBodyRule) SetDescriptionNil ¶
func (o *UpdateShareExportPolicyBodyRule) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*UpdateShareExportPolicyBodyRule) SetIpAcl ¶
func (o *UpdateShareExportPolicyBodyRule) SetIpAcl(v []string)
SetIpAcl gets a reference to the given []string and assigns it to the IpAcl field.
func (*UpdateShareExportPolicyBodyRule) SetOrder ¶
func (o *UpdateShareExportPolicyBodyRule) SetOrder(v int32)
SetOrder gets a reference to the given int32 and assigns it to the Order field.
func (*UpdateShareExportPolicyBodyRule) SetReadOnly ¶
func (o *UpdateShareExportPolicyBodyRule) SetReadOnly(v bool)
SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.
func (*UpdateShareExportPolicyBodyRule) SetSetUuid ¶
func (o *UpdateShareExportPolicyBodyRule) SetSetUuid(v bool)
SetSetUuid gets a reference to the given bool and assigns it to the SetUuid field.
func (*UpdateShareExportPolicyBodyRule) SetSuperUser ¶
func (o *UpdateShareExportPolicyBodyRule) SetSuperUser(v bool)
SetSuperUser gets a reference to the given bool and assigns it to the SuperUser field.
func (UpdateShareExportPolicyBodyRule) ToMap ¶
func (o UpdateShareExportPolicyBodyRule) ToMap() (map[string]interface{}, error)
func (*UpdateShareExportPolicyBodyRule) UnsetDescription ¶
func (o *UpdateShareExportPolicyBodyRule) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type UpdateShareExportPolicyPayload ¶
type UpdateShareExportPolicyPayload struct {
Labels *map[string]string `json:"labels,omitempty"`
Rules []UpdateShareExportPolicyBodyRule `json:"rules,omitempty"`
}
UpdateShareExportPolicyPayload struct for UpdateShareExportPolicyPayload
func NewUpdateShareExportPolicyPayload ¶
func NewUpdateShareExportPolicyPayload() *UpdateShareExportPolicyPayload
NewUpdateShareExportPolicyPayload instantiates a new UpdateShareExportPolicyPayload 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 NewUpdateShareExportPolicyPayloadWithDefaults ¶
func NewUpdateShareExportPolicyPayloadWithDefaults() *UpdateShareExportPolicyPayload
NewUpdateShareExportPolicyPayloadWithDefaults instantiates a new UpdateShareExportPolicyPayload 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 (*UpdateShareExportPolicyPayload) GetLabels ¶
func (o *UpdateShareExportPolicyPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateShareExportPolicyPayload) GetLabelsOk ¶
func (o *UpdateShareExportPolicyPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateShareExportPolicyPayload) GetRules ¶
func (o *UpdateShareExportPolicyPayload) GetRules() []UpdateShareExportPolicyBodyRule
GetRules returns the Rules field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateShareExportPolicyPayload) GetRulesOk ¶
func (o *UpdateShareExportPolicyPayload) GetRulesOk() ([]UpdateShareExportPolicyBodyRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateShareExportPolicyPayload) HasLabels ¶
func (o *UpdateShareExportPolicyPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateShareExportPolicyPayload) HasRules ¶
func (o *UpdateShareExportPolicyPayload) HasRules() bool
HasRules returns a boolean if a field has been set.
func (UpdateShareExportPolicyPayload) MarshalJSON ¶
func (o UpdateShareExportPolicyPayload) MarshalJSON() ([]byte, error)
func (*UpdateShareExportPolicyPayload) SetLabels ¶
func (o *UpdateShareExportPolicyPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateShareExportPolicyPayload) SetRules ¶
func (o *UpdateShareExportPolicyPayload) SetRules(v []UpdateShareExportPolicyBodyRule)
SetRules gets a reference to the given []UpdateShareExportPolicyBodyRule and assigns it to the Rules field.
func (UpdateShareExportPolicyPayload) ToMap ¶
func (o UpdateShareExportPolicyPayload) ToMap() (map[string]interface{}, error)
type UpdateShareExportPolicyResponse ¶
type UpdateShareExportPolicyResponse struct {
}
UpdateShareExportPolicyResponse struct for UpdateShareExportPolicyResponse
func NewUpdateShareExportPolicyResponse ¶
func NewUpdateShareExportPolicyResponse() *UpdateShareExportPolicyResponse
NewUpdateShareExportPolicyResponse instantiates a new UpdateShareExportPolicyResponse 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 NewUpdateShareExportPolicyResponseWithDefaults ¶
func NewUpdateShareExportPolicyResponseWithDefaults() *UpdateShareExportPolicyResponse
NewUpdateShareExportPolicyResponseWithDefaults instantiates a new UpdateShareExportPolicyResponse 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 (*UpdateShareExportPolicyResponse) GetShareExportPolicy ¶
func (o *UpdateShareExportPolicyResponse) GetShareExportPolicy() ShareExportPolicy
GetShareExportPolicy returns the ShareExportPolicy field value if set, zero value otherwise.
func (*UpdateShareExportPolicyResponse) GetShareExportPolicyOk ¶
func (o *UpdateShareExportPolicyResponse) GetShareExportPolicyOk() (*ShareExportPolicy, bool)
GetShareExportPolicyOk returns a tuple with the ShareExportPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateShareExportPolicyResponse) HasShareExportPolicy ¶
func (o *UpdateShareExportPolicyResponse) HasShareExportPolicy() bool
HasShareExportPolicy returns a boolean if a field has been set.
func (UpdateShareExportPolicyResponse) MarshalJSON ¶
func (o UpdateShareExportPolicyResponse) MarshalJSON() ([]byte, error)
func (*UpdateShareExportPolicyResponse) SetShareExportPolicy ¶
func (o *UpdateShareExportPolicyResponse) SetShareExportPolicy(v ShareExportPolicy)
SetShareExportPolicy gets a reference to the given ShareExportPolicy and assigns it to the ShareExportPolicy field.
func (UpdateShareExportPolicyResponse) ToMap ¶
func (o UpdateShareExportPolicyResponse) ToMap() (map[string]interface{}, error)
type UpdateSharePayload ¶
type UpdateSharePayload struct {
ExportPolicyName NullableString `json:"exportPolicyName,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
SpaceHardLimitGigabytes NullableInt32 `json:"spaceHardLimitGigabytes,omitempty"`
}
UpdateSharePayload struct for UpdateSharePayload
func NewUpdateSharePayload ¶
func NewUpdateSharePayload() *UpdateSharePayload
NewUpdateSharePayload instantiates a new UpdateSharePayload 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 NewUpdateSharePayloadWithDefaults ¶
func NewUpdateSharePayloadWithDefaults() *UpdateSharePayload
NewUpdateSharePayloadWithDefaults instantiates a new UpdateSharePayload 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 (*UpdateSharePayload) GetExportPolicyName ¶
func (o *UpdateSharePayload) GetExportPolicyName() string
GetExportPolicyName returns the ExportPolicyName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateSharePayload) GetExportPolicyNameOk ¶
func (o *UpdateSharePayload) GetExportPolicyNameOk() (*string, bool)
GetExportPolicyNameOk returns a tuple with the ExportPolicyName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateSharePayload) GetLabels ¶
func (o *UpdateSharePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateSharePayload) GetLabelsOk ¶
func (o *UpdateSharePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSharePayload) GetSpaceHardLimitGigabytes ¶
func (o *UpdateSharePayload) GetSpaceHardLimitGigabytes() int32
GetSpaceHardLimitGigabytes returns the SpaceHardLimitGigabytes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateSharePayload) GetSpaceHardLimitGigabytesOk ¶
func (o *UpdateSharePayload) GetSpaceHardLimitGigabytesOk() (*int32, bool)
GetSpaceHardLimitGigabytesOk returns a tuple with the SpaceHardLimitGigabytes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateSharePayload) HasExportPolicyName ¶
func (o *UpdateSharePayload) HasExportPolicyName() bool
HasExportPolicyName returns a boolean if a field has been set.
func (*UpdateSharePayload) HasLabels ¶
func (o *UpdateSharePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateSharePayload) HasSpaceHardLimitGigabytes ¶
func (o *UpdateSharePayload) HasSpaceHardLimitGigabytes() bool
HasSpaceHardLimitGigabytes returns a boolean if a field has been set.
func (UpdateSharePayload) MarshalJSON ¶
func (o UpdateSharePayload) MarshalJSON() ([]byte, error)
func (*UpdateSharePayload) SetExportPolicyName ¶
func (o *UpdateSharePayload) SetExportPolicyName(v string)
SetExportPolicyName gets a reference to the given NullableString and assigns it to the ExportPolicyName field.
func (*UpdateSharePayload) SetExportPolicyNameNil ¶
func (o *UpdateSharePayload) SetExportPolicyNameNil()
SetExportPolicyNameNil sets the value for ExportPolicyName to be an explicit nil
func (*UpdateSharePayload) SetLabels ¶
func (o *UpdateSharePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateSharePayload) SetSpaceHardLimitGigabytes ¶
func (o *UpdateSharePayload) SetSpaceHardLimitGigabytes(v int32)
SetSpaceHardLimitGigabytes gets a reference to the given NullableInt32 and assigns it to the SpaceHardLimitGigabytes field.
func (*UpdateSharePayload) SetSpaceHardLimitGigabytesNil ¶
func (o *UpdateSharePayload) SetSpaceHardLimitGigabytesNil()
SetSpaceHardLimitGigabytesNil sets the value for SpaceHardLimitGigabytes to be an explicit nil
func (UpdateSharePayload) ToMap ¶
func (o UpdateSharePayload) ToMap() (map[string]interface{}, error)
func (*UpdateSharePayload) UnsetExportPolicyName ¶
func (o *UpdateSharePayload) UnsetExportPolicyName()
UnsetExportPolicyName ensures that no value is present for ExportPolicyName, not even an explicit nil
func (*UpdateSharePayload) UnsetSpaceHardLimitGigabytes ¶
func (o *UpdateSharePayload) UnsetSpaceHardLimitGigabytes()
UnsetSpaceHardLimitGigabytes ensures that no value is present for SpaceHardLimitGigabytes, not even an explicit nil
type UpdateShareResponse ¶
type UpdateShareResponse struct {
Share *Share `json:"share,omitempty"`
}
UpdateShareResponse struct for UpdateShareResponse
func NewUpdateShareResponse ¶
func NewUpdateShareResponse() *UpdateShareResponse
NewUpdateShareResponse instantiates a new UpdateShareResponse 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 NewUpdateShareResponseWithDefaults ¶
func NewUpdateShareResponseWithDefaults() *UpdateShareResponse
NewUpdateShareResponseWithDefaults instantiates a new UpdateShareResponse 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 (*UpdateShareResponse) GetShare ¶
func (o *UpdateShareResponse) GetShare() Share
GetShare returns the Share field value if set, zero value otherwise.
func (*UpdateShareResponse) GetShareOk ¶
func (o *UpdateShareResponse) GetShareOk() (*Share, bool)
GetShareOk returns a tuple with the Share field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateShareResponse) HasShare ¶
func (o *UpdateShareResponse) HasShare() bool
HasShare returns a boolean if a field has been set.
func (UpdateShareResponse) MarshalJSON ¶
func (o UpdateShareResponse) MarshalJSON() ([]byte, error)
func (*UpdateShareResponse) SetShare ¶
func (o *UpdateShareResponse) SetShare(v Share)
SetShare gets a reference to the given Share and assigns it to the Share field.
func (UpdateShareResponse) ToMap ¶
func (o UpdateShareResponse) ToMap() (map[string]interface{}, error)
type ValidationError ¶
type ValidationError struct {
// Human-readable string of the error that occured
// Deprecated
ErrorDescription interface{} `json:"error_description,omitempty"`
// Human-readable description of the error that occurred.
Title string `json:"title"`
// URI Uniquely identifies the error type. It will be in the format of storage.stackit.cloud/<error-type> e.g. storage.stackit.cloud/validation-error
Type string `json:"type"`
Fields []ValidationErrorField `json:"fields"`
}
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(title string, types string, fields []ValidationErrorField) *ValidationError
NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetErrorDescription ¶
func (o *ValidationError) GetErrorDescription() interface{}
GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*ValidationError) GetErrorDescriptionOk ¶
func (o *ValidationError) GetErrorDescriptionOk() (*interface{}, bool)
GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*ValidationError) GetFields ¶
func (o *ValidationError) GetFields() []ValidationErrorField
GetFields returns the Fields field value
func (*ValidationError) GetFieldsOk ¶
func (o *ValidationError) GetFieldsOk() ([]ValidationErrorField, bool)
GetFieldsOk returns a tuple with the Fields field value and a boolean to check if the value has been set.
func (*ValidationError) GetTitle ¶
func (o *ValidationError) GetTitle() string
GetTitle returns the Title field value
func (*ValidationError) GetTitleOk ¶
func (o *ValidationError) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ValidationError) GetType ¶
func (o *ValidationError) GetType() string
GetType returns the Type field value
func (*ValidationError) GetTypeOk ¶
func (o *ValidationError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ValidationError) HasErrorDescription ¶
func (o *ValidationError) HasErrorDescription() bool
HasErrorDescription returns a boolean if a field has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetErrorDescription ¶
func (o *ValidationError) SetErrorDescription(v interface{})
SetErrorDescription gets a reference to the given interface{} and assigns it to the ErrorDescription field. Deprecated
func (*ValidationError) SetFields ¶
func (o *ValidationError) SetFields(v []ValidationErrorField)
SetFields sets field value
func (*ValidationError) SetTitle ¶
func (o *ValidationError) SetTitle(v string)
SetTitle sets field value
func (*ValidationError) SetType ¶
func (o *ValidationError) SetType(v string)
SetType sets field value
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
func (*ValidationError) UnmarshalJSON ¶
func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
type ValidationErrorField ¶
type ValidationErrorField struct {
// The name of the field in the request that has failed the validation
Field string `json:"field"`
// The reason why the validation failed
Reason string `json:"reason"`
}
ValidationErrorField struct for ValidationErrorField
func NewValidationErrorField ¶
func NewValidationErrorField(field string, reason string) *ValidationErrorField
NewValidationErrorField instantiates a new ValidationErrorField 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 NewValidationErrorFieldWithDefaults ¶
func NewValidationErrorFieldWithDefaults() *ValidationErrorField
NewValidationErrorFieldWithDefaults instantiates a new ValidationErrorField 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 (*ValidationErrorField) GetField ¶
func (o *ValidationErrorField) GetField() string
GetField returns the Field field value
func (*ValidationErrorField) GetFieldOk ¶
func (o *ValidationErrorField) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*ValidationErrorField) GetReason ¶
func (o *ValidationErrorField) GetReason() string
GetReason returns the Reason field value
func (*ValidationErrorField) GetReasonOk ¶
func (o *ValidationErrorField) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (ValidationErrorField) MarshalJSON ¶
func (o ValidationErrorField) MarshalJSON() ([]byte, error)
func (*ValidationErrorField) SetField ¶
func (o *ValidationErrorField) SetField(v string)
SetField sets field value
func (*ValidationErrorField) SetReason ¶
func (o *ValidationErrorField) SetReason(v string)
SetReason sets field value
func (ValidationErrorField) ToMap ¶
func (o ValidationErrorField) ToMap() (map[string]interface{}, error)
func (*ValidationErrorField) UnmarshalJSON ¶
func (o *ValidationErrorField) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_create_resource_pool_payload.go
- model_create_resource_pool_response.go
- model_create_resource_pool_snapshot_payload.go
- model_create_resource_pool_snapshot_response.go
- model_create_share_export_policy_payload.go
- model_create_share_export_policy_request_rule.go
- model_create_share_export_policy_response.go
- model_create_share_payload.go
- model_create_share_response.go
- model_error.go
- model_get_resource_pool_response.go
- model_get_resource_pool_snapshot_response.go
- model_get_share_export_policy_response.go
- model_get_share_response.go
- model_google_protobuf_any.go
- model_list_performance_classes_response.go
- model_list_resource_pool_snapshots_response.go
- model_list_resource_pools_response.go
- model_list_share_export_policies_response.go
- model_list_shares_response.go
- model_performance_class.go
- model_resource_pool.go
- model_resource_pool_performance_class.go
- model_resource_pool_snapshot.go
- model_resource_pool_space.go
- model_share.go
- model_share_export_policy.go
- model_share_export_policy_rule.go
- model_status.go
- model_update_resource_pool_payload.go
- model_update_resource_pool_response.go
- model_update_share_export_policy_body_rule.go
- model_update_share_export_policy_payload.go
- model_update_share_export_policy_response.go
- model_update_share_payload.go
- model_update_share_response.go
- model_validation_error.go
- model_validation_error_field.go
- response.go
- utils.go