Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.53 KB

Environment.md

File metadata and controls

135 lines (72 loc) · 3.53 KB

Environment

Properties

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

Methods

NewEnvironment

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

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.

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.

GetTitle

func (o *Environment) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

SetTitle

func (o *Environment) SetTitle(v string)

SetTitle sets Title field to given value.

GetPrimary

func (o *Environment) GetPrimary() bool

GetPrimary returns the Primary field if non-nil, zero value otherwise.

GetPrimaryOk

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.

SetPrimary

func (o *Environment) SetPrimary(v bool)

SetPrimary sets Primary field to given value.

GetUrls

func (o *Environment) GetUrls() EnvironmentUrls

GetUrls returns the Urls field if non-nil, zero value otherwise.

GetUrlsOk

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.

SetUrls

func (o *Environment) SetUrls(v EnvironmentUrls)

SetUrls sets Urls field to given value.

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