v1api

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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 ApiDisableLockRequest added in v0.8.0

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

func (ApiDisableLockRequest) Execute added in v0.8.0

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

type ApiEnableLockRequest added in v0.8.0

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

func (ApiEnableLockRequest) Execute added in v0.8.0

type ApiGetLockRequest added in v0.8.0

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

func (ApiGetLockRequest) Execute added in v0.8.0

func (r ApiGetLockRequest) Execute() (*GetLockResponse, 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 ApiGetScheduleRequest added in v0.8.0

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

func (ApiGetScheduleRequest) Execute added in v0.8.0

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 ApiGetSnapshotPolicyRequest added in v0.8.0

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

func (ApiGetSnapshotPolicyRequest) Execute added in v0.8.0

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 ApiListSchedulesRequest added in v0.8.0

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

func (ApiListSchedulesRequest) Execute added in v0.8.0

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 ApiListSnapshotPoliciesRequest added in v0.8.0

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

func (ApiListSnapshotPoliciesRequest) Execute added in v0.8.0

func (ApiListSnapshotPoliciesRequest) Immutable added in v0.8.0

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 ApiUpdateResourcePoolSnapshotRequest added in v0.8.0

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

func (ApiUpdateResourcePoolSnapshotRequest) Execute added in v0.8.0

func (ApiUpdateResourcePoolSnapshotRequest) UpdateResourcePoolSnapshotPayload added in v0.8.0

func (r ApiUpdateResourcePoolSnapshotRequest) UpdateResourcePoolSnapshotPayload(updateResourcePoolSnapshotPayload UpdateResourcePoolSnapshotPayload) ApiUpdateResourcePoolSnapshotRequest

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"`
	// (optional) Id of the Snapshot Policy to use
	SnapshotPolicyId *string `json:"snapshotPolicyId,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"`
	AdditionalProperties map[string]interface{}
}

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) GetSnapshotPolicyId added in v0.8.0

func (o *CreateResourcePoolPayload) GetSnapshotPolicyId() string

GetSnapshotPolicyId returns the SnapshotPolicyId field value if set, zero value otherwise.

func (*CreateResourcePoolPayload) GetSnapshotPolicyIdOk added in v0.8.0

func (o *CreateResourcePoolPayload) GetSnapshotPolicyIdOk() (*string, bool)

GetSnapshotPolicyIdOk returns a tuple with the SnapshotPolicyId field value if set, nil otherwise 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) HasSnapshotPolicyId added in v0.8.0

func (o *CreateResourcePoolPayload) HasSnapshotPolicyId() bool

HasSnapshotPolicyId 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) SetSnapshotPolicyId added in v0.8.0

func (o *CreateResourcePoolPayload) SetSnapshotPolicyId(v string)

SetSnapshotPolicyId gets a reference to the given string and assigns it to the SnapshotPolicyId field.

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*CreateResourcePoolResponse) UnmarshalJSON added in v0.6.0

func (o *CreateResourcePoolResponse) UnmarshalJSON(data []byte) (err 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"`
	// (optional) Time in hours after which snaplock on the snapshot expires
	SnaplockRetentionHours NullableInt32 `json:"snaplockRetentionHours,omitempty"`
	AdditionalProperties   map[string]interface{}
}

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) GetSnaplockRetentionHours added in v0.8.0

func (o *CreateResourcePoolSnapshotPayload) GetSnaplockRetentionHours() int32

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

func (*CreateResourcePoolSnapshotPayload) GetSnaplockRetentionHoursOk added in v0.8.0

func (o *CreateResourcePoolSnapshotPayload) GetSnaplockRetentionHoursOk() (*int32, bool)

GetSnaplockRetentionHoursOk returns a tuple with the SnaplockRetentionHours 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) 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) HasSnaplockRetentionHours added in v0.8.0

func (o *CreateResourcePoolSnapshotPayload) HasSnaplockRetentionHours() bool

HasSnaplockRetentionHours 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) SetSnaplockRetentionHours added in v0.8.0

func (o *CreateResourcePoolSnapshotPayload) SetSnaplockRetentionHours(v int32)

SetSnaplockRetentionHours gets a reference to the given NullableInt32 and assigns it to the SnaplockRetentionHours field.

func (*CreateResourcePoolSnapshotPayload) SetSnaplockRetentionHoursNil added in v0.8.0

func (o *CreateResourcePoolSnapshotPayload) SetSnaplockRetentionHoursNil()

SetSnaplockRetentionHoursNil sets the value for SnaplockRetentionHours to be an explicit nil

func (CreateResourcePoolSnapshotPayload) ToMap

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

func (*CreateResourcePoolSnapshotPayload) UnmarshalJSON added in v0.6.0

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

func (*CreateResourcePoolSnapshotPayload) UnsetComment

func (o *CreateResourcePoolSnapshotPayload) UnsetComment()

UnsetComment ensures that no value is present for Comment, not even an explicit nil

func (*CreateResourcePoolSnapshotPayload) UnsetSnaplockRetentionHours added in v0.8.0

func (o *CreateResourcePoolSnapshotPayload) UnsetSnaplockRetentionHours()

UnsetSnaplockRetentionHours ensures that no value is present for SnaplockRetentionHours, not even an explicit nil

type CreateResourcePoolSnapshotResponse

