Name | Type | Description | Notes |
---|---|---|---|
description | str | Description for the rule | [optional] |
fixes | List[ValidationFix] | The list of fixes to apply when the rule validation fails. | [optional] |
is_enabled | bool | [optional] | |
level | LevelEnum | ||
name | str | The rule name. | |
project_id | int | The project id, if applicable. | [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 |
from wordlift_client.models.rule_request import RuleRequest
# TODO update the JSON string below
json = "{}"
# create an instance of RuleRequest from a JSON string
rule_request_instance = RuleRequest.from_json(json)
# print the JSON string representation of the object
print(RuleRequest.to_json())
# convert the object into a dict
rule_request_dict = rule_request_instance.to_dict()
# create an instance of RuleRequest from a dict
rule_request_from_dict = RuleRequest.from_dict(rule_request_dict)