Condition request payload for targeting rules. A condition is either an inline predicate with operator, attribute, and value, or a reference to a saved filter with saved_filter_id. The two shapes are mutually exclusive.

Hierarchy

  • ConditionRequest

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
attribute?: string

The user or request attribute to evaluate. Required for inline conditions; omit when saved_filter_id is set.

The operator used in a targeting condition.

savedFilterId?: string

The ID of a saved filter to reference as this condition. Mutually exclusive with operator, attribute, and value. When set, the saved filter's targeting rules are evaluated in place of an inline predicate.

value?: string[]

Values used by the selected operator. Required for inline conditions; omit when saved_filter_id is set.

Generated using TypeDoc