Skip to content

Latest commit

 

History

History
242 lines (133 loc) · 6.71 KB

EnvironmentModel.md

File metadata and controls

242 lines (133 loc) · 6.71 KB

EnvironmentModel

Properties

Name Type Description Notes
Product Pointer to ProductModel [optional]
EnvironmentId Pointer to string Identifier of the Environment. [optional]
Name Pointer to NullableString Name of the Environment. [optional]
Color Pointer to NullableString The configured color of the Environment. [optional]
Description Pointer to NullableString Description of the Environment. [optional]
Order Pointer to int32 The order of the Environment represented on the ConfigCat Dashboard. [optional]
ReasonRequired Pointer to bool Determines whether a mandatory reason must be given every time when the Feature Flags or Settings in the given Environment are saved. [optional]

Methods

NewEnvironmentModel

func NewEnvironmentModel() *EnvironmentModel

NewEnvironmentModel instantiates a new EnvironmentModel 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

NewEnvironmentModelWithDefaults

func NewEnvironmentModelWithDefaults() *EnvironmentModel

NewEnvironmentModelWithDefaults instantiates a new EnvironmentModel 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

GetProduct

func (o *EnvironmentModel) GetProduct() ProductModel

GetProduct returns the Product field if non-nil, zero value otherwise.

GetProductOk

func (o *EnvironmentModel) GetProductOk() (*ProductModel, bool)

GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProduct

func (o *EnvironmentModel) SetProduct(v ProductModel)

SetProduct sets Product field to given value.

HasProduct

func (o *EnvironmentModel) HasProduct() bool

HasProduct returns a boolean if a field has been set.

GetEnvironmentId

func (o *EnvironmentModel) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field if non-nil, zero value otherwise.

GetEnvironmentIdOk

func (o *EnvironmentModel) GetEnvironmentIdOk() (*string, bool)

GetEnvironmentIdOk returns a tuple with the EnvironmentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnvironmentId

func (o *EnvironmentModel) SetEnvironmentId(v string)

SetEnvironmentId sets EnvironmentId field to given value.

HasEnvironmentId

func (o *EnvironmentModel) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

GetName

func (o *EnvironmentModel) GetName() string

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

GetNameOk

func (o *EnvironmentModel) 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 *EnvironmentModel) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *EnvironmentModel) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *EnvironmentModel) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *EnvironmentModel) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetColor

func (o *EnvironmentModel) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

GetColorOk

func (o *EnvironmentModel) 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.

SetColor

func (o *EnvironmentModel) SetColor(v string)

SetColor sets Color field to given value.

HasColor

func (o *EnvironmentModel) HasColor() bool

HasColor returns a boolean if a field has been set.

SetColorNil

func (o *EnvironmentModel) SetColorNil(b bool)

SetColorNil sets the value for Color to be an explicit nil

UnsetColor

func (o *EnvironmentModel) UnsetColor()

UnsetColor ensures that no value is present for Color, not even an explicit nil

GetDescription

func (o *EnvironmentModel) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *EnvironmentModel) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *EnvironmentModel) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *EnvironmentModel) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *EnvironmentModel) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *EnvironmentModel) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetOrder

func (o *EnvironmentModel) GetOrder() int32

GetOrder returns the Order field if non-nil, zero value otherwise.

GetOrderOk

func (o *EnvironmentModel) GetOrderOk() (*int32, bool)

GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOrder

func (o *EnvironmentModel) SetOrder(v int32)

SetOrder sets Order field to given value.

HasOrder

func (o *EnvironmentModel) HasOrder() bool

HasOrder returns a boolean if a field has been set.

GetReasonRequired

func (o *EnvironmentModel) GetReasonRequired() bool

GetReasonRequired returns the ReasonRequired field if non-nil, zero value otherwise.

GetReasonRequiredOk

func (o *EnvironmentModel) GetReasonRequiredOk() (*bool, bool)

GetReasonRequiredOk returns a tuple with the ReasonRequired field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReasonRequired

func (o *EnvironmentModel) SetReasonRequired(v bool)

SetReasonRequired sets ReasonRequired field to given value.

HasReasonRequired

func (o *EnvironmentModel) HasReasonRequired() bool

HasReasonRequired returns a boolean if a field has been set.

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