Name | Type | Description | Notes |
---|---|---|---|
Name | string | A human-friendly name for the new environment. | |
Key | string | A project-unique key for the new environment. | |
Color | string | A color to indicate this environment in the UI. | |
DefaultTtl | Pointer to int32 | The default time (in minutes) that the PHP SDK can cache feature flag rules locally. | [optional] |
SecureMode | Pointer to bool | Ensures that a user of the client-side SDK cannot impersonate another user. | [optional] |
DefaultTrackEvents | Pointer to bool | Enables tracking detailed information for new flags by default. | [optional] |
ConfirmChanges | Pointer to bool | Requires confirmation for all flag and segment changes via the UI in this environment. | [optional] |
RequireComments | Pointer to bool | Requires comments for all flag and segment changes via the UI in this environment. | [optional] |
Tags | Pointer to []string | Tags to apply to the new environment. | [optional] |
Source | Pointer to SourceEnv | [optional] |
func NewEnvironmentPost(name string, key string, color string, ) *EnvironmentPost
NewEnvironmentPost instantiates a new EnvironmentPost 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 NewEnvironmentPostWithDefaults() *EnvironmentPost
NewEnvironmentPostWithDefaults instantiates a new EnvironmentPost 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 *EnvironmentPost) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *EnvironmentPost) 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 *EnvironmentPost) SetName(v string)
SetName sets Name field to given value.
func (o *EnvironmentPost) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetKey(v string)
SetKey sets Key field to given value.
func (o *EnvironmentPost) GetColor() string
GetColor returns the Color field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetColorOk() (*string, bool)
GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetColor(v string)
SetColor sets Color field to given value.
func (o *EnvironmentPost) GetDefaultTtl() int32
GetDefaultTtl returns the DefaultTtl field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetDefaultTtlOk() (*int32, bool)
GetDefaultTtlOk returns a tuple with the DefaultTtl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetDefaultTtl(v int32)
SetDefaultTtl sets DefaultTtl field to given value.
func (o *EnvironmentPost) HasDefaultTtl() bool
HasDefaultTtl returns a boolean if a field has been set.
func (o *EnvironmentPost) GetSecureMode() bool
GetSecureMode returns the SecureMode field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetSecureModeOk() (*bool, bool)
GetSecureModeOk returns a tuple with the SecureMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetSecureMode(v bool)
SetSecureMode sets SecureMode field to given value.
func (o *EnvironmentPost) HasSecureMode() bool
HasSecureMode returns a boolean if a field has been set.
func (o *EnvironmentPost) GetDefaultTrackEvents() bool
GetDefaultTrackEvents returns the DefaultTrackEvents field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetDefaultTrackEventsOk() (*bool, bool)
GetDefaultTrackEventsOk returns a tuple with the DefaultTrackEvents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetDefaultTrackEvents(v bool)
SetDefaultTrackEvents sets DefaultTrackEvents field to given value.
func (o *EnvironmentPost) HasDefaultTrackEvents() bool
HasDefaultTrackEvents returns a boolean if a field has been set.
func (o *EnvironmentPost) GetConfirmChanges() bool
GetConfirmChanges returns the ConfirmChanges field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetConfirmChangesOk() (*bool, bool)
GetConfirmChangesOk returns a tuple with the ConfirmChanges field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetConfirmChanges(v bool)
SetConfirmChanges sets ConfirmChanges field to given value.
func (o *EnvironmentPost) HasConfirmChanges() bool
HasConfirmChanges returns a boolean if a field has been set.
func (o *EnvironmentPost) GetRequireComments() bool
GetRequireComments returns the RequireComments field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetRequireCommentsOk() (*bool, bool)
GetRequireCommentsOk returns a tuple with the RequireComments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetRequireComments(v bool)
SetRequireComments sets RequireComments field to given value.
func (o *EnvironmentPost) HasRequireComments() bool
HasRequireComments returns a boolean if a field has been set.
func (o *EnvironmentPost) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *EnvironmentPost) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *EnvironmentPost) GetSource() SourceEnv
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *EnvironmentPost) GetSourceOk() (*SourceEnv, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentPost) SetSource(v SourceEnv)
SetSource sets Source field to given value.
func (o *EnvironmentPost) HasSource() bool
HasSource returns a boolean if a field has been set.