Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.36 KB

File metadata and controls

28 lines (21 loc) · 1.36 KB

Variation

Properties

Name Type Description Notes
_id string The ID of the variation. Leave empty when you are creating a flag. [optional] [default to undefined]
value any 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. [default to undefined]
valueHash string A deterministic hash of the canonicalized variation <code>value</code>. Computed server-side; ignored if supplied in request bodies. [optional] [default to undefined]
description string Description of the variation. Defaults to an empty string, but is omitted from the response if not set. [optional] [default to undefined]
name string A human-friendly name for the variation. Defaults to an empty string, but is omitted from the response if not set. [optional] [default to undefined]

Example

import { Variation } from 'launchdarkly-api-typescript';

const instance: Variation = {
    _id,
    value,
    valueHash,
    description,
    name,
};

[Back to Model list] [Back to API list] [Back to README]