Name | Type | Description | Notes |
---|---|---|---|
Name | string | A human-friendly name for the feature flag | |
Key | string | A unique key used to reference the flag in your code | |
Description | Pointer to string | Description of the feature flag. Defaults to an empty string. | [optional] |
IncludeInSnippet | Pointer to bool | Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK. Defaults to <code>false</code>. | [optional] |
ClientSideAvailability | Pointer to ClientSideAvailabilityPost | [optional] | |
Variations | Pointer to []Variation | An array of possible variations for the flag. The variation values must be unique. If omitted, two boolean variations of <code>true</code> and <code>false</code> will be used. | [optional] |
Temporary | Pointer to bool | Whether the flag is a temporary flag. Defaults to <code>true</code>. | [optional] |
Tags | Pointer to []string | Tags for the feature flag. Defaults to an empty array. | [optional] |
CustomProperties | Pointer to map[string]CustomProperty | [optional] | |
Defaults | Pointer to Defaults | [optional] | |
Purpose | Pointer to string | Purpose of the flag | [optional] |
MigrationSettings | Pointer to MigrationSettingsPost | [optional] | |
MaintainerId | Pointer to string | The ID of the member who maintains this feature flag | [optional] |
MaintainerTeamKey | Pointer to string | The key of the team that maintains this feature flag | [optional] |
InitialPrerequisites | Pointer to []FlagPrerequisitePost | Initial set of prerequisite flags for all environments | [optional] |
func NewFeatureFlagBody(name string, key string, ) *FeatureFlagBody
NewFeatureFlagBody instantiates a new FeatureFlagBody 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 NewFeatureFlagBodyWithDefaults() *FeatureFlagBody
NewFeatureFlagBodyWithDefaults instantiates a new FeatureFlagBody 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 *FeatureFlagBody) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) 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 *FeatureFlagBody) SetName(v string)
SetName sets Name field to given value.
func (o *FeatureFlagBody) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) 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 *FeatureFlagBody) SetKey(v string)
SetKey sets Key field to given value.
func (o *FeatureFlagBody) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) 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.
func (o *FeatureFlagBody) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *FeatureFlagBody) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetIncludeInSnippet() bool
GetIncludeInSnippet returns the IncludeInSnippet field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetIncludeInSnippetOk() (*bool, bool)
GetIncludeInSnippetOk returns a tuple with the IncludeInSnippet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetIncludeInSnippet(v bool)
SetIncludeInSnippet sets IncludeInSnippet field to given value.
func (o *FeatureFlagBody) HasIncludeInSnippet() bool
HasIncludeInSnippet returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetClientSideAvailability() ClientSideAvailabilityPost
GetClientSideAvailability returns the ClientSideAvailability field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetClientSideAvailabilityOk() (*ClientSideAvailabilityPost, bool)
GetClientSideAvailabilityOk returns a tuple with the ClientSideAvailability field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetClientSideAvailability(v ClientSideAvailabilityPost)
SetClientSideAvailability sets ClientSideAvailability field to given value.
func (o *FeatureFlagBody) HasClientSideAvailability() bool
HasClientSideAvailability returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetVariations() []Variation
GetVariations returns the Variations field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetVariationsOk() (*[]Variation, bool)
GetVariationsOk returns a tuple with the Variations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetVariations(v []Variation)
SetVariations sets Variations field to given value.
func (o *FeatureFlagBody) HasVariations() bool
HasVariations returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetTemporary() bool
GetTemporary returns the Temporary field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetTemporaryOk() (*bool, bool)
GetTemporaryOk returns a tuple with the Temporary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetTemporary(v bool)
SetTemporary sets Temporary field to given value.
func (o *FeatureFlagBody) HasTemporary() bool
HasTemporary returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) 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 *FeatureFlagBody) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *FeatureFlagBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetCustomProperties() map[string]CustomProperty
GetCustomProperties returns the CustomProperties field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetCustomPropertiesOk() (*map[string]CustomProperty, bool)
GetCustomPropertiesOk returns a tuple with the CustomProperties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetCustomProperties(v map[string]CustomProperty)
SetCustomProperties sets CustomProperties field to given value.
func (o *FeatureFlagBody) HasCustomProperties() bool
HasCustomProperties returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetDefaults() Defaults
GetDefaults returns the Defaults field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetDefaultsOk() (*Defaults, bool)
GetDefaultsOk returns a tuple with the Defaults field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetDefaults(v Defaults)
SetDefaults sets Defaults field to given value.
func (o *FeatureFlagBody) HasDefaults() bool
HasDefaults returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetPurpose() string
GetPurpose returns the Purpose field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetPurposeOk() (*string, bool)
GetPurposeOk returns a tuple with the Purpose field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetPurpose(v string)
SetPurpose sets Purpose field to given value.
func (o *FeatureFlagBody) HasPurpose() bool
HasPurpose returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetMigrationSettings() MigrationSettingsPost
GetMigrationSettings returns the MigrationSettings field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetMigrationSettingsOk() (*MigrationSettingsPost, bool)
GetMigrationSettingsOk returns a tuple with the MigrationSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetMigrationSettings(v MigrationSettingsPost)
SetMigrationSettings sets MigrationSettings field to given value.
func (o *FeatureFlagBody) HasMigrationSettings() bool
HasMigrationSettings returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetMaintainerId() string
GetMaintainerId returns the MaintainerId field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetMaintainerIdOk() (*string, bool)
GetMaintainerIdOk returns a tuple with the MaintainerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetMaintainerId(v string)
SetMaintainerId sets MaintainerId field to given value.
func (o *FeatureFlagBody) HasMaintainerId() bool
HasMaintainerId returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetMaintainerTeamKey() string
GetMaintainerTeamKey returns the MaintainerTeamKey field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetMaintainerTeamKeyOk() (*string, bool)
GetMaintainerTeamKeyOk returns a tuple with the MaintainerTeamKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetMaintainerTeamKey(v string)
SetMaintainerTeamKey sets MaintainerTeamKey field to given value.
func (o *FeatureFlagBody) HasMaintainerTeamKey() bool
HasMaintainerTeamKey returns a boolean if a field has been set.
func (o *FeatureFlagBody) GetInitialPrerequisites() []FlagPrerequisitePost
GetInitialPrerequisites returns the InitialPrerequisites field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) GetInitialPrerequisitesOk() (*[]FlagPrerequisitePost, bool)
GetInitialPrerequisitesOk returns a tuple with the InitialPrerequisites field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlagBody) SetInitialPrerequisites(v []FlagPrerequisitePost)
SetInitialPrerequisites sets InitialPrerequisites field to given value.
func (o *FeatureFlagBody) HasInitialPrerequisites() bool
HasInitialPrerequisites returns a boolean if a field has been set.