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] |
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
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
func (o *Resource) GetAnkamaId() int32
GetAnkamaId returns the AnkamaId field if non-nil, zero value otherwise.
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.
func (o *Resource) SetAnkamaId(v int32)
SetAnkamaId sets AnkamaId field to given value.
func (o *Resource) HasAnkamaId() bool
HasAnkamaId returns a boolean if a field has been set.
func (o *Resource) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Resource) SetName(v string)
SetName sets Name field to given value.
func (o *Resource) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Resource) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *Resource) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Resource) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Resource) GetType() ResourceType
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *Resource) SetType(v ResourceType)
SetType sets Type field to given value.
func (o *Resource) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Resource) GetLevel() int32
GetLevel returns the Level field if non-nil, zero value otherwise.
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.
func (o *Resource) SetLevel(v int32)
SetLevel sets Level field to given value.
func (o *Resource) HasLevel() bool
HasLevel returns a boolean if a field has been set.
func (o *Resource) GetPods() int32
GetPods returns the Pods field if non-nil, zero value otherwise.
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.
func (o *Resource) SetPods(v int32)
SetPods sets Pods field to given value.
func (o *Resource) HasPods() bool
HasPods returns a boolean if a field has been set.
func (o *Resource) GetImageUrls() ImageUrls
GetImageUrls returns the ImageUrls field if non-nil, zero value otherwise.
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.
func (o *Resource) SetImageUrls(v ImageUrls)
SetImageUrls sets ImageUrls field to given value.
func (o *Resource) HasImageUrls() bool
HasImageUrls returns a boolean if a field has been set.
func (o *Resource) GetEffects() []EffectsEntry
GetEffects returns the Effects field if non-nil, zero value otherwise.
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.
func (o *Resource) SetEffects(v []EffectsEntry)
SetEffects sets Effects field to given value.
func (o *Resource) HasEffects() bool
HasEffects returns a boolean if a field has been set.
func (o *Resource) SetEffectsNil(b bool)
SetEffectsNil sets the value for Effects to be an explicit nil
func (o *Resource) UnsetEffects()
UnsetEffects ensures that no value is present for Effects, not even an explicit nil
func (o *Resource) GetConditions() []ConditionEntry
GetConditions returns the Conditions field if non-nil, zero value otherwise.
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.
func (o *Resource) SetConditions(v []ConditionEntry)
SetConditions sets Conditions field to given value.
func (o *Resource) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (o *Resource) SetConditionsNil(b bool)
SetConditionsNil sets the value for Conditions to be an explicit nil
func (o *Resource) UnsetConditions()
UnsetConditions ensures that no value is present for Conditions, not even an explicit nil
func (o *Resource) GetConditionTree() ConditionTreeNode
GetConditionTree returns the ConditionTree field if non-nil, zero value otherwise.
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.
func (o *Resource) SetConditionTree(v ConditionTreeNode)
SetConditionTree sets ConditionTree field to given value.
func (o *Resource) HasConditionTree() bool
HasConditionTree returns a boolean if a field has been set.
func (o *Resource) GetRecipe() []RecipeEntry
GetRecipe returns the Recipe field if non-nil, zero value otherwise.
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.
func (o *Resource) SetRecipe(v []RecipeEntry)
SetRecipe sets Recipe field to given value.
func (o *Resource) HasRecipe() bool
HasRecipe returns a boolean if a field has been set.
func (o *Resource) SetRecipeNil(b bool)
SetRecipeNil sets the value for Recipe to be an explicit nil
func (o *Resource) UnsetRecipe()
UnsetRecipe ensures that no value is present for Recipe, not even an explicit nil