type CreateResourcePoolSnapshotResponse struct {
	// Created Resource Pool Snapshot
	ResourcePoolSnapshot *ResourcePoolSnapshot `json:"resourcePoolSnapshot,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*CreateResourcePoolSnapshotResponse) UnmarshalJSON added in v0.6.0

func (o *CreateResourcePoolSnapshotResponse) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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) UnmarshalJSON added in v0.6.0

func (o *CreateShareExportPolicyRequestRule) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*CreateShareExportPolicyResponse) UnmarshalJSON added in v0.6.0

func (o *CreateShareExportPolicyResponse) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties    map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*CreateShareResponse) UnmarshalJSON added in v0.6.0

func (o *CreateShareResponse) UnmarshalJSON(data []byte) (err 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)

	/*
		DisableLock Method for DisableLock

		Clean up locks for a project so that it can be deleted successfully.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param projectId
		@return ApiDisableLockRequest
	*/
	DisableLock(ctx context.Context, region string, projectId string) ApiDisableLockRequest

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

	/*
		EnableLock Method for EnableLock

		Enable Lock for a project. Necessary for immutable snapshots and to prevent accidental deletion of resources.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param projectId
		@return ApiEnableLockRequest
	*/
	EnableLock(ctx context.Context, region string, projectId string) ApiEnableLockRequest

	// EnableLockExecute executes the request
	//  @return EnableLockResponse
	EnableLockExecute(r ApiEnableLockRequest) (*EnableLockResponse, error)

	/*
		GetLock Method for GetLock

		Get lock status for a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param projectId
		@return ApiGetLockRequest
	*/
	GetLock(ctx context.Context, region string, projectId string) ApiGetLockRequest

	// GetLockExecute executes the request
	//  @return GetLockResponse
	GetLockExecute(r ApiGetLockRequest) (*GetLockResponse, 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)

	/*
		GetSchedule Method for GetSchedule

		Get Schedule

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param id
		@return ApiGetScheduleRequest

		Deprecated
	*/
	GetSchedule(ctx context.Context, projectId string, id string) ApiGetScheduleRequest

	// GetScheduleExecute executes the request
	//  @return GetScheduleResponse
	// Deprecated
	GetScheduleExecute(r ApiGetScheduleRequest) (*GetScheduleResponse, 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)

	/*
		GetSnapshotPolicy Method for GetSnapshotPolicy

		Get Snapshot Policy

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param id
		@return ApiGetSnapshotPolicyRequest
	*/
	GetSnapshotPolicy(ctx context.Context, projectId string, id string) ApiGetSnapshotPolicyRequest

	// GetSnapshotPolicyExecute executes the request
	//  @return GetSnapshotPolicyResponse
	GetSnapshotPolicyExecute(r ApiGetSnapshotPolicyRequest) (*GetSnapshotPolicyResponse, error)

	/*
		ListPerformanceClasses List Resource 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)

	/*
		ListSchedules Method for ListSchedules

		List Schedules

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@return ApiListSchedulesRequest

		Deprecated
	*/
	ListSchedules(ctx context.Context, projectId string) ApiListSchedulesRequest

	// ListSchedulesExecute executes the request
	//  @return ListSchedulesResponse
	// Deprecated
	ListSchedulesExecute(r ApiListSchedulesRequest) (*ListSchedulesResponse, 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)

	/*
		ListSnapshotPolicies Method for ListSnapshotPolicies

		List Snapshot Policies

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@return ApiListSnapshotPoliciesRequest
	*/
	ListSnapshotPolicies(ctx context.Context, projectId string) ApiListSnapshotPoliciesRequest

	// ListSnapshotPoliciesExecute executes the request
	//  @return ListSnapshotPoliciesResponse
	ListSnapshotPoliciesExecute(r ApiListSnapshotPoliciesRequest) (*ListSnapshotPoliciesResponse, 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)

	/*
		UpdateResourcePoolSnapshot Update Resource Pool Snapshot

		Updates 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 ApiUpdateResourcePoolSnapshotRequest
	*/
	UpdateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiUpdateResourcePoolSnapshotRequest

	// UpdateResourcePoolSnapshotExecute executes the request
	//  @return UpdateResourcePoolSnapshotResponse
	UpdateResourcePoolSnapshotExecute(r ApiUpdateResourcePoolSnapshotRequest) (*UpdateResourcePoolSnapshotResponse, 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) DisableLock added in v0.8.0

func (a *DefaultAPIService) DisableLock(ctx context.Context, region string, projectId string) ApiDisableLockRequest

DisableLock Method for DisableLock

Clean up locks for a project so that it can be deleted successfully.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param projectId
@return ApiDisableLockRequest

func (*DefaultAPIService) DisableLockExecute added in v0.8.0

func (a *DefaultAPIService) DisableLockExecute(r ApiDisableLockRequest) (map[string]interface{}, error)

Execute executes the request

@return map[string]interface{}

func (*DefaultAPIService) EnableLock added in v0.8.0

func (a *DefaultAPIService) EnableLock(ctx context.Context, region string, projectId string) ApiEnableLockRequest

EnableLock Method for EnableLock

Enable Lock for a project. Necessary for immutable snapshots and to prevent accidental deletion of resources.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param projectId
@return ApiEnableLockRequest

func (*DefaultAPIService) EnableLockExecute added in v0.8.0

func (a *DefaultAPIService) EnableLockExecute(r ApiEnableLockRequest) (*EnableLockResponse, error)

Execute executes the request

@return EnableLockResponse

func (*DefaultAPIService) GetLock added in v0.8.0

func (a *DefaultAPIService) GetLock(ctx context.Context, region string, projectId string) ApiGetLockRequest

GetLock Method for GetLock

Get lock status for a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param projectId
@return ApiGetLockRequest

func (*DefaultAPIService) GetLockExecute added in v0.8.0

func (a *DefaultAPIService) GetLockExecute(r ApiGetLockRequest) (*GetLockResponse, error)

Execute executes the request

@return GetLockResponse

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) GetSchedule added in v0.8.0

func (a *DefaultAPIService) GetSchedule(ctx context.Context, projectId string, id string) ApiGetScheduleRequest

GetSchedule Method for GetSchedule

Get Schedule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param id
@return ApiGetScheduleRequest

Deprecated

func (*DefaultAPIService) GetScheduleExecute added in v0.8.0

Execute executes the request

@return GetScheduleResponse

Deprecated

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) GetSnapshotPolicy added in v0.8.0

func (a *DefaultAPIService) GetSnapshotPolicy(ctx context.Context, projectId string, id string) ApiGetSnapshotPolicyRequest

GetSnapshotPolicy Method for GetSnapshotPolicy

Get Snapshot Policy

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param id
@return ApiGetSnapshotPolicyRequest

func (*DefaultAPIService) GetSnapshotPolicyExecute added in v0.8.0

Execute executes the request

@return GetSnapshotPolicyResponse

func (*DefaultAPIService) ListPerformanceClasses

func (a *DefaultAPIService) ListPerformanceClasses(ctx context.Context) ApiListPerformanceClassesRequest

ListPerformanceClasses List Resource 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) ListSchedules added in v0.8.0

func (a *DefaultAPIService) ListSchedules(ctx context.Context, projectId string) ApiListSchedulesRequest

ListSchedules Method for ListSchedules

List Schedules

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiListSchedulesRequest

Deprecated

func (*DefaultAPIService) ListSchedulesExecute added in v0.8.0

Execute executes the request

@return ListSchedulesResponse

Deprecated

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) ListSnapshotPolicies added in v0.8.0

func (a *DefaultAPIService) ListSnapshotPolicies(ctx context.Context, projectId string) ApiListSnapshotPoliciesRequest

ListSnapshotPolicies Method for ListSnapshotPolicies

List Snapshot Policies

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiListSnapshotPoliciesRequest

func (*DefaultAPIService) ListSnapshotPoliciesExecute added in v0.8.0

Execute executes the request

@return ListSnapshotPoliciesResponse

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) UpdateResourcePoolSnapshot added in v0.8.0

func (a *DefaultAPIService) UpdateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiUpdateResourcePoolSnapshotRequest

UpdateResourcePoolSnapshot Update Resource Pool Snapshot

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

func (*DefaultAPIService) UpdateResourcePoolSnapshotExecute added in v0.8.0

Execute executes the request

@return UpdateResourcePoolSnapshotResponse

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)
	// DisableLockExecuteMock can be populated to implement the behavior of the DisableLockExecute function of this mock
	DisableLockExecuteMock *func(r ApiDisableLockRequest) (map[string]interface{}, error)
	// EnableLockExecuteMock can be populated to implement the behavior of the EnableLockExecute function of this mock
	EnableLockExecuteMock *func(r ApiEnableLockRequest) (*EnableLockResponse, error)
	// GetLockExecuteMock can be populated to implement the behavior of the GetLockExecute function of this mock
	GetLockExecuteMock *func(r ApiGetLockRequest) (*GetLockResponse, 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)
	// Deprecated: GetScheduleExecuteMock can be populated to implement the behavior of the GetScheduleExecute function of this mock
	GetScheduleExecuteMock *func(r ApiGetScheduleRequest) (*GetScheduleResponse, 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)
	// GetSnapshotPolicyExecuteMock can be populated to implement the behavior of the GetSnapshotPolicyExecute function of this mock
	GetSnapshotPolicyExecuteMock *func(r ApiGetSnapshotPolicyRequest) (*GetSnapshotPolicyResponse, 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)
	// Deprecated: ListSchedulesExecuteMock can be populated to implement the behavior of the ListSchedulesExecute function of this mock
	ListSchedulesExecuteMock *func(r ApiListSchedulesRequest) (*ListSchedulesResponse, 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)
	// ListSnapshotPoliciesExecuteMock can be populated to implement the behavior of the ListSnapshotPoliciesExecute function of this mock
	ListSnapshotPoliciesExecuteMock *func(r ApiListSnapshotPoliciesRequest) (*ListSnapshotPoliciesResponse, error)
	// UpdateResourcePoolExecuteMock can be populated to implement the behavior of the UpdateResourcePoolExecute function of this mock
	UpdateResourcePoolExecuteMock *func(r ApiUpdateResourcePoolRequest) (*UpdateResourcePoolResponse, error)
	// UpdateResourcePoolSnapshotExecuteMock can be populated to implement the behavior of the UpdateResourcePoolSnapshotExecute function of this mock
	UpdateResourcePoolSnapshotExecuteMock *func(r ApiUpdateResourcePoolSnapshotRequest) (*UpdateResourcePoolSnapshotResponse, 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) DisableLock added in v0.8.0

func (a DefaultAPIServiceMock) DisableLock(ctx context.Context, region string, projectId string) ApiDisableLockRequest

func (DefaultAPIServiceMock) DisableLockExecute added in v0.8.0

func (a DefaultAPIServiceMock) DisableLockExecute(r ApiDisableLockRequest) (map[string]interface{}, error)

DisableLockExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableLockExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) EnableLock added in v0.8.0

func (a DefaultAPIServiceMock) EnableLock(ctx context.Context, region string, projectId string) ApiEnableLockRequest

func (DefaultAPIServiceMock) EnableLockExecute added in v0.8.0

EnableLockExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableLockExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetLock added in v0.8.0

func (a DefaultAPIServiceMock) GetLock(ctx context.Context, region string, projectId string) ApiGetLockRequest

func (DefaultAPIServiceMock) GetLockExecute added in v0.8.0

GetLockExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLockExecuteMock 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) GetSchedule added in v0.8.0

func (a DefaultAPIServiceMock) GetSchedule(ctx context.Context, projectId string, id string) ApiGetScheduleRequest

Deprecated

func (DefaultAPIServiceMock) GetScheduleExecute deprecated added in v0.8.0

Deprecated: GetScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetScheduleExecuteMock 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) GetSnapshotPolicy added in v0.8.0

func (a DefaultAPIServiceMock) GetSnapshotPolicy(ctx context.Context, projectId string, id string) ApiGetSnapshotPolicyRequest

func (DefaultAPIServiceMock) GetSnapshotPolicyExecute added in v0.8.0

GetSnapshotPolicyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSnapshotPolicyExecuteMock 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) ListSchedules added in v0.8.0

func (a DefaultAPIServiceMock) ListSchedules(ctx context.Context, projectId string) ApiListSchedulesRequest

Deprecated

func (DefaultAPIServiceMock) ListSchedulesExecute deprecated added in v0.8.0

Deprecated: ListSchedulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSchedulesExecuteMock 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) ListSnapshotPolicies added in v0.8.0

func (a DefaultAPIServiceMock) ListSnapshotPolicies(ctx context.Context, projectId string) ApiListSnapshotPoliciesRequest

func (DefaultAPIServiceMock) ListSnapshotPoliciesExecute added in v0.8.0

ListSnapshotPoliciesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSnapshotPoliciesExecuteMock 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) UpdateResourcePoolSnapshot added in v0.8.0

func (a DefaultAPIServiceMock) UpdateResourcePoolSnapshot(ctx context.Context, projectId string, region string, resourcePoolId string, snapshotName string) ApiUpdateResourcePoolSnapshotRequest

func (DefaultAPIServiceMock) UpdateResourcePoolSnapshotExecute added in v0.8.0

UpdateResourcePoolSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateResourcePoolSnapshotExecuteMock 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 EnableLockResponse added in v0.8.0

type EnableLockResponse struct {
	LockId               *string `json:"lockId,omitempty"`
	AdditionalProperties map[string]interface{}
}

EnableLockResponse struct for EnableLockResponse

func NewEnableLockResponse added in v0.8.0

func NewEnableLockResponse() *EnableLockResponse

NewEnableLockResponse instantiates a new EnableLockResponse 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 NewEnableLockResponseWithDefaults added in v0.8.0

func NewEnableLockResponseWithDefaults() *EnableLockResponse

NewEnableLockResponseWithDefaults instantiates a new EnableLockResponse 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 (*EnableLockResponse) GetLockId added in v0.8.0

func (o *EnableLockResponse) GetLockId() string

GetLockId returns the LockId field value if set, zero value otherwise.

func (*EnableLockResponse) GetLockIdOk added in v0.8.0

func (o *EnableLockResponse) GetLockIdOk() (*string, bool)

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

func (*EnableLockResponse) HasLockId added in v0.8.0

func (o *EnableLockResponse) HasLockId() bool

HasLockId returns a boolean if a field has been set.

func (EnableLockResponse) MarshalJSON added in v0.8.0

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

func (*EnableLockResponse) SetLockId added in v0.8.0

func (o *EnableLockResponse) SetLockId(v string)

SetLockId gets a reference to the given string and assigns it to the LockId field.

func (EnableLockResponse) ToMap added in v0.8.0

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

func (*EnableLockResponse) UnmarshalJSON added in v0.8.0

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

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"`
	AdditionalProperties map[string]interface{}
}

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 GetLockResponse added in v0.8.0

