LaunchDarklyApi::ExpandedFlagRep
Name
Type
Description
Notes
name
String
A human-friendly name for the feature flag
kind
String
Kind of feature flag
description
String
Description of the feature flag
[optional]
key
String
A unique key used to reference the flag in your code
_version
Integer
Version of the feature flag
creation_date
Integer
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
ClientSideAvailability
[optional]
variations
Array<Variation>
An array of possible variations for the flag
temporary
Boolean
Whether the flag is a temporary flag
tags
Array<String>
Tags for the feature flag
_links
Hash<String, Link>
The location and content type of related resources
maintainer_id
String
The ID of the member who maintains the flag
[optional]
_maintainer
MemberSummary
[optional]
custom_properties
Hash<String, CustomProperty>
archived
Boolean
Boolean indicating if the feature flag is archived
archived_date
Integer
[optional]
defaults
Defaults
[optional]
require 'launchdarkly_api'
instance = LaunchDarklyApi ::ExpandedFlagRep . new (
name : My Flag ,
kind : boolean ,
description : This flag controls the example widgets ,
key : flag -key -123 abc ,
_version : 1 ,
creation_date : null ,
include_in_snippet : true ,
client_side_availability : null ,
variations : [ { " ; _id " ; :" ; e432f62b -55 f6 -49 dd -a02f -eb24acf39d05 " ; , " ; value " ; :true } , { " ; _id " ; :" ; a00bf58d -d252 -476 c -b915 -15 a74becacb4 " ; , " ; value " ; :false } ] ,
temporary : true ,
tags : [ " ; example -tag " ; ] ,
_links : { " ; parent " ; :{ " ; href " ; :" ; /api /v2 /flags /my -project " ; , " ; type " ; :" ; application /json " ; } , " ; self " ; :{ " ; href " ; :" ; /api/v 2 /flags /my -project /my -flag " ; , " ; type " ; :" ; application /json " ; } } ,
maintainer_id : 569 f183514f4432160000007 ,
_maintainer : null ,
custom_properties : null ,
archived : false ,
archived_date : null ,
defaults : null
)