Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.45 KB

File metadata and controls

212 lines (115 loc) · 5.45 KB

AttachVolumeFields

Properties

Name Type Description Notes
CreatedAt Pointer to time.Time [optional]
Device Pointer to string [optional]
Id Pointer to int32 [optional]
InstanceId Pointer to int32 [optional]
Protected Pointer to bool [optional]
Status Pointer to string [optional]
VolumeId Pointer to int32 [optional]

Methods

NewAttachVolumeFields

func NewAttachVolumeFields() *AttachVolumeFields

NewAttachVolumeFields instantiates a new AttachVolumeFields 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

NewAttachVolumeFieldsWithDefaults

func NewAttachVolumeFieldsWithDefaults() *AttachVolumeFields

NewAttachVolumeFieldsWithDefaults instantiates a new AttachVolumeFields 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

GetCreatedAt

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

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *AttachVolumeFields) GetCreatedAtOk() (*time.Time, 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.

SetCreatedAt

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

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *AttachVolumeFields) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetDevice

func (o *AttachVolumeFields) GetDevice() string

GetDevice returns the Device field if non-nil, zero value otherwise.

GetDeviceOk

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

SetDevice

func (o *AttachVolumeFields) SetDevice(v string)

SetDevice sets Device field to given value.

HasDevice

func (o *AttachVolumeFields) HasDevice() bool

HasDevice returns a boolean if a field has been set.

GetId

func (o *AttachVolumeFields) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

SetId

func (o *AttachVolumeFields) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *AttachVolumeFields) HasId() bool

HasId returns a boolean if a field has been set.

GetInstanceId

func (o *AttachVolumeFields) GetInstanceId() int32

GetInstanceId returns the InstanceId field if non-nil, zero value otherwise.

GetInstanceIdOk

func (o *AttachVolumeFields) GetInstanceIdOk() (*int32, bool)

GetInstanceIdOk returns a tuple with the InstanceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInstanceId

func (o *AttachVolumeFields) SetInstanceId(v int32)

SetInstanceId sets InstanceId field to given value.

HasInstanceId

func (o *AttachVolumeFields) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

GetProtected

func (o *AttachVolumeFields) GetProtected() bool

GetProtected returns the Protected field if non-nil, zero value otherwise.

GetProtectedOk

func (o *AttachVolumeFields) GetProtectedOk() (*bool, bool)

GetProtectedOk returns a tuple with the Protected field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProtected

func (o *AttachVolumeFields) SetProtected(v bool)

SetProtected sets Protected field to given value.

HasProtected

func (o *AttachVolumeFields) HasProtected() bool

HasProtected returns a boolean if a field has been set.

GetStatus

func (o *AttachVolumeFields) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

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

SetStatus

func (o *AttachVolumeFields) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *AttachVolumeFields) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetVolumeId

func (o *AttachVolumeFields) GetVolumeId() int32

GetVolumeId returns the VolumeId field if non-nil, zero value otherwise.

GetVolumeIdOk

func (o *AttachVolumeFields) GetVolumeIdOk() (*int32, bool)

GetVolumeIdOk returns a tuple with the VolumeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVolumeId

func (o *AttachVolumeFields) SetVolumeId(v int32)

SetVolumeId sets VolumeId field to given value.

HasVolumeId

func (o *AttachVolumeFields) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]