Module mailslurp_client.models.inbox_placement_remote_test_summary_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 InboxPlacementRemoteTestSummaryDto (test_id=None, mode=None, status=None, report_status=None, requested_segment=None, seedlist_profile=None, sender_domain=None, from_email=None, subject_hint=None, started_at=None, expires_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.
InboxPlacementRemoteTestSummaryDto - a model defined in OpenAPI
Expand source code
class InboxPlacementRemoteTestSummaryDto(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. """ """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ openapi_types = { 'test_id': 'str', 'mode': 'str', 'status': 'str', 'report_status': 'str', 'requested_segment': 'str', 'seedlist_profile': 'str', 'sender_domain': 'str', 'from_email': 'str', 'subject_hint': 'str', 'started_at': 'datetime', 'expires_at': 'datetime' } attribute_map = { 'test_id': 'testId', 'mode': 'mode', 'status': 'status', 'report_status': 'reportStatus', 'requested_segment': 'requestedSegment', 'seedlist_profile': 'seedlistProfile', 'sender_domain': 'senderDomain', 'from_email': 'fromEmail', 'subject_hint': 'subjectHint', 'started_at': 'startedAt', 'expires_at': 'expiresAt' } def __init__(self, test_id=None, mode=None, status=None, report_status=None, requested_segment=None, seedlist_profile=None, sender_domain=None, from_email=None, subject_hint=None, started_at=None, expires_at=None, local_vars_configuration=None): # noqa: E501 """InboxPlacementRemoteTestSummaryDto - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._test_id = None self._mode = 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._subject_hint = None self._started_at = None self._expires_at = None self.discriminator = None self.test_id = test_id self.mode = mode 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.subject_hint = subject_hint self.started_at = started_at self.expires_at = expires_at @property def test_id(self): """Gets the test_id of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The test_id of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._test_id @test_id.setter def test_id(self, test_id): """Sets the test_id of this InboxPlacementRemoteTestSummaryDto. :param test_id: The test_id of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and test_id is None: # noqa: E501 raise ValueError("Invalid value for `test_id`, must not be `None`") # noqa: E501 self._test_id = test_id @property def mode(self): """Gets the mode of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The mode of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._mode @mode.setter def mode(self, mode): """Sets the mode of this InboxPlacementRemoteTestSummaryDto. :param mode: The mode of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and mode is None: # noqa: E501 raise ValueError("Invalid value for `mode`, must not be `None`") # noqa: E501 self._mode = mode @property def status(self): """Gets the status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._status @status.setter def status(self, status): """Sets the status of this InboxPlacementRemoteTestSummaryDto. :param status: The status of this InboxPlacementRemoteTestSummaryDto. # 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 self._status = status @property def report_status(self): """Gets the report_status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The report_status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._report_status @report_status.setter def report_status(self, report_status): """Sets the report_status of this InboxPlacementRemoteTestSummaryDto. :param report_status: The report_status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and report_status is None: # noqa: E501 raise ValueError("Invalid value for `report_status`, must not be `None`") # noqa: E501 self._report_status = report_status @property def requested_segment(self): """Gets the requested_segment of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The requested_segment of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._requested_segment @requested_segment.setter def requested_segment(self, requested_segment): """Sets the requested_segment of this InboxPlacementRemoteTestSummaryDto. :param requested_segment: The requested_segment of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and requested_segment is None: # noqa: E501 raise ValueError("Invalid value for `requested_segment`, must not be `None`") # noqa: E501 self._requested_segment = requested_segment @property def seedlist_profile(self): """Gets the seedlist_profile of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The seedlist_profile of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._seedlist_profile @seedlist_profile.setter def seedlist_profile(self, seedlist_profile): """Sets the seedlist_profile of this InboxPlacementRemoteTestSummaryDto. :param seedlist_profile: The seedlist_profile of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and seedlist_profile is None: # noqa: E501 raise ValueError("Invalid value for `seedlist_profile`, must not be `None`") # noqa: E501 self._seedlist_profile = seedlist_profile @property def sender_domain(self): """Gets the sender_domain of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The sender_domain of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._sender_domain @sender_domain.setter def sender_domain(self, sender_domain): """Sets the sender_domain of this InboxPlacementRemoteTestSummaryDto. :param sender_domain: The sender_domain of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ self._sender_domain = sender_domain @property def from_email(self): """Gets the from_email of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The from_email of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._from_email @from_email.setter def from_email(self, from_email): """Sets the from_email of this InboxPlacementRemoteTestSummaryDto. :param from_email: The from_email of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ self._from_email = from_email @property def subject_hint(self): """Gets the subject_hint of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The subject_hint of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._subject_hint @subject_hint.setter def subject_hint(self, subject_hint): """Sets the subject_hint of this InboxPlacementRemoteTestSummaryDto. :param subject_hint: The subject_hint of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: str """ self._subject_hint = subject_hint @property def started_at(self): """Gets the started_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The started_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: datetime """ return self._started_at @started_at.setter def started_at(self, started_at): """Sets the started_at of this InboxPlacementRemoteTestSummaryDto. :param started_at: The started_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: datetime """ self._started_at = started_at @property def expires_at(self): """Gets the expires_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The expires_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: datetime """ return self._expires_at @expires_at.setter def expires_at(self, expires_at): """Sets the expires_at of this InboxPlacementRemoteTestSummaryDto. :param expires_at: The expires_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :type: datetime """ self._expires_at = expires_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, InboxPlacementRemoteTestSummaryDto): 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, InboxPlacementRemoteTestSummaryDto): return True return self.to_dict() != other.to_dict()Class variables
var attribute_mapvar openapi_types
Instance variables
prop expires_at-
Gets the expires_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The expires_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: datetime
Expand source code
@property def expires_at(self): """Gets the expires_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The expires_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: datetime """ return self._expires_at prop from_email-
Gets the from_email of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The from_email of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def from_email(self): """Gets the from_email of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The from_email of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._from_email prop mode-
Gets the mode of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The mode of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def mode(self): """Gets the mode of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The mode of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._mode prop report_status-
Gets the report_status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The report_status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def report_status(self): """Gets the report_status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The report_status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._report_status prop requested_segment-
Gets the requested_segment of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The requested_segment of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def requested_segment(self): """Gets the requested_segment of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The requested_segment of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._requested_segment prop seedlist_profile-
Gets the seedlist_profile of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The seedlist_profile of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def seedlist_profile(self): """Gets the seedlist_profile of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The seedlist_profile of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._seedlist_profile prop sender_domain-
Gets the sender_domain of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The sender_domain of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def sender_domain(self): """Gets the sender_domain of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The sender_domain of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._sender_domain prop started_at-
Gets the started_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The started_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: datetime
Expand source code
@property def started_at(self): """Gets the started_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The started_at of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: datetime """ return self._started_at prop status-
Gets the status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def status(self): """Gets the status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The status of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._status prop subject_hint-
Gets the subject_hint of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The subject_hint of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def subject_hint(self): """Gets the subject_hint of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The subject_hint of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._subject_hint prop test_id-
Gets the test_id of this InboxPlacementRemoteTestSummaryDto. # noqa: E501
:return: The test_id of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str
Expand source code
@property def test_id(self): """Gets the test_id of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :return: The test_id of this InboxPlacementRemoteTestSummaryDto. # noqa: E501 :rtype: str """ return self._test_id
Methods
def to_dict(self)-
Returns the model properties as a dict
def to_str(self)-
Returns the string representation of the model