Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.76 KB

File metadata and controls

30 lines (22 loc) · 1.76 KB

SpamProtectionIsEnabled

Properties

Name Type Description Notes
is_enabled object Включен ли спам-фильтр
filter_action object Что делать с письмами, которые попадают в спам. \ Параметры: \ `directory` - переместить в папку спам; \ `label` - пометить письмо; \ Если передан параметр `is_enabled`: `false`, то значение передавать нельзя [optional]
white_list object Белый список адресов от которых письма не будут попадать в спам. \ Если передан параметр `is_enabled`: `false`, то значение передавать нельзя [optional]

Example

from timeweb_cloud_api.models.spam_protection_is_enabled import SpamProtectionIsEnabled

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

# convert the object into a dict
spam_protection_is_enabled_dict = spam_protection_is_enabled_instance.to_dict()
# create an instance of SpamProtectionIsEnabled from a dict
spam_protection_is_enabled_form_dict = spam_protection_is_enabled.from_dict(spam_protection_is_enabled_dict)

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