Variation
May 22, 2025 ยท View on GitHub
Example Usage
import { Variation } from "@launchdarkly/mcp-server/models/components";
let value: Variation = {
value: "<value>",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | :heavy_minus_sign: | The ID of the variation. Leave empty when you are creating a flag. |
value | any | :heavy_check_mark: | The value of the variation. For boolean flags, this must be true or false. For multivariate flags, this may be a string, number, or JSON object. |
description | string | :heavy_minus_sign: | Description of the variation. Defaults to an empty string, but is omitted from the response if not set. |
name | string | :heavy_minus_sign: | A human-friendly name for the variation. Defaults to an empty string, but is omitted from the response if not set. |