Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] [readonly] | |
Device | Pointer to string | [optional] [readonly] | |
Model | Pointer to string | [optional] [readonly] | |
Revision | Pointer to string | [optional] [readonly] | |
SerialNumber | Pointer to string | [optional] [readonly] | |
SizeMegabytes | Pointer to int64 | Disk Size in MB. | [optional] [readonly] |
SmartStatus | Pointer to string | S.M.A.R.T Status | [optional] [readonly] |
Type | Pointer to string | Connection type attribute. | [optional] [readonly] |
Partitions | Pointer to []ComputerPartition | [optional] |
func NewComputerDisk() *ComputerDisk
NewComputerDisk instantiates a new ComputerDisk 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 NewComputerDiskWithDefaults() *ComputerDisk
NewComputerDiskWithDefaults instantiates a new ComputerDisk 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 *ComputerDisk) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetIdOk() (*string, 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 *ComputerDisk) SetId(v string)
SetId sets Id field to given value.
func (o *ComputerDisk) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ComputerDisk) GetDevice() string
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *ComputerDisk) 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 *ComputerDisk) SetDevice(v string)
SetDevice sets Device field to given value.
func (o *ComputerDisk) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (o *ComputerDisk) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComputerDisk) SetModel(v string)
SetModel sets Model field to given value.
func (o *ComputerDisk) HasModel() bool
HasModel returns a boolean if a field has been set.
func (o *ComputerDisk) GetRevision() string
GetRevision returns the Revision field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetRevisionOk() (*string, bool)
GetRevisionOk returns a tuple with the Revision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComputerDisk) SetRevision(v string)
SetRevision sets Revision field to given value.
func (o *ComputerDisk) HasRevision() bool
HasRevision returns a boolean if a field has been set.
func (o *ComputerDisk) GetSerialNumber() string
GetSerialNumber returns the SerialNumber field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetSerialNumberOk() (*string, bool)
GetSerialNumberOk returns a tuple with the SerialNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComputerDisk) SetSerialNumber(v string)
SetSerialNumber sets SerialNumber field to given value.
func (o *ComputerDisk) HasSerialNumber() bool
HasSerialNumber returns a boolean if a field has been set.
func (o *ComputerDisk) GetSizeMegabytes() int64
GetSizeMegabytes returns the SizeMegabytes field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetSizeMegabytesOk() (*int64, bool)
GetSizeMegabytesOk returns a tuple with the SizeMegabytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComputerDisk) SetSizeMegabytes(v int64)
SetSizeMegabytes sets SizeMegabytes field to given value.
func (o *ComputerDisk) HasSizeMegabytes() bool
HasSizeMegabytes returns a boolean if a field has been set.
func (o *ComputerDisk) GetSmartStatus() string
GetSmartStatus returns the SmartStatus field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetSmartStatusOk() (*string, bool)
GetSmartStatusOk returns a tuple with the SmartStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComputerDisk) SetSmartStatus(v string)
SetSmartStatus sets SmartStatus field to given value.
func (o *ComputerDisk) HasSmartStatus() bool
HasSmartStatus returns a boolean if a field has been set.
func (o *ComputerDisk) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComputerDisk) SetType(v string)
SetType sets Type field to given value.
func (o *ComputerDisk) HasType() bool
HasType returns a boolean if a field has been set.
func (o *ComputerDisk) GetPartitions() []ComputerPartition
GetPartitions returns the Partitions field if non-nil, zero value otherwise.
func (o *ComputerDisk) GetPartitionsOk() (*[]ComputerPartition, bool)
GetPartitionsOk returns a tuple with the Partitions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComputerDisk) SetPartitions(v []ComputerPartition)
SetPartitions sets Partitions field to given value.
func (o *ComputerDisk) HasPartitions() bool
HasPartitions returns a boolean if a field has been set.