bunnyshell.com/sdk@v0.16.0/docs/TemplateItem.md (about) 1 # TemplateItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | Template identifier. | [optional] [readonly] 8 **Key** | Pointer to **string** | Template key. | [optional] [readonly] 9 **Name** | Pointer to **string** | Template name. | [optional] [readonly] 10 **GitSha** | Pointer to **string** | Template git repository SHA. | [optional] [readonly] 11 **ShortDescription** | Pointer to **NullableString** | Template short description. | [optional] [readonly] 12 **Tags** | Pointer to **[]string** | Template tags. | [optional] [readonly] 13 **VariablesSchema** | Pointer to [**[]TemplateItemVariablesSchemaInner**](TemplateItemVariablesSchemaInner.md) | Template variables. | [optional] [readonly] 14 **Organization** | Pointer to **NullableString** | Organization identifier. | [optional] [readonly] 15 **TemplatesRepository** | Pointer to **NullableString** | Templates repository identifier. | [optional] [readonly] 16 17 ## Methods 18 19 ### NewTemplateItem 20 21 `func NewTemplateItem() *TemplateItem` 22 23 NewTemplateItem instantiates a new TemplateItem object 24 This constructor will assign default values to properties that have it defined, 25 and makes sure properties required by API are set, but the set of arguments 26 will change when the set of required properties is changed 27 28 ### NewTemplateItemWithDefaults 29 30 `func NewTemplateItemWithDefaults() *TemplateItem` 31 32 NewTemplateItemWithDefaults instantiates a new TemplateItem object 33 This constructor will only assign default values to properties that have it defined, 34 but it doesn't guarantee that properties required by API are set 35 36 ### GetId 37 38 `func (o *TemplateItem) GetId() string` 39 40 GetId returns the Id field if non-nil, zero value otherwise. 41 42 ### GetIdOk 43 44 `func (o *TemplateItem) GetIdOk() (*string, bool)` 45 46 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 47 and a boolean to check if the value has been set. 48 49 ### SetId 50 51 `func (o *TemplateItem) SetId(v string)` 52 53 SetId sets Id field to given value. 54 55 ### HasId 56 57 `func (o *TemplateItem) HasId() bool` 58 59 HasId returns a boolean if a field has been set. 60 61 ### GetKey 62 63 `func (o *TemplateItem) GetKey() string` 64 65 GetKey returns the Key field if non-nil, zero value otherwise. 66 67 ### GetKeyOk 68 69 `func (o *TemplateItem) GetKeyOk() (*string, bool)` 70 71 GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise 72 and a boolean to check if the value has been set. 73 74 ### SetKey 75 76 `func (o *TemplateItem) SetKey(v string)` 77 78 SetKey sets Key field to given value. 79 80 ### HasKey 81 82 `func (o *TemplateItem) HasKey() bool` 83 84 HasKey returns a boolean if a field has been set. 85 86 ### GetName 87 88 `func (o *TemplateItem) GetName() string` 89 90 GetName returns the Name field if non-nil, zero value otherwise. 91 92 ### GetNameOk 93 94 `func (o *TemplateItem) GetNameOk() (*string, bool)` 95 96 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 97 and a boolean to check if the value has been set. 98 99 ### SetName 100 101 `func (o *TemplateItem) SetName(v string)` 102 103 SetName sets Name field to given value. 104 105 ### HasName 106 107 `func (o *TemplateItem) HasName() bool` 108 109 HasName returns a boolean if a field has been set. 110 111 ### GetGitSha 112 113 `func (o *TemplateItem) GetGitSha() string` 114 115 GetGitSha returns the GitSha field if non-nil, zero value otherwise. 116 117 ### GetGitShaOk 118 119 `func (o *TemplateItem) GetGitShaOk() (*string, bool)` 120 121 GetGitShaOk returns a tuple with the GitSha field if it's non-nil, zero value otherwise 122 and a boolean to check if the value has been set. 123 124 ### SetGitSha 125 126 `func (o *TemplateItem) SetGitSha(v string)` 127 128 SetGitSha sets GitSha field to given value. 129 130 ### HasGitSha 131 132 `func (o *TemplateItem) HasGitSha() bool` 133 134 HasGitSha returns a boolean if a field has been set. 135 136 ### GetShortDescription 137 138 `func (o *TemplateItem) GetShortDescription() string` 139 140 GetShortDescription returns the ShortDescription field if non-nil, zero value otherwise. 141 142 ### GetShortDescriptionOk 143 144 `func (o *TemplateItem) GetShortDescriptionOk() (*string, bool)` 145 146 GetShortDescriptionOk returns a tuple with the ShortDescription field if it's non-nil, zero value otherwise 147 and a boolean to check if the value has been set. 148 149 ### SetShortDescription 150 151 `func (o *TemplateItem) SetShortDescription(v string)` 152 153 SetShortDescription sets ShortDescription field to given value. 154 155 ### HasShortDescription 156 157 `func (o *TemplateItem) HasShortDescription() bool` 158 159 HasShortDescription returns a boolean if a field has been set. 160 161 ### SetShortDescriptionNil 162 163 `func (o *TemplateItem) SetShortDescriptionNil(b bool)` 164 165 SetShortDescriptionNil sets the value for ShortDescription to be an explicit nil 166 167 ### UnsetShortDescription 168 `func (o *TemplateItem) UnsetShortDescription()` 169 170 UnsetShortDescription ensures that no value is present for ShortDescription, not even an explicit nil 171 ### GetTags 172 173 `func (o *TemplateItem) GetTags() []string` 174 175 GetTags returns the Tags field if non-nil, zero value otherwise. 176 177 ### GetTagsOk 178 179 `func (o *TemplateItem) GetTagsOk() (*[]string, bool)` 180 181 GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise 182 and a boolean to check if the value has been set. 183 184 ### SetTags 185 186 `func (o *TemplateItem) SetTags(v []string)` 187 188 SetTags sets Tags field to given value. 189 190 ### HasTags 191 192 `func (o *TemplateItem) HasTags() bool` 193 194 HasTags returns a boolean if a field has been set. 195 196 ### GetVariablesSchema 197 198 `func (o *TemplateItem) GetVariablesSchema() []TemplateItemVariablesSchemaInner` 199 200 GetVariablesSchema returns the VariablesSchema field if non-nil, zero value otherwise. 201 202 ### GetVariablesSchemaOk 203 204 `func (o *TemplateItem) GetVariablesSchemaOk() (*[]TemplateItemVariablesSchemaInner, bool)` 205 206 GetVariablesSchemaOk returns a tuple with the VariablesSchema field if it's non-nil, zero value otherwise 207 and a boolean to check if the value has been set. 208 209 ### SetVariablesSchema 210 211 `func (o *TemplateItem) SetVariablesSchema(v []TemplateItemVariablesSchemaInner)` 212 213 SetVariablesSchema sets VariablesSchema field to given value. 214 215 ### HasVariablesSchema 216 217 `func (o *TemplateItem) HasVariablesSchema() bool` 218 219 HasVariablesSchema returns a boolean if a field has been set. 220 221 ### GetOrganization 222 223 `func (o *TemplateItem) GetOrganization() string` 224 225 GetOrganization returns the Organization field if non-nil, zero value otherwise. 226 227 ### GetOrganizationOk 228 229 `func (o *TemplateItem) GetOrganizationOk() (*string, bool)` 230 231 GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise 232 and a boolean to check if the value has been set. 233 234 ### SetOrganization 235 236 `func (o *TemplateItem) SetOrganization(v string)` 237 238 SetOrganization sets Organization field to given value. 239 240 ### HasOrganization 241 242 `func (o *TemplateItem) HasOrganization() bool` 243 244 HasOrganization returns a boolean if a field has been set. 245 246 ### SetOrganizationNil 247 248 `func (o *TemplateItem) SetOrganizationNil(b bool)` 249 250 SetOrganizationNil sets the value for Organization to be an explicit nil 251 252 ### UnsetOrganization 253 `func (o *TemplateItem) UnsetOrganization()` 254 255 UnsetOrganization ensures that no value is present for Organization, not even an explicit nil 256 ### GetTemplatesRepository 257 258 `func (o *TemplateItem) GetTemplatesRepository() string` 259 260 GetTemplatesRepository returns the TemplatesRepository field if non-nil, zero value otherwise. 261 262 ### GetTemplatesRepositoryOk 263 264 `func (o *TemplateItem) GetTemplatesRepositoryOk() (*string, bool)` 265 266 GetTemplatesRepositoryOk returns a tuple with the TemplatesRepository field if it's non-nil, zero value otherwise 267 and a boolean to check if the value has been set. 268 269 ### SetTemplatesRepository 270 271 `func (o *TemplateItem) SetTemplatesRepository(v string)` 272 273 SetTemplatesRepository sets TemplatesRepository field to given value. 274 275 ### HasTemplatesRepository 276 277 `func (o *TemplateItem) HasTemplatesRepository() bool` 278 279 HasTemplatesRepository returns a boolean if a field has been set. 280 281 ### SetTemplatesRepositoryNil 282 283 `func (o *TemplateItem) SetTemplatesRepositoryNil(b bool)` 284 285 SetTemplatesRepositoryNil sets the value for TemplatesRepository to be an explicit nil 286 287 ### UnsetTemplatesRepository 288 `func (o *TemplateItem) UnsetTemplatesRepository()` 289 290 UnsetTemplatesRepository ensures that no value is present for TemplatesRepository, not even an explicit nil 291 292 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 293 294