A flag variant the bandit uses.

Hierarchy

  • ExperimentsBanditVariantV2

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.

isFallback: boolean

Whether the variant is served when the bandit reaches its scheduled end. At most one variant is the fallback.

key: null | string

The variant's key. An arm keeps the key it had when it was added, because exposures are matched on it. null only for a fallback deleted from the flag.

name: null | string

The variant's name on the flag. null when it is no longer on the flag.

Generated using TypeDoc