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 |
func NewImage(id string, name string, family string, flavour Flavour, custom bool, ) *Image
NewImage instantiates a new Image 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 NewImageWithDefaults() *Image
NewImageWithDefaults instantiates a new Image 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 *Image) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Image) 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 *Image) SetId(v string)
SetId sets Id field to given value.
func (o *Image) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Image) 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 *Image) SetName(v string)
SetName sets Name field to given value.
func (o *Image) GetFamily() string
GetFamily returns the Family field if non-nil, zero value otherwise.
func (o *Image) 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 *Image) SetFamily(v string)
SetFamily sets Family field to given value.
func (o *Image) GetFlavour() Flavour
GetFlavour returns the Flavour field if non-nil, zero value otherwise.
func (o *Image) 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 *Image) SetFlavour(v Flavour)
SetFlavour sets Flavour field to given value.
func (o *Image) GetCustom() bool
GetCustom returns the Custom field if non-nil, zero value otherwise.
func (o *Image) 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 *Image) SetCustom(v bool)
SetCustom sets Custom field to given value.