Skip to content

Latest commit

 

History

History
316 lines (171 loc) · 7.89 KB

File metadata and controls

316 lines (171 loc) · 7.89 KB

ImageFields

Properties

Name Type Description Notes
Description Pointer to string [optional]
DisplaySize Pointer to string [optional]
FlavorRestrictions Pointer to FlavorRestrictions Flavor compatibility restrictions for this image [optional]
Id Pointer to int32 [optional]
IsPublic Pointer to bool [optional]
Labels Pointer to []LableResonse [optional]
Name Pointer to string [optional]
RegionName Pointer to string [optional]
Size Pointer to int32 [optional]
Type Pointer to string [optional]
Version Pointer to string [optional]

Methods

NewImageFields

func NewImageFields() *ImageFields

NewImageFields instantiates a new ImageFields 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

NewImageFieldsWithDefaults

func NewImageFieldsWithDefaults() *ImageFields

NewImageFieldsWithDefaults instantiates a new ImageFields 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

GetDescription

func (o *ImageFields) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *ImageFields) 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.

SetDescription

func (o *ImageFields) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ImageFields) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDisplaySize

func (o *ImageFields) GetDisplaySize() string

GetDisplaySize returns the DisplaySize field if non-nil, zero value otherwise.

GetDisplaySizeOk

func (o *ImageFields) GetDisplaySizeOk() (*string, bool)

GetDisplaySizeOk returns a tuple with the DisplaySize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDisplaySize

func (o *ImageFields) SetDisplaySize(v string)

SetDisplaySize sets DisplaySize field to given value.

HasDisplaySize

func (o *ImageFields) HasDisplaySize() bool

HasDisplaySize returns a boolean if a field has been set.

GetFlavorRestrictions

func (o *ImageFields) GetFlavorRestrictions() FlavorRestrictions

GetFlavorRestrictions returns the FlavorRestrictions field if non-nil, zero value otherwise.

GetFlavorRestrictionsOk

func (o *ImageFields) GetFlavorRestrictionsOk() (*FlavorRestrictions, bool)

GetFlavorRestrictionsOk returns a tuple with the FlavorRestrictions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFlavorRestrictions

func (o *ImageFields) SetFlavorRestrictions(v FlavorRestrictions)

SetFlavorRestrictions sets FlavorRestrictions field to given value.

HasFlavorRestrictions

func (o *ImageFields) HasFlavorRestrictions() bool

HasFlavorRestrictions returns a boolean if a field has been set.

GetId

func (o *ImageFields) GetId() int32

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

GetIdOk

func (o *ImageFields) 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.

SetId

func (o *ImageFields) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *ImageFields) HasId() bool

HasId returns a boolean if a field has been set.

GetIsPublic

func (o *ImageFields) GetIsPublic() bool

GetIsPublic returns the IsPublic field if non-nil, zero value otherwise.

GetIsPublicOk

func (o *ImageFields) GetIsPublicOk() (*bool, bool)

GetIsPublicOk returns a tuple with the IsPublic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIsPublic

func (o *ImageFields) SetIsPublic(v bool)

SetIsPublic sets IsPublic field to given value.

HasIsPublic

func (o *ImageFields) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

GetLabels

func (o *ImageFields) GetLabels() []LableResonse

GetLabels returns the Labels field if non-nil, zero value otherwise.

GetLabelsOk

func (o *ImageFields) GetLabelsOk() (*[]LableResonse, 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.

SetLabels

func (o *ImageFields) SetLabels(v []LableResonse)

SetLabels sets Labels field to given value.

HasLabels

func (o *ImageFields) HasLabels() bool

HasLabels returns a boolean if a field has been set.

GetName

func (o *ImageFields) GetName() string

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

GetNameOk

func (o *ImageFields) 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 *ImageFields) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ImageFields) HasName() bool

HasName returns a boolean if a field has been set.

GetRegionName

func (o *ImageFields) GetRegionName() string

GetRegionName returns the RegionName field if non-nil, zero value otherwise.

GetRegionNameOk

func (o *ImageFields) GetRegionNameOk() (*string, bool)

GetRegionNameOk returns a tuple with the RegionName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRegionName

func (o *ImageFields) SetRegionName(v string)

SetRegionName sets RegionName field to given value.

HasRegionName

func (o *ImageFields) HasRegionName() bool

HasRegionName returns a boolean if a field has been set.

GetSize

func (o *ImageFields) GetSize() int32

GetSize returns the Size field if non-nil, zero value otherwise.

GetSizeOk

func (o *ImageFields) 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.

SetSize

func (o *ImageFields) SetSize(v int32)

SetSize sets Size field to given value.

HasSize

func (o *ImageFields) HasSize() bool

HasSize returns a boolean if a field has been set.

GetType

func (o *ImageFields) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ImageFields) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *ImageFields) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ImageFields) HasType() bool

HasType returns a boolean if a field has been set.

GetVersion

func (o *ImageFields) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *ImageFields) 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.

SetVersion

func (o *ImageFields) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *ImageFields) HasVersion() bool

HasVersion returns a boolean if a field has been set.

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