Module mailslurp_client.models.inbox_placement_public_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 InboxPlacementPublicTestRunDto (id=None, status=None, report_status=None, requested_segment=None, seedlist_profile=None, sender_domain=None, from_email=None, subject_hint=None, total_targets=None, matched_targets=None, inbox_targets=None, spam_targets=None, not_received_targets=None, started_at=None, first_match_at=None, completed_at=None, expires_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.
InboxPlacementPublicTestRunDto - a model defined in OpenAPI
Expand source code
class InboxPlacementPublicTestRunDto(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', 'status': 'str', 'report_status': 'str', 'requested_segment': 'str', 'seedlist_profile': 'str', 'sender_domain': 'str', 'from_email': 'str', 'subject_hint': 'str', 'total_targets': 'int', 'matched_targets': 'int', 'inbox_targets': 'int', 'spam_targets': 'int', 'not_received_targets': 'int', 'started_at': 'datetime', 'first_match_at': 'datetime', 'completed_at': 'datetime', 'expires_at': 'datetime', 'created_at': 'datetime', 'updated_at': 'datetime' } attribute_map = { 'id': 'id', 'status': 'status', 'report_status': 'reportStatus', 'requested_segment': 'requestedSegment', 'seedlist_profile': 'seedlistProfile', 'sender_domain': 'senderDomain', 'from_email': 'fromEmail', 'subject_hint': 'subjectHint', 'total_targets': 'totalTargets', 'matched_targets': 'matchedTargets', 'inbox_targets': 'inboxTargets', 'spam_targets': 'spamTargets', 'not_received_targets': 'notReceivedTargets', 'started_at': 'startedAt', 'first_match_at': 'firstMatchAt', 'completed_at': 'completedAt', 'expires_at': 'expiresAt', 'created_at': 'createdAt', 'updated_at': 'updatedAt' } def __init__(self, id=None, status=None, report_status=None, requested_segment=None, seedlist_profile=None, sender_domain=None, from_email=None, subject_hint=None, total_targets=None, matched_targets=None, inbox_targets=None, spam_targets=None, not_received_targets=None, started_at=None, first_match_at=None, completed_at=None, expires_at=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 """InboxPlacementPublicTestRunDto - 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._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._total_targets = None self._matched_targets = None self._inbox_targets = None self._spam_targets = None self._not_received_targets = None self._started_at = None self._first_match_at = None self._completed_at = None self._expires_at = None self._created_at = None self._updated_at = None self.discriminator = None self.id = id 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.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.started_at = started_at self.first_match_at = first_match_at self.completed_at = completed_at self.expires_at = expires_at self.created_at = created_at self.updated_at = updated_at @property def id(self): """Gets the id of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The id of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): """Sets the id of this InboxPlacementPublicTestRunDto. :param id: The id of this InboxPlacementPublicTestRunDto. # 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 status(self): """Gets the status of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The status of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._status @status.setter def status(self, status): """Sets the status of this InboxPlacementPublicTestRunDto. :param status: The status of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: str """ self._status = status @property def report_status(self): """Gets the report_status of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The report_status of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._report_status @report_status.setter def report_status(self, report_status): """Sets the report_status of this InboxPlacementPublicTestRunDto. :param report_status: The report_status of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: str """ self._report_status = report_status @property def requested_segment(self): """Gets the requested_segment of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The requested_segment of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._requested_segment @requested_segment.setter def requested_segment(self, requested_segment): """Sets the requested_segment of this InboxPlacementPublicTestRunDto. :param requested_segment: The requested_segment of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: str """ self._requested_segment = requested_segment @property def seedlist_profile(self): """Gets the seedlist_profile of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The seedlist_profile of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._seedlist_profile @seedlist_profile.setter def seedlist_profile(self, seedlist_profile): """Sets the seedlist_profile of this InboxPlacementPublicTestRunDto. :param seedlist_profile: The seedlist_profile of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: str """ self._seedlist_profile = seedlist_profile @property def sender_domain(self): """Gets the sender_domain of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The sender_domain of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._sender_domain @sender_domain.setter def sender_domain(self, sender_domain): """Sets the sender_domain of this InboxPlacementPublicTestRunDto. :param sender_domain: The sender_domain of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: str """ self._sender_domain = sender_domain @property def from_email(self): """Gets the from_email of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The from_email of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._from_email @from_email.setter def from_email(self, from_email): """Sets the from_email of this InboxPlacementPublicTestRunDto. :param from_email: The from_email of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: str """ self._from_email = from_email @property def subject_hint(self): """Gets the subject_hint of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The subject_hint of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._subject_hint @subject_hint.setter def subject_hint(self, subject_hint): """Sets the subject_hint of this InboxPlacementPublicTestRunDto. :param subject_hint: The subject_hint of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: str """ self._subject_hint = subject_hint @property def total_targets(self): """Gets the total_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The total_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._total_targets @total_targets.setter def total_targets(self, total_targets): """Sets the total_targets of this InboxPlacementPublicTestRunDto. :param total_targets: The total_targets of this InboxPlacementPublicTestRunDto. # 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 InboxPlacementPublicTestRunDto. # noqa: E501 :return: The matched_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._matched_targets @matched_targets.setter def matched_targets(self, matched_targets): """Sets the matched_targets of this InboxPlacementPublicTestRunDto. :param matched_targets: The matched_targets of this InboxPlacementPublicTestRunDto. # 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 InboxPlacementPublicTestRunDto. # noqa: E501 :return: The inbox_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._inbox_targets @inbox_targets.setter def inbox_targets(self, inbox_targets): """Sets the inbox_targets of this InboxPlacementPublicTestRunDto. :param inbox_targets: The inbox_targets of this InboxPlacementPublicTestRunDto. # 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 InboxPlacementPublicTestRunDto. # noqa: E501 :return: The spam_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._spam_targets @spam_targets.setter def spam_targets(self, spam_targets): """Sets the spam_targets of this InboxPlacementPublicTestRunDto. :param spam_targets: The spam_targets of this InboxPlacementPublicTestRunDto. # 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 InboxPlacementPublicTestRunDto. # noqa: E501 :return: The not_received_targets of this InboxPlacementPublicTestRunDto. # 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 InboxPlacementPublicTestRunDto. :param not_received_targets: The not_received_targets of this InboxPlacementPublicTestRunDto. # 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 started_at(self): """Gets the started_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The started_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._started_at @started_at.setter def started_at(self, started_at): """Sets the started_at of this InboxPlacementPublicTestRunDto. :param started_at: The started_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: datetime """ self._started_at = started_at @property def first_match_at(self): """Gets the first_match_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The first_match_at of this InboxPlacementPublicTestRunDto. # 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 InboxPlacementPublicTestRunDto. :param first_match_at: The first_match_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: datetime """ self._first_match_at = first_match_at @property def completed_at(self): """Gets the completed_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The completed_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._completed_at @completed_at.setter def completed_at(self, completed_at): """Sets the completed_at of this InboxPlacementPublicTestRunDto. :param completed_at: The completed_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: datetime """ self._completed_at = completed_at @property def expires_at(self): """Gets the expires_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The expires_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._expires_at @expires_at.setter def expires_at(self, expires_at): """Sets the expires_at of this InboxPlacementPublicTestRunDto. :param expires_at: The expires_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :type: datetime """ self._expires_at = expires_at @property def created_at(self): """Gets the created_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The created_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._created_at @created_at.setter def created_at(self, created_at): """Sets the created_at of this InboxPlacementPublicTestRunDto. :param created_at: The created_at of this InboxPlacementPublicTestRunDto. # 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 InboxPlacementPublicTestRunDto. # noqa: E501 :return: The updated_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._updated_at @updated_at.setter def updated_at(self, updated_at): """Sets the updated_at of this InboxPlacementPublicTestRunDto. :param updated_at: The updated_at of this InboxPlacementPublicTestRunDto. # 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, InboxPlacementPublicTestRunDto): 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, InboxPlacementPublicTestRunDto): 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 InboxPlacementPublicTestRunDto. # noqa: E501
:return: The completed_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime
Expand source code
@property def completed_at(self): """Gets the completed_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The completed_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._completed_at prop created_at-
Gets the created_at of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The created_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime
Expand source code
@property def created_at(self): """Gets the created_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The created_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._created_at prop expires_at-
Gets the expires_at of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The expires_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime
Expand source code
@property def expires_at(self): """Gets the expires_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The expires_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._expires_at prop first_match_at-
Gets the first_match_at of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The first_match_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime
Expand source code
@property def first_match_at(self): """Gets the first_match_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The first_match_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._first_match_at prop from_email-
Gets the from_email of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The from_email of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def from_email(self): """Gets the from_email of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The from_email of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._from_email prop id-
Gets the id of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The id of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def id(self): """Gets the id of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The id of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._id prop inbox_targets-
Gets the inbox_targets of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The inbox_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int
Expand source code
@property def inbox_targets(self): """Gets the inbox_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The inbox_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._inbox_targets prop matched_targets-
Gets the matched_targets of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The matched_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int
Expand source code
@property def matched_targets(self): """Gets the matched_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The matched_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._matched_targets prop not_received_targets-
Gets the not_received_targets of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The not_received_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int
Expand source code
@property def not_received_targets(self): """Gets the not_received_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The not_received_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._not_received_targets prop report_status-
Gets the report_status of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The report_status of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def report_status(self): """Gets the report_status of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The report_status of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._report_status prop requested_segment-
Gets the requested_segment of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The requested_segment of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def requested_segment(self): """Gets the requested_segment of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The requested_segment of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._requested_segment prop seedlist_profile-
Gets the seedlist_profile of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The seedlist_profile of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def seedlist_profile(self): """Gets the seedlist_profile of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The seedlist_profile of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._seedlist_profile prop sender_domain-
Gets the sender_domain of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The sender_domain of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def sender_domain(self): """Gets the sender_domain of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The sender_domain of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._sender_domain prop spam_targets-
Gets the spam_targets of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The spam_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int
Expand source code
@property def spam_targets(self): """Gets the spam_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The spam_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._spam_targets prop started_at-
Gets the started_at of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The started_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime
Expand source code
@property def started_at(self): """Gets the started_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The started_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime """ return self._started_at prop status-
Gets the status of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The status of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def status(self): """Gets the status of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The status of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._status prop subject_hint-
Gets the subject_hint of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The subject_hint of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str
Expand source code
@property def subject_hint(self): """Gets the subject_hint of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The subject_hint of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: str """ return self._subject_hint prop total_targets-
Gets the total_targets of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The total_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int
Expand source code
@property def total_targets(self): """Gets the total_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The total_targets of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: int """ return self._total_targets prop updated_at-
Gets the updated_at of this InboxPlacementPublicTestRunDto. # noqa: E501
:return: The updated_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :rtype: datetime
Expand source code
@property def updated_at(self): """Gets the updated_at of this InboxPlacementPublicTestRunDto. # noqa: E501 :return: The updated_at of this InboxPlacementPublicTestRunDto. # 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