Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.93 KB

Rule.md

File metadata and controls

46 lines (37 loc) · 1.93 KB

Rule

Properties

Name Type Description Notes
created_at datetime The create date-time. [optional] [readonly]
description str Description for the rule [optional]
fixes List[ValidationFix] The list of fixes to apply when the rule validation fails. [optional]
id int [optional]
is_enabled bool [optional]
level LevelEnum
modified_at datetime The last modified date-time. [optional] [readonly]
name str The rule name.
project_id int [optional]
project_type ProjectType [optional]
scope Scope
type str The rule type, one of `field`, `word` or `code`. By default `field`.
what_operand_lhs WhatOperandLhs
what_operand_rhs str The right hand side operand for what condition.
what_operator WhatOperator
when_operand_lhs str The left hand side operand for when condition.
when_operand_rhs str The right hand side operand for when condition.
when_operator WhenOperator

Example

from wordlift_client.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]