bunnyshell.com/sdk@v0.16.0/docs/EnvironmentCreateAction.md (about) 1 # EnvironmentCreateAction 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Name** | **string** | | 8 **Project** | **string** | | 9 **Genesis** | Pointer to [**EnvironmentCreateActionGenesis**](EnvironmentCreateActionGenesis.md) | | [optional] 10 **Type** | Pointer to **string** | | [optional] 11 **RemoteDevelopmentAllowed** | Pointer to **bool** | | [optional] 12 **AutoUpdate** | Pointer to **bool** | | [optional] 13 **CreateEphemeralOnPrCreate** | Pointer to **bool** | | [optional] 14 **DestroyEphemeralOnPrClose** | Pointer to **bool** | | [optional] 15 **AutoDeployEphemeral** | Pointer to **bool** | | [optional] 16 **KubernetesIntegration** | Pointer to **NullableString** | | [optional] 17 **EphemeralKubernetesIntegration** | Pointer to **NullableString** | | [optional] 18 **Labels** | Pointer to **map[string]string** | | [optional] 19 20 ## Methods 21 22 ### NewEnvironmentCreateAction 23 24 `func NewEnvironmentCreateAction(name string, project string, ) *EnvironmentCreateAction` 25 26 NewEnvironmentCreateAction instantiates a new EnvironmentCreateAction 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 ### NewEnvironmentCreateActionWithDefaults 32 33 `func NewEnvironmentCreateActionWithDefaults() *EnvironmentCreateAction` 34 35 NewEnvironmentCreateActionWithDefaults instantiates a new EnvironmentCreateAction 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 ### GetName 40 41 `func (o *EnvironmentCreateAction) GetName() string` 42 43 GetName returns the Name field if non-nil, zero value otherwise. 44 45 ### GetNameOk 46 47 `func (o *EnvironmentCreateAction) GetNameOk() (*string, bool)` 48 49 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 50 and a boolean to check if the value has been set. 51 52 ### SetName 53 54 `func (o *EnvironmentCreateAction) SetName(v string)` 55 56 SetName sets Name field to given value. 57 58 59 ### GetProject 60 61 `func (o *EnvironmentCreateAction) GetProject() string` 62 63 GetProject returns the Project field if non-nil, zero value otherwise. 64 65 ### GetProjectOk 66 67 `func (o *EnvironmentCreateAction) GetProjectOk() (*string, bool)` 68 69 GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise 70 and a boolean to check if the value has been set. 71 72 ### SetProject 73 74 `func (o *EnvironmentCreateAction) SetProject(v string)` 75 76 SetProject sets Project field to given value. 77 78 79 ### GetGenesis 80 81 `func (o *EnvironmentCreateAction) GetGenesis() EnvironmentCreateActionGenesis` 82 83 GetGenesis returns the Genesis field if non-nil, zero value otherwise. 84 85 ### GetGenesisOk 86 87 `func (o *EnvironmentCreateAction) GetGenesisOk() (*EnvironmentCreateActionGenesis, bool)` 88 89 GetGenesisOk returns a tuple with the Genesis field if it's non-nil, zero value otherwise 90 and a boolean to check if the value has been set. 91 92 ### SetGenesis 93 94 `func (o *EnvironmentCreateAction) SetGenesis(v EnvironmentCreateActionGenesis)` 95 96 SetGenesis sets Genesis field to given value. 97 98 ### HasGenesis 99 100 `func (o *EnvironmentCreateAction) HasGenesis() bool` 101 102 HasGenesis returns a boolean if a field has been set. 103 104 ### GetType 105 106 `func (o *EnvironmentCreateAction) GetType() string` 107 108 GetType returns the Type field if non-nil, zero value otherwise. 109 110 ### GetTypeOk 111 112 `func (o *EnvironmentCreateAction) GetTypeOk() (*string, bool)` 113 114 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 115 and a boolean to check if the value has been set. 116 117 ### SetType 118 119 `func (o *EnvironmentCreateAction) SetType(v string)` 120 121 SetType sets Type field to given value. 122 123 ### HasType 124 125 `func (o *EnvironmentCreateAction) HasType() bool` 126 127 HasType returns a boolean if a field has been set. 128 129 ### GetRemoteDevelopmentAllowed 130 131 `func (o *EnvironmentCreateAction) GetRemoteDevelopmentAllowed() bool` 132 133 GetRemoteDevelopmentAllowed returns the RemoteDevelopmentAllowed field if non-nil, zero value otherwise. 134 135 ### GetRemoteDevelopmentAllowedOk 136 137 `func (o *EnvironmentCreateAction) GetRemoteDevelopmentAllowedOk() (*bool, bool)` 138 139 GetRemoteDevelopmentAllowedOk returns a tuple with the RemoteDevelopmentAllowed field if it's non-nil, zero value otherwise 140 and a boolean to check if the value has been set. 141 142 ### SetRemoteDevelopmentAllowed 143 144 `func (o *EnvironmentCreateAction) SetRemoteDevelopmentAllowed(v bool)` 145 146 SetRemoteDevelopmentAllowed sets RemoteDevelopmentAllowed field to given value. 147 148 ### HasRemoteDevelopmentAllowed 149 150 `func (o *EnvironmentCreateAction) HasRemoteDevelopmentAllowed() bool` 151 152 HasRemoteDevelopmentAllowed returns a boolean if a field has been set. 153 154 ### GetAutoUpdate 155 156 `func (o *EnvironmentCreateAction) GetAutoUpdate() bool` 157 158 GetAutoUpdate returns the AutoUpdate field if non-nil, zero value otherwise. 159 160 ### GetAutoUpdateOk 161 162 `func (o *EnvironmentCreateAction) GetAutoUpdateOk() (*bool, bool)` 163 164 GetAutoUpdateOk returns a tuple with the AutoUpdate field if it's non-nil, zero value otherwise 165 and a boolean to check if the value has been set. 166 167 ### SetAutoUpdate 168 169 `func (o *EnvironmentCreateAction) SetAutoUpdate(v bool)` 170 171 SetAutoUpdate sets AutoUpdate field to given value. 172 173 ### HasAutoUpdate 174 175 `func (o *EnvironmentCreateAction) HasAutoUpdate() bool` 176 177 HasAutoUpdate returns a boolean if a field has been set. 178 179 ### GetCreateEphemeralOnPrCreate 180 181 `func (o *EnvironmentCreateAction) GetCreateEphemeralOnPrCreate() bool` 182 183 GetCreateEphemeralOnPrCreate returns the CreateEphemeralOnPrCreate field if non-nil, zero value otherwise. 184 185 ### GetCreateEphemeralOnPrCreateOk 186 187 `func (o *EnvironmentCreateAction) GetCreateEphemeralOnPrCreateOk() (*bool, bool)` 188 189 GetCreateEphemeralOnPrCreateOk returns a tuple with the CreateEphemeralOnPrCreate field if it's non-nil, zero value otherwise 190 and a boolean to check if the value has been set. 191 192 ### SetCreateEphemeralOnPrCreate 193 194 `func (o *EnvironmentCreateAction) SetCreateEphemeralOnPrCreate(v bool)` 195 196 SetCreateEphemeralOnPrCreate sets CreateEphemeralOnPrCreate field to given value. 197 198 ### HasCreateEphemeralOnPrCreate 199 200 `func (o *EnvironmentCreateAction) HasCreateEphemeralOnPrCreate() bool` 201 202 HasCreateEphemeralOnPrCreate returns a boolean if a field has been set. 203 204 ### GetDestroyEphemeralOnPrClose 205 206 `func (o *EnvironmentCreateAction) GetDestroyEphemeralOnPrClose() bool` 207 208 GetDestroyEphemeralOnPrClose returns the DestroyEphemeralOnPrClose field if non-nil, zero value otherwise. 209 210 ### GetDestroyEphemeralOnPrCloseOk 211 212 `func (o *EnvironmentCreateAction) GetDestroyEphemeralOnPrCloseOk() (*bool, bool)` 213 214 GetDestroyEphemeralOnPrCloseOk returns a tuple with the DestroyEphemeralOnPrClose field if it's non-nil, zero value otherwise 215 and a boolean to check if the value has been set. 216 217 ### SetDestroyEphemeralOnPrClose 218 219 `func (o *EnvironmentCreateAction) SetDestroyEphemeralOnPrClose(v bool)` 220 221 SetDestroyEphemeralOnPrClose sets DestroyEphemeralOnPrClose field to given value. 222 223 ### HasDestroyEphemeralOnPrClose 224 225 `func (o *EnvironmentCreateAction) HasDestroyEphemeralOnPrClose() bool` 226 227 HasDestroyEphemeralOnPrClose returns a boolean if a field has been set. 228 229 ### GetAutoDeployEphemeral 230 231 `func (o *EnvironmentCreateAction) GetAutoDeployEphemeral() bool` 232 233 GetAutoDeployEphemeral returns the AutoDeployEphemeral field if non-nil, zero value otherwise. 234 235 ### GetAutoDeployEphemeralOk 236 237 `func (o *EnvironmentCreateAction) GetAutoDeployEphemeralOk() (*bool, bool)` 238 239 GetAutoDeployEphemeralOk returns a tuple with the AutoDeployEphemeral field if it's non-nil, zero value otherwise 240 and a boolean to check if the value has been set. 241 242 ### SetAutoDeployEphemeral 243 244 `func (o *EnvironmentCreateAction) SetAutoDeployEphemeral(v bool)` 245 246 SetAutoDeployEphemeral sets AutoDeployEphemeral field to given value. 247 248 ### HasAutoDeployEphemeral 249 250 `func (o *EnvironmentCreateAction) HasAutoDeployEphemeral() bool` 251 252 HasAutoDeployEphemeral returns a boolean if a field has been set. 253 254 ### GetKubernetesIntegration 255 256 `func (o *EnvironmentCreateAction) GetKubernetesIntegration() string` 257 258 GetKubernetesIntegration returns the KubernetesIntegration field if non-nil, zero value otherwise. 259 260 ### GetKubernetesIntegrationOk 261 262 `func (o *EnvironmentCreateAction) GetKubernetesIntegrationOk() (*string, bool)` 263 264 GetKubernetesIntegrationOk returns a tuple with the KubernetesIntegration field if it's non-nil, zero value otherwise 265 and a boolean to check if the value has been set. 266 267 ### SetKubernetesIntegration 268 269 `func (o *EnvironmentCreateAction) SetKubernetesIntegration(v string)` 270 271 SetKubernetesIntegration sets KubernetesIntegration field to given value. 272 273 ### HasKubernetesIntegration 274 275 `func (o *EnvironmentCreateAction) HasKubernetesIntegration() bool` 276 277 HasKubernetesIntegration returns a boolean if a field has been set. 278 279 ### SetKubernetesIntegrationNil 280 281 `func (o *EnvironmentCreateAction) SetKubernetesIntegrationNil(b bool)` 282 283 SetKubernetesIntegrationNil sets the value for KubernetesIntegration to be an explicit nil 284 285 ### UnsetKubernetesIntegration 286 `func (o *EnvironmentCreateAction) UnsetKubernetesIntegration()` 287 288 UnsetKubernetesIntegration ensures that no value is present for KubernetesIntegration, not even an explicit nil 289 ### GetEphemeralKubernetesIntegration 290 291 `func (o *EnvironmentCreateAction) GetEphemeralKubernetesIntegration() string` 292 293 GetEphemeralKubernetesIntegration returns the EphemeralKubernetesIntegration field if non-nil, zero value otherwise. 294 295 ### GetEphemeralKubernetesIntegrationOk 296 297 `func (o *EnvironmentCreateAction) GetEphemeralKubernetesIntegrationOk() (*string, bool)` 298 299 GetEphemeralKubernetesIntegrationOk returns a tuple with the EphemeralKubernetesIntegration field if it's non-nil, zero value otherwise 300 and a boolean to check if the value has been set. 301 302 ### SetEphemeralKubernetesIntegration 303 304 `func (o *EnvironmentCreateAction) SetEphemeralKubernetesIntegration(v string)` 305 306 SetEphemeralKubernetesIntegration sets EphemeralKubernetesIntegration field to given value. 307 308 ### HasEphemeralKubernetesIntegration 309 310 `func (o *EnvironmentCreateAction) HasEphemeralKubernetesIntegration() bool` 311 312 HasEphemeralKubernetesIntegration returns a boolean if a field has been set. 313 314 ### SetEphemeralKubernetesIntegrationNil 315 316 `func (o *EnvironmentCreateAction) SetEphemeralKubernetesIntegrationNil(b bool)` 317 318 SetEphemeralKubernetesIntegrationNil sets the value for EphemeralKubernetesIntegration to be an explicit nil 319 320 ### UnsetEphemeralKubernetesIntegration 321 `func (o *EnvironmentCreateAction) UnsetEphemeralKubernetesIntegration()` 322 323 UnsetEphemeralKubernetesIntegration ensures that no value is present for EphemeralKubernetesIntegration, not even an explicit nil 324 ### GetLabels 325 326 `func (o *EnvironmentCreateAction) GetLabels() map[string]string` 327 328 GetLabels returns the Labels field if non-nil, zero value otherwise. 329 330 ### GetLabelsOk 331 332 `func (o *EnvironmentCreateAction) GetLabelsOk() (*map[string]string, bool)` 333 334 GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise 335 and a boolean to check if the value has been set. 336 337 ### SetLabels 338 339 `func (o *EnvironmentCreateAction) SetLabels(v map[string]string)` 340 341 SetLabels sets Labels field to given value. 342 343 ### HasLabels 344 345 `func (o *EnvironmentCreateAction) HasLabels() bool` 346 347 HasLabels returns a boolean if a field has been set. 348 349 350 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 351 352