| Name | Type | Description | Notes |
|---|---|---|---|
| CreatedAt | time.Time | Creation timestamp | |
| 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 | Labels associated with snapshot | [optional] |
| Name | string | Snapshot name | |
| 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 | |
| VmId | int32 | ID of the VM from which the snapshot is created |
func NewSnapshotFields(createdAt time.Time, description string, id int32, isImage bool, name string, regionId int32, size int32, status string, updatedAt time.Time, vmId int32, ) *SnapshotFields
NewSnapshotFields instantiates a new SnapshotFields 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 NewSnapshotFieldsWithDefaults() *SnapshotFields
NewSnapshotFieldsWithDefaults instantiates a new SnapshotFields 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 *SnapshotFields) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *SnapshotFields) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SnapshotFields) GetHasFloatingIp() bool
GetHasFloatingIp returns the HasFloatingIp field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetHasFloatingIp(v bool)
SetHasFloatingIp sets HasFloatingIp field to given value.
func (o *SnapshotFields) HasHasFloatingIp() bool
HasHasFloatingIp returns a boolean if a field has been set.
func (o *SnapshotFields) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetId(v int32)
SetId sets Id field to given value.
func (o *SnapshotFields) GetIsImage() bool
GetIsImage returns the IsImage field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetIsImage(v bool)
SetIsImage sets IsImage field to given value.
func (o *SnapshotFields) GetLabels() []string
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetLabels(v []string)
SetLabels sets Labels field to given value.
func (o *SnapshotFields) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (o *SnapshotFields) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetName(v string)
SetName sets Name field to given value.
func (o *SnapshotFields) GetRegionId() int32
GetRegionId returns the RegionId field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetRegionId(v int32)
SetRegionId sets RegionId field to given value.
func (o *SnapshotFields) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetSize(v int32)
SetSize sets Size field to given value.
func (o *SnapshotFields) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *SnapshotFields) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *SnapshotFields) GetVmId() int32
GetVmId returns the VmId field if non-nil, zero value otherwise.
func (o *SnapshotFields) 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 *SnapshotFields) SetVmId(v int32)
SetVmId sets VmId field to given value.