Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 2.7 KB

FeatureFlagConfig.md

File metadata and controls

58 lines (52 loc) · 2.7 KB

LaunchDarklyApi::FeatureFlagConfig

Properties

Name Type Description Notes
on Boolean Whether the flag is on
archived Boolean Boolean indicating if the feature flag is archived
salt String
sel String
last_modified Integer
version Integer Version of the feature flag
targets Array<Target> An array of the individual targets that will receive a specific variation based on their key. Individual targets with a context kind of 'user' are included here. [optional]
context_targets Array<Target> An array of the individual targets that will receive a specific variation based on their key. Individual targets with context kinds other than 'user' are included here. [optional]
rules Array<Rule> An array of the rules for how to serve a variation to specific targets based on their attributes [optional]
fallthrough VariationOrRolloutRep [optional]
off_variation Integer The ID of the variation to serve when the flag is off [optional]
prerequisites Array<Prerequisite> An array of the prerequisite flags and their variations that are required before this flag takes effect [optional]
_site Link
_access Access [optional]
_environment_name String The environment name
track_events Boolean Whether LaunchDarkly tracks events for the feature flag, for all rules
track_events_fallthrough Boolean Whether LaunchDarkly tracks events for the feature flag, for the default rule
_debug_events_until_date Integer [optional]
_summary FlagSummary [optional]
evaluation FlagConfigEvaluation [optional]
migration_settings FlagConfigMigrationSettingsRep [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::FeatureFlagConfig.new(
  on: null,
  archived: null,
  salt: null,
  sel: null,
  last_modified: null,
  version: null,
  targets: null,
  context_targets: null,
  rules: null,
  fallthrough: null,
  off_variation: null,
  prerequisites: null,
  _site: null,
  _access: null,
  _environment_name: null,
  track_events: null,
  track_events_fallthrough: null,
  _debug_events_until_date: null,
  _summary: null,
  evaluation: null,
  migration_settings: null
)