Module mailslurp_client.models.device_preview_qa_bundle_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 DevicePreviewQaBundleDto (id=None, run_id=None, user_id=None, requested_email_audit=None, requested_domain_monitor=None, status=None, email_audit_status=None, domain_monitor_status=None, email_audit_id=None, domain_monitor_id=None, domain_monitor_run_id=None, sender_domain=None, email_audit_message=None, domain_monitor_message=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.
DevicePreviewQaBundleDto - a model defined in OpenAPI
Expand source code
class DevicePreviewQaBundleDto(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', 'run_id': 'str', 'user_id': 'str', 'requested_email_audit': 'bool', 'requested_domain_monitor': 'bool', 'status': 'str', 'email_audit_status': 'str', 'domain_monitor_status': 'str', 'email_audit_id': 'str', 'domain_monitor_id': 'str', 'domain_monitor_run_id': 'str', 'sender_domain': 'str', 'email_audit_message': 'str', 'domain_monitor_message': 'str', 'created_at': 'datetime', 'updated_at': 'datetime' } attribute_map = { 'id': 'id', 'run_id': 'runId', 'user_id': 'userId', 'requested_email_audit': 'requestedEmailAudit', 'requested_domain_monitor': 'requestedDomainMonitor', 'status': 'status', 'email_audit_status': 'emailAuditStatus', 'domain_monitor_status': 'domainMonitorStatus', 'email_audit_id': 'emailAuditId', 'domain_monitor_id': 'domainMonitorId', 'domain_monitor_run_id': 'domainMonitorRunId', 'sender_domain': 'senderDomain', 'email_audit_message': 'emailAuditMessage', 'domain_monitor_message': 'domainMonitorMessage', 'created_at': 'createdAt', 'updated_at': 'updatedAt' } def __init__(self, id=None, run_id=None, user_id=None, requested_email_audit=None, requested_domain_monitor=None, status=None, email_audit_status=None, domain_monitor_status=None, email_audit_id=None, domain_monitor_id=None, domain_monitor_run_id=None, sender_domain=None, email_audit_message=None, domain_monitor_message=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """DevicePreviewQaBundleDto - 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._run_id = None self._user_id = None self._requested_email_audit = None self._requested_domain_monitor = None self._status = None self._email_audit_status = None self._domain_monitor_status = None self._email_audit_id = None self._domain_monitor_id = None self._domain_monitor_run_id = None self._sender_domain = None self._email_audit_message = None self._domain_monitor_message = None self._created_at = None self._updated_at = None self.discriminator = None self.id = id self.run_id = run_id self.user_id = user_id self.requested_email_audit = requested_email_audit self.requested_domain_monitor = requested_domain_monitor self.status = status self.email_audit_status = email_audit_status self.domain_monitor_status = domain_monitor_status self.email_audit_id = email_audit_id self.domain_monitor_id = domain_monitor_id self.domain_monitor_run_id = domain_monitor_run_id self.sender_domain = sender_domain self.email_audit_message = email_audit_message self.domain_monitor_message = domain_monitor_message self.created_at = created_at self.updated_at = updated_at @property def id(self): """Gets the id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): """Sets the id of this DevicePreviewQaBundleDto. :param id: The id of this DevicePreviewQaBundleDto. # 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 run_id(self): """Gets the run_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The run_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._run_id @run_id.setter def run_id(self, run_id): """Sets the run_id of this DevicePreviewQaBundleDto. :param run_id: The run_id of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and run_id is None: # noqa: E501 raise ValueError("Invalid value for `run_id`, must not be `None`") # noqa: E501 self._run_id = run_id @property def user_id(self): """Gets the user_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The user_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._user_id @user_id.setter def user_id(self, user_id): """Sets the user_id of this DevicePreviewQaBundleDto. :param user_id: The user_id of this DevicePreviewQaBundleDto. # 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 requested_email_audit(self): """Gets the requested_email_audit of this DevicePreviewQaBundleDto. # noqa: E501 :return: The requested_email_audit of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: bool """ return self._requested_email_audit @requested_email_audit.setter def requested_email_audit(self, requested_email_audit): """Sets the requested_email_audit of this DevicePreviewQaBundleDto. :param requested_email_audit: The requested_email_audit of this DevicePreviewQaBundleDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and requested_email_audit is None: # noqa: E501 raise ValueError("Invalid value for `requested_email_audit`, must not be `None`") # noqa: E501 self._requested_email_audit = requested_email_audit @property def requested_domain_monitor(self): """Gets the requested_domain_monitor of this DevicePreviewQaBundleDto. # noqa: E501 :return: The requested_domain_monitor of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: bool """ return self._requested_domain_monitor @requested_domain_monitor.setter def requested_domain_monitor(self, requested_domain_monitor): """Sets the requested_domain_monitor of this DevicePreviewQaBundleDto. :param requested_domain_monitor: The requested_domain_monitor of this DevicePreviewQaBundleDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and requested_domain_monitor is None: # noqa: E501 raise ValueError("Invalid value for `requested_domain_monitor`, must not be `None`") # noqa: E501 self._requested_domain_monitor = requested_domain_monitor @property def status(self): """Gets the status of this DevicePreviewQaBundleDto. # noqa: E501 :return: The status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._status @status.setter def status(self, status): """Sets the status of this DevicePreviewQaBundleDto. :param status: The status of this DevicePreviewQaBundleDto. # 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 = ["PENDING", "COMPLETE", "COMPLETE_WITH_SKIPS", "COMPLETE_WITH_ERRORS"] # 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 email_audit_status(self): """Gets the email_audit_status of this DevicePreviewQaBundleDto. # noqa: E501 :return: The email_audit_status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._email_audit_status @email_audit_status.setter def email_audit_status(self, email_audit_status): """Sets the email_audit_status of this DevicePreviewQaBundleDto. :param email_audit_status: The email_audit_status of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and email_audit_status is None: # noqa: E501 raise ValueError("Invalid value for `email_audit_status`, must not be `None`") # noqa: E501 allowed_values = ["NOT_REQUESTED", "PENDING", "COMPLETE", "SKIPPED", "FAILED"] # noqa: E501 if self.local_vars_configuration.client_side_validation and email_audit_status not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `email_audit_status` ({0}), must be one of {1}" # noqa: E501 .format(email_audit_status, allowed_values) ) self._email_audit_status = email_audit_status @property def domain_monitor_status(self): """Gets the domain_monitor_status of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_status @domain_monitor_status.setter def domain_monitor_status(self, domain_monitor_status): """Sets the domain_monitor_status of this DevicePreviewQaBundleDto. :param domain_monitor_status: The domain_monitor_status of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and domain_monitor_status is None: # noqa: E501 raise ValueError("Invalid value for `domain_monitor_status`, must not be `None`") # noqa: E501 allowed_values = ["NOT_REQUESTED", "PENDING", "COMPLETE", "SKIPPED", "FAILED"] # noqa: E501 if self.local_vars_configuration.client_side_validation and domain_monitor_status not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `domain_monitor_status` ({0}), must be one of {1}" # noqa: E501 .format(domain_monitor_status, allowed_values) ) self._domain_monitor_status = domain_monitor_status @property def email_audit_id(self): """Gets the email_audit_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The email_audit_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._email_audit_id @email_audit_id.setter def email_audit_id(self, email_audit_id): """Sets the email_audit_id of this DevicePreviewQaBundleDto. :param email_audit_id: The email_audit_id of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ self._email_audit_id = email_audit_id @property def domain_monitor_id(self): """Gets the domain_monitor_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_id @domain_monitor_id.setter def domain_monitor_id(self, domain_monitor_id): """Sets the domain_monitor_id of this DevicePreviewQaBundleDto. :param domain_monitor_id: The domain_monitor_id of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ self._domain_monitor_id = domain_monitor_id @property def domain_monitor_run_id(self): """Gets the domain_monitor_run_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_run_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_run_id @domain_monitor_run_id.setter def domain_monitor_run_id(self, domain_monitor_run_id): """Sets the domain_monitor_run_id of this DevicePreviewQaBundleDto. :param domain_monitor_run_id: The domain_monitor_run_id of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ self._domain_monitor_run_id = domain_monitor_run_id @property def sender_domain(self): """Gets the sender_domain of this DevicePreviewQaBundleDto. # noqa: E501 :return: The sender_domain of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._sender_domain @sender_domain.setter def sender_domain(self, sender_domain): """Sets the sender_domain of this DevicePreviewQaBundleDto. :param sender_domain: The sender_domain of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ self._sender_domain = sender_domain @property def email_audit_message(self): """Gets the email_audit_message of this DevicePreviewQaBundleDto. # noqa: E501 :return: The email_audit_message of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._email_audit_message @email_audit_message.setter def email_audit_message(self, email_audit_message): """Sets the email_audit_message of this DevicePreviewQaBundleDto. :param email_audit_message: The email_audit_message of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ self._email_audit_message = email_audit_message @property def domain_monitor_message(self): """Gets the domain_monitor_message of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_message of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_message @domain_monitor_message.setter def domain_monitor_message(self, domain_monitor_message): """Sets the domain_monitor_message of this DevicePreviewQaBundleDto. :param domain_monitor_message: The domain_monitor_message of this DevicePreviewQaBundleDto. # noqa: E501 :type: str """ self._domain_monitor_message = domain_monitor_message @property def created_at(self): """Gets the created_at of this DevicePreviewQaBundleDto. # noqa: E501 :return: The created_at of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: datetime """ return self._created_at @created_at.setter def created_at(self, created_at): """Sets the created_at of this DevicePreviewQaBundleDto. :param created_at: The created_at of this DevicePreviewQaBundleDto. # 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 DevicePreviewQaBundleDto. # noqa: E501 :return: The updated_at of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: datetime """ return self._updated_at @updated_at.setter def updated_at(self, updated_at): """Sets the updated_at of this DevicePreviewQaBundleDto. :param updated_at: The updated_at of this DevicePreviewQaBundleDto. # 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, DevicePreviewQaBundleDto): 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, DevicePreviewQaBundleDto): return True return self.to_dict() != other.to_dict()Class variables
var attribute_mapvar openapi_types
Instance variables
prop created_at-
Gets the created_at of this DevicePreviewQaBundleDto. # noqa: E501
:return: The created_at of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: datetime
Expand source code
@property def created_at(self): """Gets the created_at of this DevicePreviewQaBundleDto. # noqa: E501 :return: The created_at of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: datetime """ return self._created_at prop domain_monitor_id-
Gets the domain_monitor_id of this DevicePreviewQaBundleDto. # noqa: E501
:return: The domain_monitor_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def domain_monitor_id(self): """Gets the domain_monitor_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_id prop domain_monitor_message-
Gets the domain_monitor_message of this DevicePreviewQaBundleDto. # noqa: E501
:return: The domain_monitor_message of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def domain_monitor_message(self): """Gets the domain_monitor_message of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_message of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_message prop domain_monitor_run_id-
Gets the domain_monitor_run_id of this DevicePreviewQaBundleDto. # noqa: E501
:return: The domain_monitor_run_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def domain_monitor_run_id(self): """Gets the domain_monitor_run_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_run_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_run_id prop domain_monitor_status-
Gets the domain_monitor_status of this DevicePreviewQaBundleDto. # noqa: E501
:return: The domain_monitor_status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def domain_monitor_status(self): """Gets the domain_monitor_status of this DevicePreviewQaBundleDto. # noqa: E501 :return: The domain_monitor_status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._domain_monitor_status prop email_audit_id-
Gets the email_audit_id of this DevicePreviewQaBundleDto. # noqa: E501
:return: The email_audit_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def email_audit_id(self): """Gets the email_audit_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The email_audit_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._email_audit_id prop email_audit_message-
Gets the email_audit_message of this DevicePreviewQaBundleDto. # noqa: E501
:return: The email_audit_message of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def email_audit_message(self): """Gets the email_audit_message of this DevicePreviewQaBundleDto. # noqa: E501 :return: The email_audit_message of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._email_audit_message prop email_audit_status-
Gets the email_audit_status of this DevicePreviewQaBundleDto. # noqa: E501
:return: The email_audit_status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def email_audit_status(self): """Gets the email_audit_status of this DevicePreviewQaBundleDto. # noqa: E501 :return: The email_audit_status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._email_audit_status prop id-
Gets the id of this DevicePreviewQaBundleDto. # noqa: E501
:return: The id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def id(self): """Gets the id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._id prop requested_domain_monitor-
Gets the requested_domain_monitor of this DevicePreviewQaBundleDto. # noqa: E501
:return: The requested_domain_monitor of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: bool
Expand source code
@property def requested_domain_monitor(self): """Gets the requested_domain_monitor of this DevicePreviewQaBundleDto. # noqa: E501 :return: The requested_domain_monitor of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: bool """ return self._requested_domain_monitor prop requested_email_audit-
Gets the requested_email_audit of this DevicePreviewQaBundleDto. # noqa: E501
:return: The requested_email_audit of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: bool
Expand source code
@property def requested_email_audit(self): """Gets the requested_email_audit of this DevicePreviewQaBundleDto. # noqa: E501 :return: The requested_email_audit of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: bool """ return self._requested_email_audit prop run_id-
Gets the run_id of this DevicePreviewQaBundleDto. # noqa: E501
:return: The run_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def run_id(self): """Gets the run_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The run_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._run_id prop sender_domain-
Gets the sender_domain of this DevicePreviewQaBundleDto. # noqa: E501
:return: The sender_domain of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def sender_domain(self): """Gets the sender_domain of this DevicePreviewQaBundleDto. # noqa: E501 :return: The sender_domain of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._sender_domain prop status-
Gets the status of this DevicePreviewQaBundleDto. # noqa: E501
:return: The status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def status(self): """Gets the status of this DevicePreviewQaBundleDto. # noqa: E501 :return: The status of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str """ return self._status prop updated_at-
Gets the updated_at of this DevicePreviewQaBundleDto. # noqa: E501
:return: The updated_at of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: datetime
Expand source code
@property def updated_at(self): """Gets the updated_at of this DevicePreviewQaBundleDto. # noqa: E501 :return: The updated_at of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: datetime """ return self._updated_at prop user_id-
Gets the user_id of this DevicePreviewQaBundleDto. # noqa: E501
:return: The user_id of this DevicePreviewQaBundleDto. # noqa: E501 :rtype: str
Expand source code
@property def user_id(self): """Gets the user_id of this DevicePreviewQaBundleDto. # noqa: E501 :return: The user_id of this DevicePreviewQaBundleDto. # 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