type GetLockResponse struct {
	LockId               *string `json:"lockId,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetLockResponse struct for GetLockResponse

func NewGetLockResponse added in v0.8.0

func NewGetLockResponse() *GetLockResponse

NewGetLockResponse instantiates a new GetLockResponse 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 NewGetLockResponseWithDefaults added in v0.8.0

func NewGetLockResponseWithDefaults() *GetLockResponse

NewGetLockResponseWithDefaults instantiates a new GetLockResponse 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 (*GetLockResponse) GetLockId added in v0.8.0

func (o *GetLockResponse) GetLockId() string

GetLockId returns the LockId field value if set, zero value otherwise.

func (*GetLockResponse) GetLockIdOk added in v0.8.0

func (o *GetLockResponse) GetLockIdOk() (*string, bool)

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

func (*GetLockResponse) HasLockId added in v0.8.0

func (o *GetLockResponse) HasLockId() bool

HasLockId returns a boolean if a field has been set.

func (GetLockResponse) MarshalJSON added in v0.8.0

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

func (*GetLockResponse) SetLockId added in v0.8.0

func (o *GetLockResponse) SetLockId(v string)

SetLockId gets a reference to the given string and assigns it to the LockId field.

func (GetLockResponse) ToMap added in v0.8.0

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

func (*GetLockResponse) UnmarshalJSON added in v0.8.0

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

type GetResourcePoolResponse

type GetResourcePoolResponse struct {
	// Resource Pool
	ResourcePool         *ResourcePool `json:"resourcePool,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*GetResourcePoolResponse) UnmarshalJSON added in v0.6.0

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

type GetResourcePoolSnapshotResponse

type GetResourcePoolSnapshotResponse struct {
	// Resource Pool Snapshot
	ResourcePoolSnapshot *ResourcePoolSnapshot `json:"resourcePoolSnapshot,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*GetResourcePoolSnapshotResponse) UnmarshalJSON added in v0.6.0

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

type GetScheduleResponse added in v0.8.0

type GetScheduleResponse struct {
	// Schedule
	Schedule             *Schedule `json:"schedule,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetScheduleResponse struct for GetScheduleResponse

func NewGetScheduleResponse added in v0.8.0

func NewGetScheduleResponse() *GetScheduleResponse

NewGetScheduleResponse instantiates a new GetScheduleResponse 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 NewGetScheduleResponseWithDefaults added in v0.8.0

func NewGetScheduleResponseWithDefaults() *GetScheduleResponse

NewGetScheduleResponseWithDefaults instantiates a new GetScheduleResponse 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 (*GetScheduleResponse) GetSchedule added in v0.8.0

func (o *GetScheduleResponse) GetSchedule() Schedule

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*GetScheduleResponse) GetScheduleOk added in v0.8.0

func (o *GetScheduleResponse) GetScheduleOk() (*Schedule, bool)

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

func (*GetScheduleResponse) HasSchedule added in v0.8.0

func (o *GetScheduleResponse) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (GetScheduleResponse) MarshalJSON added in v0.8.0

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

func (*GetScheduleResponse) SetSchedule added in v0.8.0

func (o *GetScheduleResponse) SetSchedule(v Schedule)

SetSchedule gets a reference to the given Schedule and assigns it to the Schedule field.

func (GetScheduleResponse) ToMap added in v0.8.0

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

func (*GetScheduleResponse) UnmarshalJSON added in v0.8.0

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

type GetShareExportPolicyResponse

type GetShareExportPolicyResponse struct {
	// Share Export Policies
	ShareExportPolicy    *ShareExportPolicy `json:"shareExportPolicy,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*GetShareExportPolicyResponse) UnmarshalJSON added in v0.6.0

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

type GetShareResponse

type GetShareResponse struct {
	// Share
	Share                *Share `json:"share,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*GetShareResponse) UnmarshalJSON added in v0.6.0

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

type GetSnapshotPolicyResponse added in v0.8.0

type GetSnapshotPolicyResponse struct {
	// Snapshot Policy
	SnapshotPolicy       *SnapshotPolicy `json:"snapshotPolicy,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetSnapshotPolicyResponse struct for GetSnapshotPolicyResponse

func NewGetSnapshotPolicyResponse added in v0.8.0

func NewGetSnapshotPolicyResponse() *GetSnapshotPolicyResponse

NewGetSnapshotPolicyResponse instantiates a new GetSnapshotPolicyResponse 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 NewGetSnapshotPolicyResponseWithDefaults added in v0.8.0

func NewGetSnapshotPolicyResponseWithDefaults() *GetSnapshotPolicyResponse

NewGetSnapshotPolicyResponseWithDefaults instantiates a new GetSnapshotPolicyResponse 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 (*GetSnapshotPolicyResponse) GetSnapshotPolicy added in v0.8.0

func (o *GetSnapshotPolicyResponse) GetSnapshotPolicy() SnapshotPolicy

GetSnapshotPolicy returns the SnapshotPolicy field value if set, zero value otherwise.

func (*GetSnapshotPolicyResponse) GetSnapshotPolicyOk added in v0.8.0

func (o *GetSnapshotPolicyResponse) GetSnapshotPolicyOk() (*SnapshotPolicy, bool)

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

func (*GetSnapshotPolicyResponse) HasSnapshotPolicy added in v0.8.0

func (o *GetSnapshotPolicyResponse) HasSnapshotPolicy() bool

HasSnapshotPolicy returns a boolean if a field has been set.

func (GetSnapshotPolicyResponse) MarshalJSON added in v0.8.0

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

func (*GetSnapshotPolicyResponse) SetSnapshotPolicy added in v0.8.0

func (o *GetSnapshotPolicyResponse) SetSnapshotPolicy(v SnapshotPolicy)

SetSnapshotPolicy gets a reference to the given SnapshotPolicy and assigns it to the SnapshotPolicy field.

func (GetSnapshotPolicyResponse) ToMap added in v0.8.0

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

func (*GetSnapshotPolicyResponse) UnmarshalJSON added in v0.8.0

func (o *GetSnapshotPolicyResponse) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*ListPerformanceClassesResponse) UnmarshalJSON added in v0.6.0

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

type ListResourcePoolSnapshotsResponse

type ListResourcePoolSnapshotsResponse struct {
	// List of Resource Pool Snapshots
	ResourcePoolSnapshots []ResourcePoolSnapshot `json:"resourcePoolSnapshots,omitempty"`
	AdditionalProperties  map[string]interface{}
}

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)

func (*ListResourcePoolSnapshotsResponse) UnmarshalJSON added in v0.6.0

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

type ListResourcePoolsResponse

type ListResourcePoolsResponse struct {
	// List of Resource Pools
	ResourcePools        []ResourcePool `json:"resourcePools,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*ListResourcePoolsResponse) UnmarshalJSON added in v0.6.0

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

type ListSchedulesResponse added in v0.8.0

type ListSchedulesResponse struct {
	// List of Schedules
	Schedules            []Schedule `json:"schedules,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListSchedulesResponse struct for ListSchedulesResponse

func NewListSchedulesResponse added in v0.8.0

func NewListSchedulesResponse() *ListSchedulesResponse

NewListSchedulesResponse instantiates a new ListSchedulesResponse 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 NewListSchedulesResponseWithDefaults added in v0.8.0

func NewListSchedulesResponseWithDefaults() *ListSchedulesResponse

NewListSchedulesResponseWithDefaults instantiates a new ListSchedulesResponse 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 (*ListSchedulesResponse) GetSchedules added in v0.8.0

func (o *ListSchedulesResponse) GetSchedules() []Schedule

GetSchedules returns the Schedules field value if set, zero value otherwise.

func (*ListSchedulesResponse) GetSchedulesOk added in v0.8.0

func (o *ListSchedulesResponse) GetSchedulesOk() ([]Schedule, bool)

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

func (*ListSchedulesResponse) HasSchedules added in v0.8.0

func (o *ListSchedulesResponse) HasSchedules() bool

HasSchedules returns a boolean if a field has been set.

func (ListSchedulesResponse) MarshalJSON added in v0.8.0

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

func (*ListSchedulesResponse) SetSchedules added in v0.8.0

func (o *ListSchedulesResponse) SetSchedules(v []Schedule)

SetSchedules gets a reference to the given []Schedule and assigns it to the Schedules field.

func (ListSchedulesResponse) ToMap added in v0.8.0

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

func (*ListSchedulesResponse) UnmarshalJSON added in v0.8.0

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

type ListShareExportPoliciesResponse

type ListShareExportPoliciesResponse struct {
	// List of Share Export Policies
	ShareExportPolicies  []ShareExportPolicy `json:"shareExportPolicies,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*ListShareExportPoliciesResponse) UnmarshalJSON added in v0.6.0

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

type ListSharesResponse

type ListSharesResponse struct {
	// List of Shares
	Shares               []Share `json:"shares,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*ListSharesResponse) UnmarshalJSON added in v0.6.0

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

type ListSnapshotPoliciesResponse added in v0.8.0

type ListSnapshotPoliciesResponse struct {
	// List of Snapshot Policies
	SnapshotPolicies     []SnapshotPolicy `json:"snapshotPolicies,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListSnapshotPoliciesResponse struct for ListSnapshotPoliciesResponse

func NewListSnapshotPoliciesResponse added in v0.8.0

func NewListSnapshotPoliciesResponse() *ListSnapshotPoliciesResponse

NewListSnapshotPoliciesResponse instantiates a new ListSnapshotPoliciesResponse 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 NewListSnapshotPoliciesResponseWithDefaults added in v0.8.0

func NewListSnapshotPoliciesResponseWithDefaults() *ListSnapshotPoliciesResponse

NewListSnapshotPoliciesResponseWithDefaults instantiates a new ListSnapshotPoliciesResponse 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 (*ListSnapshotPoliciesResponse) GetSnapshotPolicies added in v0.8.0

func (o *ListSnapshotPoliciesResponse) GetSnapshotPolicies() []SnapshotPolicy

GetSnapshotPolicies returns the SnapshotPolicies field value if set, zero value otherwise.

func (*ListSnapshotPoliciesResponse) GetSnapshotPoliciesOk added in v0.8.0

func (o *ListSnapshotPoliciesResponse) GetSnapshotPoliciesOk() ([]SnapshotPolicy, bool)

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

func (*ListSnapshotPoliciesResponse) HasSnapshotPolicies added in v0.8.0

func (o *ListSnapshotPoliciesResponse) HasSnapshotPolicies() bool

HasSnapshotPolicies returns a boolean if a field has been set.

func (ListSnapshotPoliciesResponse) MarshalJSON added in v0.8.0

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

func (*ListSnapshotPoliciesResponse) SetSnapshotPolicies added in v0.8.0

func (o *ListSnapshotPoliciesResponse) SetSnapshotPolicies(v []SnapshotPolicy)

SetSnapshotPolicies gets a reference to the given []SnapshotPolicy and assigns it to the SnapshotPolicies field.

func (ListSnapshotPoliciesResponse) ToMap added in v0.8.0

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

func (*ListSnapshotPoliciesResponse) UnmarshalJSON added in v0.8.0

func (o *ListSnapshotPoliciesResponse) UnmarshalJSON(data []byte) (err 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 NullableEnableLockResponse added in v0.8.0

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

func NewNullableEnableLockResponse added in v0.8.0

func NewNullableEnableLockResponse(val *EnableLockResponse) *NullableEnableLockResponse

func (NullableEnableLockResponse) Get added in v0.8.0

func (NullableEnableLockResponse) IsSet added in v0.8.0

func (v NullableEnableLockResponse) IsSet() bool

func (NullableEnableLockResponse) MarshalJSON added in v0.8.0

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

func (*NullableEnableLockResponse) Set added in v0.8.0

func (*NullableEnableLockResponse) UnmarshalJSON added in v0.8.0

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

func (*NullableEnableLockResponse) Unset added in v0.8.0

func (v *NullableEnableLockResponse) 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 NullableGetLockResponse added in v0.8.0

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

func NewNullableGetLockResponse added in v0.8.0

func NewNullableGetLockResponse(val *GetLockResponse) *NullableGetLockResponse

func (NullableGetLockResponse) Get added in v0.8.0

func (NullableGetLockResponse) IsSet added in v0.8.0

func (v NullableGetLockResponse) IsSet() bool

func (NullableGetLockResponse) MarshalJSON added in v0.8.0

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

func (*NullableGetLockResponse) Set added in v0.8.0

func (*NullableGetLockResponse) UnmarshalJSON added in v0.8.0

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

func (*NullableGetLockResponse) Unset added in v0.8.0

func (v *NullableGetLockResponse) 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 NullableGetScheduleResponse added in v0.8.0

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

func NewNullableGetScheduleResponse added in v0.8.0

func NewNullableGetScheduleResponse(val *GetScheduleResponse) *NullableGetScheduleResponse

func (NullableGetScheduleResponse) Get added in v0.8.0

func (NullableGetScheduleResponse) IsSet added in v0.8.0

func (NullableGetScheduleResponse) MarshalJSON added in v0.8.0

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

func (*NullableGetScheduleResponse) Set added in v0.8.0

func (*NullableGetScheduleResponse) UnmarshalJSON added in v0.8.0

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

func (*NullableGetScheduleResponse) Unset added in v0.8.0

func (v *NullableGetScheduleResponse) 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 NullableGetSnapshotPolicyResponse added in v0.8.0

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

func NewNullableGetSnapshotPolicyResponse added in v0.8.0

func NewNullableGetSnapshotPolicyResponse(val *GetSnapshotPolicyResponse) *NullableGetSnapshotPolicyResponse

func (NullableGetSnapshotPolicyResponse) Get added in v0.8.0

func (NullableGetSnapshotPolicyResponse) IsSet added in v0.8.0

func (NullableGetSnapshotPolicyResponse) MarshalJSON added in v0.8.0

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

func (*NullableGetSnapshotPolicyResponse) Set added in v0.8.0

func (*NullableGetSnapshotPolicyResponse) UnmarshalJSON added in v0.8.0

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

func (*NullableGetSnapshotPolicyResponse) Unset added in v0.8.0

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 NullableListSchedulesResponse added in v0.8.0

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

func NewNullableListSchedulesResponse added in v0.8.0

func NewNullableListSchedulesResponse(val *ListSchedulesResponse) *NullableListSchedulesResponse

func (NullableListSchedulesResponse) Get added in v0.8.0

func (NullableListSchedulesResponse) IsSet added in v0.8.0

func (NullableListSchedulesResponse) MarshalJSON added in v0.8.0

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

func (*NullableListSchedulesResponse) Set added in v0.8.0

func (*NullableListSchedulesResponse) UnmarshalJSON added in v0.8.0

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

func (*NullableListSchedulesResponse) Unset added in v0.8.0

func (v *NullableListSchedulesResponse) 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 NullableListSnapshotPoliciesResponse added in v0.8.0

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

func NewNullableListSnapshotPoliciesResponse added in v0.8.0

func NewNullableListSnapshotPoliciesResponse(val *ListSnapshotPoliciesResponse) *NullableListSnapshotPoliciesResponse

func (NullableListSnapshotPoliciesResponse) Get added in v0.8.0

func (NullableListSnapshotPoliciesResponse) IsSet added in v0.8.0

func (NullableListSnapshotPoliciesResponse) MarshalJSON added in v0.8.0

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

func (*NullableListSnapshotPoliciesResponse) Set added in v0.8.0

func (*NullableListSnapshotPoliciesResponse) UnmarshalJSON added in v0.8.0

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

func (*NullableListSnapshotPoliciesResponse) Unset added in v0.8.0

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 NullableResourcePoolSnapshotPolicy added in v0.8.0

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

func NewNullableResourcePoolSnapshotPolicy added in v0.8.0

func NewNullableResourcePoolSnapshotPolicy(val *ResourcePoolSnapshotPolicy) *NullableResourcePoolSnapshotPolicy

func (NullableResourcePoolSnapshotPolicy) Get added in v0.8.0

func (NullableResourcePoolSnapshotPolicy) IsSet added in v0.8.0

func (NullableResourcePoolSnapshotPolicy) MarshalJSON added in v0.8.0

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

func (*NullableResourcePoolSnapshotPolicy) Set added in v0.8.0

func (*NullableResourcePoolSnapshotPolicy) UnmarshalJSON added in v0.8.0

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

func (*NullableResourcePoolSnapshotPolicy) Unset added in v0.8.0

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 NullableSchedule added in v0.8.0

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

func NewNullableSchedule added in v0.8.0

func NewNullableSchedule(val *Schedule) *NullableSchedule

func (NullableSchedule) Get added in v0.8.0

func (v NullableSchedule) Get() *Schedule

func (NullableSchedule) IsSet added in v0.8.0

func (v NullableSchedule) IsSet() bool

func (NullableSchedule) MarshalJSON added in v0.8.0

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

func (*NullableSchedule) Set added in v0.8.0

func (v *NullableSchedule) Set(val *Schedule)

func (*NullableSchedule) UnmarshalJSON added in v0.8.0

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

func (*NullableSchedule) Unset added in v0.8.0

func (v *NullableSchedule) 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 NullableSnapshotPolicy added in v0.8.0

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

func NewNullableSnapshotPolicy added in v0.8.0

func NewNullableSnapshotPolicy(val *SnapshotPolicy) *NullableSnapshotPolicy

func (NullableSnapshotPolicy) Get added in v0.8.0

func (NullableSnapshotPolicy) IsSet added in v0.8.0

func (v NullableSnapshotPolicy) IsSet() bool

func (NullableSnapshotPolicy) MarshalJSON added in v0.8.0

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

func (*NullableSnapshotPolicy) Set added in v0.8.0

func (*NullableSnapshotPolicy) UnmarshalJSON added in v0.8.0

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

func (*NullableSnapshotPolicy) Unset added in v0.8.0

func (v *NullableSnapshotPolicy) Unset()

type NullableSnapshotPolicySchedule added in v0.8.0

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

func NewNullableSnapshotPolicySchedule added in v0.8.0

func NewNullableSnapshotPolicySchedule(val *SnapshotPolicySchedule) *NullableSnapshotPolicySchedule

func (NullableSnapshotPolicySchedule) Get added in v0.8.0

func (NullableSnapshotPolicySchedule) IsSet added in v0.8.0

func (NullableSnapshotPolicySchedule) MarshalJSON added in v0.8.0

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

func (*NullableSnapshotPolicySchedule) Set added in v0.8.0

func (*NullableSnapshotPolicySchedule) UnmarshalJSON added in v0.8.0

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

func (*NullableSnapshotPolicySchedule) Unset added in v0.8.0

func (v *NullableSnapshotPolicySchedule) Unset()

type NullableSnapshotPolicySnapshotPolicySchedule added in v0.9.0

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

func NewNullableSnapshotPolicySnapshotPolicySchedule added in v0.9.0

func NewNullableSnapshotPolicySnapshotPolicySchedule(val *SnapshotPolicySnapshotPolicySchedule) *NullableSnapshotPolicySnapshotPolicySchedule

func (NullableSnapshotPolicySnapshotPolicySchedule) Get added in v0.9.0

func (NullableSnapshotPolicySnapshotPolicySchedule) IsSet added in v0.9.0

func (NullableSnapshotPolicySnapshotPolicySchedule) MarshalJSON added in v0.9.0

func (*NullableSnapshotPolicySnapshotPolicySchedule) Set added in v0.9.0

func (*NullableSnapshotPolicySnapshotPolicySchedule) UnmarshalJSON added in v0.9.0

func (*NullableSnapshotPolicySnapshotPolicySchedule) Unset added in v0.9.0

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 NullableUpdateResourcePoolSnapshotPayload added in v0.8.0

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

func NewNullableUpdateResourcePoolSnapshotPayload added in v0.8.0

func NewNullableUpdateResourcePoolSnapshotPayload(val *UpdateResourcePoolSnapshotPayload) *NullableUpdateResourcePoolSnapshotPayload

func (NullableUpdateResourcePoolSnapshotPayload) Get added in v0.8.0

func (NullableUpdateResourcePoolSnapshotPayload) IsSet added in v0.8.0

func (NullableUpdateResourcePoolSnapshotPayload) MarshalJSON added in v0.8.0

func (*NullableUpdateResourcePoolSnapshotPayload) Set added in v0.8.0

func (*NullableUpdateResourcePoolSnapshotPayload) UnmarshalJSON added in v0.8.0

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

func (*NullableUpdateResourcePoolSnapshotPayload) Unset added in v0.8.0

type NullableUpdateResourcePoolSnapshotResponse added in v0.8.0

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

func NewNullableUpdateResourcePoolSnapshotResponse added in v0.8.0

func NewNullableUpdateResourcePoolSnapshotResponse(val *UpdateResourcePoolSnapshotResponse) *NullableUpdateResourcePoolSnapshotResponse

func (NullableUpdateResourcePoolSnapshotResponse) Get added in v0.8.0

func (NullableUpdateResourcePoolSnapshotResponse) IsSet added in v0.8.0

func (NullableUpdateResourcePoolSnapshotResponse) MarshalJSON added in v0.8.0

func (*NullableUpdateResourcePoolSnapshotResponse) Set added in v0.8.0

func (*NullableUpdateResourcePoolSnapshotResponse) UnmarshalJSON added in v0.8.0

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

func (*NullableUpdateResourcePoolSnapshotResponse) Unset added in v0.8.0

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*PerformanceClass) UnmarshalJSON added in v0.6.0

func (o *PerformanceClass) UnmarshalJSON(data []byte) (err 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"`
	// (optional) Snapshot Policy
	SnapshotPolicy NullableResourcePoolSnapshotPolicy `json:"snapshotPolicy,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"`
	AdditionalProperties map[string]interface{}
}

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) GetSnapshotPolicy added in v0.8.0

func (o *ResourcePool) GetSnapshotPolicy() ResourcePoolSnapshotPolicy

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

func (*ResourcePool) GetSnapshotPolicyOk added in v0.8.0

func (o *ResourcePool) GetSnapshotPolicyOk() (*ResourcePoolSnapshotPolicy, bool)

GetSnapshotPolicyOk returns a tuple with the SnapshotPolicy 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 (*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) HasSnapshotPolicy added in v0.8.0

func (o *ResourcePool) HasSnapshotPolicy() bool

HasSnapshotPolicy 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) SetSnapshotPolicy added in v0.8.0

func (o *ResourcePool) SetSnapshotPolicy(v ResourcePoolSnapshotPolicy)

SetSnapshotPolicy gets a reference to the given NullableResourcePoolSnapshotPolicy and assigns it to the SnapshotPolicy field.

func (*ResourcePool) SetSnapshotPolicyNil added in v0.8.0

func (o *ResourcePool) SetSnapshotPolicyNil()

SetSnapshotPolicyNil sets the value for SnapshotPolicy to be an explicit nil

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)

func (*ResourcePool) UnmarshalJSON added in v0.6.0

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

func (*ResourcePool) UnsetSnapshotPolicy added in v0.8.0

func (o *ResourcePool) UnsetSnapshotPolicy()

UnsetSnapshotPolicy ensures that no value is present for SnapshotPolicy, not even an explicit nil

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*ResourcePoolPerformanceClass) UnmarshalJSON added in v0.6.0

func (o *ResourcePoolPerformanceClass) UnmarshalJSON(data []byte) (err 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"`
	// Represents the snaplock expiry time if snaplock is enabled for the resource pool
	SnaplockExpiryTime NullableTime `json:"snaplockExpiryTime,omitempty"`
	// Name of the Resource Pool Snapshot
	SnapshotName         *string `json:"snapshotName,omitempty"`
	AdditionalProperties map[string]interface{}
}

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) GetSnaplockExpiryTime added in v0.8.0

