Module mailslurp_client.models.inbox_placement_remote_results_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 InboxPlacementRemoteResultsDto (test=None, deliverability=None, setup_analysis=None, content_analysis=None, analysis=None, provider_analysis=None, targets=None, scores=None, share=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.

InboxPlacementRemoteResultsDto - a model defined in OpenAPI

Expand source code
class InboxPlacementRemoteResultsDto(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 = {
        'test': 'InboxPlacementRemoteTestSummaryDto',
        'deliverability': 'InboxPlacementDeliverabilitySummaryDto',
        'setup_analysis': 'dict(str, str)',
        'content_analysis': 'dict(str, str)',
        'analysis': 'InboxPlacementAnalysisBundleDto',
        'provider_analysis': 'InboxPlacementProviderAnalysisDto',
        'targets': 'list[InboxPlacementTargetResultDto]',
        'scores': 'list[dict(str, str)]',
        'share': 'dict(str, str)'
    }

    attribute_map = {
        'test': 'test',
        'deliverability': 'deliverability',
        'setup_analysis': 'setupAnalysis',
        'content_analysis': 'contentAnalysis',
        'analysis': 'analysis',
        'provider_analysis': 'providerAnalysis',
        'targets': 'targets',
        'scores': 'scores',
        'share': 'share'
    }

    def __init__(self, test=None, deliverability=None, setup_analysis=None, content_analysis=None, analysis=None, provider_analysis=None, targets=None, scores=None, share=None, local_vars_configuration=None):  # noqa: E501
        """InboxPlacementRemoteResultsDto - 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._test = None
        self._deliverability = None
        self._setup_analysis = None
        self._content_analysis = None
        self._analysis = None
        self._provider_analysis = None
        self._targets = None
        self._scores = None
        self._share = None
        self.discriminator = None

        self.test = test
        self.deliverability = deliverability
        self.setup_analysis = setup_analysis
        self.content_analysis = content_analysis
        self.analysis = analysis
        self.provider_analysis = provider_analysis
        self.targets = targets
        self.scores = scores
        self.share = share

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


        :return: The test of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: InboxPlacementRemoteTestSummaryDto
        """
        return self._test

    @test.setter
    def test(self, test):
        """Sets the test of this InboxPlacementRemoteResultsDto.


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

        self._test = test

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


        :return: The deliverability of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: InboxPlacementDeliverabilitySummaryDto
        """
        return self._deliverability

    @deliverability.setter
    def deliverability(self, deliverability):
        """Sets the deliverability of this InboxPlacementRemoteResultsDto.


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

        self._deliverability = deliverability

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


        :return: The setup_analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: dict(str, str)
        """
        return self._setup_analysis

    @setup_analysis.setter
    def setup_analysis(self, setup_analysis):
        """Sets the setup_analysis of this InboxPlacementRemoteResultsDto.


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

        self._setup_analysis = setup_analysis

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


        :return: The content_analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: dict(str, str)
        """
        return self._content_analysis

    @content_analysis.setter
    def content_analysis(self, content_analysis):
        """Sets the content_analysis of this InboxPlacementRemoteResultsDto.


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

        self._content_analysis = content_analysis

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


        :return: The analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: InboxPlacementAnalysisBundleDto
        """
        return self._analysis

    @analysis.setter
    def analysis(self, analysis):
        """Sets the analysis of this InboxPlacementRemoteResultsDto.


        :param analysis: The analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :type: InboxPlacementAnalysisBundleDto
        """

        self._analysis = analysis

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


        :return: The provider_analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: InboxPlacementProviderAnalysisDto
        """
        return self._provider_analysis

    @provider_analysis.setter
    def provider_analysis(self, provider_analysis):
        """Sets the provider_analysis of this InboxPlacementRemoteResultsDto.


        :param provider_analysis: The provider_analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :type: InboxPlacementProviderAnalysisDto
        """

        self._provider_analysis = provider_analysis

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


        :return: The targets of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: list[InboxPlacementTargetResultDto]
        """
        return self._targets

    @targets.setter
    def targets(self, targets):
        """Sets the targets of this InboxPlacementRemoteResultsDto.


        :param targets: The targets of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :type: list[InboxPlacementTargetResultDto]
        """
        if self.local_vars_configuration.client_side_validation and targets is None:  # noqa: E501
            raise ValueError("Invalid value for `targets`, must not be `None`")  # noqa: E501

        self._targets = targets

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


        :return: The scores of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: list[dict(str, str)]
        """
        return self._scores

    @scores.setter
    def scores(self, scores):
        """Sets the scores of this InboxPlacementRemoteResultsDto.


        :param scores: The scores of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :type: list[dict(str, str)]
        """
        if self.local_vars_configuration.client_side_validation and scores is None:  # noqa: E501
            raise ValueError("Invalid value for `scores`, must not be `None`")  # noqa: E501

        self._scores = scores

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


        :return: The share of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :rtype: dict(str, str)
        """
        return self._share

    @share.setter
    def share(self, share):
        """Sets the share of this InboxPlacementRemoteResultsDto.


        :param share: The share of this InboxPlacementRemoteResultsDto.  # noqa: E501
        :type: dict(str, str)
        """

        self._share = share

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

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

Class variables

var attribute_map
var openapi_types

Instance variables

prop analysis

Gets the analysis of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The analysis of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: InboxPlacementAnalysisBundleDto

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


    :return: The analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: InboxPlacementAnalysisBundleDto
    """
    return self._analysis
prop content_analysis

Gets the content_analysis of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The content_analysis of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: dict(str, str)

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


    :return: The content_analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: dict(str, str)
    """
    return self._content_analysis
prop deliverability

Gets the deliverability of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The deliverability of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: InboxPlacementDeliverabilitySummaryDto

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


    :return: The deliverability of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: InboxPlacementDeliverabilitySummaryDto
    """
    return self._deliverability
prop provider_analysis

Gets the provider_analysis of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The provider_analysis of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: InboxPlacementProviderAnalysisDto

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


    :return: The provider_analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: InboxPlacementProviderAnalysisDto
    """
    return self._provider_analysis
prop scores

Gets the scores of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The scores of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: list[dict(str, str)]

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


    :return: The scores of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: list[dict(str, str)]
    """
    return self._scores
prop setup_analysis

Gets the setup_analysis of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The setup_analysis of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: dict(str, str)

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


    :return: The setup_analysis of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: dict(str, str)
    """
    return self._setup_analysis
prop share

Gets the share of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The share of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: dict(str, str)

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


    :return: The share of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: dict(str, str)
    """
    return self._share
prop targets

Gets the targets of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The targets of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: list[InboxPlacementTargetResultDto]

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


    :return: The targets of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: list[InboxPlacementTargetResultDto]
    """
    return self._targets
prop test

Gets the test of this InboxPlacementRemoteResultsDto. # noqa: E501

:return: The test of this InboxPlacementRemoteResultsDto. # noqa: E501 :rtype: InboxPlacementRemoteTestSummaryDto

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


    :return: The test of this InboxPlacementRemoteResultsDto.  # noqa: E501
    :rtype: InboxPlacementRemoteTestSummaryDto
    """
    return self._test

Methods

def to_dict(self)

Returns the model properties as a dict

def to_str(self)

Returns the string representation of the model