v1api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

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

type ApiCreateShareExportPolicyRequest

type ApiCreateShareExportPolicyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateShareExportPolicyRequest) CreateShareExportPolicyPayload

func (r ApiCreateShareExportPolicyRequest) CreateShareExportPolicyPayload(createShareExportPolicyPayload CreateShareExportPolicyPayload) ApiCreateShareExportPolicyRequest

func (ApiCreateShareExportPolicyRequest) Execute

type ApiCreateShareRequest

type ApiCreateShareRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateShareRequest) CreateSharePayload

func (r ApiCreateShareRequest) CreateSharePayload(createSharePayload CreateSharePayload) ApiCreateShareRequest

func (ApiCreateShareRequest) Execute

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 {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteShareExportPolicyRequest) Execute

func (r ApiDeleteShareExportPolicyRequest) Execute() (map[string]interface{}, error)

type ApiDeleteShareRequest

type ApiDeleteShareRequest struct {
	ApiService DefaultAPI
	// 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

type ApiGetResourcePoolSnapshotRequest

type ApiGetResourcePoolSnapshotRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetResourcePoolSnapshotRequest) Execute

type ApiGetShareExportPolicyRequest

type ApiGetShareExportPolicyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetShareExportPolicyRequest) Execute

type ApiGetShareRequest

type ApiGetShareRequest struct {
	ApiService DefaultAPI
	// 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

type ApiListResourcePoolSnapshotsRequest

type ApiListResourcePoolSnapshotsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListResourcePoolSnapshotsRequest) Execute

type ApiListResourcePoolsRequest

type ApiListResourcePoolsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListResourcePoolsRequest) Execute

type ApiListShareExportPoliciesRequest

type ApiListShareExportPoliciesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListShareExportPoliciesRequest) Execute

type ApiListSharesRequest

type ApiListSharesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListSharesRequest) Execute

type ApiUpdateResourcePoolRequest

type ApiUpdateResourcePoolRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateResourcePoolRequest) Execute

func (ApiUpdateResourcePoolRequest) UpdateResourcePoolPayload

func (r ApiUpdateResourcePoolRequest) UpdateResourcePoolPayload(updateResourcePoolPayload UpdateResourcePoolPayload) ApiUpdateResourcePoolRequest

type ApiUpdateShareExportPolicyRequest

type ApiUpdateShareExportPolicyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateShareExportPolicyRequest) Execute

func (ApiUpdateShareExportPolicyRequest) UpdateShareExportPolicyPayload

func (r ApiUpdateShareExportPolicyRequest) UpdateShareExportPolicyPayload(updateShareExportPolicyPayload UpdateShareExportPolicyPayload) ApiUpdateShareExportPolicyRequest

type ApiUpdateShareRequest

type ApiUpdateShareRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateShareRequest) Execute

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

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

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

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 {
	// An optional object that represents the labels associated with the share export policy  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 Share Export Policy
	Name string `json:"name"`
	// List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters  is the field \"order\" within each rule
	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

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

GetRules returns the Rules field value if set, zero value otherwise.

func (*CreateShareExportPolicyPayload) GetRulesOk

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

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 of the Rule   (optional)
	Description NullableString `json:"description,omitempty"`
	// IP access control list, where 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)   This array cannot be empty
	IpAcl []string `json:"ipAcl,omitempty"`
	// Order of the rule within a Share Export Policy. The order is used so that when a client IP matches  multiple rules, the first rule is applied   This field must be set
	Order *int32 `json:"order,omitempty"`
	// Flag to indicate if client IPs matching this rule can only mount the share in read only mode   Default: false
	ReadOnly *bool `json:"readOnly,omitempty"`
	// Flag to honor set UUID   Default: false
	SetUuid *bool `json:"setUuid,omitempty"`
	// Flag to indicate if client IPs matching this rule have root access on the Share   Default: true
	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

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

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

HasIpAcl returns a boolean if a field has been set.

func (*CreateShareExportPolicyRequestRule) HasOrder

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

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 {
	// Created Share Export Policy
	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 {
	// Name of the Share Export Policy to use in the Share.   Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the  IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating  the Share
	ExportPolicyName NullableString `json:"exportPolicyName,omitempty"`
	// An optional object that represents the labels associated with the share  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 Share
	Name string `json:"name"`
	// Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in.   (unit: gibibytes)
	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 {
	// Created Share
	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 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
	*/
	CreateShare(ctx context.Context, projectId string, region string, resourcePoolId string) ApiCreateShareRequest

	// CreateShareExecute executes the request
	//  @return CreateShareResponse
	CreateShareExecute(r ApiCreateShareRequest) (*CreateShareResponse, error)

	/*
		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
	*/
	CreateShareExportPolicy(ctx context.Context, projectId string, region string) ApiCreateShareExportPolicyRequest

	// CreateShareExportPolicyExecute executes the request
	//  @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 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
	*/
	DeleteShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiDeleteShareRequest

	// DeleteShareExecute executes the request
	//  @return map[string]interface{}
	DeleteShareExecute(r ApiDeleteShareRequest) (map[string]interface{}, error)

	/*
		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
	*/
	DeleteShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiDeleteShareExportPolicyRequest

	// DeleteShareExportPolicyExecute executes the request
	//  @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 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
	*/
	GetShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiGetShareRequest

	// GetShareExecute executes the request
	//  @return GetShareResponse
	GetShareExecute(r ApiGetShareRequest) (*GetShareResponse, error)

	/*
		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
	*/
	GetShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiGetShareExportPolicyRequest

	// GetShareExportPolicyExecute executes the request
	//  @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 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
	*/
	ListShareExportPolicies(ctx context.Context, projectId string, region string) ApiListShareExportPoliciesRequest

	// ListShareExportPoliciesExecute executes the request
	//  @return ListShareExportPoliciesResponse
	ListShareExportPoliciesExecute(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)

	/*
		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
	*/
	ListShares(ctx context.Context, projectId string, region string, resourcePoolId string) ApiListSharesRequest

	// ListSharesExecute executes the request
	//  @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 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
	*/
	UpdateShare(ctx context.Context, projectId string, region string, resourcePoolId string, shareId string) ApiUpdateShareRequest

	// UpdateShareExecute executes the request
	//  @return UpdateShareResponse
	UpdateShareExecute(r ApiUpdateShareRequest) (*UpdateShareResponse, error)

	/*
		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
	*/
	UpdateShareExportPolicy(ctx context.Context, projectId string, region string, policyId string) ApiUpdateShareExportPolicyRequest

	// UpdateShareExportPolicyExecute executes the request
	//  @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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 can be populated to implement the behavior of the CreateShareExecute function of this mock
	CreateShareExecuteMock *func(r ApiCreateShareRequest) (*CreateShareResponse, error)
	// CreateShareExportPolicyExecuteMock can be populated to implement the behavior of the CreateShareExportPolicyExecute function of this mock
	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 can be populated to implement the behavior of the DeleteShareExecute function of this mock
	DeleteShareExecuteMock *func(r ApiDeleteShareRequest) (map[string]interface{}, error)
	// DeleteShareExportPolicyExecuteMock can be populated to implement the behavior of the DeleteShareExportPolicyExecute function of this mock
	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 can be populated to implement the behavior of the GetShareExecute function of this mock
	GetShareExecuteMock *func(r ApiGetShareRequest) (*GetShareResponse, error)
	// GetShareExportPolicyExecuteMock can be populated to implement the behavior of the GetShareExportPolicyExecute function of this mock
	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 can be populated to implement the behavior of the ListShareExportPoliciesExecute function of this mock
	ListShareExportPoliciesExecuteMock *func(r ApiListShareExportPoliciesRequest) (*ListShareExportPoliciesResponse, error)
	// ListSharesExecuteMock can be populated to implement the behavior of the ListSharesExecute function of this mock
	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 can be populated to implement the behavior of the UpdateShareExecute function of this mock
	UpdateShareExecuteMock *func(r ApiUpdateShareRequest) (*UpdateShareResponse, error)
	// UpdateShareExportPolicyExecuteMock can be populated to implement the behavior of the UpdateShareExportPolicyExecute function of this mock
	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

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

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

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

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

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

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

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

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 (DefaultAPIServiceMock) ListPerformanceClassesExecute

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

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

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

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

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

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

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

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

func NewError(title string, types string) *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) 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

func (o *Error) 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 (*Error) GetTitle

func (o *Error) GetTitle() string

GetTitle returns the Title field value

func (*Error) GetTitleOk

func (o *Error) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*Error) GetType

func (o *Error) GetType() string

GetType returns the Type field value

func (*Error) GetTypeOk

func (o *Error) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Error) HasErrorDescription

func (o *Error) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (Error) MarshalJSON

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

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

func (o *Error) SetTitle(v string)

SetTitle sets field value

func (*Error) SetType

func (o *Error) SetType(v string)

SetType sets field value

func (Error) ToMap

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

func (*Error) UnmarshalJSON

func (o *Error) UnmarshalJSON(data []byte) (err error)

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 {
	// Share Export Policies
	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 *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 {
	// List of Share Export Policies
	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 {
	// List of Shares
	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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateResourcePoolPayload

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

func (NullableCreateResourcePoolPayload) Get

func (NullableCreateResourcePoolPayload) IsSet

func (NullableCreateResourcePoolPayload) MarshalJSON

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

func (*NullableCreateResourcePoolPayload) Set

func (*NullableCreateResourcePoolPayload) UnmarshalJSON

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

func (*NullableCreateResourcePoolPayload) Unset

type NullableCreateResourcePoolResponse

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

func (NullableCreateResourcePoolResponse) Get

func (NullableCreateResourcePoolResponse) IsSet

func (NullableCreateResourcePoolResponse) MarshalJSON

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

func (*NullableCreateResourcePoolResponse) Set

func (*NullableCreateResourcePoolResponse) UnmarshalJSON

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

func (*NullableCreateResourcePoolResponse) Unset

type NullableCreateResourcePoolSnapshotPayload

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

func (NullableCreateResourcePoolSnapshotPayload) Get

func (NullableCreateResourcePoolSnapshotPayload) IsSet

func (NullableCreateResourcePoolSnapshotPayload) MarshalJSON

func (*NullableCreateResourcePoolSnapshotPayload) Set

func (*NullableCreateResourcePoolSnapshotPayload) UnmarshalJSON

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

func (*NullableCreateResourcePoolSnapshotPayload) Unset

type NullableCreateResourcePoolSnapshotResponse

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

func (NullableCreateResourcePoolSnapshotResponse) Get

func (NullableCreateResourcePoolSnapshotResponse) IsSet

func (NullableCreateResourcePoolSnapshotResponse) MarshalJSON

func (*NullableCreateResourcePoolSnapshotResponse) Set

func (*NullableCreateResourcePoolSnapshotResponse) UnmarshalJSON

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

func (*NullableCreateResourcePoolSnapshotResponse) Unset

type NullableCreateShareExportPolicyPayload

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

func (NullableCreateShareExportPolicyPayload) Get

func (NullableCreateShareExportPolicyPayload) IsSet

func (NullableCreateShareExportPolicyPayload) MarshalJSON

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

func (*NullableCreateShareExportPolicyPayload) Set

func (*NullableCreateShareExportPolicyPayload) UnmarshalJSON

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

func (*NullableCreateShareExportPolicyPayload) Unset

type NullableCreateShareExportPolicyRequestRule

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

func (NullableCreateShareExportPolicyRequestRule) Get

func (NullableCreateShareExportPolicyRequestRule) IsSet

func (NullableCreateShareExportPolicyRequestRule) MarshalJSON

func (*NullableCreateShareExportPolicyRequestRule) Set

func (*NullableCreateShareExportPolicyRequestRule) UnmarshalJSON

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

func (*NullableCreateShareExportPolicyRequestRule) Unset

type NullableCreateShareExportPolicyResponse

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

func (NullableCreateShareExportPolicyResponse) Get

func (NullableCreateShareExportPolicyResponse) IsSet

func (NullableCreateShareExportPolicyResponse) MarshalJSON

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

func (*NullableCreateShareExportPolicyResponse) Set

func (*NullableCreateShareExportPolicyResponse) UnmarshalJSON

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

func (*NullableCreateShareExportPolicyResponse) Unset

type NullableCreateSharePayload

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

func NewNullableCreateSharePayload

func NewNullableCreateSharePayload(val *CreateSharePayload) *NullableCreateSharePayload

func (NullableCreateSharePayload) Get

func (NullableCreateSharePayload) IsSet

func (v NullableCreateSharePayload) IsSet() bool

func (NullableCreateSharePayload) MarshalJSON

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

func (*NullableCreateSharePayload) Set

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 (NullableCreateShareResponse) IsSet

func (NullableCreateShareResponse) MarshalJSON

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

func (*NullableCreateShareResponse) Set

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 (NullableGetResourcePoolResponse) Get

func (NullableGetResourcePoolResponse) IsSet

func (NullableGetResourcePoolResponse) MarshalJSON

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

func (*NullableGetResourcePoolResponse) Set

func (*NullableGetResourcePoolResponse) UnmarshalJSON

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

func (*NullableGetResourcePoolResponse) Unset

type NullableGetResourcePoolSnapshotResponse

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

func (NullableGetResourcePoolSnapshotResponse) Get

func (NullableGetResourcePoolSnapshotResponse) IsSet

func (NullableGetResourcePoolSnapshotResponse) MarshalJSON

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

func (*NullableGetResourcePoolSnapshotResponse) Set

func (*NullableGetResourcePoolSnapshotResponse) UnmarshalJSON

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

func (*NullableGetResourcePoolSnapshotResponse) Unset

type NullableGetShareExportPolicyResponse

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

func (NullableGetShareExportPolicyResponse) Get

func (NullableGetShareExportPolicyResponse) IsSet

func (NullableGetShareExportPolicyResponse) MarshalJSON

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

func (*NullableGetShareExportPolicyResponse) Set

func (*NullableGetShareExportPolicyResponse) UnmarshalJSON

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

func (*NullableGetShareExportPolicyResponse) Unset

type NullableGetShareResponse

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

func NewNullableGetShareResponse

func NewNullableGetShareResponse(val *GetShareResponse) *NullableGetShareResponse

func (NullableGetShareResponse) Get

func (NullableGetShareResponse) IsSet

func (v NullableGetShareResponse) IsSet() bool

func (NullableGetShareResponse) MarshalJSON

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

func (*NullableGetShareResponse) Set

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 (NullableGoogleProtobufAny) IsSet

func (v NullableGoogleProtobufAny) IsSet() bool

func (NullableGoogleProtobufAny) MarshalJSON

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

func (*NullableGoogleProtobufAny) Set

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 (NullableListPerformanceClassesResponse) Get

func (NullableListPerformanceClassesResponse) IsSet

func (NullableListPerformanceClassesResponse) MarshalJSON

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

func (*NullableListPerformanceClassesResponse) Set

func (*NullableListPerformanceClassesResponse) UnmarshalJSON

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

func (*NullableListPerformanceClassesResponse) Unset

type NullableListResourcePoolSnapshotsResponse

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

func (NullableListResourcePoolSnapshotsResponse) Get

func (NullableListResourcePoolSnapshotsResponse) IsSet

func (NullableListResourcePoolSnapshotsResponse) MarshalJSON

func (*NullableListResourcePoolSnapshotsResponse) Set

func (*NullableListResourcePoolSnapshotsResponse) UnmarshalJSON

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

func (*NullableListResourcePoolSnapshotsResponse) Unset

type NullableListResourcePoolsResponse

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

func (NullableListResourcePoolsResponse) Get

func (NullableListResourcePoolsResponse) IsSet

func (NullableListResourcePoolsResponse) MarshalJSON

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

func (*NullableListResourcePoolsResponse) Set

func (*NullableListResourcePoolsResponse) UnmarshalJSON

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

func (*NullableListResourcePoolsResponse) Unset

type NullableListShareExportPoliciesResponse

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

func (NullableListShareExportPoliciesResponse) Get

func (NullableListShareExportPoliciesResponse) IsSet

func (NullableListShareExportPoliciesResponse) MarshalJSON

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

func (*NullableListShareExportPoliciesResponse) Set

func (*NullableListShareExportPoliciesResponse) UnmarshalJSON

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

func (*NullableListShareExportPoliciesResponse) Unset

type NullableListSharesResponse

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

func NewNullableListSharesResponse

func NewNullableListSharesResponse(val *ListSharesResponse) *NullableListSharesResponse

func (NullableListSharesResponse) Get

func (NullableListSharesResponse) IsSet

func (v NullableListSharesResponse) IsSet() bool

func (NullableListSharesResponse) MarshalJSON

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

func (*NullableListSharesResponse) Set

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 (NullablePerformanceClass) IsSet

func (v NullablePerformanceClass) IsSet() bool

func (NullablePerformanceClass) MarshalJSON

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

func (*NullablePerformanceClass) Set

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 (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 (NullableResourcePoolPerformanceClass) Get

func (NullableResourcePoolPerformanceClass) IsSet

func (NullableResourcePoolPerformanceClass) MarshalJSON

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

func (*NullableResourcePoolPerformanceClass) Set

func (*NullableResourcePoolPerformanceClass) UnmarshalJSON

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

func (*NullableResourcePoolPerformanceClass) Unset

type NullableResourcePoolSnapshot

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

func NewNullableResourcePoolSnapshot

func NewNullableResourcePoolSnapshot(val *ResourcePoolSnapshot) *NullableResourcePoolSnapshot

func (NullableResourcePoolSnapshot) Get

func (NullableResourcePoolSnapshot) IsSet

func (NullableResourcePoolSnapshot) MarshalJSON

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

func (*NullableResourcePoolSnapshot) Set

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 (NullableResourcePoolSpace) IsSet

func (v NullableResourcePoolSpace) IsSet() bool

func (NullableResourcePoolSpace) MarshalJSON

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

func (*NullableResourcePoolSpace) Set

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 (NullableShareExportPolicy) IsSet

func (v NullableShareExportPolicy) IsSet() bool

func (NullableShareExportPolicy) MarshalJSON

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

func (*NullableShareExportPolicy) Set

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 (NullableShareExportPolicyRule) Get

func (NullableShareExportPolicyRule) IsSet

func (NullableShareExportPolicyRule) MarshalJSON

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

func (*NullableShareExportPolicyRule) Set

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 (NullableUpdateResourcePoolPayload) Get

func (NullableUpdateResourcePoolPayload) IsSet

func (NullableUpdateResourcePoolPayload) MarshalJSON

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

func (*NullableUpdateResourcePoolPayload) Set

func (*NullableUpdateResourcePoolPayload) UnmarshalJSON

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

func (*NullableUpdateResourcePoolPayload) Unset

type NullableUpdateResourcePoolResponse

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

func (NullableUpdateResourcePoolResponse) Get

func (NullableUpdateResourcePoolResponse) IsSet

func (NullableUpdateResourcePoolResponse) MarshalJSON

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

func (*NullableUpdateResourcePoolResponse) Set

func (*NullableUpdateResourcePoolResponse) UnmarshalJSON

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

func (*NullableUpdateResourcePoolResponse) Unset

type NullableUpdateShareExportPolicyBodyRule

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

func (NullableUpdateShareExportPolicyBodyRule) Get

func (NullableUpdateShareExportPolicyBodyRule) IsSet

func (NullableUpdateShareExportPolicyBodyRule) MarshalJSON

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

func (*NullableUpdateShareExportPolicyBodyRule) Set

func (*NullableUpdateShareExportPolicyBodyRule) UnmarshalJSON

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

func (*NullableUpdateShareExportPolicyBodyRule) Unset

type NullableUpdateShareExportPolicyPayload

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

func (NullableUpdateShareExportPolicyPayload) Get

func (NullableUpdateShareExportPolicyPayload) IsSet

func (NullableUpdateShareExportPolicyPayload) MarshalJSON

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

func (*NullableUpdateShareExportPolicyPayload) Set

func (*NullableUpdateShareExportPolicyPayload) UnmarshalJSON

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

func (*NullableUpdateShareExportPolicyPayload) Unset

type NullableUpdateShareExportPolicyResponse

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

func (NullableUpdateShareExportPolicyResponse) Get

func (NullableUpdateShareExportPolicyResponse) IsSet

func (NullableUpdateShareExportPolicyResponse) MarshalJSON

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

func (*NullableUpdateShareExportPolicyResponse) Set

func (*NullableUpdateShareExportPolicyResponse) UnmarshalJSON

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

func (*NullableUpdateShareExportPolicyResponse) Unset

type NullableUpdateSharePayload

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

func NewNullableUpdateSharePayload

func NewNullableUpdateSharePayload(val *UpdateSharePayload) *NullableUpdateSharePayload

func (NullableUpdateSharePayload) Get

func (NullableUpdateSharePayload) IsSet

func (v NullableUpdateSharePayload) IsSet() bool

func (NullableUpdateSharePayload) MarshalJSON

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

func (*NullableUpdateSharePayload) Set

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 (NullableUpdateShareResponse) IsSet

func (NullableUpdateShareResponse) MarshalJSON

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

func (*NullableUpdateShareResponse) Set

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 (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

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

func (*NullableValidationError) Set

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 (NullableValidationErrorField) IsSet

func (NullableValidationErrorField) MarshalJSON

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

func (*NullableValidationErrorField) Set

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
	CountShares *int32     `json:"countShares,omitempty"`
	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 {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Details of the Share Export Policy to use in the Share.   Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the  IP ACL of the Resource Pool hosting this Share
	ExportPolicy NullableShareExportPolicy `json:"exportPolicy,omitempty"`
	// ID of the Share
	Id *string `json:"id,omitempty"`
	// An optional object that represents the labels associated with the share  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"`
	// Mount path of the Share, used to mount the Share
	MountPath *string `json:"mountPath,omitempty"`
	// Name of the Share
	Name *string `json:"name,omitempty"`
	// Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in.   (unit: gibibytes)
	SpaceHardLimitGigabytes *int32 `json:"spaceHardLimitGigabytes,omitempty"`
	// State of the Resource Pool Snapshot   (possible values: [\"pending\", \"creating\", \"created\", \"error\", \"deleting\"])
	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

func (o *Share) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Share) GetCreatedAtOk

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

func (o *Share) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Share) GetIdOk

func (o *Share) 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 (*Share) GetLabels

func (o *Share) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Share) GetLabelsOk

func (o *Share) 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 (*Share) GetMountPath

func (o *Share) GetMountPath() string

GetMountPath returns the MountPath field value if set, zero value otherwise.

func (*Share) GetMountPathOk

func (o *Share) 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 (*Share) GetName

func (o *Share) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Share) GetNameOk

func (o *Share) 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 (*Share) GetSpaceHardLimitGigabytes

func (o *Share) GetSpaceHardLimitGigabytes() int32

GetSpaceHardLimitGigabytes returns the SpaceHardLimitGigabytes field value if set, zero value otherwise.

func (*Share) GetSpaceHardLimitGigabytesOk

func (o *Share) 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.

func (*Share) GetState

func (o *Share) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Share) GetStateOk

func (o *Share) 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 (*Share) HasCreatedAt

func (o *Share) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Share) HasExportPolicy

func (o *Share) HasExportPolicy() bool

HasExportPolicy returns a boolean if a field has been set.

func (*Share) HasId

func (o *Share) HasId() bool

HasId returns a boolean if a field has been set.

func (*Share) HasLabels

func (o *Share) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Share) HasMountPath

