| Name | Type | Description | Notes |
|---|---|---|---|
| CreatedAt | time.Time | Creation timestamp | |
| CustomImage | Pointer to string | [optional] | |
| Description | string | Description of the snapshot | |
| HasFloatingIp | Pointer to bool | Indicates if the VM had a floating IP assigned | [optional] |
| Id | int32 | Snapshot ID | |
| IsImage | bool | Indicates if the snapshot is an image | |
| Labels | Pointer to string | [optional] | |
| Name | string | Snapshot name | |
| Region | Pointer to string | [optional] | |
| RegionId | int32 | Region where the snapshot will be available | |
| Size | int32 | Size in GB of the snapshot | |
| Status | string | Status of the snapshot | |
| UpdatedAt | time.Time | Last update timestamp | |
| VmEnvironment | Pointer to string | [optional] | |
| VmFlavor | Pointer to string | [optional] | |
| VmId | int32 | ID of the VM from which the snapshot is created | |
| VmImage | Pointer to string | [optional] | |
| VmKeypair | Pointer to string | [optional] | |
| VmName | Pointer to string | [optional] | |
| VmStatus | Pointer to string | [optional] | |
| VolumeId | Pointer to string | [optional] | |
| VolumeName | Pointer to string | [optional] |
func NewSnapshotRetrieveFields(createdAt time.Time, description string, id int32, isImage bool, name string, regionId int32, size int32, status string, updatedAt time.Time, vmId int32, ) *SnapshotRetrieveFields
NewSnapshotRetrieveFields instantiates a new SnapshotRetrieveFields 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 NewSnapshotRetrieveFieldsWithDefaults() *SnapshotRetrieveFields
NewSnapshotRetrieveFieldsWithDefaults instantiates a new SnapshotRetrieveFields 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 *SnapshotRetrieveFields) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) 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.
func (o *SnapshotRetrieveFields) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *SnapshotRetrieveFields) GetCustomImage() string
GetCustomImage returns the CustomImage field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetCustomImageOk() (*string, bool)
GetCustomImageOk returns a tuple with the CustomImage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetCustomImage(v string)
SetCustomImage sets CustomImage field to given value.
func (o *SnapshotRetrieveFields) HasCustomImage() bool
HasCustomImage returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SnapshotRetrieveFields) GetHasFloatingIp() bool
GetHasFloatingIp returns the HasFloatingIp field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetHasFloatingIpOk() (*bool, bool)
GetHasFloatingIpOk returns a tuple with the HasFloatingIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetHasFloatingIp(v bool)
SetHasFloatingIp sets HasFloatingIp field to given value.
func (o *SnapshotRetrieveFields) HasHasFloatingIp() bool
HasHasFloatingIp returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) 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 *SnapshotRetrieveFields) SetId(v int32)
SetId sets Id field to given value.
func (o *SnapshotRetrieveFields) GetIsImage() bool
GetIsImage returns the IsImage field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetIsImageOk() (*bool, bool)
GetIsImageOk returns a tuple with the IsImage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetIsImage(v bool)
SetIsImage sets IsImage field to given value.
func (o *SnapshotRetrieveFields) GetLabels() string
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetLabelsOk() (*string, bool)
GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetLabels(v string)
SetLabels sets Labels field to given value.
func (o *SnapshotRetrieveFields) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetName(v string)
SetName sets Name field to given value.
func (o *SnapshotRetrieveFields) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *SnapshotRetrieveFields) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetRegionId() int32
GetRegionId returns the RegionId field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetRegionIdOk() (*int32, bool)
GetRegionIdOk returns a tuple with the RegionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetRegionId(v int32)
SetRegionId sets RegionId field to given value.
func (o *SnapshotRetrieveFields) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) 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 *SnapshotRetrieveFields) SetSize(v int32)
SetSize sets Size field to given value.
func (o *SnapshotRetrieveFields) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) 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.
func (o *SnapshotRetrieveFields) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *SnapshotRetrieveFields) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetUpdatedAtOk() (*time.Time, 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 *SnapshotRetrieveFields) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *SnapshotRetrieveFields) GetVmEnvironment() string
GetVmEnvironment returns the VmEnvironment field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVmEnvironmentOk() (*string, bool)
GetVmEnvironmentOk returns a tuple with the VmEnvironment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVmEnvironment(v string)
SetVmEnvironment sets VmEnvironment field to given value.
func (o *SnapshotRetrieveFields) HasVmEnvironment() bool
HasVmEnvironment returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetVmFlavor() string
GetVmFlavor returns the VmFlavor field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVmFlavorOk() (*string, bool)
GetVmFlavorOk returns a tuple with the VmFlavor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVmFlavor(v string)
SetVmFlavor sets VmFlavor field to given value.
func (o *SnapshotRetrieveFields) HasVmFlavor() bool
HasVmFlavor returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetVmId() int32
GetVmId returns the VmId field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVmIdOk() (*int32, bool)
GetVmIdOk returns a tuple with the VmId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVmId(v int32)
SetVmId sets VmId field to given value.
func (o *SnapshotRetrieveFields) GetVmImage() string
GetVmImage returns the VmImage field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVmImageOk() (*string, bool)
GetVmImageOk returns a tuple with the VmImage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVmImage(v string)
SetVmImage sets VmImage field to given value.
func (o *SnapshotRetrieveFields) HasVmImage() bool
HasVmImage returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetVmKeypair() string
GetVmKeypair returns the VmKeypair field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVmKeypairOk() (*string, bool)
GetVmKeypairOk returns a tuple with the VmKeypair field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVmKeypair(v string)
SetVmKeypair sets VmKeypair field to given value.
func (o *SnapshotRetrieveFields) HasVmKeypair() bool
HasVmKeypair returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetVmName() string
GetVmName returns the VmName field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVmNameOk() (*string, bool)
GetVmNameOk returns a tuple with the VmName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVmName(v string)
SetVmName sets VmName field to given value.
func (o *SnapshotRetrieveFields) HasVmName() bool
HasVmName returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetVmStatus() string
GetVmStatus returns the VmStatus field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVmStatusOk() (*string, bool)
GetVmStatusOk returns a tuple with the VmStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVmStatus(v string)
SetVmStatus sets VmStatus field to given value.
func (o *SnapshotRetrieveFields) HasVmStatus() bool
HasVmStatus returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetVolumeId() string
GetVolumeId returns the VolumeId field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVolumeIdOk() (*string, 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.
func (o *SnapshotRetrieveFields) SetVolumeId(v string)
SetVolumeId sets VolumeId field to given value.
func (o *SnapshotRetrieveFields) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (o *SnapshotRetrieveFields) GetVolumeName() string
GetVolumeName returns the VolumeName field if non-nil, zero value otherwise.
func (o *SnapshotRetrieveFields) GetVolumeNameOk() (*string, bool)
GetVolumeNameOk returns a tuple with the VolumeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotRetrieveFields) SetVolumeName(v string)
SetVolumeName sets VolumeName field to given value.
func (o *SnapshotRetrieveFields) HasVolumeName() bool
HasVolumeName returns a boolean if a field has been set.