Name | Type | Description | Notes |
---|---|---|---|
MetaType | string | ||
Id | int32 | ||
Handle | string | ||
Status | string | ||
DiskType | string | ||
Size | int32 | ||
ProvisionedIops | int32 | ||
DiskStatus | NullableString | ||
AwsResourceId | NullableString | ||
KmsArn | NullableString | ||
ModificationProgress | NullableInt32 | ||
AvailabilityZone | NullableString | ||
Formatted | bool | ||
CreatedAt | string | ||
UpdatedAt | string | ||
ModifiedAt | NullableString | ||
DeletedAt | NullableString | ||
Links | Pointer to PersistentDiskLinks | [optional] |
func NewPersistentDisk(metaType string, id int32, handle string, status string, diskType string, size int32, provisionedIops int32, diskStatus NullableString, awsResourceId NullableString, kmsArn NullableString, modificationProgress NullableInt32, availabilityZone NullableString, formatted bool, createdAt string, updatedAt string, modifiedAt NullableString, deletedAt NullableString, ) *PersistentDisk
NewPersistentDisk instantiates a new PersistentDisk 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 NewPersistentDiskWithDefaults() *PersistentDisk
NewPersistentDiskWithDefaults instantiates a new PersistentDisk 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 (o *PersistentDisk) GetMetaType() string
GetMetaType returns the MetaType field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetMetaTypeOk() (*string, bool)
GetMetaTypeOk returns a tuple with the MetaType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetMetaType(v string)
SetMetaType sets MetaType field to given value.
func (o *PersistentDisk) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetId(v int32)
SetId sets Id field to given value.
func (o *PersistentDisk) GetHandle() string
GetHandle returns the Handle field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetHandle(v string)
SetHandle sets Handle field to given value.
func (o *PersistentDisk) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *PersistentDisk) GetDiskType() string
GetDiskType returns the DiskType field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetDiskTypeOk() (*string, bool)
GetDiskTypeOk returns a tuple with the DiskType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetDiskType(v string)
SetDiskType sets DiskType field to given value.
func (o *PersistentDisk) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetSize(v int32)
SetSize sets Size field to given value.
func (o *PersistentDisk) GetProvisionedIops() int32
GetProvisionedIops returns the ProvisionedIops field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetProvisionedIopsOk() (*int32, bool)
GetProvisionedIopsOk returns a tuple with the ProvisionedIops field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetProvisionedIops(v int32)
SetProvisionedIops sets ProvisionedIops field to given value.
func (o *PersistentDisk) GetDiskStatus() string
GetDiskStatus returns the DiskStatus field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetDiskStatusOk() (*string, bool)
GetDiskStatusOk returns a tuple with the DiskStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetDiskStatus(v string)
SetDiskStatus sets DiskStatus field to given value.
func (o *PersistentDisk) SetDiskStatusNil(b bool)
SetDiskStatusNil sets the value for DiskStatus to be an explicit nil
func (o *PersistentDisk) UnsetDiskStatus()
UnsetDiskStatus ensures that no value is present for DiskStatus, not even an explicit nil
func (o *PersistentDisk) GetAwsResourceId() string
GetAwsResourceId returns the AwsResourceId field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetAwsResourceIdOk() (*string, bool)
GetAwsResourceIdOk returns a tuple with the AwsResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetAwsResourceId(v string)
SetAwsResourceId sets AwsResourceId field to given value.
func (o *PersistentDisk) SetAwsResourceIdNil(b bool)
SetAwsResourceIdNil sets the value for AwsResourceId to be an explicit nil
func (o *PersistentDisk) UnsetAwsResourceId()
UnsetAwsResourceId ensures that no value is present for AwsResourceId, not even an explicit nil
func (o *PersistentDisk) GetKmsArn() string
GetKmsArn returns the KmsArn field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetKmsArnOk() (*string, bool)
GetKmsArnOk returns a tuple with the KmsArn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetKmsArn(v string)
SetKmsArn sets KmsArn field to given value.
func (o *PersistentDisk) SetKmsArnNil(b bool)
SetKmsArnNil sets the value for KmsArn to be an explicit nil
func (o *PersistentDisk) UnsetKmsArn()
UnsetKmsArn ensures that no value is present for KmsArn, not even an explicit nil
func (o *PersistentDisk) GetModificationProgress() int32
GetModificationProgress returns the ModificationProgress field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetModificationProgressOk() (*int32, bool)
GetModificationProgressOk returns a tuple with the ModificationProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetModificationProgress(v int32)
SetModificationProgress sets ModificationProgress field to given value.
func (o *PersistentDisk) SetModificationProgressNil(b bool)
SetModificationProgressNil sets the value for ModificationProgress to be an explicit nil
func (o *PersistentDisk) UnsetModificationProgress()
UnsetModificationProgress ensures that no value is present for ModificationProgress, not even an explicit nil
func (o *PersistentDisk) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetAvailabilityZoneOk() (*string, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetAvailabilityZone(v string)
SetAvailabilityZone sets AvailabilityZone field to given value.
func (o *PersistentDisk) SetAvailabilityZoneNil(b bool)
SetAvailabilityZoneNil sets the value for AvailabilityZone to be an explicit nil
func (o *PersistentDisk) UnsetAvailabilityZone()
UnsetAvailabilityZone ensures that no value is present for AvailabilityZone, not even an explicit nil
func (o *PersistentDisk) GetFormatted() bool
GetFormatted returns the Formatted field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetFormattedOk() (*bool, bool)
GetFormattedOk returns a tuple with the Formatted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetFormatted(v bool)
SetFormatted sets Formatted field to given value.
func (o *PersistentDisk) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *PersistentDisk) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *PersistentDisk) GetModifiedAt() string
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetModifiedAtOk() (*string, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetModifiedAt(v string)
SetModifiedAt sets ModifiedAt field to given value.
func (o *PersistentDisk) SetModifiedAtNil(b bool)
SetModifiedAtNil sets the value for ModifiedAt to be an explicit nil
func (o *PersistentDisk) UnsetModifiedAt()
UnsetModifiedAt ensures that no value is present for ModifiedAt, not even an explicit nil
func (o *PersistentDisk) GetDeletedAt() string
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetDeletedAtOk() (*string, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetDeletedAt(v string)
SetDeletedAt sets DeletedAt field to given value.
func (o *PersistentDisk) SetDeletedAtNil(b bool)
SetDeletedAtNil sets the value for DeletedAt to be an explicit nil
func (o *PersistentDisk) UnsetDeletedAt()
UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil
func (o *PersistentDisk) GetLinks() PersistentDiskLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *PersistentDisk) GetLinksOk() (*PersistentDiskLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PersistentDisk) SetLinks(v PersistentDiskLinks)
SetLinks sets Links field to given value.
func (o *PersistentDisk) HasLinks() bool
HasLinks returns a boolean if a field has been set.