Name | Type | Description | Notes |
---|---|---|---|
Name | string | A human-friendly name for the feature flag | |
Kind | string | Kind of feature flag | |
Description | Pointer to string | Description of the feature flag | [optional] |
Key | string | A unique key used to reference the flag in your code | |
Version | int32 | Version of the feature flag | |
CreationDate | int64 | ||
IncludeInSnippet | Pointer to bool | Deprecated, use clientSideAvailability. Whether or not this flag should be made available to the client-side JavaScript SDK | [optional] |
ClientSideAvailability | Pointer to ClientSideAvailability | [optional] | |
Variations | []Variation | An array of possible variations for the flag | |
VariationJsonSchema | Pointer to interface{} | [optional] | |
Temporary | bool | Whether or not the flag is a temporary flag | |
Tags | []string | Tags for the feature flag | |
Links | map[string]Link | ||
MaintainerId | Pointer to string | Associated maintainerId for the feature flag | [optional] |
Maintainer | Pointer to MemberSummary | [optional] | |
GoalIds | Pointer to []string | [optional] | |
Experiments | ExperimentInfoRep | ||
CustomProperties | map[string]CustomProperty | ||
Archived | bool | Boolean indicating if the feature flag is archived | |
ArchivedDate | Pointer to int64 | [optional] | |
Defaults | Pointer to Defaults | [optional] | |
Environments | map[string]FeatureFlagConfig |
func NewFeatureFlag(name string, kind string, key string, version int32, creationDate int64, variations []Variation, temporary bool, tags []string, links map[string]Link, experiments ExperimentInfoRep, customProperties map[string]CustomProperty, archived bool, environments map[string]FeatureFlagConfig, ) *FeatureFlag
NewFeatureFlag instantiates a new FeatureFlag 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 NewFeatureFlagWithDefaults() *FeatureFlag
NewFeatureFlagWithDefaults instantiates a new FeatureFlag 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 *FeatureFlag) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetName(v string)
SetName sets Name field to given value.
func (o *FeatureFlag) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetKind(v string)
SetKind sets Kind field to given value.
func (o *FeatureFlag) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *FeatureFlag) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *FeatureFlag) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetKey(v string)
SetKey sets Key field to given value.
func (o *FeatureFlag) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *FeatureFlag) GetCreationDate() int64
GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetCreationDateOk() (*int64, bool)
GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetCreationDate(v int64)
SetCreationDate sets CreationDate field to given value.
func (o *FeatureFlag) GetIncludeInSnippet() bool
GetIncludeInSnippet returns the IncludeInSnippet field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetIncludeInSnippet(v bool)
SetIncludeInSnippet sets IncludeInSnippet field to given value.
func (o *FeatureFlag) HasIncludeInSnippet() bool
HasIncludeInSnippet returns a boolean if a field has been set.
func (o *FeatureFlag) GetClientSideAvailability() ClientSideAvailability
GetClientSideAvailability returns the ClientSideAvailability field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetClientSideAvailabilityOk() (*ClientSideAvailability, 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 *FeatureFlag) SetClientSideAvailability(v ClientSideAvailability)
SetClientSideAvailability sets ClientSideAvailability field to given value.
func (o *FeatureFlag) HasClientSideAvailability() bool
HasClientSideAvailability returns a boolean if a field has been set.
func (o *FeatureFlag) GetVariations() []Variation
GetVariations returns the Variations field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetVariations(v []Variation)
SetVariations sets Variations field to given value.
func (o *FeatureFlag) GetVariationJsonSchema() interface{}
GetVariationJsonSchema returns the VariationJsonSchema field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetVariationJsonSchemaOk() (*interface{}, bool)
GetVariationJsonSchemaOk returns a tuple with the VariationJsonSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetVariationJsonSchema(v interface{})
SetVariationJsonSchema sets VariationJsonSchema field to given value.
func (o *FeatureFlag) HasVariationJsonSchema() bool
HasVariationJsonSchema returns a boolean if a field has been set.
func (o *FeatureFlag) SetVariationJsonSchemaNil(b bool)
SetVariationJsonSchemaNil sets the value for VariationJsonSchema to be an explicit nil
func (o *FeatureFlag) UnsetVariationJsonSchema()
UnsetVariationJsonSchema ensures that no value is present for VariationJsonSchema, not even an explicit nil
func (o *FeatureFlag) GetTemporary() bool
GetTemporary returns the Temporary field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetTemporary(v bool)
SetTemporary sets Temporary field to given value.
func (o *FeatureFlag) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *FeatureFlag) GetLinks() map[string]Link
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetLinksOk() (*map[string]Link, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetLinks(v map[string]Link)
SetLinks sets Links field to given value.
func (o *FeatureFlag) GetMaintainerId() string
GetMaintainerId returns the MaintainerId field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetMaintainerId(v string)
SetMaintainerId sets MaintainerId field to given value.
func (o *FeatureFlag) HasMaintainerId() bool
HasMaintainerId returns a boolean if a field has been set.
func (o *FeatureFlag) GetMaintainer() MemberSummary
GetMaintainer returns the Maintainer field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetMaintainerOk() (*MemberSummary, bool)
GetMaintainerOk returns a tuple with the Maintainer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetMaintainer(v MemberSummary)
SetMaintainer sets Maintainer field to given value.
func (o *FeatureFlag) HasMaintainer() bool
HasMaintainer returns a boolean if a field has been set.
func (o *FeatureFlag) GetGoalIds() []string
GetGoalIds returns the GoalIds field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetGoalIdsOk() (*[]string, bool)
GetGoalIdsOk returns a tuple with the GoalIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetGoalIds(v []string)
SetGoalIds sets GoalIds field to given value.
func (o *FeatureFlag) HasGoalIds() bool
HasGoalIds returns a boolean if a field has been set.
func (o *FeatureFlag) GetExperiments() ExperimentInfoRep
GetExperiments returns the Experiments field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetExperimentsOk() (*ExperimentInfoRep, bool)
GetExperimentsOk returns a tuple with the Experiments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetExperiments(v ExperimentInfoRep)
SetExperiments sets Experiments field to given value.
func (o *FeatureFlag) GetCustomProperties() map[string]CustomProperty
GetCustomProperties returns the CustomProperties field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetCustomProperties(v map[string]CustomProperty)
SetCustomProperties sets CustomProperties field to given value.
func (o *FeatureFlag) GetArchived() bool
GetArchived returns the Archived field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetArchived(v bool)
SetArchived sets Archived field to given value.
func (o *FeatureFlag) GetArchivedDate() int64
GetArchivedDate returns the ArchivedDate field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetArchivedDateOk() (*int64, bool)
GetArchivedDateOk returns a tuple with the ArchivedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetArchivedDate(v int64)
SetArchivedDate sets ArchivedDate field to given value.
func (o *FeatureFlag) HasArchivedDate() bool
HasArchivedDate returns a boolean if a field has been set.
func (o *FeatureFlag) GetDefaults() Defaults
GetDefaults returns the Defaults field if non-nil, zero value otherwise.
func (o *FeatureFlag) 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 *FeatureFlag) SetDefaults(v Defaults)
SetDefaults sets Defaults field to given value.
func (o *FeatureFlag) HasDefaults() bool
HasDefaults returns a boolean if a field has been set.
func (o *FeatureFlag) GetEnvironments() map[string]FeatureFlagConfig
GetEnvironments returns the Environments field if non-nil, zero value otherwise.
func (o *FeatureFlag) GetEnvironmentsOk() (*map[string]FeatureFlagConfig, bool)
GetEnvironmentsOk returns a tuple with the Environments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeatureFlag) SetEnvironments(v map[string]FeatureFlagConfig)
SetEnvironments sets Environments field to given value.