Name | Type | Description | Notes |
---|---|---|---|
Id | string | imageId can be either an Operating System or a UUID in case of a Custom Image | |
Name | string | ||
Family | string | ||
Flavour | Flavour | ||
Custom | bool | Standard or Custom image | |
StorageSize | NullableStorageSize | ||
State | NullableImageState | ||
StateReason | NullableString | The reason in case of failure | |
Region | NullableRegionName | ||
CreatedAt | NullableTime | Date when the image was created | |
UpdatedAt | NullableTime | Date when the image was updated | |
Version | NullableString | ||
Architecture | NullableString | ||
MarketApps | []MarketAppId | ||
StorageTypes | []StorageType | The supported storage types | |
MinDiskSize | NullableInt32 | The image size in GB. |
func NewImageDetails(id string, name string, family string, flavour Flavour, custom bool, storageSize NullableStorageSize, state NullableImageState, stateReason NullableString, region NullableRegionName, createdAt NullableTime, updatedAt NullableTime, version NullableString, architecture NullableString, marketApps []MarketAppId, storageTypes []StorageType, minDiskSize NullableInt32, ) *ImageDetails
NewImageDetails instantiates a new ImageDetails 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 NewImageDetailsWithDefaults() *ImageDetails
NewImageDetailsWithDefaults instantiates a new ImageDetails 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 *ImageDetails) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ImageDetails) 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.
func (o *ImageDetails) SetId(v string)
SetId sets Id field to given value.
func (o *ImageDetails) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ImageDetails) 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 *ImageDetails) SetName(v string)
SetName sets Name field to given value.
func (o *ImageDetails) GetFamily() string
GetFamily returns the Family field if non-nil, zero value otherwise.
func (o *ImageDetails) GetFamilyOk() (*string, bool)
GetFamilyOk returns a tuple with the Family field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetFamily(v string)
SetFamily sets Family field to given value.
func (o *ImageDetails) GetFlavour() Flavour
GetFlavour returns the Flavour field if non-nil, zero value otherwise.
func (o *ImageDetails) GetFlavourOk() (*Flavour, bool)
GetFlavourOk returns a tuple with the Flavour field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetFlavour(v Flavour)
SetFlavour sets Flavour field to given value.
func (o *ImageDetails) GetCustom() bool
GetCustom returns the Custom field if non-nil, zero value otherwise.
func (o *ImageDetails) GetCustomOk() (*bool, bool)
GetCustomOk returns a tuple with the Custom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetCustom(v bool)
SetCustom sets Custom field to given value.
func (o *ImageDetails) GetStorageSize() StorageSize
GetStorageSize returns the StorageSize field if non-nil, zero value otherwise.
func (o *ImageDetails) GetStorageSizeOk() (*StorageSize, bool)
GetStorageSizeOk returns a tuple with the StorageSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetStorageSize(v StorageSize)
SetStorageSize sets StorageSize field to given value.
func (o *ImageDetails) SetStorageSizeNil(b bool)
SetStorageSizeNil sets the value for StorageSize to be an explicit nil
func (o *ImageDetails) UnsetStorageSize()
UnsetStorageSize ensures that no value is present for StorageSize, not even an explicit nil
func (o *ImageDetails) GetState() ImageState
GetState returns the State field if non-nil, zero value otherwise.
func (o *ImageDetails) GetStateOk() (*ImageState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetState(v ImageState)
SetState sets State field to given value.
func (o *ImageDetails) SetStateNil(b bool)
SetStateNil sets the value for State to be an explicit nil
func (o *ImageDetails) UnsetState()
UnsetState ensures that no value is present for State, not even an explicit nil
func (o *ImageDetails) GetStateReason() string
GetStateReason returns the StateReason field if non-nil, zero value otherwise.
func (o *ImageDetails) GetStateReasonOk() (*string, bool)
GetStateReasonOk returns a tuple with the StateReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetStateReason(v string)
SetStateReason sets StateReason field to given value.
func (o *ImageDetails) SetStateReasonNil(b bool)
SetStateReasonNil sets the value for StateReason to be an explicit nil
func (o *ImageDetails) UnsetStateReason()
UnsetStateReason ensures that no value is present for StateReason, not even an explicit nil
func (o *ImageDetails) GetRegion() RegionName
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *ImageDetails) GetRegionOk() (*RegionName, 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 *ImageDetails) SetRegion(v RegionName)
SetRegion sets Region field to given value.
func (o *ImageDetails) SetRegionNil(b bool)
SetRegionNil sets the value for Region to be an explicit nil
func (o *ImageDetails) UnsetRegion()
UnsetRegion ensures that no value is present for Region, not even an explicit nil
func (o *ImageDetails) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *ImageDetails) 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 *ImageDetails) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *ImageDetails) SetCreatedAtNil(b bool)
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (o *ImageDetails) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (o *ImageDetails) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *ImageDetails) 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 *ImageDetails) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *ImageDetails) SetUpdatedAtNil(b bool)
SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil
func (o *ImageDetails) UnsetUpdatedAt()
UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil
func (o *ImageDetails) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *ImageDetails) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *ImageDetails) SetVersionNil(b bool)
SetVersionNil sets the value for Version to be an explicit nil
func (o *ImageDetails) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil
func (o *ImageDetails) GetArchitecture() string
GetArchitecture returns the Architecture field if non-nil, zero value otherwise.
func (o *ImageDetails) GetArchitectureOk() (*string, bool)
GetArchitectureOk returns a tuple with the Architecture field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetArchitecture(v string)
SetArchitecture sets Architecture field to given value.
func (o *ImageDetails) SetArchitectureNil(b bool)
SetArchitectureNil sets the value for Architecture to be an explicit nil
func (o *ImageDetails) UnsetArchitecture()
UnsetArchitecture ensures that no value is present for Architecture, not even an explicit nil
func (o *ImageDetails) GetMarketApps() []MarketAppId
GetMarketApps returns the MarketApps field if non-nil, zero value otherwise.
func (o *ImageDetails) GetMarketAppsOk() (*[]MarketAppId, bool)
GetMarketAppsOk returns a tuple with the MarketApps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetMarketApps(v []MarketAppId)
SetMarketApps sets MarketApps field to given value.
func (o *ImageDetails) GetStorageTypes() []StorageType
GetStorageTypes returns the StorageTypes field if non-nil, zero value otherwise.
func (o *ImageDetails) GetStorageTypesOk() (*[]StorageType, bool)
GetStorageTypesOk returns a tuple with the StorageTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetStorageTypes(v []StorageType)
SetStorageTypes sets StorageTypes field to given value.
func (o *ImageDetails) GetMinDiskSize() int32
GetMinDiskSize returns the MinDiskSize field if non-nil, zero value otherwise.
func (o *ImageDetails) GetMinDiskSizeOk() (*int32, bool)
GetMinDiskSizeOk returns a tuple with the MinDiskSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageDetails) SetMinDiskSize(v int32)
SetMinDiskSize sets MinDiskSize field to given value.
func (o *ImageDetails) SetMinDiskSizeNil(b bool)
SetMinDiskSizeNil sets the value for MinDiskSize to be an explicit nil
func (o *ImageDetails) UnsetMinDiskSize()
UnsetMinDiskSize ensures that no value is present for MinDiskSize, not even an explicit nil