Skip to content

Latest commit

 

History

History
346 lines (189 loc) · 8.58 KB

Resource.md

File metadata and controls

346 lines (189 loc) · 8.58 KB

Resource

Properties

Name Type Description Notes
AnkamaId Pointer to int32 [optional]
Name Pointer to string [optional]
Description Pointer to string [optional]
Type Pointer to ResourceType [optional]
Level Pointer to int32 [optional]
Pods Pointer to int32 [optional]
ImageUrls Pointer to ImageUrls [optional]
Effects Pointer to []EffectsEntry [optional]
Conditions Pointer to []ConditionEntry [optional]
ConditionTree Pointer to ConditionTreeNode [optional]
Recipe Pointer to []RecipeEntry [optional]

Methods

NewResource

func NewResource() *Resource

NewResource instantiates a new Resource 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

NewResourceWithDefaults

func NewResourceWithDefaults() *Resource

NewResourceWithDefaults instantiates a new Resource 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

GetAnkamaId

func (o *Resource) GetAnkamaId() int32

GetAnkamaId returns the AnkamaId field if non-nil, zero value otherwise.

GetAnkamaIdOk

func (o *Resource) GetAnkamaIdOk() (*int32, bool)

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

SetAnkamaId

func (o *Resource) SetAnkamaId(v int32)

SetAnkamaId sets AnkamaId field to given value.

HasAnkamaId

func (o *Resource) HasAnkamaId() bool

HasAnkamaId returns a boolean if a field has been set.

GetName

func (o *Resource) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *Resource) HasName() bool

HasName returns a boolean if a field has been set.

GetDescription

func (o *Resource) GetDescription() string

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

GetDescriptionOk

func (o *Resource) 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 *Resource) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Resource) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetType

func (o *Resource) GetType() ResourceType

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

GetTypeOk

func (o *Resource) GetTypeOk() (*ResourceType, 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 *Resource) SetType(v ResourceType)

SetType sets Type field to given value.

HasType

func (o *Resource) HasType() bool

HasType returns a boolean if a field has been set.

GetLevel

func (o *Resource) GetLevel() int32

GetLevel returns the Level field if non-nil, zero value otherwise.

GetLevelOk

func (o *Resource) GetLevelOk() (*int32, bool)

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

SetLevel

func (o *Resource) SetLevel(v int32)

SetLevel sets Level field to given value.

HasLevel

func (o *Resource) HasLevel() bool

HasLevel returns a boolean if a field has been set.

GetPods

func (o *Resource) GetPods() int32

GetPods returns the Pods field if non-nil, zero value otherwise.

GetPodsOk

func (o *Resource) GetPodsOk() (*int32, bool)

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

SetPods

func (o *Resource) SetPods(v int32)

SetPods sets Pods field to given value.

HasPods

func (o *Resource) HasPods() bool

HasPods returns a boolean if a field has been set.

GetImageUrls

func (o *Resource) GetImageUrls() ImageUrls

GetImageUrls returns the ImageUrls field if non-nil, zero value otherwise.

GetImageUrlsOk

func (o *Resource) GetImageUrlsOk() (*ImageUrls, bool)

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

SetImageUrls

func (o *Resource) SetImageUrls(v ImageUrls)

SetImageUrls sets ImageUrls field to given value.

HasImageUrls

func (o *Resource) HasImageUrls() bool

HasImageUrls returns a boolean if a field has been set.

GetEffects

func (o *Resource) GetEffects() []EffectsEntry

GetEffects returns the Effects field if non-nil, zero value otherwise.

GetEffectsOk

func (o *Resource) GetEffectsOk() (*[]EffectsEntry, bool)

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

SetEffects

func (o *Resource) SetEffects(v []EffectsEntry)

SetEffects sets Effects field to given value.

HasEffects

func (o *Resource) HasEffects() bool

HasEffects returns a boolean if a field has been set.

SetEffectsNil

func (o *Resource) SetEffectsNil(b bool)

SetEffectsNil sets the value for Effects to be an explicit nil

UnsetEffects

func (o *Resource) UnsetEffects()

UnsetEffects ensures that no value is present for Effects, not even an explicit nil

GetConditions

func (o *Resource) GetConditions() []ConditionEntry

GetConditions returns the Conditions field if non-nil, zero value otherwise.

GetConditionsOk

func (o *Resource) GetConditionsOk() (*[]ConditionEntry, bool)

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

SetConditions

func (o *Resource) SetConditions(v []ConditionEntry)

SetConditions sets Conditions field to given value.

HasConditions

func (o *Resource) HasConditions() bool

HasConditions returns a boolean if a field has been set.

SetConditionsNil

func (o *Resource) SetConditionsNil(b bool)

SetConditionsNil sets the value for Conditions to be an explicit nil

UnsetConditions

func (o *Resource) UnsetConditions()

UnsetConditions ensures that no value is present for Conditions, not even an explicit nil

GetConditionTree

func (o *Resource) GetConditionTree() ConditionTreeNode

GetConditionTree returns the ConditionTree field if non-nil, zero value otherwise.

GetConditionTreeOk

func (o *Resource) GetConditionTreeOk() (*ConditionTreeNode, bool)

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

SetConditionTree

func (o *Resource) SetConditionTree(v ConditionTreeNode)

SetConditionTree sets ConditionTree field to given value.

HasConditionTree

func (o *Resource) HasConditionTree() bool

HasConditionTree returns a boolean if a field has been set.

GetRecipe

func (o *Resource) GetRecipe() []RecipeEntry

GetRecipe returns the Recipe field if non-nil, zero value otherwise.

GetRecipeOk

func (o *Resource) GetRecipeOk() (*[]RecipeEntry, bool)

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

SetRecipe

func (o *Resource) SetRecipe(v []RecipeEntry)

SetRecipe sets Recipe field to given value.

HasRecipe

func (o *Resource) HasRecipe() bool

HasRecipe returns a boolean if a field has been set.

SetRecipeNil

func (o *Resource) SetRecipeNil(b bool)

SetRecipeNil sets the value for Recipe to be an explicit nil

UnsetRecipe

func (o *Resource) UnsetRecipe()

UnsetRecipe ensures that no value is present for Recipe, not even an explicit nil

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