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