Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.19 KB

Image.md

File metadata and controls

135 lines (72 loc) · 3.19 KB

Image

Properties

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

Methods

NewImage

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

NewImageWithDefaults

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

GetId

func (o *Image) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *Image) SetId(v string)

SetId sets Id field to given value.

GetName

func (o *Image) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *Image) SetName(v string)

SetName sets Name field to given value.

GetFamily

func (o *Image) GetFamily() string

GetFamily returns the Family field if non-nil, zero value otherwise.

GetFamilyOk

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.

SetFamily

func (o *Image) SetFamily(v string)

SetFamily sets Family field to given value.

GetFlavour

func (o *Image) GetFlavour() Flavour

GetFlavour returns the Flavour field if non-nil, zero value otherwise.

GetFlavourOk

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.

SetFlavour

func (o *Image) SetFlavour(v Flavour)

SetFlavour sets Flavour field to given value.

GetCustom

func (o *Image) GetCustom() bool

GetCustom returns the Custom field if non-nil, zero value otherwise.

GetCustomOk

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.

SetCustom

func (o *Image) SetCustom(v bool)

SetCustom sets Custom field to given value.

[Back to Model list] [Back to API list] [Back to README]