bunnyshell.com/sdk@v0.16.0/docs/EnumTypeItem.md (about) 1 # EnumTypeItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **DefaultValue** | Pointer to [**EnumTypeItemDefaultValue**](EnumTypeItemDefaultValue.md) | | [optional] 8 **Values** | Pointer to [**[]EnumTypeItemValuesInner**](EnumTypeItemValuesInner.md) | The available values for the enum. | [optional] 9 **Name** | Pointer to **string** | A variable used within the template. | [optional] 10 **Description** | Pointer to **string** | The variable description | [optional] 11 **Type** | Pointer to **string** | | [optional] [readonly] 12 13 ## Methods 14 15 ### NewEnumTypeItem 16 17 `func NewEnumTypeItem() *EnumTypeItem` 18 19 NewEnumTypeItem instantiates a new EnumTypeItem object 20 This constructor will assign default values to properties that have it defined, 21 and makes sure properties required by API are set, but the set of arguments 22 will change when the set of required properties is changed 23 24 ### NewEnumTypeItemWithDefaults 25 26 `func NewEnumTypeItemWithDefaults() *EnumTypeItem` 27 28 NewEnumTypeItemWithDefaults instantiates a new EnumTypeItem object 29 This constructor will only assign default values to properties that have it defined, 30 but it doesn't guarantee that properties required by API are set 31 32 ### GetDefaultValue 33 34 `func (o *EnumTypeItem) GetDefaultValue() EnumTypeItemDefaultValue` 35 36 GetDefaultValue returns the DefaultValue field if non-nil, zero value otherwise. 37 38 ### GetDefaultValueOk 39 40 `func (o *EnumTypeItem) GetDefaultValueOk() (*EnumTypeItemDefaultValue, bool)` 41 42 GetDefaultValueOk returns a tuple with the DefaultValue field if it's non-nil, zero value otherwise 43 and a boolean to check if the value has been set. 44 45 ### SetDefaultValue 46 47 `func (o *EnumTypeItem) SetDefaultValue(v EnumTypeItemDefaultValue)` 48 49 SetDefaultValue sets DefaultValue field to given value. 50 51 ### HasDefaultValue 52 53 `func (o *EnumTypeItem) HasDefaultValue() bool` 54 55 HasDefaultValue returns a boolean if a field has been set. 56 57 ### GetValues 58 59 `func (o *EnumTypeItem) GetValues() []EnumTypeItemValuesInner` 60 61 GetValues returns the Values field if non-nil, zero value otherwise. 62 63 ### GetValuesOk 64 65 `func (o *EnumTypeItem) GetValuesOk() (*[]EnumTypeItemValuesInner, bool)` 66 67 GetValuesOk returns a tuple with the Values field if it's non-nil, zero value otherwise 68 and a boolean to check if the value has been set. 69 70 ### SetValues 71 72 `func (o *EnumTypeItem) SetValues(v []EnumTypeItemValuesInner)` 73 74 SetValues sets Values field to given value. 75 76 ### HasValues 77 78 `func (o *EnumTypeItem) HasValues() bool` 79 80 HasValues returns a boolean if a field has been set. 81 82 ### GetName 83 84 `func (o *EnumTypeItem) GetName() string` 85 86 GetName returns the Name field if non-nil, zero value otherwise. 87 88 ### GetNameOk 89 90 `func (o *EnumTypeItem) GetNameOk() (*string, bool)` 91 92 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 93 and a boolean to check if the value has been set. 94 95 ### SetName 96 97 `func (o *EnumTypeItem) SetName(v string)` 98 99 SetName sets Name field to given value. 100 101 ### HasName 102 103 `func (o *EnumTypeItem) HasName() bool` 104 105 HasName returns a boolean if a field has been set. 106 107 ### GetDescription 108 109 `func (o *EnumTypeItem) GetDescription() string` 110 111 GetDescription returns the Description field if non-nil, zero value otherwise. 112 113 ### GetDescriptionOk 114 115 `func (o *EnumTypeItem) GetDescriptionOk() (*string, bool)` 116 117 GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise 118 and a boolean to check if the value has been set. 119 120 ### SetDescription 121 122 `func (o *EnumTypeItem) SetDescription(v string)` 123 124 SetDescription sets Description field to given value. 125 126 ### HasDescription 127 128 `func (o *EnumTypeItem) HasDescription() bool` 129 130 HasDescription returns a boolean if a field has been set. 131 132 ### GetType 133 134 `func (o *EnumTypeItem) GetType() string` 135 136 GetType returns the Type field if non-nil, zero value otherwise. 137 138 ### GetTypeOk 139 140 `func (o *EnumTypeItem) GetTypeOk() (*string, bool)` 141 142 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 143 and a boolean to check if the value has been set. 144 145 ### SetType 146 147 `func (o *EnumTypeItem) SetType(v string)` 148 149 SetType sets Type field to given value. 150 151 ### HasType 152 153 `func (o *EnumTypeItem) HasType() bool` 154 155 HasType returns a boolean if a field has been set. 156 157 158 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 159 160