func (o *ResourcePoolSnapshot) GetSnaplockExpiryTime() time.Time

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

func (*ResourcePoolSnapshot) GetSnaplockExpiryTimeOk added in v0.8.0

func (o *ResourcePoolSnapshot) GetSnaplockExpiryTimeOk() (*time.Time, bool)

GetSnaplockExpiryTimeOk returns a tuple with the SnaplockExpiryTime 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) 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) HasSnaplockExpiryTime added in v0.8.0

func (o *ResourcePoolSnapshot) HasSnaplockExpiryTime() bool

HasSnaplockExpiryTime 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) SetSnaplockExpiryTime added in v0.8.0

func (o *ResourcePoolSnapshot) SetSnaplockExpiryTime(v time.Time)

SetSnaplockExpiryTime gets a reference to the given NullableTime and assigns it to the SnaplockExpiryTime field.

func (*ResourcePoolSnapshot) SetSnaplockExpiryTimeNil added in v0.8.0

func (o *ResourcePoolSnapshot) SetSnaplockExpiryTimeNil()

SetSnaplockExpiryTimeNil sets the value for SnaplockExpiryTime to be an explicit nil

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) UnmarshalJSON added in v0.6.0

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

func (*ResourcePoolSnapshot) UnsetComment

func (o *ResourcePoolSnapshot) UnsetComment()

