bunnyshell.com/sdk@v0.16.0/docs/EnvironmentItem.md (about) 1 # EnvironmentItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | Environment identifier. | [optional] [readonly] 8 **Labels** | Pointer to **map[string]string** | Environment labels. | [optional] [readonly] 9 **Type** | Pointer to **string** | Environment type: primary or ephemeral. | [optional] [readonly] 10 **Name** | Pointer to **string** | Environment name. | [optional] [readonly] 11 **Namespace** | Pointer to **string** | Environment k8s namespace. | [optional] [readonly] 12 **TotalComponents** | Pointer to **int32** | Service component identifier | [optional] [readonly] 13 **OperationStatus** | Pointer to **string** | Environment operation status. | [optional] [readonly] 14 **ClusterStatus** | Pointer to **string** | Environment cluster status. | [optional] [readonly] 15 **BuildSettings** | Pointer to [**NullableBuildSettingsItem**](BuildSettingsItem.md) | | [optional] 16 **Project** | Pointer to **string** | Project identifier. | [optional] [readonly] 17 **KubernetesIntegration** | Pointer to **NullableString** | Kubernetes integration identifier. | [optional] [readonly] 18 **EphemeralKubernetesIntegration** | Pointer to **NullableString** | Kubernetes integration identifier for the ephemeral auto deploy cluster. | [optional] [readonly] 19 **HasEphemeralAutoDeploy** | Pointer to **bool** | Environment ephemeral auto deploy status. | [optional] [readonly] 20 **HasEphemeralCreateOnPr** | Pointer to **bool** | Environment ephemeral create-on-PR status. | [optional] [readonly] 21 **HasEphemeralDestroyOnPrClose** | Pointer to **bool** | Environment ephemeral destroy-on-PR close status. | [optional] [readonly] 22 23 ## Methods 24 25 ### NewEnvironmentItem 26 27 `func NewEnvironmentItem() *EnvironmentItem` 28 29 NewEnvironmentItem instantiates a new EnvironmentItem object 30 This constructor will assign default values to properties that have it defined, 31 and makes sure properties required by API are set, but the set of arguments 32 will change when the set of required properties is changed 33 34 ### NewEnvironmentItemWithDefaults 35 36 `func NewEnvironmentItemWithDefaults() *EnvironmentItem` 37 38 NewEnvironmentItemWithDefaults instantiates a new EnvironmentItem object 39 This constructor will only assign default values to properties that have it defined, 40 but it doesn't guarantee that properties required by API are set 41 42 ### GetId 43 44 `func (o *EnvironmentItem) GetId() string` 45 46 GetId returns the Id field if non-nil, zero value otherwise. 47 48 ### GetIdOk 49 50 `func (o *EnvironmentItem) GetIdOk() (*string, bool)` 51 52 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 53 and a boolean to check if the value has been set. 54 55 ### SetId 56 57 `func (o *EnvironmentItem) SetId(v string)` 58 59 SetId sets Id field to given value. 60 61 ### HasId 62 63 `func (o *EnvironmentItem) HasId() bool` 64 65 HasId returns a boolean if a field has been set. 66 67 ### GetLabels 68 69 `func (o *EnvironmentItem) GetLabels() map[string]string` 70 71 GetLabels returns the Labels field if non-nil, zero value otherwise. 72 73 ### GetLabelsOk 74 75 `func (o *EnvironmentItem) GetLabelsOk() (*map[string]string, bool)` 76 77 GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise 78 and a boolean to check if the value has been set. 79 80 ### SetLabels 81 82 `func (o *EnvironmentItem) SetLabels(v map[string]string)` 83 84 SetLabels sets Labels field to given value. 85 86 ### HasLabels 87 88 `func (o *EnvironmentItem) HasLabels() bool` 89 90 HasLabels returns a boolean if a field has been set. 91 92 ### GetType 93 94 `func (o *EnvironmentItem) GetType() string` 95 96 GetType returns the Type field if non-nil, zero value otherwise. 97 98 ### GetTypeOk 99 100 `func (o *EnvironmentItem) GetTypeOk() (*string, bool)` 101 102 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 103 and a boolean to check if the value has been set. 104 105 ### SetType 106 107 `func (o *EnvironmentItem) SetType(v string)` 108 109 SetType sets Type field to given value. 110 111 ### HasType 112 113 `func (o *EnvironmentItem) HasType() bool` 114 115 HasType returns a boolean if a field has been set. 116 117 ### GetName 118 119 `func (o *EnvironmentItem) GetName() string` 120 121 GetName returns the Name field if non-nil, zero value otherwise. 122 123 ### GetNameOk 124 125 `func (o *EnvironmentItem) GetNameOk() (*string, bool)` 126 127 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 128 and a boolean to check if the value has been set. 129 130 ### SetName 131 132 `func (o *EnvironmentItem) SetName(v string)` 133 134 SetName sets Name field to given value. 135 136 ### HasName 137 138 `func (o *EnvironmentItem) HasName() bool` 139 140 HasName returns a boolean if a field has been set. 141 142 ### GetNamespace 143 144 `func (o *EnvironmentItem) GetNamespace() string` 145 146 GetNamespace returns the Namespace field if non-nil, zero value otherwise. 147 148 ### GetNamespaceOk 149 150 `func (o *EnvironmentItem) GetNamespaceOk() (*string, bool)` 151 152 GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise 153 and a boolean to check if the value has been set. 154 155 ### SetNamespace 156 157 `func (o *EnvironmentItem) SetNamespace(v string)` 158 159 SetNamespace sets Namespace field to given value. 160 161 ### HasNamespace 162 163 `func (o *EnvironmentItem) HasNamespace() bool` 164 165 HasNamespace returns a boolean if a field has been set. 166 167 ### GetTotalComponents 168 169 `func (o *EnvironmentItem) GetTotalComponents() int32` 170 171 GetTotalComponents returns the TotalComponents field if non-nil, zero value otherwise. 172 173 ### GetTotalComponentsOk 174 175 `func (o *EnvironmentItem) GetTotalComponentsOk() (*int32, bool)` 176 177 GetTotalComponentsOk returns a tuple with the TotalComponents field if it's non-nil, zero value otherwise 178 and a boolean to check if the value has been set. 179 180 ### SetTotalComponents 181 182 `func (o *EnvironmentItem) SetTotalComponents(v int32)` 183 184 SetTotalComponents sets TotalComponents field to given value. 185 186 ### HasTotalComponents 187 188 `func (o *EnvironmentItem) HasTotalComponents() bool` 189 190 HasTotalComponents returns a boolean if a field has been set. 191 192 ### GetOperationStatus 193 194 `func (o *EnvironmentItem) GetOperationStatus() string` 195 196 GetOperationStatus returns the OperationStatus field if non-nil, zero value otherwise. 197 198 ### GetOperationStatusOk 199 200 `func (o *EnvironmentItem) GetOperationStatusOk() (*string, bool)` 201 202 GetOperationStatusOk returns a tuple with the OperationStatus field if it's non-nil, zero value otherwise 203 and a boolean to check if the value has been set. 204 205 ### SetOperationStatus 206 207 `func (o *EnvironmentItem) SetOperationStatus(v string)` 208 209 SetOperationStatus sets OperationStatus field to given value. 210 211 ### HasOperationStatus 212 213 `func (o *EnvironmentItem) HasOperationStatus() bool` 214 215 HasOperationStatus returns a boolean if a field has been set. 216 217 ### GetClusterStatus 218 219 `func (o *EnvironmentItem) GetClusterStatus() string` 220 221 GetClusterStatus returns the ClusterStatus field if non-nil, zero value otherwise. 222 223 ### GetClusterStatusOk 224 225 `func (o *EnvironmentItem) GetClusterStatusOk() (*string, bool)` 226 227 GetClusterStatusOk returns a tuple with the ClusterStatus field if it's non-nil, zero value otherwise 228 and a boolean to check if the value has been set. 229 230 ### SetClusterStatus 231 232 `func (o *EnvironmentItem) SetClusterStatus(v string)` 233 234 SetClusterStatus sets ClusterStatus field to given value. 235 236 ### HasClusterStatus 237 238 `func (o *EnvironmentItem) HasClusterStatus() bool` 239 240 HasClusterStatus returns a boolean if a field has been set. 241 242 ### GetBuildSettings 243 244 `func (o *EnvironmentItem) GetBuildSettings() BuildSettingsItem` 245 246 GetBuildSettings returns the BuildSettings field if non-nil, zero value otherwise. 247 248 ### GetBuildSettingsOk 249 250 `func (o *EnvironmentItem) GetBuildSettingsOk() (*BuildSettingsItem, bool)` 251 252 GetBuildSettingsOk returns a tuple with the BuildSettings field if it's non-nil, zero value otherwise 253 and a boolean to check if the value has been set. 254 255 ### SetBuildSettings 256 257 `func (o *EnvironmentItem) SetBuildSettings(v BuildSettingsItem)` 258 259 SetBuildSettings sets BuildSettings field to given value. 260 261 ### HasBuildSettings 262 263 `func (o *EnvironmentItem) HasBuildSettings() bool` 264 265 HasBuildSettings returns a boolean if a field has been set. 266 267 ### SetBuildSettingsNil 268 269 `func (o *EnvironmentItem) SetBuildSettingsNil(b bool)` 270 271 SetBuildSettingsNil sets the value for BuildSettings to be an explicit nil 272 273 ### UnsetBuildSettings 274 `func (o *EnvironmentItem) UnsetBuildSettings()` 275 276 UnsetBuildSettings ensures that no value is present for BuildSettings, not even an explicit nil 277 ### GetProject 278 279 `func (o *EnvironmentItem) GetProject() string` 280 281 GetProject returns the Project field if non-nil, zero value otherwise. 282 283 ### GetProjectOk 284 285 `func (o *EnvironmentItem) GetProjectOk() (*string, bool)` 286 287 GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise 288 and a boolean to check if the value has been set. 289 290 ### SetProject 291 292 `func (o *EnvironmentItem) SetProject(v string)` 293 294 SetProject sets Project field to given value. 295 296 ### HasProject 297 298 `func (o *EnvironmentItem) HasProject() bool` 299 300 HasProject returns a boolean if a field has been set. 301 302 ### GetKubernetesIntegration 303 304 `func (o *EnvironmentItem) GetKubernetesIntegration() string` 305 306 GetKubernetesIntegration returns the KubernetesIntegration field if non-nil, zero value otherwise. 307 308 ### GetKubernetesIntegrationOk 309 310 `func (o *EnvironmentItem) GetKubernetesIntegrationOk() (*string, bool)` 311 312 GetKubernetesIntegrationOk returns a tuple with the KubernetesIntegration field if it's non-nil, zero value otherwise 313 and a boolean to check if the value has been set. 314 315 ### SetKubernetesIntegration 316 317 `func (o *EnvironmentItem) SetKubernetesIntegration(v string)` 318 319 SetKubernetesIntegration sets KubernetesIntegration field to given value. 320 321 ### HasKubernetesIntegration 322 323 `func (o *EnvironmentItem) HasKubernetesIntegration() bool` 324 325 HasKubernetesIntegration returns a boolean if a field has been set. 326 327 ### SetKubernetesIntegrationNil 328 329 `func (o *EnvironmentItem) SetKubernetesIntegrationNil(b bool)` 330 331 SetKubernetesIntegrationNil sets the value for KubernetesIntegration to be an explicit nil 332 333 ### UnsetKubernetesIntegration 334 `func (o *EnvironmentItem) UnsetKubernetesIntegration()` 335 336 UnsetKubernetesIntegration ensures that no value is present for KubernetesIntegration, not even an explicit nil 337 ### GetEphemeralKubernetesIntegration 338 339 `func (o *EnvironmentItem) GetEphemeralKubernetesIntegration() string` 340 341 GetEphemeralKubernetesIntegration returns the EphemeralKubernetesIntegration field if non-nil, zero value otherwise. 342 343 ### GetEphemeralKubernetesIntegrationOk 344 345 `func (o *EnvironmentItem) GetEphemeralKubernetesIntegrationOk() (*string, bool)` 346 347 GetEphemeralKubernetesIntegrationOk returns a tuple with the EphemeralKubernetesIntegration field if it's non-nil, zero value otherwise 348 and a boolean to check if the value has been set. 349 350 ### SetEphemeralKubernetesIntegration 351 352 `func (o *EnvironmentItem) SetEphemeralKubernetesIntegration(v string)` 353 354 SetEphemeralKubernetesIntegration sets EphemeralKubernetesIntegration field to given value. 355 356 ### HasEphemeralKubernetesIntegration 357 358 `func (o *EnvironmentItem) HasEphemeralKubernetesIntegration() bool` 359 360 HasEphemeralKubernetesIntegration returns a boolean if a field has been set. 361 362 ### SetEphemeralKubernetesIntegrationNil 363 364 `func (o *EnvironmentItem) SetEphemeralKubernetesIntegrationNil(b bool)` 365 366 SetEphemeralKubernetesIntegrationNil sets the value for EphemeralKubernetesIntegration to be an explicit nil 367 368 ### UnsetEphemeralKubernetesIntegration 369 `func (o *EnvironmentItem) UnsetEphemeralKubernetesIntegration()` 370 371 UnsetEphemeralKubernetesIntegration ensures that no value is present for EphemeralKubernetesIntegration, not even an explicit nil 372 ### GetHasEphemeralAutoDeploy 373 374 `func (o *EnvironmentItem) GetHasEphemeralAutoDeploy() bool` 375 376 GetHasEphemeralAutoDeploy returns the HasEphemeralAutoDeploy field if non-nil, zero value otherwise. 377 378 ### GetHasEphemeralAutoDeployOk 379 380 `func (o *EnvironmentItem) GetHasEphemeralAutoDeployOk() (*bool, bool)` 381 382 GetHasEphemeralAutoDeployOk returns a tuple with the HasEphemeralAutoDeploy field if it's non-nil, zero value otherwise 383 and a boolean to check if the value has been set. 384 385 ### SetHasEphemeralAutoDeploy 386 387 `func (o *EnvironmentItem) SetHasEphemeralAutoDeploy(v bool)` 388 389 SetHasEphemeralAutoDeploy sets HasEphemeralAutoDeploy field to given value. 390 391 ### HasHasEphemeralAutoDeploy 392 393 `func (o *EnvironmentItem) HasHasEphemeralAutoDeploy() bool` 394 395 HasHasEphemeralAutoDeploy returns a boolean if a field has been set. 396 397 ### GetHasEphemeralCreateOnPr 398 399 `func (o *EnvironmentItem) GetHasEphemeralCreateOnPr() bool` 400 401 GetHasEphemeralCreateOnPr returns the HasEphemeralCreateOnPr field if non-nil, zero value otherwise. 402 403 ### GetHasEphemeralCreateOnPrOk 404 405 `func (o *EnvironmentItem) GetHasEphemeralCreateOnPrOk() (*bool, bool)` 406 407 GetHasEphemeralCreateOnPrOk returns a tuple with the HasEphemeralCreateOnPr field if it's non-nil, zero value otherwise 408 and a boolean to check if the value has been set. 409 410 ### SetHasEphemeralCreateOnPr 411 412 `func (o *EnvironmentItem) SetHasEphemeralCreateOnPr(v bool)` 413 414 SetHasEphemeralCreateOnPr sets HasEphemeralCreateOnPr field to given value. 415 416 ### HasHasEphemeralCreateOnPr 417 418 `func (o *EnvironmentItem) HasHasEphemeralCreateOnPr() bool` 419 420 HasHasEphemeralCreateOnPr returns a boolean if a field has been set. 421 422 ### GetHasEphemeralDestroyOnPrClose 423 424 `func (o *EnvironmentItem) GetHasEphemeralDestroyOnPrClose() bool` 425 426 GetHasEphemeralDestroyOnPrClose returns the HasEphemeralDestroyOnPrClose field if non-nil, zero value otherwise. 427 428 ### GetHasEphemeralDestroyOnPrCloseOk 429 430 `func (o *EnvironmentItem) GetHasEphemeralDestroyOnPrCloseOk() (*bool, bool)` 431 432 GetHasEphemeralDestroyOnPrCloseOk returns a tuple with the HasEphemeralDestroyOnPrClose field if it's non-nil, zero value otherwise 433 and a boolean to check if the value has been set. 434 435 ### SetHasEphemeralDestroyOnPrClose 436 437 `func (o *EnvironmentItem) SetHasEphemeralDestroyOnPrClose(v bool)` 438 439 SetHasEphemeralDestroyOnPrClose sets HasEphemeralDestroyOnPrClose field to given value. 440 441 ### HasHasEphemeralDestroyOnPrClose 442 443 `func (o *EnvironmentItem) HasHasEphemeralDestroyOnPrClose() bool` 444 445 HasHasEphemeralDestroyOnPrClose returns a boolean if a field has been set. 446 447 448 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 449 450