Module mailslurp_client.models.domain_monitor_run_evidence_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 DomainMonitorRunEvidenceDto (score_version=None, score_scope=None, observed_message_received_at=None, outbound_ip=None, outbound_ip_source=None, observed_dkim_selector=None, observed_spf_status=None, observed_dkim_status=None, observed_dmarc_status=None, blacklist=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.

DomainMonitorRunEvidenceDto - a model defined in OpenAPI

Expand source code
class DomainMonitorRunEvidenceDto(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 = {
        'score_version': 'str',
        'score_scope': 'str',
        'observed_message_received_at': 'datetime',
        'outbound_ip': 'str',
        'outbound_ip_source': 'str',
        'observed_dkim_selector': 'str',
        'observed_spf_status': 'str',
        'observed_dkim_status': 'str',
        'observed_dmarc_status': 'str',
        'blacklist': 'CheckEmailBlacklistResults'
    }

    attribute_map = {
        'score_version': 'scoreVersion',
        'score_scope': 'scoreScope',
        'observed_message_received_at': 'observedMessageReceivedAt',
        'outbound_ip': 'outboundIp',
        'outbound_ip_source': 'outboundIpSource',
        'observed_dkim_selector': 'observedDkimSelector',
        'observed_spf_status': 'observedSpfStatus',
        'observed_dkim_status': 'observedDkimStatus',
        'observed_dmarc_status': 'observedDmarcStatus',
        'blacklist': 'blacklist'
    }

    def __init__(self, score_version=None, score_scope=None, observed_message_received_at=None, outbound_ip=None, outbound_ip_source=None, observed_dkim_selector=None, observed_spf_status=None, observed_dkim_status=None, observed_dmarc_status=None, blacklist=None, local_vars_configuration=None):  # noqa: E501
        """DomainMonitorRunEvidenceDto - 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._score_version = None
        self._score_scope = None
        self._observed_message_received_at = None
        self._outbound_ip = None
        self._outbound_ip_source = None
        self._observed_dkim_selector = None
        self._observed_spf_status = None
        self._observed_dkim_status = None
        self._observed_dmarc_status = None
        self._blacklist = None
        self.discriminator = None

        self.score_version = score_version
        self.score_scope = score_scope
        self.observed_message_received_at = observed_message_received_at
        self.outbound_ip = outbound_ip
        self.outbound_ip_source = outbound_ip_source
        self.observed_dkim_selector = observed_dkim_selector
        self.observed_spf_status = observed_spf_status
        self.observed_dkim_status = observed_dkim_status
        self.observed_dmarc_status = observed_dmarc_status
        self.blacklist = blacklist

    @property
    def score_version(self):
        """Gets the score_version of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The score_version of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._score_version

    @score_version.setter
    def score_version(self, score_version):
        """Sets the score_version of this DomainMonitorRunEvidenceDto.


        :param score_version: The score_version of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """
        if self.local_vars_configuration.client_side_validation and score_version is None:  # noqa: E501
            raise ValueError("Invalid value for `score_version`, must not be `None`")  # noqa: E501

        self._score_version = score_version

    @property
    def score_scope(self):
        """Gets the score_scope of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The score_scope of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._score_scope

    @score_scope.setter
    def score_scope(self, score_scope):
        """Sets the score_scope of this DomainMonitorRunEvidenceDto.


        :param score_scope: The score_scope of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """
        if self.local_vars_configuration.client_side_validation and score_scope is None:  # noqa: E501
            raise ValueError("Invalid value for `score_scope`, must not be `None`")  # noqa: E501
        allowed_values = ["CONFIGURATION_POSTURE", "CONFIGURATION_AND_OBSERVED_MESSAGE"]  # noqa: E501
        if self.local_vars_configuration.client_side_validation and score_scope not in allowed_values:  # noqa: E501
            raise ValueError(
                "Invalid value for `score_scope` ({0}), must be one of {1}"  # noqa: E501
                .format(score_scope, allowed_values)
            )

        self._score_scope = score_scope

    @property
    def observed_message_received_at(self):
        """Gets the observed_message_received_at of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The observed_message_received_at of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: datetime
        """
        return self._observed_message_received_at

    @observed_message_received_at.setter
    def observed_message_received_at(self, observed_message_received_at):
        """Sets the observed_message_received_at of this DomainMonitorRunEvidenceDto.


        :param observed_message_received_at: The observed_message_received_at of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: datetime
        """

        self._observed_message_received_at = observed_message_received_at

    @property
    def outbound_ip(self):
        """Gets the outbound_ip of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The outbound_ip of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._outbound_ip

    @outbound_ip.setter
    def outbound_ip(self, outbound_ip):
        """Sets the outbound_ip of this DomainMonitorRunEvidenceDto.


        :param outbound_ip: The outbound_ip of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """

        self._outbound_ip = outbound_ip

    @property
    def outbound_ip_source(self):
        """Gets the outbound_ip_source of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The outbound_ip_source of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._outbound_ip_source

    @outbound_ip_source.setter
    def outbound_ip_source(self, outbound_ip_source):
        """Sets the outbound_ip_source of this DomainMonitorRunEvidenceDto.


        :param outbound_ip_source: The outbound_ip_source of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """

        self._outbound_ip_source = outbound_ip_source

    @property
    def observed_dkim_selector(self):
        """Gets the observed_dkim_selector of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The observed_dkim_selector of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._observed_dkim_selector

    @observed_dkim_selector.setter
    def observed_dkim_selector(self, observed_dkim_selector):
        """Sets the observed_dkim_selector of this DomainMonitorRunEvidenceDto.


        :param observed_dkim_selector: The observed_dkim_selector of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """

        self._observed_dkim_selector = observed_dkim_selector

    @property
    def observed_spf_status(self):
        """Gets the observed_spf_status of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The observed_spf_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._observed_spf_status

    @observed_spf_status.setter
    def observed_spf_status(self, observed_spf_status):
        """Sets the observed_spf_status of this DomainMonitorRunEvidenceDto.


        :param observed_spf_status: The observed_spf_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """
        allowed_values = [None,"PASS", "FAIL", "WARNING", "NOT_CHECKED"]  # noqa: E501
        if self.local_vars_configuration.client_side_validation and observed_spf_status not in allowed_values:  # noqa: E501
            raise ValueError(
                "Invalid value for `observed_spf_status` ({0}), must be one of {1}"  # noqa: E501
                .format(observed_spf_status, allowed_values)
            )

        self._observed_spf_status = observed_spf_status

    @property
    def observed_dkim_status(self):
        """Gets the observed_dkim_status of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The observed_dkim_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._observed_dkim_status

    @observed_dkim_status.setter
    def observed_dkim_status(self, observed_dkim_status):
        """Sets the observed_dkim_status of this DomainMonitorRunEvidenceDto.


        :param observed_dkim_status: The observed_dkim_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """
        allowed_values = [None,"PASS", "FAIL", "WARNING", "NOT_CHECKED"]  # noqa: E501
        if self.local_vars_configuration.client_side_validation and observed_dkim_status not in allowed_values:  # noqa: E501
            raise ValueError(
                "Invalid value for `observed_dkim_status` ({0}), must be one of {1}"  # noqa: E501
                .format(observed_dkim_status, allowed_values)
            )

        self._observed_dkim_status = observed_dkim_status

    @property
    def observed_dmarc_status(self):
        """Gets the observed_dmarc_status of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The observed_dmarc_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: str
        """
        return self._observed_dmarc_status

    @observed_dmarc_status.setter
    def observed_dmarc_status(self, observed_dmarc_status):
        """Sets the observed_dmarc_status of this DomainMonitorRunEvidenceDto.


        :param observed_dmarc_status: The observed_dmarc_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: str
        """
        allowed_values = [None,"PASS", "FAIL", "WARNING", "NOT_CHECKED"]  # noqa: E501
        if self.local_vars_configuration.client_side_validation and observed_dmarc_status not in allowed_values:  # noqa: E501
            raise ValueError(
                "Invalid value for `observed_dmarc_status` ({0}), must be one of {1}"  # noqa: E501
                .format(observed_dmarc_status, allowed_values)
            )

        self._observed_dmarc_status = observed_dmarc_status

    @property
    def blacklist(self):
        """Gets the blacklist of this DomainMonitorRunEvidenceDto.  # noqa: E501


        :return: The blacklist of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :rtype: CheckEmailBlacklistResults
        """
        return self._blacklist

    @blacklist.setter
    def blacklist(self, blacklist):
        """Sets the blacklist of this DomainMonitorRunEvidenceDto.


        :param blacklist: The blacklist of this DomainMonitorRunEvidenceDto.  # noqa: E501
        :type: CheckEmailBlacklistResults
        """

        self._blacklist = blacklist

    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, DomainMonitorRunEvidenceDto):
            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, DomainMonitorRunEvidenceDto):
            return True

        return self.to_dict() != other.to_dict()

