Module mailslurp_client.models.email_warmup_domain_health_dto
MailSlurp API
MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - Homepage - Get an API KEY - Generated SDK Clients - Examples repository # noqa: E501
The version of the OpenAPI document: 6.5.2 Contact: contact@mailslurp.dev Generated by: https://openapi-generator.tech
Classes
class EmailWarmupDomainHealthDto (domain=None, monitor_id=None, status=None, health_score=None, spf_ok=None, dkim_ok=None, dmarc_ok=None, mx_ok=None, blacklist_ok=None, checked_at=None, local_vars_configuration=None)-
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
EmailWarmupDomainHealthDto - a model defined in OpenAPI
Expand source code
class EmailWarmupDomainHealthDto(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. """ """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ openapi_types = { 'domain': 'str', 'monitor_id': 'str', 'status': 'str', 'health_score': 'int', 'spf_ok': 'bool', 'dkim_ok': 'bool', 'dmarc_ok': 'bool', 'mx_ok': 'bool', 'blacklist_ok': 'bool', 'checked_at': 'datetime' } attribute_map = { 'domain': 'domain', 'monitor_id': 'monitorId', 'status': 'status', 'health_score': 'healthScore', 'spf_ok': 'spfOk', 'dkim_ok': 'dkimOk', 'dmarc_ok': 'dmarcOk', 'mx_ok': 'mxOk', 'blacklist_ok': 'blacklistOk', 'checked_at': 'checkedAt' } def __init__(self, domain=None, monitor_id=None, status=None, health_score=None, spf_ok=None, dkim_ok=None, dmarc_ok=None, mx_ok=None, blacklist_ok=None, checked_at=None, local_vars_configuration=None): # noqa: E501 """EmailWarmupDomainHealthDto - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._domain = None self._monitor_id = None self._status = None self._health_score = None self._spf_ok = None self._dkim_ok = None self._dmarc_ok = None self._mx_ok = None self._blacklist_ok = None self._checked_at = None self.discriminator = None self.domain = domain self.monitor_id = monitor_id self.status = status self.health_score = health_score self.spf_ok = spf_ok self.dkim_ok = dkim_ok self.dmarc_ok = dmarc_ok self.mx_ok = mx_ok self.blacklist_ok = blacklist_ok self.checked_at = checked_at @property def domain(self): """Gets the domain of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The domain of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str """ return self._domain @domain.setter def domain(self, domain): """Sets the domain of this EmailWarmupDomainHealthDto. :param domain: The domain of this EmailWarmupDomainHealthDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and domain is None: # noqa: E501 raise ValueError("Invalid value for `domain`, must not be `None`") # noqa: E501 self._domain = domain @property def monitor_id(self): """Gets the monitor_id of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The monitor_id of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str """ return self._monitor_id @monitor_id.setter def monitor_id(self, monitor_id): """Sets the monitor_id of this EmailWarmupDomainHealthDto. :param monitor_id: The monitor_id of this EmailWarmupDomainHealthDto. # noqa: E501 :type: str """ self._monitor_id = monitor_id @property def status(self): """Gets the status of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The status of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str """ return self._status @status.setter def status(self, status): """Sets the status of this EmailWarmupDomainHealthDto. :param status: The status of this EmailWarmupDomainHealthDto. # noqa: E501 :type: str """ self._status = status @property def health_score(self): """Gets the health_score of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The health_score of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: int """ return self._health_score @health_score.setter def health_score(self, health_score): """Sets the health_score of this EmailWarmupDomainHealthDto. :param health_score: The health_score of this EmailWarmupDomainHealthDto. # noqa: E501 :type: int """ self._health_score = health_score @property def spf_ok(self): """Gets the spf_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The spf_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._spf_ok @spf_ok.setter def spf_ok(self, spf_ok): """Sets the spf_ok of this EmailWarmupDomainHealthDto. :param spf_ok: The spf_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :type: bool """ self._spf_ok = spf_ok @property def dkim_ok(self): """Gets the dkim_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The dkim_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._dkim_ok @dkim_ok.setter def dkim_ok(self, dkim_ok): """Sets the dkim_ok of this EmailWarmupDomainHealthDto. :param dkim_ok: The dkim_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :type: bool """ self._dkim_ok = dkim_ok @property def dmarc_ok(self): """Gets the dmarc_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The dmarc_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._dmarc_ok @dmarc_ok.setter def dmarc_ok(self, dmarc_ok): """Sets the dmarc_ok of this EmailWarmupDomainHealthDto. :param dmarc_ok: The dmarc_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :type: bool """ self._dmarc_ok = dmarc_ok @property def mx_ok(self): """Gets the mx_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The mx_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._mx_ok @mx_ok.setter def mx_ok(self, mx_ok): """Sets the mx_ok of this EmailWarmupDomainHealthDto. :param mx_ok: The mx_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :type: bool """ self._mx_ok = mx_ok @property def blacklist_ok(self): """Gets the blacklist_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The blacklist_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._blacklist_ok @blacklist_ok.setter def blacklist_ok(self, blacklist_ok): """Sets the blacklist_ok of this EmailWarmupDomainHealthDto. :param blacklist_ok: The blacklist_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :type: bool """ self._blacklist_ok = blacklist_ok @property def checked_at(self): """Gets the checked_at of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The checked_at of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: datetime """ return self._checked_at @checked_at.setter def checked_at(self, checked_at): """Sets the checked_at of this EmailWarmupDomainHealthDto. :param checked_at: The checked_at of this EmailWarmupDomainHealthDto. # noqa: E501 :type: datetime """ self._checked_at = checked_at def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value return result def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict()) def __repr__(self): """For `print` and `pprint`""" return self.to_str() def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, EmailWarmupDomainHealthDto): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, EmailWarmupDomainHealthDto): return True return self.to_dict() != other.to_dict()Class variables
var attribute_mapvar openapi_types
Instance variables
prop blacklist_ok-
Gets the blacklist_ok of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The blacklist_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool
Expand source code
@property def blacklist_ok(self): """Gets the blacklist_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The blacklist_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._blacklist_ok prop checked_at-
Gets the checked_at of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The checked_at of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: datetime
Expand source code
@property def checked_at(self): """Gets the checked_at of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The checked_at of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: datetime """ return self._checked_at prop dkim_ok-
Gets the dkim_ok of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The dkim_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool
Expand source code
@property def dkim_ok(self): """Gets the dkim_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The dkim_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._dkim_ok prop dmarc_ok-
Gets the dmarc_ok of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The dmarc_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool
Expand source code
@property def dmarc_ok(self): """Gets the dmarc_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The dmarc_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._dmarc_ok prop domain-
Gets the domain of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The domain of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str
Expand source code
@property def domain(self): """Gets the domain of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The domain of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str """ return self._domain prop health_score-
Gets the health_score of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The health_score of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: int
Expand source code
@property def health_score(self): """Gets the health_score of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The health_score of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: int """ return self._health_score prop monitor_id-
Gets the monitor_id of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The monitor_id of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str
Expand source code
@property def monitor_id(self): """Gets the monitor_id of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The monitor_id of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str """ return self._monitor_id prop mx_ok-
Gets the mx_ok of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The mx_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool
Expand source code
@property def mx_ok(self): """Gets the mx_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The mx_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._mx_ok prop spf_ok-
Gets the spf_ok of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The spf_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool
Expand source code
@property def spf_ok(self): """Gets the spf_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The spf_ok of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: bool """ return self._spf_ok prop status-
Gets the status of this EmailWarmupDomainHealthDto. # noqa: E501
:return: The status of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str
Expand source code
@property def status(self): """Gets the status of this EmailWarmupDomainHealthDto. # noqa: E501 :return: The status of this EmailWarmupDomainHealthDto. # noqa: E501 :rtype: str """ return self._status
Methods
def to_dict(self)-
Returns the model properties as a dict
def to_str(self)-
Returns the string representation of the model