The data for a email deny rule record.
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]. |
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)