Module mailslurp_client.models.public_spam_test_run_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 PublicSpamTestRunDto (id=None, source=None, status=None, report_status=None, requested_segment=None, seedlist_profile=None, sender_domain=None, from_email=None, tracking_token=None, seed_addresses=None, seed_address_formats=None, total_targets=None, matched_targets=None, inbox_targets=None, spam_targets=None, not_received_targets=None, submitted_at=None, started_at=None, first_match_at=None, completed_at=None, expires_at=None, last_event_at=None, last_synced_at=None, free_limit_reached=None, error_code=None, created_at=None, updated_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.

PublicSpamTestRunDto - a model defined in OpenAPI

Expand source code
class PublicSpamTestRunDto(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 = {
        'id': 'str',
        'source': 'str',
        'status': 'str',
        'report_status': 'str',
        'requested_segment': 'str',
        'seedlist_profile': 'str',
        'sender_domain': 'str',
        'from_email': 'str',
        'tracking_token': 'str',
        'seed_addresses': 'list[str]',
        'seed_address_formats': 'dict(str, str)',
        'total_targets': 'int',
        'matched_targets': 'int',
        'inbox_targets': 'int',
        'spam_targets': 'int',
        'not_received_targets': 'int',
        'submitted_at': 'datetime',
        'started_at': 'datetime',
        'first_match_at': 'datetime',
        'completed_at': 'datetime',
        'expires_at': 'datetime',
        'last_event_at': 'datetime',
        'last_synced_at': 'datetime',
        'free_limit_reached': 'bool',
        'error_code': 'str',
        'created_at': 'datetime',
        'updated_at': 'datetime'
    }

    attribute_map = {
        'id': 'id',
        'source': 'source',
        'status': 'status',
        'report_status': 'reportStatus',
        'requested_segment': 'requestedSegment',
        'seedlist_profile': 'seedlistProfile',
        'sender_domain': 'senderDomain',
        'from_email': 'fromEmail',
        'tracking_token': 'trackingToken',
        'seed_addresses': 'seedAddresses',
        'seed_address_formats': 'seedAddressFormats',
        'total_targets': 'totalTargets',
        'matched_targets': 'matchedTargets',
        'inbox_targets': 'inboxTargets',
        'spam_targets': 'spamTargets',
        'not_received_targets': 'notReceivedTargets',
        'submitted_at': 'submittedAt',
        'started_at': 'startedAt',
        'first_match_at': 'firstMatchAt',
        'completed_at': 'completedAt',
        'expires_at': 'expiresAt',
        'last_event_at': 'lastEventAt',
        'last_synced_at': 'lastSyncedAt',
        'free_limit_reached': 'freeLimitReached',
        'error_code': 'errorCode',
        'created_at': 'createdAt',
        'updated_at': 'updatedAt'
    }

    def __init__(self, id=None, source=None, status=None, report_status=None, requested_segment=None, seedlist_profile=None, sender_domain=None, from_email=None, tracking_token=None, seed_addresses=None, seed_address_formats=None, total_targets=None, matched_targets=None, inbox_targets=None, spam_targets=None, not_received_targets=None, submitted_at=None, started_at=None, first_match_at=None, completed_at=None, expires_at=None, last_event_at=None, last_synced_at=None, free_limit_reached=None, error_code=None, created_at=None, updated_at=None, local_vars_configuration=None):  # noqa: E501
        """PublicSpamTestRunDto - 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._id = None
        self._source = None
        self._status = None
        self._report_status = None
        self._requested_segment = None
        self._seedlist_profile = None
        self._sender_domain = None
        self._from_email = None
        self._tracking_token = None
        self._seed_addresses = None
        self._seed_address_formats = None
        self._total_targets = None
        self._matched_targets = None
        self._inbox_targets = None
        self._spam_targets = None
        self._not_received_targets = None
        self._submitted_at = None
        self._started_at = None
        self._first_match_at = None
        self._completed_at = None
        self._expires_at = None
        self._last_event_at = None
        self._last_synced_at = None
        self._free_limit_reached = None
        self._error_code = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        self.id = id
        self.source = source
        self.status = status
        self.report_status = report_status
        self.requested_segment = requested_segment
        self.seedlist_profile = seedlist_profile
        self.sender_domain = sender_domain
        self.from_email = from_email
        self.tracking_token = tracking_token
        self.seed_addresses = seed_addresses
        self.seed_address_formats = seed_address_formats
        self.total_targets = total_targets
        self.matched_targets = matched_targets
        self.inbox_targets = inbox_targets
        self.spam_targets = spam_targets
        self.not_received_targets = not_received_targets
        self.submitted_at = submitted_at
        self.started_at = started_at
        self.first_match_at = first_match_at
        self.completed_at = completed_at
        self.expires_at = expires_at
        self.last_event_at = last_event_at
        self.last_synced_at = last_synced_at
        self.free_limit_reached = free_limit_reached
        self.error_code = error_code
        self.created_at = created_at
        self.updated_at = updated_at

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


        :return: The id of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this PublicSpamTestRunDto.


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

        self._id = id

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


        :return: The source of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._source

    @source.setter
    def source(self, source):
        """Sets the source of this PublicSpamTestRunDto.


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

        self._source = source

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


        :return: The status of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this PublicSpamTestRunDto.


        :param status: The status of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """

        self._status = status

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


        :return: The report_status of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._report_status

    @report_status.setter
    def report_status(self, report_status):
        """Sets the report_status of this PublicSpamTestRunDto.


        :param report_status: The report_status of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """

        self._report_status = report_status

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


        :return: The requested_segment of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._requested_segment

    @requested_segment.setter
    def requested_segment(self, requested_segment):
        """Sets the requested_segment of this PublicSpamTestRunDto.


        :param requested_segment: The requested_segment of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """

        self._requested_segment = requested_segment

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


        :return: The seedlist_profile of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._seedlist_profile

    @seedlist_profile.setter
    def seedlist_profile(self, seedlist_profile):
        """Sets the seedlist_profile of this PublicSpamTestRunDto.


        :param seedlist_profile: The seedlist_profile of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """

        self._seedlist_profile = seedlist_profile

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


        :return: The sender_domain of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._sender_domain

    @sender_domain.setter
    def sender_domain(self, sender_domain):
        """Sets the sender_domain of this PublicSpamTestRunDto.


        :param sender_domain: The sender_domain of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """

        self._sender_domain = sender_domain

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


        :return: The from_email of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._from_email

    @from_email.setter
    def from_email(self, from_email):
        """Sets the from_email of this PublicSpamTestRunDto.


        :param from_email: The from_email of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """

        self._from_email = from_email

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


        :return: The tracking_token of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._tracking_token

    @tracking_token.setter
    def tracking_token(self, tracking_token):
        """Sets the tracking_token of this PublicSpamTestRunDto.


        :param tracking_token: The tracking_token of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """

        self._tracking_token = tracking_token

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


        :return: The seed_addresses of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: list[str]
        """
        return self._seed_addresses

    @seed_addresses.setter
    def seed_addresses(self, seed_addresses):
        """Sets the seed_addresses of this PublicSpamTestRunDto.


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

        self._seed_addresses = seed_addresses

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


        :return: The seed_address_formats of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: dict(str, str)
        """
        return self._seed_address_formats

    @seed_address_formats.setter
    def seed_address_formats(self, seed_address_formats):
        """Sets the seed_address_formats of this PublicSpamTestRunDto.


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

        self._seed_address_formats = seed_address_formats

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


        :return: The total_targets of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: int
        """
        return self._total_targets

    @total_targets.setter
    def total_targets(self, total_targets):
        """Sets the total_targets of this PublicSpamTestRunDto.


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

        self._total_targets = total_targets

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


        :return: The matched_targets of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: int
        """
        return self._matched_targets

    @matched_targets.setter
    def matched_targets(self, matched_targets):
        """Sets the matched_targets of this PublicSpamTestRunDto.


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

        self._matched_targets = matched_targets

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


        :return: The inbox_targets of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: int
        """
        return self._inbox_targets

    @inbox_targets.setter
    def inbox_targets(self, inbox_targets):
        """Sets the inbox_targets of this PublicSpamTestRunDto.


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

        self._inbox_targets = inbox_targets

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


        :return: The spam_targets of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: int
        """
        return self._spam_targets

    @spam_targets.setter
    def spam_targets(self, spam_targets):
        """Sets the spam_targets of this PublicSpamTestRunDto.


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

        self._spam_targets = spam_targets

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


        :return: The not_received_targets of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: int
        """
        return self._not_received_targets

    @not_received_targets.setter
    def not_received_targets(self, not_received_targets):
        """Sets the not_received_targets of this PublicSpamTestRunDto.


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

        self._not_received_targets = not_received_targets

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


        :return: The submitted_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._submitted_at

    @submitted_at.setter
    def submitted_at(self, submitted_at):
        """Sets the submitted_at of this PublicSpamTestRunDto.


        :param submitted_at: The submitted_at of this PublicSpamTestRunDto.  # noqa: E501
        :type: datetime
        """

        self._submitted_at = submitted_at

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


        :return: The started_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._started_at

    @started_at.setter
    def started_at(self, started_at):
        """Sets the started_at of this PublicSpamTestRunDto.


        :param started_at: The started_at of this PublicSpamTestRunDto.  # noqa: E501
        :type: datetime
        """

        self._started_at = started_at

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


        :return: The first_match_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._first_match_at

    @first_match_at.setter
    def first_match_at(self, first_match_at):
        """Sets the first_match_at of this PublicSpamTestRunDto.


        :param first_match_at: The first_match_at of this PublicSpamTestRunDto.  # noqa: E501
        :type: datetime
        """

        self._first_match_at = first_match_at

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


        :return: The completed_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._completed_at

    @completed_at.setter
    def completed_at(self, completed_at):
        """Sets the completed_at of this PublicSpamTestRunDto.


        :param completed_at: The completed_at of this PublicSpamTestRunDto.  # noqa: E501
        :type: datetime
        """

        self._completed_at = completed_at

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


        :return: The expires_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._expires_at

    @expires_at.setter
    def expires_at(self, expires_at):
        """Sets the expires_at of this PublicSpamTestRunDto.


        :param expires_at: The expires_at of this PublicSpamTestRunDto.  # noqa: E501
        :type: datetime
        """

        self._expires_at = expires_at

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


        :return: The last_event_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._last_event_at

    @last_event_at.setter
    def last_event_at(self, last_event_at):
        """Sets the last_event_at of this PublicSpamTestRunDto.


        :param last_event_at: The last_event_at of this PublicSpamTestRunDto.  # noqa: E501
        :type: datetime
        """

        self._last_event_at = last_event_at

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


        :return: The last_synced_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._last_synced_at

    @last_synced_at.setter
    def last_synced_at(self, last_synced_at):
        """Sets the last_synced_at of this PublicSpamTestRunDto.


        :param last_synced_at: The last_synced_at of this PublicSpamTestRunDto.  # noqa: E501
        :type: datetime
        """

        self._last_synced_at = last_synced_at

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


        :return: The free_limit_reached of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: bool
        """
        return self._free_limit_reached

    @free_limit_reached.setter
    def free_limit_reached(self, free_limit_reached):
        """Sets the free_limit_reached of this PublicSpamTestRunDto.


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

        self._free_limit_reached = free_limit_reached

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


        :return: The error_code of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: str
        """
        return self._error_code

    @error_code.setter
    def error_code(self, error_code):
        """Sets the error_code of this PublicSpamTestRunDto.


        :param error_code: The error_code of this PublicSpamTestRunDto.  # noqa: E501
        :type: str
        """
        allowed_values = [None,"I_001_UPGRADE_REQUIRED", "W_404_ENTITY_NOT_FOUND", "W_404_USER_NOT_FOUND_FOR_ACCESS_LINK", "W_404_USER_NOT_FOUND_FOR_PASSWORD", "W_409_USER_ALREADY_EXISTS", "W_404_USER_NOT_FOUND_FOR_PASSWORD_RESET", "W_400_BAD_REQUEST", "W_400_CAPTCHA_REJECTED", "W_400_OPT_IN_REQUIRED", "W_400_SMS_US_A2P_10DLC_REGISTRATION_REQUIRED", "W_401_UNAUTHORIZED", "W_401_CHALLENGE_INVALID", "W_401_REQUIRES_VERIFICATION", "W_401_MULTIPLE_ACCOUNTS", "W_402_ACCOUNT_PAYMENT_OVERDUE", "W_403_FORBIDDEN", "W_403_FORBIDDEN_PHONE_NUMBER", "W_403_PHONE_VERIFICATION_GEO_BLOCKED", "W_403_SAML_IP_ADDRESS_NOT_ALLOWED", "W_403_ORGANIZATION_LOGIN_IP_ADDRESS_NOT_ALLOWED", "W_403_SELF_SERVE_EMAIL_NOT_ELIGIBLE", "W_409_CONFLICT", "W_409_ORGANIZATION_EMAIL_LOGIN_DISABLED", "W_409_PERSONAL_ACCOUNT_RESTRICTED_BY_ORGANIZATION", "W_409_LINK_ACCESS_BLOCKED", "W_409_SUBSCRIPTION_TRIAL_NOT_AVAILABLE", "W_409_SUBSCRIPTION_TRIAL_ACCOUNT_INELIGIBLE", "W_409_SUBSCRIPTION_TRIAL_ALREADY_USED", "W_409_SUBSCRIPTION_TRIAL_PAYMENT_METHOD_ALREADY_USED", "W_409_SUBSCRIPTION_TRIAL_PLAN_INELIGIBLE", "W_429_RATE_LIMITED", "W_429_SEND_DESTINATION_THROTTLED", "W_429_SEND_BLOCK", "W_429_SEND_BLOCK_TRIAL", "W_429_SEND_BLOCK_ADMIN_PAUSED", "W_429_SEND_BLOCK_PAYMENT_VALIDATION", "W_429_SEND_BLOCK_ACCOUNT_VALIDATION", "W_429_SEND_EVALUATION_LIMIT_REACHED", "W_429_SEND_BLOCK_EVALUATION_RECIPIENT", "W_400_SEND_EVALUATION_OPTIONS_UNSUPPORTED", "W_429_SENDING_AGREEMENT_REQUIRED", "W_429_ACCOUNT_FROZEN", "E_001_UNEXPECTED_ERROR", "E_400_BAD_REQUEST", "E_500_INTERNAL_ERROR", "W_429_SUBSCRIPTION_ADDON_REQUIRED_VALIDATION", "W_429_SUBSCRIPTION_ADDON_REQUIRED_CONNECTOR", "W_429_SUBSCRIPTION_ADDON_REQUIRED_DOMAIN_MONITOR", "W_429_SUBSCRIPTION_ADDON_REQUIRED_INBOX_PLACEMENT_TEST", "W_429_SUBSCRIPTION_ADDON_REQUIRED_AI", "W_429_SUBSCRIPTION_ADDON_REQUIRED_DEVICE_PREVIEW", "W_429_PHONE_NUMBER_LIMIT_REACHED", "W_429_AGENT_CONNECTION_LIMIT_REACHED", "W_429_SUBSCRIPTION_LIMIT_REACHED", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_BULK_CREATE", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_BULK_SEND", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_BULK_DELETE", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_CONTACTS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_PERMANENT_INBOXES", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_USER_PASSWORD", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_WEBHOOKS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_INBOX_RULESETS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_ATTACHMENTS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_ZAPIER", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_TRACKING_PIXELS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_INBOX_FORWARDERS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_INBOX_REPLIERS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_ATTACHMENT_AUTOMATIONS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_TEAM_INBOX", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_SAML_SSO", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_OIDC_SSO", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_SCIM_PROVISIONING", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_EMAIL_VALIDATION", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_SEND_WITH_QUEUE", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_CONNECTORS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_AI", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_GUEST_PORTALS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_EMAIL_FEATURE_CHECK", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_BACKUPS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_SCREENSHOTS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_DEVICE_PREVIEWS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_USER_PERMISSIONS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_ENVIRONMENTS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_IMPORT_EXPORT", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_AUDIT_LOGS", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_DELIVERABILITY_TEST", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_LOAD_TEST", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_EMAIL_AUDIT", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_INBOX_WARM_UP", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_CAMPAIGN_PROBE", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_VIRTUAL_TOTP_DEVICES", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_DEVICE_PREVIEW", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_DOMAIN_MONITOR", "W_429_SUBSCRIPTION_LIMIT_REACHED_FEATURE_INBOX_PLACEMENT_TESTS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_OAUTH_CONNECTIONS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_GMAIL_INBOXES", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_MONTHLY_INBOXES", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_TOTAL_INBOXES", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_PERMANENT_INBOXES", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_TEMPORARY_INBOXES", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_MAIL_SERVER_RECORDS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_DAILY_RECEIVE", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_MONTHLY_RECEIVE", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_DAILY_SEND", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_MONTHLY_SEND", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_EMAIL_VALIDATIONS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_ORGANIZATIONS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_DOMAINS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_ALIASES", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_THREADS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_ORGANIZATION_MANAGEMENT", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_ORGANIZATION_USERS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_STORAGE", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_UNIQUE_RECIPIENTS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_RECIPIENTS_PER_EMAIL", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_EMAIL_SIZE", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_PHONE_NUMBERS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_PHONE_PROVISION_REQUEST", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_AGENT_CONNECTIONS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_DEVICE_RENDERS", "W_429_SUBSCRIPTION_LIMIT_REACHED_LIMIT_AUTOMATED_INBOX_PLACEMENT_SCHEDULES", "W_429_SUBSCRIPTION_PAYMENT_FAILURES", "W_429_SUBSCRIPTION_TRIAL_LIMIT", "W_429_SUBSCRIPTION_REQUIRED", "W_429_SUBSCRIPTION_OUT_OF_DATE", "W_429_SUBSCRIPTION_FREE_LIMIT", "W_429_PUBLIC_DEVICE_RENDER_ACCOUNT_REQUIRED", "W_429_FREE_ACCOUNT_EXPIRED"]  # noqa: E501
        if self.local_vars_configuration.client_side_validation and error_code not in allowed_values:  # noqa: E501
            raise ValueError(
                "Invalid value for `error_code` ({0}), must be one of {1}"  # noqa: E501
                .format(error_code, allowed_values)
            )

        self._error_code = error_code

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


        :return: The created_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._created_at

    @created_at.setter
    def created_at(self, created_at):
        """Sets the created_at of this PublicSpamTestRunDto.


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

        self._created_at = created_at

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


        :return: The updated_at of this PublicSpamTestRunDto.  # noqa: E501
        :rtype: datetime
        """
        return self._updated_at

    @updated_at.setter
    def updated_at(self, updated_at):
        """Sets the updated_at of this PublicSpamTestRunDto.


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

        self._updated_at = updated_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, PublicSpamTestRunDto):
            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, PublicSpamTestRunDto):
            return True

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

Class variables

var attribute_map
var openapi_types

Instance variables

prop completed_at

Gets the completed_at of this PublicSpamTestRunDto. # noqa: E501

:return: The completed_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The completed_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._completed_at
prop created_at

Gets the created_at of this PublicSpamTestRunDto. # noqa: E501

:return: The created_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The created_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._created_at
prop error_code

Gets the error_code of this PublicSpamTestRunDto. # noqa: E501

:return: The error_code of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The error_code of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._error_code
prop expires_at

Gets the expires_at of this PublicSpamTestRunDto. # noqa: E501

:return: The expires_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The expires_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._expires_at
prop first_match_at

Gets the first_match_at of this PublicSpamTestRunDto. # noqa: E501

:return: The first_match_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The first_match_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._first_match_at
prop free_limit_reached

Gets the free_limit_reached of this PublicSpamTestRunDto. # noqa: E501

:return: The free_limit_reached of this PublicSpamTestRunDto. # noqa: E501 :rtype: bool

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


    :return: The free_limit_reached of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: bool
    """
    return self._free_limit_reached
prop from_email

Gets the from_email of this PublicSpamTestRunDto. # noqa: E501

:return: The from_email of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The from_email of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._from_email
prop id

Gets the id of this PublicSpamTestRunDto. # noqa: E501

:return: The id of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The id of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._id
prop inbox_targets

Gets the inbox_targets of this PublicSpamTestRunDto. # noqa: E501

:return: The inbox_targets of this PublicSpamTestRunDto. # noqa: E501 :rtype: int

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


    :return: The inbox_targets of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: int
    """
    return self._inbox_targets
prop last_event_at

Gets the last_event_at of this PublicSpamTestRunDto. # noqa: E501

:return: The last_event_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The last_event_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._last_event_at
prop last_synced_at

Gets the last_synced_at of this PublicSpamTestRunDto. # noqa: E501

:return: The last_synced_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The last_synced_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._last_synced_at
prop matched_targets

Gets the matched_targets of this PublicSpamTestRunDto. # noqa: E501

:return: The matched_targets of this PublicSpamTestRunDto. # noqa: E501 :rtype: int

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


    :return: The matched_targets of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: int
    """
    return self._matched_targets
prop not_received_targets

Gets the not_received_targets of this PublicSpamTestRunDto. # noqa: E501

:return: The not_received_targets of this PublicSpamTestRunDto. # noqa: E501 :rtype: int

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


    :return: The not_received_targets of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: int
    """
    return self._not_received_targets
prop report_status

Gets the report_status of this PublicSpamTestRunDto. # noqa: E501

:return: The report_status of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The report_status of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._report_status
prop requested_segment

Gets the requested_segment of this PublicSpamTestRunDto. # noqa: E501

:return: The requested_segment of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The requested_segment of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._requested_segment
prop seed_address_formats

Gets the seed_address_formats of this PublicSpamTestRunDto. # noqa: E501

:return: The seed_address_formats of this PublicSpamTestRunDto. # noqa: E501 :rtype: dict(str, str)

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


    :return: The seed_address_formats of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: dict(str, str)
    """
    return self._seed_address_formats
prop seed_addresses

Gets the seed_addresses of this PublicSpamTestRunDto. # noqa: E501

:return: The seed_addresses of this PublicSpamTestRunDto. # noqa: E501 :rtype: list[str]

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


    :return: The seed_addresses of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: list[str]
    """
    return self._seed_addresses
prop seedlist_profile

Gets the seedlist_profile of this PublicSpamTestRunDto. # noqa: E501

:return: The seedlist_profile of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The seedlist_profile of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._seedlist_profile
prop sender_domain

Gets the sender_domain of this PublicSpamTestRunDto. # noqa: E501

:return: The sender_domain of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The sender_domain of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._sender_domain
prop source

Gets the source of this PublicSpamTestRunDto. # noqa: E501

:return: The source of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The source of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._source
prop spam_targets

Gets the spam_targets of this PublicSpamTestRunDto. # noqa: E501

:return: The spam_targets of this PublicSpamTestRunDto. # noqa: E501 :rtype: int

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


    :return: The spam_targets of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: int
    """
    return self._spam_targets
prop started_at

Gets the started_at of this PublicSpamTestRunDto. # noqa: E501

:return: The started_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The started_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._started_at
prop status

Gets the status of this PublicSpamTestRunDto. # noqa: E501

:return: The status of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The status of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._status
prop submitted_at

Gets the submitted_at of this PublicSpamTestRunDto. # noqa: E501

:return: The submitted_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The submitted_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._submitted_at
prop total_targets

Gets the total_targets of this PublicSpamTestRunDto. # noqa: E501

:return: The total_targets of this PublicSpamTestRunDto. # noqa: E501 :rtype: int

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


    :return: The total_targets of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: int
    """
    return self._total_targets
prop tracking_token

Gets the tracking_token of this PublicSpamTestRunDto. # noqa: E501

:return: The tracking_token of this PublicSpamTestRunDto. # noqa: E501 :rtype: str

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


    :return: The tracking_token of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: str
    """
    return self._tracking_token
prop updated_at

Gets the updated_at of this PublicSpamTestRunDto. # noqa: E501

:return: The updated_at of this PublicSpamTestRunDto. # noqa: E501 :rtype: datetime

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


    :return: The updated_at of this PublicSpamTestRunDto.  # noqa: E501
    :rtype: datetime
    """
    return self._updated_at

Methods

def to_dict(self)

Returns the model properties as a dict

def to_str(self)

Returns the string representation of the model