Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Name | string | ||
Title | string | ||
Primary | bool | Whether or not an environment is considered to have elevated responsibilities over other environments. Useful for distinguishing a production environment from a staging environment. Multiple primary environments are allowed. Your organization must have at least one primary environment. | |
Urls | EnvironmentUrls |
func NewEnvironment(id string, name string, title string, primary bool, urls EnvironmentUrls, ) *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) 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) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *Environment) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *Environment) GetPrimary() bool
GetPrimary returns the Primary field if non-nil, zero value otherwise.
func (o *Environment) GetPrimaryOk() (*bool, bool)
GetPrimaryOk returns a tuple with the Primary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetPrimary(v bool)
SetPrimary sets Primary field to given value.
func (o *Environment) GetUrls() EnvironmentUrls
GetUrls returns the Urls field if non-nil, zero value otherwise.
func (o *Environment) GetUrlsOk() (*EnvironmentUrls, bool)
GetUrlsOk returns a tuple with the Urls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Environment) SetUrls(v EnvironmentUrls)
SetUrls sets Urls field to given value.