Module mailslurp_client.models.email_feature_family_statistics
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 EmailFeatureFamilyStatistics (feature=None, family=None, platforms=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.
EmailFeatureFamilyStatistics - a model defined in OpenAPI
Expand source code
class EmailFeatureFamilyStatistics(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 = { 'feature': 'str', 'family': 'str', 'platforms': 'list[EmailFeaturePlatformStatistics]' } attribute_map = { 'feature': 'feature', 'family': 'family', 'platforms': 'platforms' } def __init__(self, feature=None, family=None, platforms=None, local_vars_configuration=None): # noqa: E501 """EmailFeatureFamilyStatistics - 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._feature = None self._family = None self._platforms = None self.discriminator = None self.feature = feature self.family = family self.platforms = platforms @property def feature(self): """Gets the feature of this EmailFeatureFamilyStatistics. # noqa: E501 :return: The feature of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: str """ return self._feature @feature.setter def feature(self, feature): """Sets the feature of this EmailFeatureFamilyStatistics. :param feature: The feature of this EmailFeatureFamilyStatistics. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and feature is None: # noqa: E501 raise ValueError("Invalid value for `feature`, must not be `None`") # noqa: E501 allowed_values = ["amp", "css-accent-color", "css-align-items", "css-animation", "css-aspect-ratio", "css-at-font-face", "css-at-import", "css-at-keyframes", "css-at-media", "css-at-supports", "css-background-blend-mode", "css-background-clip", "css-background-color", "css-background-image", "css-background-origin", "css-background-position", "css-background-repeat", "css-background-size", "css-background", "css-block-inline-size", "css-border-image", "css-border-inline-block-individual", "css-border-inline-block-longhand", "css-border-inline-block", "css-border-radius-logical", "css-border-radius", "css-border", "css-box-shadow", "css-box-sizing", "css-caption-side", "css-clip-path", "css-column-count", "css-column-layout-properties", "css-direction", "css-display-flex", "css-display-grid", "css-display-none", "css-display", "css-filter", "css-flex-direction", "css-flex-wrap", "css-float", "css-font-kerning", "css-font-weight", "css-font", "css-gap", "css-grid-template", "css-height", "css-hyphens", "css-inline-size", "css-justify-content", "css-left-right-top-bottom", "css-letter-spacing", "css-line-height", "css-list-style-image", "css-list-style-position", "css-list-style-type", "css-list-style", "css-margin-block-start-end", "css-margin-inline-block", "css-margin-inline-start-end", "css-margin-inline", "css-margin", "css-max-block-size", "css-max-height", "css-max-width", "css-min-height", "css-min-inline-size", "css-min-width", "css-mix-blend-mode", "css-object-fit", "css-object-position", "css-opacity", "css-outline-offset", "css-outline", "css-overflow-wrap", "css-overflow", "css-padding-block-start-end", "css-padding-inline-block", "css-padding-inline-start-end", "css-padding", "css-position", "css-tab-size", "css-table-layout", "css-text-align-last", "css-text-align", "css-text-decoration-color", "css-text-decoration-thickness", "css-text-decoration", "css-text-emphasis-position", "css-text-emphasis", "css-text-indent", "css-text-overflow", "css-text-shadow", "css-text-transform", "css-text-underline-offset", "css-transform", "css-vertical-align", "css-visibility", "css-white-space", "css-width", "css-word-break", "css-writing-mode", "css-z-index", "html-abbr", "html-address", "html-align", "html-anchor-links", "html-aria-describedby", "html-aria-hidden", "html-aria-label", "html-aria-labelledby", "html-aria-live", "html-audio", "html-background", "html-base", "html-blockquote", "html-body", "html-button-reset", "html-button-submit", "html-code", "html-del", "html-dfn", "html-dialog", "html-dir", "html-div", "html-doctype", "html-form", "html-h1-h6", "html-height", "html-image-maps", "html-input-checkbox", "html-input-hidden", "html-input-radio", "html-input-reset", "html-input-submit", "html-input-text", "html-lang", "html-link", "html-lists", "html-loading-attribute", "html-mailto-links", "html-marquee", "html-meter", "html-object", "html-p", "html-picture", "html-pre", "html-progress", "html-required", "html-role", "html-rp", "html-rt", "html-ruby", "html-select", "html-semantics", "html-small", "html-span", "html-srcset", "html-strike", "html-strong", "html-style", "html-svg", "html-table", "html-target", "html-textarea", "html-valign", "html-video", "html-wbr", "html-width", "image-avif", "image-base64", "image-bmp", "image-gif", "image-ico", "image-jpg", "image-png", "image-svg", "image-webp", "unsupported"] # noqa: E501 if self.local_vars_configuration.client_side_validation and feature not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `feature` ({0}), must be one of {1}" # noqa: E501 .format(feature, allowed_values) ) self._feature = feature @property def family(self): """Gets the family of this EmailFeatureFamilyStatistics. # noqa: E501 :return: The family of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: str """ return self._family @family.setter def family(self, family): """Sets the family of this EmailFeatureFamilyStatistics. :param family: The family of this EmailFeatureFamilyStatistics. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and family is None: # noqa: E501 raise ValueError("Invalid value for `family`, must not be `None`") # noqa: E501 allowed_values = ["aol", "apple-mail", "fastmail", "free-fr", "gmail", "gmx", "hey", "ionos-1and1", "laposte", "mail-ru", "microsoft", "orange", "outlook", "protonmail", "rainloop", "samsung-email", "sfr", "t-online-de", "thunderbird", "web-de", "yahoo"] # noqa: E501 if self.local_vars_configuration.client_side_validation and family not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `family` ({0}), must be one of {1}" # noqa: E501 .format(family, allowed_values) ) self._family = family @property def platforms(self): """Gets the platforms of this EmailFeatureFamilyStatistics. # noqa: E501 :return: The platforms of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: list[EmailFeaturePlatformStatistics] """ return self._platforms @platforms.setter def platforms(self, platforms): """Sets the platforms of this EmailFeatureFamilyStatistics. :param platforms: The platforms of this EmailFeatureFamilyStatistics. # noqa: E501 :type: list[EmailFeaturePlatformStatistics] """ if self.local_vars_configuration.client_side_validation and platforms is None: # noqa: E501 raise ValueError("Invalid value for `platforms`, must not be `None`") # noqa: E501 self._platforms = platforms 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, EmailFeatureFamilyStatistics): 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, EmailFeatureFamilyStatistics): return True return self.to_dict() != other.to_dict()
Class variables
var attribute_map
var openapi_types
Instance variables
prop family
-
Gets the family of this EmailFeatureFamilyStatistics. # noqa: E501
:return: The family of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: str
Expand source code
@property def family(self): """Gets the family of this EmailFeatureFamilyStatistics. # noqa: E501 :return: The family of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: str """ return self._family
prop feature
-
Gets the feature of this EmailFeatureFamilyStatistics. # noqa: E501
:return: The feature of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: str
Expand source code
@property def feature(self): """Gets the feature of this EmailFeatureFamilyStatistics. # noqa: E501 :return: The feature of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: str """ return self._feature
prop platforms
-
Gets the platforms of this EmailFeatureFamilyStatistics. # noqa: E501
:return: The platforms of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: list[EmailFeaturePlatformStatistics]
Expand source code
@property def platforms(self): """Gets the platforms of this EmailFeatureFamilyStatistics. # noqa: E501 :return: The platforms of this EmailFeatureFamilyStatistics. # noqa: E501 :rtype: list[EmailFeaturePlatformStatistics] """ return self._platforms
Methods
def to_dict(self)
-
Returns the model properties as a dict
def to_str(self)
-
Returns the string representation of the model