UnsetComment ensures that no value is present for Comment, not even an explicit nil

func (*ResourcePoolSnapshot) UnsetSnaplockExpiryTime added in v0.8.0

func (o *ResourcePoolSnapshot) UnsetSnaplockExpiryTime()

UnsetSnaplockExpiryTime ensures that no value is present for SnaplockExpiryTime, not even an explicit nil

type ResourcePoolSnapshotPolicy added in v0.8.0

type ResourcePoolSnapshotPolicy struct {
	// ID of the Snapshot Policy
	Id *string `json:"id,omitempty"`
	// Name of the Snapshot Policy
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

ResourcePoolSnapshotPolicy struct for ResourcePoolSnapshotPolicy

func NewResourcePoolSnapshotPolicy added in v0.8.0

func NewResourcePoolSnapshotPolicy() *ResourcePoolSnapshotPolicy

NewResourcePoolSnapshotPolicy instantiates a new ResourcePoolSnapshotPolicy 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 NewResourcePoolSnapshotPolicyWithDefaults added in v0.8.0

func NewResourcePoolSnapshotPolicyWithDefaults() *ResourcePoolSnapshotPolicy

NewResourcePoolSnapshotPolicyWithDefaults instantiates a new ResourcePoolSnapshotPolicy 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 (*ResourcePoolSnapshotPolicy) GetId added in v0.8.0

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

func (*ResourcePoolSnapshotPolicy) GetIdOk added in v0.8.0

func (o *ResourcePoolSnapshotPolicy) 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 (*ResourcePoolSnapshotPolicy) GetName added in v0.8.0

func (o *ResourcePoolSnapshotPolicy) GetName() string

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

func (*ResourcePoolSnapshotPolicy) GetNameOk added in v0.8.0

func (o *ResourcePoolSnapshotPolicy) 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 (*ResourcePoolSnapshotPolicy) HasId added in v0.8.0

func (o *ResourcePoolSnapshotPolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*ResourcePoolSnapshotPolicy) HasName added in v0.8.0

func (o *ResourcePoolSnapshotPolicy) HasName() bool

HasName returns a boolean if a field has been set.

func (ResourcePoolSnapshotPolicy) MarshalJSON added in v0.8.0

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

func (*ResourcePoolSnapshotPolicy) SetId added in v0.8.0

func (o *ResourcePoolSnapshotPolicy) SetId(v string)

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

func (*ResourcePoolSnapshotPolicy) SetName added in v0.8.0

func (o *ResourcePoolSnapshotPolicy) SetName(v string)

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

func (ResourcePoolSnapshotPolicy) ToMap added in v0.8.0

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

func (*ResourcePoolSnapshotPolicy) UnmarshalJSON added in v0.8.0

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

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 by snapshots   (only available when retrieving a single Resource Pool by ID)
	UsedBySnapshotsGigabytes NullableFloat64 `json:"usedBySnapshotsGigabytes,omitempty"`
	// Used space of the Resource Pool   (only available when retrieving a single Resource Pool by ID)
	UsedGigabytes        NullableFloat64 `json:"usedGigabytes,omitempty"`
	AdditionalProperties map[string]interface{}
}

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) GetUsedBySnapshotsGigabytes added in v0.8.0

