Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.11 KB

File metadata and controls

26 lines (20 loc) · 1.11 KB

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.
value_hash String A deterministic hash of the canonicalized variation <code>value</code>. Computed server-side; ignored if supplied in request bodies. [optional]
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,
  value_hash: null,
  description: null,
  name: null
)