Module mailslurp_client.models.device_preview_email_submission_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 DevicePreviewEmailSubmissionDto (id=None, user_id=None, ingest_domain_id=None, profile_id=None, run_id=None, recipient_email_address=None, recipient_local_part=None, matched_profile=None, status=None, source_external_id=None, source_from=None, source_to=None, source_subject=None, source_message_id=None, source_size_bytes=None, failure_stage=None, failure_code=None, latest_error=None, received_at=None, processing_started_at=None, completed_at=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.
DevicePreviewEmailSubmissionDto - a model defined in OpenAPI
Expand source code
class DevicePreviewEmailSubmissionDto(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', 'user_id': 'str', 'ingest_domain_id': 'str', 'profile_id': 'str', 'run_id': 'str', 'recipient_email_address': 'str', 'recipient_local_part': 'str', 'matched_profile': 'bool', 'status': 'str', 'source_external_id': 'str', 'source_from': 'str', 'source_to': 'list[str]', 'source_subject': 'str', 'source_message_id': 'str', 'source_size_bytes': 'int', 'failure_stage': 'str', 'failure_code': 'str', 'latest_error': 'str', 'received_at': 'datetime', 'processing_started_at': 'datetime', 'completed_at': 'datetime', 'created_at': 'datetime', 'updated_at': 'datetime' } attribute_map = { 'id': 'id', 'user_id': 'userId', 'ingest_domain_id': 'ingestDomainId', 'profile_id': 'profileId', 'run_id': 'runId', 'recipient_email_address': 'recipientEmailAddress', 'recipient_local_part': 'recipientLocalPart', 'matched_profile': 'matchedProfile', 'status': 'status', 'source_external_id': 'sourceExternalId', 'source_from': 'sourceFrom', 'source_to': 'sourceTo', 'source_subject': 'sourceSubject', 'source_message_id': 'sourceMessageId', 'source_size_bytes': 'sourceSizeBytes', 'failure_stage': 'failureStage', 'failure_code': 'failureCode', 'latest_error': 'latestError', 'received_at': 'receivedAt', 'processing_started_at': 'processingStartedAt', 'completed_at': 'completedAt', 'created_at': 'createdAt', 'updated_at': 'updatedAt' } def __init__(self, id=None, user_id=None, ingest_domain_id=None, profile_id=None, run_id=None, recipient_email_address=None, recipient_local_part=None, matched_profile=None, status=None, source_external_id=None, source_from=None, source_to=None, source_subject=None, source_message_id=None, source_size_bytes=None, failure_stage=None, failure_code=None, latest_error=None, received_at=None, processing_started_at=None, completed_at=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """DevicePreviewEmailSubmissionDto - 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._user_id = None self._ingest_domain_id = None self._profile_id = None self._run_id = None self._recipient_email_address = None self._recipient_local_part = None self._matched_profile = None self._status = None self._source_external_id = None self._source_from = None self._source_to = None self._source_subject = None self._source_message_id = None self._source_size_bytes = None self._failure_stage = None self._failure_code = None self._latest_error = None self._received_at = None self._processing_started_at = None self._completed_at = None self._created_at = None self._updated_at = None self.discriminator = None self.id = id self.user_id = user_id self.ingest_domain_id = ingest_domain_id self.profile_id = profile_id self.run_id = run_id self.recipient_email_address = recipient_email_address self.recipient_local_part = recipient_local_part self.matched_profile = matched_profile self.status = status self.source_external_id = source_external_id self.source_from = source_from self.source_to = source_to self.source_subject = source_subject self.source_message_id = source_message_id self.source_size_bytes = source_size_bytes self.failure_stage = failure_stage self.failure_code = failure_code self.latest_error = latest_error self.received_at = received_at self.processing_started_at = processing_started_at self.completed_at = completed_at self.created_at = created_at self.updated_at = updated_at @property def id(self): """Gets the id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): """Sets the id of this DevicePreviewEmailSubmissionDto. :param id: The id of this DevicePreviewEmailSubmissionDto. # 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 user_id(self): """Gets the user_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The user_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._user_id @user_id.setter def user_id(self, user_id): """Sets the user_id of this DevicePreviewEmailSubmissionDto. :param user_id: The user_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and user_id is None: # noqa: E501 raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 self._user_id = user_id @property def ingest_domain_id(self): """Gets the ingest_domain_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The ingest_domain_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._ingest_domain_id @ingest_domain_id.setter def ingest_domain_id(self, ingest_domain_id): """Sets the ingest_domain_id of this DevicePreviewEmailSubmissionDto. :param ingest_domain_id: The ingest_domain_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._ingest_domain_id = ingest_domain_id @property def profile_id(self): """Gets the profile_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The profile_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._profile_id @profile_id.setter def profile_id(self, profile_id): """Sets the profile_id of this DevicePreviewEmailSubmissionDto. :param profile_id: The profile_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._profile_id = profile_id @property def run_id(self): """Gets the run_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The run_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._run_id @run_id.setter def run_id(self, run_id): """Sets the run_id of this DevicePreviewEmailSubmissionDto. :param run_id: The run_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._run_id = run_id @property def recipient_email_address(self): """Gets the recipient_email_address of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The recipient_email_address of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._recipient_email_address @recipient_email_address.setter def recipient_email_address(self, recipient_email_address): """Sets the recipient_email_address of this DevicePreviewEmailSubmissionDto. :param recipient_email_address: The recipient_email_address of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and recipient_email_address is None: # noqa: E501 raise ValueError("Invalid value for `recipient_email_address`, must not be `None`") # noqa: E501 self._recipient_email_address = recipient_email_address @property def recipient_local_part(self): """Gets the recipient_local_part of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The recipient_local_part of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._recipient_local_part @recipient_local_part.setter def recipient_local_part(self, recipient_local_part): """Sets the recipient_local_part of this DevicePreviewEmailSubmissionDto. :param recipient_local_part: The recipient_local_part of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and recipient_local_part is None: # noqa: E501 raise ValueError("Invalid value for `recipient_local_part`, must not be `None`") # noqa: E501 self._recipient_local_part = recipient_local_part @property def matched_profile(self): """Gets the matched_profile of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The matched_profile of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: bool """ return self._matched_profile @matched_profile.setter def matched_profile(self, matched_profile): """Sets the matched_profile of this DevicePreviewEmailSubmissionDto. :param matched_profile: The matched_profile of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and matched_profile is None: # noqa: E501 raise ValueError("Invalid value for `matched_profile`, must not be `None`") # noqa: E501 self._matched_profile = matched_profile @property def status(self): """Gets the status of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The status of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._status @status.setter def status(self, status): """Sets the status of this DevicePreviewEmailSubmissionDto. :param status: The status of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 allowed_values = ["RECEIVED", "PROCESSING", "INSPECTION_READY", "RUN_CREATED", "FAILED"] # noqa: E501 if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 .format(status, allowed_values) ) self._status = status @property def source_external_id(self): """Gets the source_external_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_external_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_external_id @source_external_id.setter def source_external_id(self, source_external_id): """Sets the source_external_id of this DevicePreviewEmailSubmissionDto. :param source_external_id: The source_external_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._source_external_id = source_external_id @property def source_from(self): """Gets the source_from of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_from of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_from @source_from.setter def source_from(self, source_from): """Sets the source_from of this DevicePreviewEmailSubmissionDto. :param source_from: The source_from of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._source_from = source_from @property def source_to(self): """Gets the source_to of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_to of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: list[str] """ return self._source_to @source_to.setter def source_to(self, source_to): """Sets the source_to of this DevicePreviewEmailSubmissionDto. :param source_to: The source_to of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: list[str] """ self._source_to = source_to @property def source_subject(self): """Gets the source_subject of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_subject of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_subject @source_subject.setter def source_subject(self, source_subject): """Sets the source_subject of this DevicePreviewEmailSubmissionDto. :param source_subject: The source_subject of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._source_subject = source_subject @property def source_message_id(self): """Gets the source_message_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_message_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_message_id @source_message_id.setter def source_message_id(self, source_message_id): """Sets the source_message_id of this DevicePreviewEmailSubmissionDto. :param source_message_id: The source_message_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._source_message_id = source_message_id @property def source_size_bytes(self): """Gets the source_size_bytes of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_size_bytes of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: int """ return self._source_size_bytes @source_size_bytes.setter def source_size_bytes(self, source_size_bytes): """Sets the source_size_bytes of this DevicePreviewEmailSubmissionDto. :param source_size_bytes: The source_size_bytes of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: int """ self._source_size_bytes = source_size_bytes @property def failure_stage(self): """Gets the failure_stage of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The failure_stage of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._failure_stage @failure_stage.setter def failure_stage(self, failure_stage): """Sets the failure_stage of this DevicePreviewEmailSubmissionDto. :param failure_stage: The failure_stage of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._failure_stage = failure_stage @property def failure_code(self): """Gets the failure_code of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The failure_code of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._failure_code @failure_code.setter def failure_code(self, failure_code): """Sets the failure_code of this DevicePreviewEmailSubmissionDto. :param failure_code: The failure_code of this DevicePreviewEmailSubmissionDto. # 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 failure_code not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `failure_code` ({0}), must be one of {1}" # noqa: E501 .format(failure_code, allowed_values) ) self._failure_code = failure_code @property def latest_error(self): """Gets the latest_error of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The latest_error of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._latest_error @latest_error.setter def latest_error(self, latest_error): """Sets the latest_error of this DevicePreviewEmailSubmissionDto. :param latest_error: The latest_error of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: str """ self._latest_error = latest_error @property def received_at(self): """Gets the received_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The received_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._received_at @received_at.setter def received_at(self, received_at): """Sets the received_at of this DevicePreviewEmailSubmissionDto. :param received_at: The received_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: datetime """ if self.local_vars_configuration.client_side_validation and received_at is None: # noqa: E501 raise ValueError("Invalid value for `received_at`, must not be `None`") # noqa: E501 self._received_at = received_at @property def processing_started_at(self): """Gets the processing_started_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The processing_started_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._processing_started_at @processing_started_at.setter def processing_started_at(self, processing_started_at): """Sets the processing_started_at of this DevicePreviewEmailSubmissionDto. :param processing_started_at: The processing_started_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: datetime """ self._processing_started_at = processing_started_at @property def completed_at(self): """Gets the completed_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The completed_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._completed_at @completed_at.setter def completed_at(self, completed_at): """Sets the completed_at of this DevicePreviewEmailSubmissionDto. :param completed_at: The completed_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :type: datetime """ self._completed_at = completed_at @property def created_at(self): """Gets the created_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The created_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._created_at @created_at.setter def created_at(self, created_at): """Sets the created_at of this DevicePreviewEmailSubmissionDto. :param created_at: The created_at of this DevicePreviewEmailSubmissionDto. # 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 DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The updated_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._updated_at @updated_at.setter def updated_at(self, updated_at): """Sets the updated_at of this DevicePreviewEmailSubmissionDto. :param updated_at: The updated_at of this DevicePreviewEmailSubmissionDto. # 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, DevicePreviewEmailSubmissionDto): 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, DevicePreviewEmailSubmissionDto): return True return self.to_dict() != other.to_dict()Class variables
var attribute_mapvar openapi_types
Instance variables
prop completed_at-
Gets the completed_at of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The completed_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime
Expand source code
@property def completed_at(self): """Gets the completed_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The completed_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._completed_at prop created_at-
Gets the created_at of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The created_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime
Expand source code
@property def created_at(self): """Gets the created_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The created_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._created_at prop failure_code-
Gets the failure_code of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The failure_code of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def failure_code(self): """Gets the failure_code of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The failure_code of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._failure_code prop failure_stage-
Gets the failure_stage of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The failure_stage of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def failure_stage(self): """Gets the failure_stage of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The failure_stage of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._failure_stage prop id-
Gets the id of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def id(self): """Gets the id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._id prop ingest_domain_id-
Gets the ingest_domain_id of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The ingest_domain_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def ingest_domain_id(self): """Gets the ingest_domain_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The ingest_domain_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._ingest_domain_id prop latest_error-
Gets the latest_error of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The latest_error of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def latest_error(self): """Gets the latest_error of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The latest_error of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._latest_error prop matched_profile-
Gets the matched_profile of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The matched_profile of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: bool
Expand source code
@property def matched_profile(self): """Gets the matched_profile of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The matched_profile of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: bool """ return self._matched_profile prop processing_started_at-
Gets the processing_started_at of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The processing_started_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime
Expand source code
@property def processing_started_at(self): """Gets the processing_started_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The processing_started_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._processing_started_at prop profile_id-
Gets the profile_id of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The profile_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def profile_id(self): """Gets the profile_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The profile_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._profile_id prop received_at-
Gets the received_at of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The received_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime
Expand source code
@property def received_at(self): """Gets the received_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The received_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._received_at prop recipient_email_address-
Gets the recipient_email_address of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The recipient_email_address of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def recipient_email_address(self): """Gets the recipient_email_address of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The recipient_email_address of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._recipient_email_address prop recipient_local_part-
Gets the recipient_local_part of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The recipient_local_part of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def recipient_local_part(self): """Gets the recipient_local_part of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The recipient_local_part of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._recipient_local_part prop run_id-
Gets the run_id of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The run_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def run_id(self): """Gets the run_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The run_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._run_id prop source_external_id-
Gets the source_external_id of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The source_external_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def source_external_id(self): """Gets the source_external_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_external_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_external_id prop source_from-
Gets the source_from of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The source_from of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def source_from(self): """Gets the source_from of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_from of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_from prop source_message_id-
Gets the source_message_id of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The source_message_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def source_message_id(self): """Gets the source_message_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_message_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_message_id prop source_size_bytes-
Gets the source_size_bytes of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The source_size_bytes of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: int
Expand source code
@property def source_size_bytes(self): """Gets the source_size_bytes of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_size_bytes of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: int """ return self._source_size_bytes prop source_subject-
Gets the source_subject of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The source_subject of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def source_subject(self): """Gets the source_subject of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_subject of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._source_subject prop source_to-
Gets the source_to of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The source_to of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: list[str]
Expand source code
@property def source_to(self): """Gets the source_to of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The source_to of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: list[str] """ return self._source_to prop status-
Gets the status of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The status of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def status(self): """Gets the status of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The status of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._status prop updated_at-
Gets the updated_at of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The updated_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime
Expand source code
@property def updated_at(self): """Gets the updated_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The updated_at of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: datetime """ return self._updated_at prop user_id-
Gets the user_id of this DevicePreviewEmailSubmissionDto. # noqa: E501
:return: The user_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str
Expand source code
@property def user_id(self): """Gets the user_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :return: The user_id of this DevicePreviewEmailSubmissionDto. # noqa: E501 :rtype: str """ return self._user_id
Methods
def to_dict(self)-
Returns the model properties as a dict
def to_str(self)-
Returns the string representation of the model