Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Name | string | name is case insensitive | |
Organization | ReferenceObject | ||
Project | ReferenceObject | ||
LastUpdatedBy | Pointer to string | uuid of the user that made the last update | [optional] |
CloudProvider | EnvironmentAllOfCloudProvider | ||
Mode | EnvironmentModeEnum | ||
ClusterId | string | ||
ClusterName | Pointer to string | [optional] |
func NewEnvironment(id string, createdAt time.Time, name string, organization ReferenceObject, project ReferenceObject, cloudProvider EnvironmentAllOfCloudProvider, mode EnvironmentModeEnum, clusterId string, ) *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) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Environment) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Environment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Environment) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Environment) HasUpdatedAt() bool
HasUpdatedAt 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) GetOrganization() ReferenceObject
GetOrganization returns the Organization field if non-nil, zero value otherwise.
func (o *Environment) GetOrganizationOk() (*ReferenceObject, bool)
GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetOrganization(v ReferenceObject)
SetOrganization sets Organization field to given value.
func (o *Environment) GetProject() ReferenceObject
GetProject returns the Project field if non-nil, zero value otherwise.
func (o *Environment) GetProjectOk() (*ReferenceObject, bool)
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetProject(v ReferenceObject)
SetProject sets Project field to given value.
func (o *Environment) GetLastUpdatedBy() string
GetLastUpdatedBy returns the LastUpdatedBy field if non-nil, zero value otherwise.
func (o *Environment) GetLastUpdatedByOk() (*string, bool)
GetLastUpdatedByOk returns a tuple with the LastUpdatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetLastUpdatedBy(v string)
SetLastUpdatedBy sets LastUpdatedBy field to given value.
func (o *Environment) HasLastUpdatedBy() bool
HasLastUpdatedBy returns a boolean if a field has been set.
func (o *Environment) GetCloudProvider() EnvironmentAllOfCloudProvider
GetCloudProvider returns the CloudProvider field if non-nil, zero value otherwise.
func (o *Environment) GetCloudProviderOk() (*EnvironmentAllOfCloudProvider, bool)
GetCloudProviderOk returns a tuple with the CloudProvider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetCloudProvider(v EnvironmentAllOfCloudProvider)
SetCloudProvider sets CloudProvider field to given value.
func (o *Environment) GetMode() EnvironmentModeEnum
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *Environment) GetModeOk() (*EnvironmentModeEnum, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetMode(v EnvironmentModeEnum)
SetMode sets Mode field to given value.
func (o *Environment) GetClusterId() string
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
func (o *Environment) GetClusterIdOk() (*string, bool)
GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetClusterId(v string)
SetClusterId sets ClusterId field to given value.
func (o *Environment) GetClusterName() string
GetClusterName returns the ClusterName field if non-nil, zero value otherwise.
func (o *Environment) GetClusterNameOk() (*string, bool)
GetClusterNameOk returns a tuple with the ClusterName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetClusterName(v string)
SetClusterName sets ClusterName field to given value.
func (o *Environment) HasClusterName() bool
HasClusterName returns a boolean if a field has been set.