func (o *Share) HasMountPath() bool

HasMountPath returns a boolean if a field has been set.

func (*Share) HasName

func (o *Share) HasName() bool

HasName returns a boolean if a field has been set.

func (*Share) HasSpaceHardLimitGigabytes

func (o *Share) HasSpaceHardLimitGigabytes() bool

HasSpaceHardLimitGigabytes returns a boolean if a field has been set.

func (*Share) HasState

func (o *Share) HasState() bool

HasState returns a boolean if a field has been set.

func (Share) MarshalJSON

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

func (*Share) SetCreatedAt

func (o *Share) SetCreatedAt(v time.Time)

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

func (o *Share) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Share) SetLabels

func (o *Share) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*Share) SetMountPath

func (o *Share) SetMountPath(v string)

SetMountPath gets a reference to the given string and assigns it to the MountPath field.

func (*Share) SetName

func (o *Share) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Share) SetSpaceHardLimitGigabytes

func (o *Share) SetSpaceHardLimitGigabytes(v int32)

SetSpaceHardLimitGigabytes gets a reference to the given int32 and assigns it to the SpaceHardLimitGigabytes field.

func (*Share) SetState

func (o *Share) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (Share) ToMap

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

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 {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// ID of the Share Export Policy
	Id *string `json:"id,omitempty"`
	// An optional object that represents the labels associated with the share export policy  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 Share Export Policy
	Name *string `json:"name,omitempty"`
	// List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters  is the field \"order\" within each rule
	Rules []ShareExportPolicyRule `json:"rules,omitempty"`
	// Number of Shares using this Share Export Policy
	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 {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Description of the Rule   (optional)
	Description NullableString `json:"description,omitempty"`
	// ID of the Share Export Policy Rule
	Id *string `json:"id,omitempty"`
	// IP access control list, where IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs,  or \"172.16.0.251/32\" for a specific IP)   This array cannot be empty
	IpAcl []string `json:"ipAcl,omitempty"`
	// Order of the rule within a Share Export Policy. The order is used so that when a client IP matches  multiple rules, the first rule is applied   This field must be set
	Order *int32 `json:"order,omitempty"`
	// Flag to indicate if client IPs matching this rule can only mount the share in read only mode   Default: false
	ReadOnly *bool `json:"readOnly,omitempty"`
	// Flag to honor set UUID   Default: false
	SetUuid *bool `json:"setUuid,omitempty"`
	// Flag to indicate if client IPs matching this rule have root access on the Share   Default: true
	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) GetCode

func (o *Status) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Status) GetCodeOk

