Volume
Properties
Methods
NewVolume
func NewVolume(properties VolumeProperties, ) *Volume
NewVolume instantiates a new Volume 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
NewVolumeWithDefaults
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume 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
GetId
func (o *Volume) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *Volume) 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.
SetId
func (o *Volume) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *Volume) HasId() bool
HasId returns a boolean if a field has been set.
GetType
func (o *Volume) GetType() Type
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *Volume) GetTypeOk() (*Type, 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.
SetType
func (o *Volume) SetType(v Type)
SetType sets Type field to given value.
HasType
func (o *Volume) HasType() bool
HasType returns a boolean if a field has been set.
GetHref
func (o *Volume) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
GetHrefOk
func (o *Volume) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHref
func (o *Volume) SetHref(v string)
SetHref sets Href field to given value.
HasHref
func (o *Volume) HasHref() bool
HasHref returns a boolean if a field has been set.
GetMetadata
func (o *Volume) GetMetadata() DatacenterElementMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
GetMetadataOk
func (o *Volume) GetMetadataOk() (*DatacenterElementMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMetadata
func (o *Volume) SetMetadata(v DatacenterElementMetadata)
SetMetadata sets Metadata field to given value.
HasMetadata
func (o *Volume) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
GetProperties
func (o *Volume) GetProperties() VolumeProperties
GetProperties returns the Properties field if non-nil, zero value otherwise.
GetPropertiesOk
func (o *Volume) GetPropertiesOk() (*VolumeProperties, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProperties
func (o *Volume) SetProperties(v VolumeProperties)
SetProperties sets Properties field to given value.
Last updated