Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | ||
Handle | string | ||
EbsVolumeId | NullableString | ||
EbsVolumeType | NullableString | ||
Filesystem | string | ||
Passphrase | Pointer to string | [optional] | |
KeyBytes | int32 | ||
Size | int32 | ||
ProvisionedIops | int32 | ||
Host | NullableString | ||
Device | NullableString | ||
Attached | bool | ||
MetaType | string | ||
CreatedAt | string | ||
UpdatedAt | string | ||
Ec2InstanceId | NullableString | ||
BaselineIops | NullableInt32 | ||
AvailabilityZone | NullableString | ||
CurrentKmsArn | NullableString | ||
Links | Pointer to DiskLinks | [optional] |
func NewDisk(id int32, handle string, ebsVolumeId NullableString, ebsVolumeType NullableString, filesystem string, keyBytes int32, size int32, provisionedIops int32, host NullableString, device NullableString, attached bool, metaType string, createdAt string, updatedAt string, ec2InstanceId NullableString, baselineIops NullableInt32, availabilityZone NullableString, currentKmsArn NullableString, ) *Disk
NewDisk instantiates a new Disk 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 NewDiskWithDefaults() *Disk
NewDiskWithDefaults instantiates a new Disk 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 *Disk) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetId(v int32)
SetId sets Id field to given value.
func (o *Disk) GetHandle() string
GetHandle returns the Handle field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetHandle(v string)
SetHandle sets Handle field to given value.
func (o *Disk) GetEbsVolumeId() string
GetEbsVolumeId returns the EbsVolumeId field if non-nil, zero value otherwise.
func (o *Disk) GetEbsVolumeIdOk() (*string, bool)
GetEbsVolumeIdOk returns a tuple with the EbsVolumeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetEbsVolumeId(v string)
SetEbsVolumeId sets EbsVolumeId field to given value.
func (o *Disk) SetEbsVolumeIdNil(b bool)
SetEbsVolumeIdNil sets the value for EbsVolumeId to be an explicit nil
func (o *Disk) UnsetEbsVolumeId()
UnsetEbsVolumeId ensures that no value is present for EbsVolumeId, not even an explicit nil
func (o *Disk) GetEbsVolumeType() string
GetEbsVolumeType returns the EbsVolumeType field if non-nil, zero value otherwise.
func (o *Disk) GetEbsVolumeTypeOk() (*string, bool)
GetEbsVolumeTypeOk returns a tuple with the EbsVolumeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetEbsVolumeType(v string)
SetEbsVolumeType sets EbsVolumeType field to given value.
func (o *Disk) SetEbsVolumeTypeNil(b bool)
SetEbsVolumeTypeNil sets the value for EbsVolumeType to be an explicit nil
func (o *Disk) UnsetEbsVolumeType()
UnsetEbsVolumeType ensures that no value is present for EbsVolumeType, not even an explicit nil
func (o *Disk) GetFilesystem() string
GetFilesystem returns the Filesystem field if non-nil, zero value otherwise.
func (o *Disk) GetFilesystemOk() (*string, bool)
GetFilesystemOk returns a tuple with the Filesystem field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetFilesystem(v string)
SetFilesystem sets Filesystem field to given value.
func (o *Disk) GetPassphrase() string
GetPassphrase returns the Passphrase field if non-nil, zero value otherwise.
func (o *Disk) GetPassphraseOk() (*string, bool)
GetPassphraseOk returns a tuple with the Passphrase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetPassphrase(v string)
SetPassphrase sets Passphrase field to given value.
func (o *Disk) HasPassphrase() bool
HasPassphrase returns a boolean if a field has been set.
func (o *Disk) GetKeyBytes() int32
GetKeyBytes returns the KeyBytes field if non-nil, zero value otherwise.
func (o *Disk) GetKeyBytesOk() (*int32, bool)
GetKeyBytesOk returns a tuple with the KeyBytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetKeyBytes(v int32)
SetKeyBytes sets KeyBytes field to given value.
func (o *Disk) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetSize(v int32)
SetSize sets Size field to given value.
func (o *Disk) GetProvisionedIops() int32
GetProvisionedIops returns the ProvisionedIops field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetProvisionedIops(v int32)
SetProvisionedIops sets ProvisionedIops field to given value.
func (o *Disk) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *Disk) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetHost(v string)
SetHost sets Host field to given value.
func (o *Disk) SetHostNil(b bool)
SetHostNil sets the value for Host to be an explicit nil
func (o *Disk) UnsetHost()
UnsetHost ensures that no value is present for Host, not even an explicit nil
func (o *Disk) GetDevice() string
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *Disk) GetDeviceOk() (*string, bool)
GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetDevice(v string)
SetDevice sets Device field to given value.
func (o *Disk) SetDeviceNil(b bool)
SetDeviceNil sets the value for Device to be an explicit nil
func (o *Disk) UnsetDevice()
UnsetDevice ensures that no value is present for Device, not even an explicit nil
func (o *Disk) GetAttached() bool
GetAttached returns the Attached field if non-nil, zero value otherwise.
func (o *Disk) GetAttachedOk() (*bool, bool)
GetAttachedOk returns a tuple with the Attached field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetAttached(v bool)
SetAttached sets Attached field to given value.
func (o *Disk) GetMetaType() string
GetMetaType returns the MetaType field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetMetaType(v string)
SetMetaType sets MetaType field to given value.
func (o *Disk) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *Disk) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Disk) GetEc2InstanceId() string
GetEc2InstanceId returns the Ec2InstanceId field if non-nil, zero value otherwise.
func (o *Disk) GetEc2InstanceIdOk() (*string, bool)
GetEc2InstanceIdOk returns a tuple with the Ec2InstanceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetEc2InstanceId(v string)
SetEc2InstanceId sets Ec2InstanceId field to given value.
func (o *Disk) SetEc2InstanceIdNil(b bool)
SetEc2InstanceIdNil sets the value for Ec2InstanceId to be an explicit nil
func (o *Disk) UnsetEc2InstanceId()
UnsetEc2InstanceId ensures that no value is present for Ec2InstanceId, not even an explicit nil
func (o *Disk) GetBaselineIops() int32
GetBaselineIops returns the BaselineIops field if non-nil, zero value otherwise.
func (o *Disk) GetBaselineIopsOk() (*int32, bool)
GetBaselineIopsOk returns a tuple with the BaselineIops field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetBaselineIops(v int32)
SetBaselineIops sets BaselineIops field to given value.
func (o *Disk) SetBaselineIopsNil(b bool)
SetBaselineIopsNil sets the value for BaselineIops to be an explicit nil
func (o *Disk) UnsetBaselineIops()
UnsetBaselineIops ensures that no value is present for BaselineIops, not even an explicit nil
func (o *Disk) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
func (o *Disk) 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 *Disk) SetAvailabilityZone(v string)
SetAvailabilityZone sets AvailabilityZone field to given value.
func (o *Disk) SetAvailabilityZoneNil(b bool)
SetAvailabilityZoneNil sets the value for AvailabilityZone to be an explicit nil
func (o *Disk) UnsetAvailabilityZone()
UnsetAvailabilityZone ensures that no value is present for AvailabilityZone, not even an explicit nil
func (o *Disk) GetCurrentKmsArn() string
GetCurrentKmsArn returns the CurrentKmsArn field if non-nil, zero value otherwise.
func (o *Disk) GetCurrentKmsArnOk() (*string, bool)
GetCurrentKmsArnOk returns a tuple with the CurrentKmsArn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Disk) SetCurrentKmsArn(v string)
SetCurrentKmsArn sets CurrentKmsArn field to given value.
func (o *Disk) SetCurrentKmsArnNil(b bool)
SetCurrentKmsArnNil sets the value for CurrentKmsArn to be an explicit nil
func (o *Disk) UnsetCurrentKmsArn()
UnsetCurrentKmsArn ensures that no value is present for CurrentKmsArn, not even an explicit nil
func (o *Disk) GetLinks() DiskLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *Disk) GetLinksOk() (*DiskLinks, 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 *Disk) SetLinks(v DiskLinks)
SetLinks sets Links field to given value.
func (o *Disk) HasLinks() bool
HasLinks returns a boolean if a field has been set.