func (o *ResourcePoolSpace) GetUsedBySnapshotsGigabytes() float64

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

func (*ResourcePoolSpace) GetUsedBySnapshotsGigabytesOk added in v0.8.0

func (o *ResourcePoolSpace) GetUsedBySnapshotsGigabytesOk() (*float64, bool)

GetUsedBySnapshotsGigabytesOk returns a tuple with the UsedBySnapshotsGigabytes 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) 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) HasUsedBySnapshotsGigabytes added in v0.8.0

func (o *ResourcePoolSpace) HasUsedBySnapshotsGigabytes() bool

HasUsedBySnapshotsGigabytes 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) SetUsedBySnapshotsGigabytes added in v0.8.0

func (o *ResourcePoolSpace) SetUsedBySnapshotsGigabytes(v float64)

SetUsedBySnapshotsGigabytes gets a reference to the given NullableFloat64 and assigns it to the UsedBySnapshotsGigabytes field.

func (*ResourcePoolSpace) SetUsedBySnapshotsGigabytesNil added in v0.8.0

func (o *ResourcePoolSpace) SetUsedBySnapshotsGigabytesNil()

SetUsedBySnapshotsGigabytesNil sets the value for UsedBySnapshotsGigabytes to be an explicit nil

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) UnmarshalJSON added in v0.6.0

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

func (*ResourcePoolSpace) UnsetAvailableGigabytes

func (o *ResourcePoolSpace) UnsetAvailableGigabytes()

UnsetAvailableGigabytes ensures that no value is present for AvailableGigabytes, not even an explicit nil

func (*ResourcePoolSpace) UnsetUsedBySnapshotsGigabytes added in v0.8.0

func (o *ResourcePoolSpace) UnsetUsedBySnapshotsGigabytes()

UnsetUsedBySnapshotsGigabytes ensures that no value is present for UsedBySnapshotsGigabytes, 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 Schedule added in v0.8.0

type Schedule struct {
	// created at timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// ID of the Schedule
	Id *string `json:"id,omitempty"`
	// Interval of the Schedule (follows the cron schedule expression in Unix-like systems)
	Interval *string `json:"interval,omitempty"`
	// Name of the Schedule
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

Schedule struct for Schedule

func NewSchedule added in v0.8.0

func NewSchedule() *Schedule

NewSchedule instantiates a new Schedule 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 NewScheduleWithDefaults added in v0.8.0

func NewScheduleWithDefaults() *Schedule

NewScheduleWithDefaults instantiates a new Schedule 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 (*Schedule) GetCreatedAt added in v0.8.0

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

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

func (*Schedule) GetCreatedAtOk added in v0.8.0

func (o *Schedule) 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 (*Schedule) GetId added in v0.8.0

func (o *Schedule) GetId() string

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

func (*Schedule) GetIdOk added in v0.8.0

func (o *Schedule) 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 (*Schedule) GetInterval added in v0.8.0

func (o *Schedule) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*Schedule) GetIntervalOk added in v0.8.0

func (o *Schedule) GetIntervalOk() (*string, bool)

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

func (*Schedule) GetName added in v0.8.0

func (o *Schedule) GetName() string

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

func (*Schedule) GetNameOk added in v0.8.0

func (o *Schedule) 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 (*Schedule) HasCreatedAt added in v0.8.0

func (o *Schedule) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Schedule) HasId added in v0.8.0

func (o *Schedule) HasId() bool

HasId returns a boolean if a field has been set.

func (*Schedule) HasInterval added in v0.8.0

func (o *Schedule) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*Schedule) HasName added in v0.8.0

func (o *Schedule) HasName() bool

HasName returns a boolean if a field has been set.

func (Schedule) MarshalJSON added in v0.8.0

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

func (*Schedule) SetCreatedAt added in v0.8.0

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Schedule) SetId added in v0.8.0

func (o *Schedule) SetId(v string)

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

func (*Schedule) SetInterval added in v0.8.0

func (o *Schedule) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (*Schedule) SetName added in v0.8.0

func (o *Schedule) SetName(v string)

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

func (Schedule) ToMap added in v0.8.0

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

func (*Schedule) UnmarshalJSON added in v0.8.0

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

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"`
	AdditionalProperties map[string]interface{}
}

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) UnmarshalJSON added in v0.6.0

func (o *Share) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties    map[string]interface{}
}

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)

func (*ShareExportPolicy) UnmarshalJSON added in v0.6.0

func (o *ShareExportPolicy) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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) UnmarshalJSON added in v0.6.0

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

func (*ShareExportPolicyRule) UnsetDescription

func (o *ShareExportPolicyRule) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type SnapshotPolicy added in v0.8.0

type SnapshotPolicy struct {
	// Comment of the Snapshot Policy
	Comment *string `json:"comment,omitempty"`
	// created at timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Wether the Snapshot Policy is enabled
	Enabled *bool `json:"enabled,omitempty"`
	// ID of the Snapshot Policy
	Id *string `json:"id,omitempty"`
	// Name of the Snapshot Policy
	Name *string `json:"name,omitempty"`
	// (deprecated) associated schedules
	// Deprecated
	Schedules []SnapshotPolicySchedule `json:"schedules,omitempty"`
	// associated schedules
	SnapshotSchedules    []SnapshotPolicySnapshotPolicySchedule `json:"snapshotSchedules,omitempty"`
	AdditionalProperties map[string]interface{}
}

SnapshotPolicy struct for SnapshotPolicy

func NewSnapshotPolicy added in v0.8.0

func NewSnapshotPolicy() *SnapshotPolicy

NewSnapshotPolicy instantiates a new SnapshotPolicy 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 NewSnapshotPolicyWithDefaults added in v0.8.0

func NewSnapshotPolicyWithDefaults() *SnapshotPolicy

NewSnapshotPolicyWithDefaults instantiates a new SnapshotPolicy 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 (*SnapshotPolicy) GetComment added in v0.8.0

func (o *SnapshotPolicy) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*SnapshotPolicy) GetCommentOk added in v0.8.0

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

func (*SnapshotPolicy) GetCreatedAt added in v0.8.0

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

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

func (*SnapshotPolicy) GetCreatedAtOk added in v0.8.0

func (o *SnapshotPolicy) 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 (*SnapshotPolicy) GetEnabled added in v0.8.0

func (o *SnapshotPolicy) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*SnapshotPolicy) GetEnabledOk added in v0.8.0

func (o *SnapshotPolicy) GetEnabledOk() (*bool, bool)

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

func (*SnapshotPolicy) GetId added in v0.8.0

func (o *SnapshotPolicy) GetId() string

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

func (*SnapshotPolicy) GetIdOk added in v0.8.0

func (o *SnapshotPolicy) 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 (*SnapshotPolicy) GetName added in v0.8.0

func (o *SnapshotPolicy) GetName() string

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

func (*SnapshotPolicy) GetNameOk added in v0.8.0

func (o *SnapshotPolicy) 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 (*SnapshotPolicy) GetSchedules added in v0.8.0

func (o *SnapshotPolicy) GetSchedules() []SnapshotPolicySchedule

GetSchedules returns the Schedules field value if set, zero value otherwise. Deprecated

func (*SnapshotPolicy) GetSchedulesOk added in v0.8.0

func (o *SnapshotPolicy) GetSchedulesOk() ([]SnapshotPolicySchedule, bool)

GetSchedulesOk returns a tuple with the Schedules field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*SnapshotPolicy) GetSnapshotSchedules added in v0.9.0

func (o *SnapshotPolicy) GetSnapshotSchedules() []SnapshotPolicySnapshotPolicySchedule

GetSnapshotSchedules returns the SnapshotSchedules field value if set, zero value otherwise.

func (*SnapshotPolicy) GetSnapshotSchedulesOk added in v0.9.0

func (o *SnapshotPolicy) GetSnapshotSchedulesOk() ([]SnapshotPolicySnapshotPolicySchedule, bool)

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

func (*SnapshotPolicy) HasComment added in v0.8.0

func (o *SnapshotPolicy) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*SnapshotPolicy) HasCreatedAt added in v0.8.0

func (o *SnapshotPolicy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SnapshotPolicy) HasEnabled added in v0.8.0

func (o *SnapshotPolicy) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*SnapshotPolicy) HasId added in v0.8.0

func (o *SnapshotPolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*SnapshotPolicy) HasName added in v0.8.0

func (o *SnapshotPolicy) HasName() bool

HasName returns a boolean if a field has been set.

func (*SnapshotPolicy) HasSchedules added in v0.8.0

func (o *SnapshotPolicy) HasSchedules() bool

HasSchedules returns a boolean if a field has been set.

func (*SnapshotPolicy) HasSnapshotSchedules added in v0.9.0

func (o *SnapshotPolicy) HasSnapshotSchedules() bool

HasSnapshotSchedules returns a boolean if a field has been set.

func (SnapshotPolicy) MarshalJSON added in v0.8.0

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

func (*SnapshotPolicy) SetComment added in v0.8.0

func (o *SnapshotPolicy) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*SnapshotPolicy) SetCreatedAt added in v0.8.0

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SnapshotPolicy) SetEnabled added in v0.8.0

func (o *SnapshotPolicy) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*SnapshotPolicy) SetId added in v0.8.0

func (o *SnapshotPolicy) SetId(v string)

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

func (*SnapshotPolicy) SetName added in v0.8.0

func (o *SnapshotPolicy) SetName(v string)

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

func (*SnapshotPolicy) SetSchedules added in v0.8.0

func (o *SnapshotPolicy) SetSchedules(v []SnapshotPolicySchedule)

