LaunchDarklyApi::FeatureFlagBody
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
String
Description of the feature flag
[optional]
include_in_snippet
Boolean
Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK.
[optional]
client_side_availability
ClientSideAvailabilityPost
[optional]
variations
Array<Variation>
An array of possible variations for the flag. The variation values must be unique.
[optional]
temporary
Boolean
Whether the flag is a temporary flag. Defaults to true.
[optional]
tags
Array<String>
Tags for the feature flag
[optional]
custom_properties
Hash<String, CustomProperty>
[optional]
defaults
Defaults
[optional]
require 'launchdarkly_api'
instance = LaunchDarklyApi ::FeatureFlagBody . new (
name : My flag ,
key : my -flag ,
description : This flag controls the example widgets ,
include_in_snippet : null ,
client_side_availability : null ,
variations : [ { " ; value " ; :true } , { " ; value " ; :false } ] ,
temporary : false ,
tags : [ " ; example -tag " ; ] ,
custom_properties : null ,
defaults : null
)