Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.39 KB

Rule.md

File metadata and controls

34 lines (27 loc) · 1.39 KB

Rule

Properties

Name Type Description Notes
_id string The flag rule ID [optional] [default to undefined]
disabled boolean Whether the rule is disabled [optional] [default to undefined]
variation number The index of the variation, from the array of variations for this flag [optional] [default to undefined]
rollout Rollout [optional] [default to undefined]
clauses Array<Clause> An array of clauses used for individual targeting based on attributes [default to undefined]
trackEvents boolean Whether the SDK sends a detailed event for every evaluation of this rule, instead of only summary counts. Required for Data Export, but doesn&#39;t enable Data Export on its own. [default to undefined]
description string The rule description [optional] [default to undefined]
ref string [optional] [default to undefined]

Example

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

const instance: Rule = {
    _id,
    disabled,
    variation,
    rollout,
    clauses,
    trackEvents,
    description,
    ref,
};

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