Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.36 KB

File metadata and controls

32 lines (23 loc) · 1.36 KB

RuleMetadata

Properties

Name Type Description Notes
title str A short description of the rule.
display_name str A customer-facing name used to identify the reward defined within the rule. [optional]
display_description str A customer-facing description of the reward defined in the rule. For example, this property can contain details about eligibility requirements, reward timelines, or terms and conditions. [optional]
related_data str Data related to the reward, such as a vendor name, an image URL, or a content management system (CMS) ID. [optional]

Example

from talon_one.models.rule_metadata import RuleMetadata

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

# convert the object into a dict
rule_metadata_dict = rule_metadata_instance.to_dict()
# create an instance of RuleMetadata from a dict
rule_metadata_from_dict = RuleMetadata.from_dict(rule_metadata_dict)

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