Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.27 KB

File metadata and controls

36 lines (27 loc) · 1.27 KB

Rule

Properties

Name Type Description Notes
id str The flag rule ID [optional]
disabled bool Whether the rule is disabled [optional]
variation int The index of the variation, from the array of variations for this flag [optional]
rollout Rollout [optional]
clauses List[Clause] An array of clauses used for individual targeting based on attributes
track_events bool Whether LaunchDarkly tracks events for this rule
description str The rule description [optional]
ref str [optional]

Example

from launchdarkly_api.models.rule import Rule

# TODO update the JSON string below
json = "{}"
# create an instance of Rule from a JSON string
rule_instance = Rule.from_json(json)
# print the JSON string representation of the object
print(Rule.to_json())

# convert the object into a dict
rule_dict = rule_instance.to_dict()
# create an instance of Rule from a dict
rule_from_dict = Rule.from_dict(rule_dict)

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