Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 924 Bytes

Variation.md

File metadata and controls

24 lines (18 loc) · 924 Bytes

LaunchDarklyApi::Variation

Properties

Name Type Description Notes
_id String The ID of the variation. Leave empty when you are creating a flag. [optional]
value Object The value of the variation. For boolean flags, this must be <code>true</code> or <code>false</code>. For multivariate flags, this may be a string, number, or JSON object.
description String Description of the variation. Defaults to an empty string, but is omitted from the response if not set. [optional]
name String A human-friendly name for the variation. Defaults to an empty string, but is omitted from the response if not set. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::Variation.new(
  _id: null,
  value: null,
  description: null,
  name: null
)