SetSchedules gets a reference to the given []SnapshotPolicySchedule and assigns it to the Schedules field. Deprecated

func (*SnapshotPolicy) SetSnapshotSchedules added in v0.9.0

func (o *SnapshotPolicy) SetSnapshotSchedules(v []SnapshotPolicySnapshotPolicySchedule)

SetSnapshotSchedules gets a reference to the given []SnapshotPolicySnapshotPolicySchedule and assigns it to the SnapshotSchedules field.

func (SnapshotPolicy) ToMap added in v0.8.0

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

func (*SnapshotPolicy) UnmarshalJSON added in v0.8.0

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

type SnapshotPolicySchedule added in v0.8.0

type SnapshotPolicySchedule struct {
	// Retention Count
	Count *int32 `json:"count,omitempty"`
	// Interval of the Schedule (follows the cron schedule expression in Unix-like systems)
	Interval *string `json:"interval,omitempty"`
	// Prefix used for the snapshots created by this policy
	Prefix *string `json:"prefix,omitempty"`
	// Retention Period (ISO 8601 format or \"infinite\")
	RetentionPeriod *string `json:"retentionPeriod,omitempty"`
	// ID of the Schedule
	ScheduleId           *string `json:"scheduleId,omitempty"`
	AdditionalProperties map[string]interface{}
}

SnapshotPolicySchedule struct for SnapshotPolicySchedule

func NewSnapshotPolicySchedule added in v0.8.0

func NewSnapshotPolicySchedule() *SnapshotPolicySchedule

NewSnapshotPolicySchedule instantiates a new SnapshotPolicySchedule 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 NewSnapshotPolicyScheduleWithDefaults added in v0.8.0

func NewSnapshotPolicyScheduleWithDefaults() *SnapshotPolicySchedule

NewSnapshotPolicyScheduleWithDefaults instantiates a new SnapshotPolicySchedule 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 (*SnapshotPolicySchedule) GetCount added in v0.8.0

func (o *SnapshotPolicySchedule) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*SnapshotPolicySchedule) GetCountOk added in v0.8.0

func (o *SnapshotPolicySchedule) GetCountOk() (*int32, bool)

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

func (*SnapshotPolicySchedule) GetInterval added in v0.9.0

func (o *SnapshotPolicySchedule) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*SnapshotPolicySchedule) GetIntervalOk added in v0.9.0

func (o *SnapshotPolicySchedule) GetIntervalOk() (*string, bool)

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

func (*SnapshotPolicySchedule) GetPrefix added in v0.8.0

func (o *SnapshotPolicySchedule) GetPrefix() string

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*SnapshotPolicySchedule) GetPrefixOk added in v0.8.0

func (o *SnapshotPolicySchedule) GetPrefixOk() (*string, bool)

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

func (*SnapshotPolicySchedule) GetRetentionPeriod added in v0.8.0

func (o *SnapshotPolicySchedule) GetRetentionPeriod() string

GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.

func (*SnapshotPolicySchedule) GetRetentionPeriodOk added in v0.8.0

func (o *SnapshotPolicySchedule) GetRetentionPeriodOk() (*string, bool)

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

func (*SnapshotPolicySchedule) GetScheduleId added in v0.8.0

func (o *SnapshotPolicySchedule) GetScheduleId() string

GetScheduleId returns the ScheduleId field value if set, zero value otherwise.

func (*SnapshotPolicySchedule) GetScheduleIdOk added in v0.8.0

func (o *SnapshotPolicySchedule) GetScheduleIdOk() (*string, bool)

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

func (*SnapshotPolicySchedule) HasCount added in v0.8.0

func (o *SnapshotPolicySchedule) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*SnapshotPolicySchedule) HasInterval added in v0.9.0

func (o *SnapshotPolicySchedule) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*SnapshotPolicySchedule) HasPrefix added in v0.8.0

func (o *SnapshotPolicySchedule) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*SnapshotPolicySchedule) HasRetentionPeriod added in v0.8.0

func (o *SnapshotPolicySchedule) HasRetentionPeriod() bool

HasRetentionPeriod returns a boolean if a field has been set.

func (*SnapshotPolicySchedule) HasScheduleId added in v0.8.0

func (o *SnapshotPolicySchedule) HasScheduleId() bool

HasScheduleId returns a boolean if a field has been set.

func (SnapshotPolicySchedule) MarshalJSON added in v0.8.0

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

func (*SnapshotPolicySchedule) SetCount added in v0.8.0

func (o *SnapshotPolicySchedule) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*SnapshotPolicySchedule) SetInterval added in v0.9.0

func (o *SnapshotPolicySchedule) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (*SnapshotPolicySchedule) SetPrefix added in v0.8.0

func (o *SnapshotPolicySchedule) SetPrefix(v string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*SnapshotPolicySchedule) SetRetentionPeriod added in v0.8.0

func (o *SnapshotPolicySchedule) SetRetentionPeriod(v string)

SetRetentionPeriod gets a reference to the given string and assigns it to the RetentionPeriod field.

func (*SnapshotPolicySchedule) SetScheduleId added in v0.8.0

func (o *SnapshotPolicySchedule) SetScheduleId(v string)

SetScheduleId gets a reference to the given string and assigns it to the ScheduleId field.

func (SnapshotPolicySchedule) ToMap added in v0.8.0

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

func (*SnapshotPolicySchedule) UnmarshalJSON added in v0.8.0

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

type SnapshotPolicySnapshotPolicySchedule added in v0.9.0

type SnapshotPolicySnapshotPolicySchedule struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// ID of the Schedule
	Id *string `json:"id,omitempty"`
	// Interval of the Schedule (follows the cron schedule expression in Unix-like systems)
	Interval *string `json:"interval,omitempty"`
	// Name of the Schedule
	Name *string `json:"name,omitempty"`
	// Prefix used for the snapshots created by this policy
	Prefix *string `json:"prefix,omitempty"`
	// Retention Count
	RetentionCount *int32 `json:"retentionCount,omitempty"`
	// Retention Period (ISO 8601 format or \"infinite\")
	RetentionPeriod      *string `json:"retentionPeriod,omitempty"`
	AdditionalProperties map[string]interface{}
}

SnapshotPolicySnapshotPolicySchedule struct for SnapshotPolicySnapshotPolicySchedule

func NewSnapshotPolicySnapshotPolicySchedule added in v0.9.0

func NewSnapshotPolicySnapshotPolicySchedule() *SnapshotPolicySnapshotPolicySchedule

NewSnapshotPolicySnapshotPolicySchedule instantiates a new SnapshotPolicySnapshotPolicySchedule 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 NewSnapshotPolicySnapshotPolicyScheduleWithDefaults added in v0.9.0

func NewSnapshotPolicySnapshotPolicyScheduleWithDefaults() *SnapshotPolicySnapshotPolicySchedule

NewSnapshotPolicySnapshotPolicyScheduleWithDefaults instantiates a new SnapshotPolicySnapshotPolicySchedule 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 (*SnapshotPolicySnapshotPolicySchedule) GetCreatedAt added in v0.9.0

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

func (*SnapshotPolicySnapshotPolicySchedule) GetCreatedAtOk added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) 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 (*SnapshotPolicySnapshotPolicySchedule) GetId added in v0.9.0

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

func (*SnapshotPolicySnapshotPolicySchedule) GetIdOk added in v0.9.0

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 (*SnapshotPolicySnapshotPolicySchedule) GetInterval added in v0.9.0

GetInterval returns the Interval field value if set, zero value otherwise.

func (*SnapshotPolicySnapshotPolicySchedule) GetIntervalOk added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) GetIntervalOk() (*string, bool)

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

func (*SnapshotPolicySnapshotPolicySchedule) GetName added in v0.9.0

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

func (*SnapshotPolicySnapshotPolicySchedule) GetNameOk added in v0.9.0

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 (*SnapshotPolicySnapshotPolicySchedule) GetPrefix added in v0.9.0

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*SnapshotPolicySnapshotPolicySchedule) GetPrefixOk added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) GetPrefixOk() (*string, bool)

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

func (*SnapshotPolicySnapshotPolicySchedule) GetRetentionCount added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) GetRetentionCount() int32

GetRetentionCount returns the RetentionCount field value if set, zero value otherwise.

func (*SnapshotPolicySnapshotPolicySchedule) GetRetentionCountOk added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) GetRetentionCountOk() (*int32, bool)

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

func (*SnapshotPolicySnapshotPolicySchedule) GetRetentionPeriod added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) GetRetentionPeriod() string

GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.

func (*SnapshotPolicySnapshotPolicySchedule) GetRetentionPeriodOk added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) GetRetentionPeriodOk() (*string, bool)

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

func (*SnapshotPolicySnapshotPolicySchedule) HasCreatedAt added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SnapshotPolicySnapshotPolicySchedule) HasId added in v0.9.0

HasId returns a boolean if a field has been set.

func (*SnapshotPolicySnapshotPolicySchedule) HasInterval added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*SnapshotPolicySnapshotPolicySchedule) HasName added in v0.9.0

HasName returns a boolean if a field has been set.

func (*SnapshotPolicySnapshotPolicySchedule) HasPrefix added in v0.9.0

HasPrefix returns a boolean if a field has been set.

func (*SnapshotPolicySnapshotPolicySchedule) HasRetentionCount added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) HasRetentionCount() bool

HasRetentionCount returns a boolean if a field has been set.

func (*SnapshotPolicySnapshotPolicySchedule) HasRetentionPeriod added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) HasRetentionPeriod() bool

HasRetentionPeriod returns a boolean if a field has been set.

func (SnapshotPolicySnapshotPolicySchedule) MarshalJSON added in v0.9.0

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

