A flag variant the bandit uses, named by its ID. The variant's key and name come from the flag and can't be set.

Hierarchy

  • ExperimentsBanditVariantInputV2

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
featureFlagVariantId: string

The variant's ID on the flag.

isActive?: boolean

Whether the variant is one of the arms the bandit chooses between. Defaults to true.

isFallback?: boolean

Whether the variant is served when the bandit reaches its scheduled end. At most one variant is the fallback, and it doesn't have to be an arm. Defaults to false.

Generated using TypeDoc