Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The Environment object entity ID. | [optional] |
Name | Pointer to string | The name of this environment. | [optional] |
Namespace | Pointer to NullableString | The namespace of this environment for replicated and restored objects. | [optional] |
EngineId | Pointer to int64 | A reference to the Engine that this Environment connection is associated with. | [optional] |
Enabled | Pointer to bool | True if this environment is enabled. | [optional] |
IsCluster | Pointer to bool | True if this environment is a cluster of hosts. | [optional] |
Hosts | Pointer to []Host | The hosts that are part of this environment. | [optional] |
func NewEnvironment() *Environment
NewEnvironment instantiates a new Environment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnvironmentWithDefaults() *Environment
NewEnvironmentWithDefaults instantiates a new Environment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Environment) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Environment) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetId(v string)
SetId sets Id field to given value.
func (o *Environment) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Environment) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Environment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetName(v string)
SetName sets Name field to given value.
func (o *Environment) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Environment) GetNamespace() string
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
func (o *Environment) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetNamespace(v string)
SetNamespace sets Namespace field to given value.
func (o *Environment) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (o *Environment) SetNamespaceNil(b bool)
SetNamespaceNil sets the value for Namespace to be an explicit nil
func (o *Environment) UnsetNamespace()
UnsetNamespace ensures that no value is present for Namespace, not even an explicit nil
func (o *Environment) GetEngineId() int64
GetEngineId returns the EngineId field if non-nil, zero value otherwise.
func (o *Environment) GetEngineIdOk() (*int64, bool)
GetEngineIdOk returns a tuple with the EngineId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetEngineId(v int64)
SetEngineId sets EngineId field to given value.
func (o *Environment) HasEngineId() bool
HasEngineId returns a boolean if a field has been set.
func (o *Environment) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Environment) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Environment) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *Environment) GetIsCluster() bool
GetIsCluster returns the IsCluster field if non-nil, zero value otherwise.
func (o *Environment) GetIsClusterOk() (*bool, bool)
GetIsClusterOk returns a tuple with the IsCluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetIsCluster(v bool)
SetIsCluster sets IsCluster field to given value.
func (o *Environment) HasIsCluster() bool
HasIsCluster returns a boolean if a field has been set.
func (o *Environment) GetHosts() []Host
GetHosts returns the Hosts field if non-nil, zero value otherwise.
func (o *Environment) GetHostsOk() (*[]Host, bool)
GetHostsOk returns a tuple with the Hosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetHosts(v []Host)
SetHosts sets Hosts field to given value.
func (o *Environment) HasHosts() bool
HasHosts returns a boolean if a field has been set.