Skip to content

Latest commit

 

History

History
316 lines (171 loc) · 9.33 KB

FeatureFlagBody.md

File metadata and controls

316 lines (171 loc) · 9.33 KB

FeatureFlagBody

Properties

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]

Methods

NewFeatureFlagBody

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

NewFeatureFlagBodyWithDefaults

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

GetName

func (o *FeatureFlagBody) GetName() string

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

GetNameOk

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.

SetName

func (o *FeatureFlagBody) SetName(v string)

SetName sets Name field to given value.

GetKey

func (o *FeatureFlagBody) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

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.

SetKey

func (o *FeatureFlagBody) SetKey(v string)

SetKey sets Key field to given value.

GetDescription

func (o *FeatureFlagBody) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *FeatureFlagBody) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *FeatureFlagBody) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetIncludeInSnippet

func (o *FeatureFlagBody) GetIncludeInSnippet() bool

GetIncludeInSnippet returns the IncludeInSnippet field if non-nil, zero value otherwise.

GetIncludeInSnippetOk

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.

SetIncludeInSnippet

func (o *FeatureFlagBody) SetIncludeInSnippet(v bool)

SetIncludeInSnippet sets IncludeInSnippet field to given value.

HasIncludeInSnippet

func (o *FeatureFlagBody) HasIncludeInSnippet() bool

HasIncludeInSnippet returns a boolean if a field has been set.

GetClientSideAvailability

func (o *FeatureFlagBody) GetClientSideAvailability() ClientSideAvailabilityPost

GetClientSideAvailability returns the ClientSideAvailability field if non-nil, zero value otherwise.

GetClientSideAvailabilityOk

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.

SetClientSideAvailability

func (o *FeatureFlagBody) SetClientSideAvailability(v ClientSideAvailabilityPost)

SetClientSideAvailability sets ClientSideAvailability field to given value.

HasClientSideAvailability

func (o *FeatureFlagBody) HasClientSideAvailability() bool

HasClientSideAvailability returns a boolean if a field has been set.

GetVariations

func (o *FeatureFlagBody) GetVariations() []Variation

GetVariations returns the Variations field if non-nil, zero value otherwise.

GetVariationsOk

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.

SetVariations

func (o *FeatureFlagBody) SetVariations(v []Variation)

SetVariations sets Variations field to given value.

HasVariations

func (o *FeatureFlagBody) HasVariations() bool

HasVariations returns a boolean if a field has been set.

GetVariationJsonSchema

func (o *FeatureFlagBody) GetVariationJsonSchema() interface{}

GetVariationJsonSchema returns the VariationJsonSchema field if non-nil, zero value otherwise.

GetVariationJsonSchemaOk

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.

SetVariationJsonSchema

func (o *FeatureFlagBody) SetVariationJsonSchema(v interface{})

SetVariationJsonSchema sets VariationJsonSchema field to given value.

HasVariationJsonSchema

func (o *FeatureFlagBody) HasVariationJsonSchema() bool

HasVariationJsonSchema returns a boolean if a field has been set.

SetVariationJsonSchemaNil

func (o *FeatureFlagBody) SetVariationJsonSchemaNil(b bool)

SetVariationJsonSchemaNil sets the value for VariationJsonSchema to be an explicit nil

UnsetVariationJsonSchema

func (o *FeatureFlagBody) UnsetVariationJsonSchema()

UnsetVariationJsonSchema ensures that no value is present for VariationJsonSchema, not even an explicit nil

GetTemporary

func (o *FeatureFlagBody) GetTemporary() bool

GetTemporary returns the Temporary field if non-nil, zero value otherwise.

GetTemporaryOk

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.

SetTemporary

func (o *FeatureFlagBody) SetTemporary(v bool)

SetTemporary sets Temporary field to given value.

HasTemporary

func (o *FeatureFlagBody) HasTemporary() bool

HasTemporary returns a boolean if a field has been set.

GetTags

func (o *FeatureFlagBody) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

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.

SetTags

func (o *FeatureFlagBody) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *FeatureFlagBody) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomProperties

func (o *FeatureFlagBody) GetCustomProperties() map[string]CustomProperty

GetCustomProperties returns the CustomProperties field if non-nil, zero value otherwise.

GetCustomPropertiesOk

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.

SetCustomProperties

func (o *FeatureFlagBody) SetCustomProperties(v map[string]CustomProperty)

SetCustomProperties sets CustomProperties field to given value.

HasCustomProperties

func (o *FeatureFlagBody) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

GetDefaults

func (o *FeatureFlagBody) GetDefaults() Defaults

GetDefaults returns the Defaults field if non-nil, zero value otherwise.

GetDefaultsOk

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.

SetDefaults

func (o *FeatureFlagBody) SetDefaults(v Defaults)

SetDefaults sets Defaults field to given value.

HasDefaults

func (o *FeatureFlagBody) HasDefaults() bool

HasDefaults returns a boolean if a field has been set.

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