Module mailslurp_client.models.inbox_placement_provider_analysis_preview_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 InboxPlacementProviderAnalysisPreviewDto (status=None, subject=None, from_email=None, text_snippet=None, html_snippet=None, details=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.
InboxPlacementProviderAnalysisPreviewDto - a model defined in OpenAPI
Expand source code
class InboxPlacementProviderAnalysisPreviewDto(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 = { 'status': 'str', 'subject': 'str', 'from_email': 'str', 'text_snippet': 'str', 'html_snippet': 'str', 'details': 'dict(str, str)' } attribute_map = { 'status': 'status', 'subject': 'subject', 'from_email': 'fromEmail', 'text_snippet': 'textSnippet', 'html_snippet': 'htmlSnippet', 'details': 'details' } def __init__(self, status=None, subject=None, from_email=None, text_snippet=None, html_snippet=None, details=None, local_vars_configuration=None): # noqa: E501 """InboxPlacementProviderAnalysisPreviewDto - 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._status = None self._subject = None self._from_email = None self._text_snippet = None self._html_snippet = None self._details = None self.discriminator = None self.status = status self.subject = subject self.from_email = from_email self.text_snippet = text_snippet self.html_snippet = html_snippet self.details = details @property def status(self): """Gets the status of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The status of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._status @status.setter def status(self, status): """Sets the status of this InboxPlacementProviderAnalysisPreviewDto. :param status: The status of this InboxPlacementProviderAnalysisPreviewDto. # 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 subject(self): """Gets the subject of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The subject of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._subject @subject.setter def subject(self, subject): """Sets the subject of this InboxPlacementProviderAnalysisPreviewDto. :param subject: The subject of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :type: str """ self._subject = subject @property def from_email(self): """Gets the from_email of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The from_email of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._from_email @from_email.setter def from_email(self, from_email): """Sets the from_email of this InboxPlacementProviderAnalysisPreviewDto. :param from_email: The from_email of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :type: str """ self._from_email = from_email @property def text_snippet(self): """Gets the text_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The text_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._text_snippet @text_snippet.setter def text_snippet(self, text_snippet): """Sets the text_snippet of this InboxPlacementProviderAnalysisPreviewDto. :param text_snippet: The text_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :type: str """ self._text_snippet = text_snippet @property def html_snippet(self): """Gets the html_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The html_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._html_snippet @html_snippet.setter def html_snippet(self, html_snippet): """Sets the html_snippet of this InboxPlacementProviderAnalysisPreviewDto. :param html_snippet: The html_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :type: str """ self._html_snippet = html_snippet @property def details(self): """Gets the details of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The details of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: dict(str, str) """ return self._details @details.setter def details(self, details): """Sets the details of this InboxPlacementProviderAnalysisPreviewDto. :param details: The details of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :type: dict(str, str) """ if self.local_vars_configuration.client_side_validation and details is None: # noqa: E501 raise ValueError("Invalid value for `details`, must not be `None`") # noqa: E501 self._details = details 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, InboxPlacementProviderAnalysisPreviewDto): 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, InboxPlacementProviderAnalysisPreviewDto): return True return self.to_dict() != other.to_dict()Class variables
var attribute_mapvar openapi_types
Instance variables
prop details-
Gets the details of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501
:return: The details of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: dict(str, str)
Expand source code
@property def details(self): """Gets the details of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The details of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: dict(str, str) """ return self._details prop from_email-
Gets the from_email of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501
:return: The from_email of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str
Expand source code
@property def from_email(self): """Gets the from_email of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The from_email of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._from_email prop html_snippet-
Gets the html_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501
:return: The html_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str
Expand source code
@property def html_snippet(self): """Gets the html_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The html_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._html_snippet prop status-
Gets the status of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501
:return: The status of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str
Expand source code
@property def status(self): """Gets the status of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The status of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._status prop subject-
Gets the subject of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501
:return: The subject of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str
Expand source code
@property def subject(self): """Gets the subject of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The subject of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._subject prop text_snippet-
Gets the text_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501
:return: The text_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str
Expand source code
@property def text_snippet(self): """Gets the text_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :return: The text_snippet of this InboxPlacementProviderAnalysisPreviewDto. # noqa: E501 :rtype: str """ return self._text_snippet
Methods
def to_dict(self)-
Returns the model properties as a dict
def to_str(self)-
Returns the string representation of the model