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