Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.24 KB

DenyRuleNew.md

File metadata and controls

31 lines (23 loc) · 1.24 KB

DenyRuleNew

The data for a email deny rule record.

Properties

Name Type Description Notes
user str Mail account username that will be tied to this rule. If not specified the first active mail order will be used. [optional]
type str The type of deny rule.
data str The content of the rule. If a domain type rule then an example would be google.com. For a begins with type an example would be msgid-. For the email typer an example would be [email protected].

Example

from openapi_client.models.deny_rule_new import DenyRuleNew

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

# convert the object into a dict
deny_rule_new_dict = deny_rule_new_instance.to_dict()
# create an instance of DenyRuleNew from a dict
deny_rule_new_form_dict = deny_rule_new.from_dict(deny_rule_new_dict)

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