Class variables

var attribute_map
var openapi_types

Instance variables

prop blacklist

Gets the blacklist of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The blacklist of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: CheckEmailBlacklistResults

Expand source code
@property
def blacklist(self):
    """Gets the blacklist of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The blacklist of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: CheckEmailBlacklistResults
    """
    return self._blacklist
prop observed_dkim_selector

Gets the observed_dkim_selector of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The observed_dkim_selector of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def observed_dkim_selector(self):
    """Gets the observed_dkim_selector of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The observed_dkim_selector of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._observed_dkim_selector
prop observed_dkim_status

Gets the observed_dkim_status of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The observed_dkim_status of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def observed_dkim_status(self):
    """Gets the observed_dkim_status of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The observed_dkim_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._observed_dkim_status
prop observed_dmarc_status

Gets the observed_dmarc_status of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The observed_dmarc_status of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def observed_dmarc_status(self):
    """Gets the observed_dmarc_status of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The observed_dmarc_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._observed_dmarc_status
prop observed_message_received_at

Gets the observed_message_received_at of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The observed_message_received_at of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: datetime

Expand source code
@property
def observed_message_received_at(self):
    """Gets the observed_message_received_at of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The observed_message_received_at of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: datetime
    """
    return self._observed_message_received_at
prop observed_spf_status

Gets the observed_spf_status of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The observed_spf_status of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def observed_spf_status(self):
    """Gets the observed_spf_status of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The observed_spf_status of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._observed_spf_status
prop outbound_ip

Gets the outbound_ip of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The outbound_ip of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def outbound_ip(self):
    """Gets the outbound_ip of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The outbound_ip of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._outbound_ip
prop outbound_ip_source

Gets the outbound_ip_source of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The outbound_ip_source of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def outbound_ip_source(self):
    """Gets the outbound_ip_source of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The outbound_ip_source of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._outbound_ip_source
prop score_scope

Gets the score_scope of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The score_scope of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def score_scope(self):
    """Gets the score_scope of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The score_scope of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._score_scope
prop score_version

Gets the score_version of this DomainMonitorRunEvidenceDto. # noqa: E501

:return: The score_version of this DomainMonitorRunEvidenceDto. # noqa: E501 :rtype: str

Expand source code
@property
def score_version(self):
    """Gets the score_version of this DomainMonitorRunEvidenceDto.  # noqa: E501


    :return: The score_version of this DomainMonitorRunEvidenceDto.  # noqa: E501
    :rtype: str
    """
    return self._score_version

Methods

def to_dict(self)

Returns the model properties as a dict

def to_str(self)

Returns the string representation of the model