Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | ||
MetaType | string | ||
MountPoint | string | ||
CreatedAt | string | ||
UpdatedAt | string | ||
DeletedAt | NullableString | ||
Embedded | DiskAttachmentEmbedded | ||
Links | Pointer to DiskAttachmentLinks | [optional] |
func NewDiskAttachment(id int32, metaType string, mountPoint string, createdAt string, updatedAt string, deletedAt NullableString, embedded DiskAttachmentEmbedded, ) *DiskAttachment
NewDiskAttachment instantiates a new DiskAttachment 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 NewDiskAttachmentWithDefaults() *DiskAttachment
NewDiskAttachmentWithDefaults instantiates a new DiskAttachment 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 *DiskAttachment) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DiskAttachment) 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 *DiskAttachment) SetId(v int32)
SetId sets Id field to given value.
func (o *DiskAttachment) GetMetaType() string
GetMetaType returns the MetaType field if non-nil, zero value otherwise.
func (o *DiskAttachment) 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 *DiskAttachment) SetMetaType(v string)
SetMetaType sets MetaType field to given value.
func (o *DiskAttachment) GetMountPoint() string
GetMountPoint returns the MountPoint field if non-nil, zero value otherwise.
func (o *DiskAttachment) GetMountPointOk() (*string, bool)
GetMountPointOk returns a tuple with the MountPoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskAttachment) SetMountPoint(v string)
SetMountPoint sets MountPoint field to given value.
func (o *DiskAttachment) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *DiskAttachment) 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 *DiskAttachment) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *DiskAttachment) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *DiskAttachment) 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 *DiskAttachment) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *DiskAttachment) GetDeletedAt() string
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *DiskAttachment) 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 *DiskAttachment) SetDeletedAt(v string)
SetDeletedAt sets DeletedAt field to given value.
func (o *DiskAttachment) SetDeletedAtNil(b bool)
SetDeletedAtNil sets the value for DeletedAt to be an explicit nil
func (o *DiskAttachment) UnsetDeletedAt()
UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil
func (o *DiskAttachment) GetEmbedded() DiskAttachmentEmbedded
GetEmbedded returns the Embedded field if non-nil, zero value otherwise.
func (o *DiskAttachment) GetEmbeddedOk() (*DiskAttachmentEmbedded, bool)
GetEmbeddedOk returns a tuple with the Embedded field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskAttachment) SetEmbedded(v DiskAttachmentEmbedded)
SetEmbedded sets Embedded field to given value.
func (o *DiskAttachment) GetLinks() DiskAttachmentLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *DiskAttachment) GetLinksOk() (*DiskAttachmentLinks, 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 *DiskAttachment) SetLinks(v DiskAttachmentLinks)
SetLinks sets Links field to given value.
func (o *DiskAttachment) HasLinks() bool
HasLinks returns a boolean if a field has been set.