func (*SnapshotPolicySnapshotPolicySchedule) SetCreatedAt added in v0.9.0

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SnapshotPolicySnapshotPolicySchedule) SetId added in v0.9.0

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

func (*SnapshotPolicySnapshotPolicySchedule) SetInterval added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (*SnapshotPolicySnapshotPolicySchedule) SetName added in v0.9.0

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

func (*SnapshotPolicySnapshotPolicySchedule) SetPrefix added in v0.9.0

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*SnapshotPolicySnapshotPolicySchedule) SetRetentionCount added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) SetRetentionCount(v int32)

SetRetentionCount gets a reference to the given int32 and assigns it to the RetentionCount field.

func (*SnapshotPolicySnapshotPolicySchedule) SetRetentionPeriod added in v0.9.0

func (o *SnapshotPolicySnapshotPolicySchedule) SetRetentionPeriod(v string)

SetRetentionPeriod gets a reference to the given string and assigns it to the RetentionPeriod field.

func (SnapshotPolicySnapshotPolicySchedule) ToMap added in v0.9.0

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

func (*SnapshotPolicySnapshotPolicySchedule) UnmarshalJSON added in v0.9.0

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

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*Status) UnmarshalJSON added in v0.6.0

func (o *Status) UnmarshalJSON(data []byte) (err 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"`
	// (optional) Id of the Snapshot Policy to use  If not set, the Snapshot Policy is not updated  If set to an empty string, the Snapshot Policy is removed
	SnapshotPolicyId *string `json:"snapshotPolicyId,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"`
	AdditionalProperties map[string]interface{}
}

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) GetSnapshotPolicyId added in v0.8.0

func (o *UpdateResourcePoolPayload) GetSnapshotPolicyId() string

GetSnapshotPolicyId returns the SnapshotPolicyId field value if set, zero value otherwise.

func (*UpdateResourcePoolPayload) GetSnapshotPolicyIdOk added in v0.8.0

func (o *UpdateResourcePoolPayload) GetSnapshotPolicyIdOk() (*string, bool)

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

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) HasSnapshotPolicyId added in v0.8.0

func (o *UpdateResourcePoolPayload) HasSnapshotPolicyId() bool

HasSnapshotPolicyId 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) SetSnapshotPolicyId added in v0.8.0

func (o *UpdateResourcePoolPayload) SetSnapshotPolicyId(v string)

SetSnapshotPolicyId gets a reference to the given string and assigns it to the SnapshotPolicyId field.

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) UnmarshalJSON added in v0.6.0

func (o *UpdateResourcePoolPayload) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*UpdateResourcePoolResponse) UnmarshalJSON added in v0.6.0

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

type UpdateResourcePoolSnapshotPayload added in v0.8.0

type UpdateResourcePoolSnapshotPayload struct {
	// (optional) A comment to add more information about a snapshot
	Comment NullableString `json:"comment,omitempty"`
	// (optional) name of the Resource Pool Snapshot
	Name                 NullableString `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateResourcePoolSnapshotPayload struct for UpdateResourcePoolSnapshotPayload

func NewUpdateResourcePoolSnapshotPayload added in v0.8.0

func NewUpdateResourcePoolSnapshotPayload() *UpdateResourcePoolSnapshotPayload

NewUpdateResourcePoolSnapshotPayload instantiates a new UpdateResourcePoolSnapshotPayload 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 NewUpdateResourcePoolSnapshotPayloadWithDefaults added in v0.8.0

func NewUpdateResourcePoolSnapshotPayloadWithDefaults() *UpdateResourcePoolSnapshotPayload

NewUpdateResourcePoolSnapshotPayloadWithDefaults instantiates a new UpdateResourcePoolSnapshotPayload 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 (*UpdateResourcePoolSnapshotPayload) GetComment added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) GetComment() string

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

func (*UpdateResourcePoolSnapshotPayload) GetCommentOk added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) 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 (*UpdateResourcePoolSnapshotPayload) GetName added in v0.8.0

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

func (*UpdateResourcePoolSnapshotPayload) GetNameOk added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateResourcePoolSnapshotPayload) HasComment added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*UpdateResourcePoolSnapshotPayload) HasName added in v0.8.0

HasName returns a boolean if a field has been set.

func (UpdateResourcePoolSnapshotPayload) MarshalJSON added in v0.8.0

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

func (*UpdateResourcePoolSnapshotPayload) SetComment added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) SetComment(v string)

SetComment gets a reference to the given NullableString and assigns it to the Comment field.

func (*UpdateResourcePoolSnapshotPayload) SetCommentNil added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) SetCommentNil()

SetCommentNil sets the value for Comment to be an explicit nil

func (*UpdateResourcePoolSnapshotPayload) SetName added in v0.8.0

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

func (*UpdateResourcePoolSnapshotPayload) SetNameNil added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (UpdateResourcePoolSnapshotPayload) ToMap added in v0.8.0

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

func (*UpdateResourcePoolSnapshotPayload) UnmarshalJSON added in v0.8.0

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

func (*UpdateResourcePoolSnapshotPayload) UnsetComment added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) UnsetComment()

UnsetComment ensures that no value is present for Comment, not even an explicit nil

func (*UpdateResourcePoolSnapshotPayload) UnsetName added in v0.8.0

func (o *UpdateResourcePoolSnapshotPayload) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

type UpdateResourcePoolSnapshotResponse added in v0.8.0

type UpdateResourcePoolSnapshotResponse struct {
	// Updated Resource Pool Snapshot
	ResourcePoolSnapshot *ResourcePoolSnapshot `json:"resourcePoolSnapshot,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateResourcePoolSnapshotResponse struct for UpdateResourcePoolSnapshotResponse

func NewUpdateResourcePoolSnapshotResponse added in v0.8.0

func NewUpdateResourcePoolSnapshotResponse() *UpdateResourcePoolSnapshotResponse

NewUpdateResourcePoolSnapshotResponse instantiates a new UpdateResourcePoolSnapshotResponse 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 NewUpdateResourcePoolSnapshotResponseWithDefaults added in v0.8.0

func NewUpdateResourcePoolSnapshotResponseWithDefaults() *UpdateResourcePoolSnapshotResponse

NewUpdateResourcePoolSnapshotResponseWithDefaults instantiates a new UpdateResourcePoolSnapshotResponse 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 (*UpdateResourcePoolSnapshotResponse) GetResourcePoolSnapshot added in v0.8.0

func (o *UpdateResourcePoolSnapshotResponse) GetResourcePoolSnapshot() ResourcePoolSnapshot

GetResourcePoolSnapshot returns the ResourcePoolSnapshot field value if set, zero value otherwise.

func (*UpdateResourcePoolSnapshotResponse) GetResourcePoolSnapshotOk added in v0.8.0

func (o *UpdateResourcePoolSnapshotResponse) 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 (*UpdateResourcePoolSnapshotResponse) HasResourcePoolSnapshot added in v0.8.0

func (o *UpdateResourcePoolSnapshotResponse) HasResourcePoolSnapshot() bool

HasResourcePoolSnapshot returns a boolean if a field has been set.

func (UpdateResourcePoolSnapshotResponse) MarshalJSON added in v0.8.0

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

func (*UpdateResourcePoolSnapshotResponse) SetResourcePoolSnapshot added in v0.8.0

func (o *UpdateResourcePoolSnapshotResponse) SetResourcePoolSnapshot(v ResourcePoolSnapshot)

SetResourcePoolSnapshot gets a reference to the given ResourcePoolSnapshot and assigns it to the ResourcePoolSnapshot field.

func (UpdateResourcePoolSnapshotResponse) ToMap added in v0.8.0

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

func (*UpdateResourcePoolSnapshotResponse) UnmarshalJSON added in v0.8.0

func (o *UpdateResourcePoolSnapshotResponse) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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) UnmarshalJSON added in v0.6.0

func (o *UpdateShareExportPolicyBodyRule) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*UpdateShareExportPolicyPayload) UnmarshalJSON added in v0.6.0

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

type UpdateShareExportPolicyResponse

type UpdateShareExportPolicyResponse struct {
	ShareExportPolicy    *ShareExportPolicy `json:"shareExportPolicy,omitempty"`
	AdditionalProperties map[string]interface{}
}

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)

func (*UpdateShareExportPolicyResponse) UnmarshalJSON added in v0.6.0

func (o *UpdateShareExportPolicyResponse) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties    map[string]interface{}
}

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) UnmarshalJSON added in v0.6.0

func (o *UpdateSharePayload) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*UpdateShareResponse) UnmarshalJSON added in v0.6.0

func (o *UpdateShareResponse) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

ValidationErrorField struct for ValidationErrorField

func NewValidationErrorField

func NewValidationErrorField(field string, reason string) *ValidationErrorField

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

func NewValidationErrorFieldWithDefaults

func NewValidationErrorFieldWithDefaults() *ValidationErrorField

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

func (*ValidationErrorField) GetField

func (o *ValidationErrorField) GetField() string

GetField returns the Field field value

func (*ValidationErrorField) GetFieldOk

func (o *ValidationErrorField) GetFieldOk() (*string, bool)

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

func (*ValidationErrorField) GetReason

func (o *ValidationErrorField) GetReason() string

GetReason returns the Reason field value

func (*ValidationErrorField) GetReasonOk

func (o *ValidationErrorField) GetReasonOk() (*string, bool)

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

func (ValidationErrorField) MarshalJSON

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

func (*ValidationErrorField) SetField

func (o *ValidationErrorField) SetField(v string)

SetField sets field value

func (*ValidationErrorField) SetReason

func (o *ValidationErrorField) SetReason(v string)

SetReason sets field value

func (ValidationErrorField) ToMap

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

func (*ValidationErrorField) UnmarshalJSON

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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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