Skip to content

Latest commit

 

History

History
276 lines (147 loc) · 7.41 KB

Environment.md

File metadata and controls

276 lines (147 loc) · 7.41 KB

Environment

Properties

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]

Methods

NewEnvironment

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

NewEnvironmentWithDefaults

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

GetId

func (o *Environment) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *Environment) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *Environment) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

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.

SetCreatedAt

func (o *Environment) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *Environment) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

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.

SetUpdatedAt

func (o *Environment) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *Environment) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetName

func (o *Environment) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *Environment) SetName(v string)

SetName sets Name field to given value.

GetOrganization

func (o *Environment) GetOrganization() ReferenceObject

GetOrganization returns the Organization field if non-nil, zero value otherwise.

GetOrganizationOk

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.

SetOrganization

func (o *Environment) SetOrganization(v ReferenceObject)

SetOrganization sets Organization field to given value.

GetProject

func (o *Environment) GetProject() ReferenceObject

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

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.

SetProject

func (o *Environment) SetProject(v ReferenceObject)

SetProject sets Project field to given value.

GetLastUpdatedBy

func (o *Environment) GetLastUpdatedBy() string

GetLastUpdatedBy returns the LastUpdatedBy field if non-nil, zero value otherwise.

GetLastUpdatedByOk

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.

SetLastUpdatedBy

func (o *Environment) SetLastUpdatedBy(v string)

SetLastUpdatedBy sets LastUpdatedBy field to given value.

HasLastUpdatedBy

func (o *Environment) HasLastUpdatedBy() bool

HasLastUpdatedBy returns a boolean if a field has been set.

GetCloudProvider

func (o *Environment) GetCloudProvider() EnvironmentAllOfCloudProvider

GetCloudProvider returns the CloudProvider field if non-nil, zero value otherwise.

GetCloudProviderOk

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.

SetCloudProvider

func (o *Environment) SetCloudProvider(v EnvironmentAllOfCloudProvider)

SetCloudProvider sets CloudProvider field to given value.

GetMode

func (o *Environment) GetMode() EnvironmentModeEnum

GetMode returns the Mode field if non-nil, zero value otherwise.

GetModeOk

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.

SetMode

func (o *Environment) SetMode(v EnvironmentModeEnum)

SetMode sets Mode field to given value.

GetClusterId

func (o *Environment) GetClusterId() string

GetClusterId returns the ClusterId field if non-nil, zero value otherwise.

GetClusterIdOk

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.

SetClusterId

func (o *Environment) SetClusterId(v string)

SetClusterId sets ClusterId field to given value.

GetClusterName

func (o *Environment) GetClusterName() string

GetClusterName returns the ClusterName field if non-nil, zero value otherwise.

GetClusterNameOk

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.

SetClusterName

func (o *Environment) SetClusterName(v string)

SetClusterName sets ClusterName field to given value.

HasClusterName

func (o *Environment) HasClusterName() bool

HasClusterName returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]