func (o *Status) GetCodeOk() (*int32, bool)

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

func (o *Status) GetMessage() string

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

func (*Status) GetMessageOk

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

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

func (*Status) HasCode

func (o *Status) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Status) HasDetails

func (o *Status) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Status) HasMessage

func (o *Status) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Status) MarshalJSON

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

func (*Status) SetCode

func (o *Status) SetCode(v int32)

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

func (o *Status) SetMessage(v string)

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

func (Status) ToMap

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

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 of the Rule   (optional)
	Description NullableString `json:"description,omitempty"`
	// IP access control list, where 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)   This array cannot be empty
	IpAcl []string `json:"ipAcl,omitempty"`
	// Order of the rule within a Share Export Policy. The order is used so that when a client IP matches  multiple rules, the first rule is applied   This field must be set
	Order *int32 `json:"order,omitempty"`
	// Flag to indicate if client IPs matching this rule can only mount the share in read only mode   Default: false
	ReadOnly *bool `json:"readOnly,omitempty"`
	// Flag to honor set UUID   Default: false
	SetUuid *bool `json:"setUuid,omitempty"`
	// Flag to indicate if client IPs matching this rule have root access on the Share   Default: true
	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 {
	// An optional object that represents the labels associated with the share export policy  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"`
	// List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters  is the field \"order\" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule  is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with  the 1 rule that was sent   Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules)
	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

GetRules returns the Rules field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateShareExportPolicyPayload) GetRulesOk

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

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 {
	ShareExportPolicy *ShareExportPolicy `json:"shareExportPolicy,omitempty"`
}

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 {
	// Name of the Share Export Policy to use in the Share.   The behavior depends on the value:  - If not set (null): Keep the existing export policy (if any)  - If set to empty string (\"\"):  Remove the existing export policy  - If set to a policy name: Update to use the specified policy, creating a new association if none exists
	ExportPolicyName NullableString `json:"exportPolicyName,omitempty"`
	// An optional object that represents the labels associated with the share  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"`
	// Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in.   (unit: gibibytes)
	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 {
	// Updated Share
	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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL