Name | Type | Description | Notes |
---|---|---|---|
Name | string | A human-friendly name for the feature flag | |
Key | string | A unique key to reference the flag in your code | |
Description | Pointer to string | Description of the feature flag | [optional] |
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 ClientSideAvailabilityPost | [optional] | |
Variations | Pointer to []Variation | An array of possible variations for the flag. The variation values must be unique. | [optional] |
VariationJsonSchema | Pointer to interface{} | [optional] | |
Temporary | Pointer to bool | Whether or not the flag is a temporary flag | [optional] |
Tags | Pointer to []string | Tags for the feature flag | [optional] |
CustomProperties | Pointer to map[string]CustomProperty | [optional] | |
Defaults | Pointer to Defaults | [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) GetVariationJsonSchema() interface{}
GetVariationJsonSchema returns the VariationJsonSchema field if non-nil, zero value otherwise.
func (o *FeatureFlagBody) 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 *FeatureFlagBody) SetVariationJsonSchema(v interface{})
SetVariationJsonSchema sets VariationJsonSchema field to given value.
func (o *FeatureFlagBody) HasVariationJsonSchema() bool
HasVariationJsonSchema returns a boolean if a field has been set.
func (o *FeatureFlagBody) SetVariationJsonSchemaNil(b bool)
SetVariationJsonSchemaNil sets the value for VariationJsonSchema to be an explicit nil
func (o *FeatureFlagBody) UnsetVariationJsonSchema()
UnsetVariationJsonSchema ensures that no value is present for VariationJsonSchema, not even an explicit nil
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.