index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
1.07M
⌀ | signature
stringlengths 2
42.8k
⌀ |
---|---|---|---|---|---|
59,069 |
sib_api_v3_sdk.models.get_extended_campaign_overview_sender
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedCampaignOverviewSender, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,071 |
sib_api_v3_sdk.models.get_extended_campaign_stats
|
GetExtendedCampaignStats
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedCampaignStats(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'global_stats': 'object',
'campaign_stats': 'list[object]',
'mirror_click': 'int',
'remaining': 'int',
'links_stats': 'object',
'stats_by_domain': 'GetStatsByDomain',
'stats_by_device': 'GetStatsByDevice',
'stats_by_browser': 'GetStatsByBrowser'
}
attribute_map = {
'global_stats': 'globalStats',
'campaign_stats': 'campaignStats',
'mirror_click': 'mirrorClick',
'remaining': 'remaining',
'links_stats': 'linksStats',
'stats_by_domain': 'statsByDomain',
'stats_by_device': 'statsByDevice',
'stats_by_browser': 'statsByBrowser'
}
def __init__(self, global_stats=None, campaign_stats=None, mirror_click=None, remaining=None, links_stats=None, stats_by_domain=None, stats_by_device=None, stats_by_browser=None): # noqa: E501
"""GetExtendedCampaignStats - a model defined in Swagger""" # noqa: E501
self._global_stats = None
self._campaign_stats = None
self._mirror_click = None
self._remaining = None
self._links_stats = None
self._stats_by_domain = None
self._stats_by_device = None
self._stats_by_browser = None
self.discriminator = None
self.global_stats = global_stats
self.campaign_stats = campaign_stats
self.mirror_click = mirror_click
self.remaining = remaining
self.links_stats = links_stats
self.stats_by_domain = stats_by_domain
self.stats_by_device = stats_by_device
self.stats_by_browser = stats_by_browser
@property
def global_stats(self):
"""Gets the global_stats of this GetExtendedCampaignStats. # noqa: E501
Overall statistics of the campaign # noqa: E501
:return: The global_stats of this GetExtendedCampaignStats. # noqa: E501
:rtype: object
"""
return self._global_stats
@global_stats.setter
def global_stats(self, global_stats):
"""Sets the global_stats of this GetExtendedCampaignStats.
Overall statistics of the campaign # noqa: E501
:param global_stats: The global_stats of this GetExtendedCampaignStats. # noqa: E501
:type: object
"""
if global_stats is None:
raise ValueError("Invalid value for `global_stats`, must not be `None`") # noqa: E501
self._global_stats = global_stats
@property
def campaign_stats(self):
"""Gets the campaign_stats of this GetExtendedCampaignStats. # noqa: E501
List-wise statistics of the campaign. # noqa: E501
:return: The campaign_stats of this GetExtendedCampaignStats. # noqa: E501
:rtype: list[object]
"""
return self._campaign_stats
@campaign_stats.setter
def campaign_stats(self, campaign_stats):
"""Sets the campaign_stats of this GetExtendedCampaignStats.
List-wise statistics of the campaign. # noqa: E501
:param campaign_stats: The campaign_stats of this GetExtendedCampaignStats. # noqa: E501
:type: list[object]
"""
if campaign_stats is None:
raise ValueError("Invalid value for `campaign_stats`, must not be `None`") # noqa: E501
self._campaign_stats = campaign_stats
@property
def mirror_click(self):
"""Gets the mirror_click of this GetExtendedCampaignStats. # noqa: E501
Number of clicks on mirror link # noqa: E501
:return: The mirror_click of this GetExtendedCampaignStats. # noqa: E501
:rtype: int
"""
return self._mirror_click
@mirror_click.setter
def mirror_click(self, mirror_click):
"""Sets the mirror_click of this GetExtendedCampaignStats.
Number of clicks on mirror link # noqa: E501
:param mirror_click: The mirror_click of this GetExtendedCampaignStats. # noqa: E501
:type: int
"""
if mirror_click is None:
raise ValueError("Invalid value for `mirror_click`, must not be `None`") # noqa: E501
self._mirror_click = mirror_click
@property
def remaining(self):
"""Gets the remaining of this GetExtendedCampaignStats. # noqa: E501
Number of remaning emails to send # noqa: E501
:return: The remaining of this GetExtendedCampaignStats. # noqa: E501
:rtype: int
"""
return self._remaining
@remaining.setter
def remaining(self, remaining):
"""Sets the remaining of this GetExtendedCampaignStats.
Number of remaning emails to send # noqa: E501
:param remaining: The remaining of this GetExtendedCampaignStats. # noqa: E501
:type: int
"""
if remaining is None:
raise ValueError("Invalid value for `remaining`, must not be `None`") # noqa: E501
self._remaining = remaining
@property
def links_stats(self):
"""Gets the links_stats of this GetExtendedCampaignStats. # noqa: E501
Statistics about the number of clicks for the links # noqa: E501
:return: The links_stats of this GetExtendedCampaignStats. # noqa: E501
:rtype: object
"""
return self._links_stats
@links_stats.setter
def links_stats(self, links_stats):
"""Sets the links_stats of this GetExtendedCampaignStats.
Statistics about the number of clicks for the links # noqa: E501
:param links_stats: The links_stats of this GetExtendedCampaignStats. # noqa: E501
:type: object
"""
if links_stats is None:
raise ValueError("Invalid value for `links_stats`, must not be `None`") # noqa: E501
self._links_stats = links_stats
@property
def stats_by_domain(self):
"""Gets the stats_by_domain of this GetExtendedCampaignStats. # noqa: E501
:return: The stats_by_domain of this GetExtendedCampaignStats. # noqa: E501
:rtype: GetStatsByDomain
"""
return self._stats_by_domain
@stats_by_domain.setter
def stats_by_domain(self, stats_by_domain):
"""Sets the stats_by_domain of this GetExtendedCampaignStats.
:param stats_by_domain: The stats_by_domain of this GetExtendedCampaignStats. # noqa: E501
:type: GetStatsByDomain
"""
if stats_by_domain is None:
raise ValueError("Invalid value for `stats_by_domain`, must not be `None`") # noqa: E501
self._stats_by_domain = stats_by_domain
@property
def stats_by_device(self):
"""Gets the stats_by_device of this GetExtendedCampaignStats. # noqa: E501
Statistics about the campaign on the basis of various devices # noqa: E501
:return: The stats_by_device of this GetExtendedCampaignStats. # noqa: E501
:rtype: GetStatsByDevice
"""
return self._stats_by_device
@stats_by_device.setter
def stats_by_device(self, stats_by_device):
"""Sets the stats_by_device of this GetExtendedCampaignStats.
Statistics about the campaign on the basis of various devices # noqa: E501
:param stats_by_device: The stats_by_device of this GetExtendedCampaignStats. # noqa: E501
:type: GetStatsByDevice
"""
if stats_by_device is None:
raise ValueError("Invalid value for `stats_by_device`, must not be `None`") # noqa: E501
self._stats_by_device = stats_by_device
@property
def stats_by_browser(self):
"""Gets the stats_by_browser of this GetExtendedCampaignStats. # noqa: E501
Statistics about the campaign on the basis of various browsers # noqa: E501
:return: The stats_by_browser of this GetExtendedCampaignStats. # noqa: E501
:rtype: GetStatsByBrowser
"""
return self._stats_by_browser
@stats_by_browser.setter
def stats_by_browser(self, stats_by_browser):
"""Sets the stats_by_browser of this GetExtendedCampaignStats.
Statistics about the campaign on the basis of various browsers # noqa: E501
:param stats_by_browser: The stats_by_browser of this GetExtendedCampaignStats. # noqa: E501
:type: GetStatsByBrowser
"""
if stats_by_browser is None:
raise ValueError("Invalid value for `stats_by_browser`, must not be `None`") # noqa: E501
self._stats_by_browser = stats_by_browser
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedCampaignStats, dict):
for key, value in self.items():
result[key] = 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, GetExtendedCampaignStats):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(global_stats=None, campaign_stats=None, mirror_click=None, remaining=None, links_stats=None, stats_by_domain=None, stats_by_device=None, stats_by_browser=None)
|
59,072 |
sib_api_v3_sdk.models.get_extended_campaign_stats
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedCampaignStats):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,073 |
sib_api_v3_sdk.models.get_extended_campaign_stats
|
__init__
|
GetExtendedCampaignStats - a model defined in Swagger
|
def __init__(self, global_stats=None, campaign_stats=None, mirror_click=None, remaining=None, links_stats=None, stats_by_domain=None, stats_by_device=None, stats_by_browser=None): # noqa: E501
"""GetExtendedCampaignStats - a model defined in Swagger""" # noqa: E501
self._global_stats = None
self._campaign_stats = None
self._mirror_click = None
self._remaining = None
self._links_stats = None
self._stats_by_domain = None
self._stats_by_device = None
self._stats_by_browser = None
self.discriminator = None
self.global_stats = global_stats
self.campaign_stats = campaign_stats
self.mirror_click = mirror_click
self.remaining = remaining
self.links_stats = links_stats
self.stats_by_domain = stats_by_domain
self.stats_by_device = stats_by_device
self.stats_by_browser = stats_by_browser
|
(self, global_stats=None, campaign_stats=None, mirror_click=None, remaining=None, links_stats=None, stats_by_domain=None, stats_by_device=None, stats_by_browser=None)
|
59,076 |
sib_api_v3_sdk.models.get_extended_campaign_stats
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedCampaignStats, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,078 |
sib_api_v3_sdk.models.get_extended_client
|
GetExtendedClient
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedClient(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'email': 'str',
'first_name': 'str',
'last_name': 'str',
'company_name': 'str',
'address': 'GetExtendedClientAddress'
}
attribute_map = {
'email': 'email',
'first_name': 'firstName',
'last_name': 'lastName',
'company_name': 'companyName',
'address': 'address'
}
def __init__(self, email=None, first_name=None, last_name=None, company_name=None, address=None): # noqa: E501
"""GetExtendedClient - a model defined in Swagger""" # noqa: E501
self._email = None
self._first_name = None
self._last_name = None
self._company_name = None
self._address = None
self.discriminator = None
self.email = email
self.first_name = first_name
self.last_name = last_name
self.company_name = company_name
self.address = address
@property
def email(self):
"""Gets the email of this GetExtendedClient. # noqa: E501
Login Email # noqa: E501
:return: The email of this GetExtendedClient. # noqa: E501
:rtype: str
"""
return self._email
@email.setter
def email(self, email):
"""Sets the email of this GetExtendedClient.
Login Email # noqa: E501
:param email: The email of this GetExtendedClient. # noqa: E501
:type: str
"""
if email is None:
raise ValueError("Invalid value for `email`, must not be `None`") # noqa: E501
self._email = email
@property
def first_name(self):
"""Gets the first_name of this GetExtendedClient. # noqa: E501
First Name # noqa: E501
:return: The first_name of this GetExtendedClient. # noqa: E501
:rtype: str
"""
return self._first_name
@first_name.setter
def first_name(self, first_name):
"""Sets the first_name of this GetExtendedClient.
First Name # noqa: E501
:param first_name: The first_name of this GetExtendedClient. # noqa: E501
:type: str
"""
if first_name is None:
raise ValueError("Invalid value for `first_name`, must not be `None`") # noqa: E501
self._first_name = first_name
@property
def last_name(self):
"""Gets the last_name of this GetExtendedClient. # noqa: E501
Last Name # noqa: E501
:return: The last_name of this GetExtendedClient. # noqa: E501
:rtype: str
"""
return self._last_name
@last_name.setter
def last_name(self, last_name):
"""Sets the last_name of this GetExtendedClient.
Last Name # noqa: E501
:param last_name: The last_name of this GetExtendedClient. # noqa: E501
:type: str
"""
if last_name is None:
raise ValueError("Invalid value for `last_name`, must not be `None`") # noqa: E501
self._last_name = last_name
@property
def company_name(self):
"""Gets the company_name of this GetExtendedClient. # noqa: E501
Name of the company # noqa: E501
:return: The company_name of this GetExtendedClient. # noqa: E501
:rtype: str
"""
return self._company_name
@company_name.setter
def company_name(self, company_name):
"""Sets the company_name of this GetExtendedClient.
Name of the company # noqa: E501
:param company_name: The company_name of this GetExtendedClient. # noqa: E501
:type: str
"""
if company_name is None:
raise ValueError("Invalid value for `company_name`, must not be `None`") # noqa: E501
self._company_name = company_name
@property
def address(self):
"""Gets the address of this GetExtendedClient. # noqa: E501
:return: The address of this GetExtendedClient. # noqa: E501
:rtype: GetExtendedClientAddress
"""
return self._address
@address.setter
def address(self, address):
"""Sets the address of this GetExtendedClient.
:param address: The address of this GetExtendedClient. # noqa: E501
:type: GetExtendedClientAddress
"""
if address is None:
raise ValueError("Invalid value for `address`, must not be `None`") # noqa: E501
self._address = address
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedClient, dict):
for key, value in self.items():
result[key] = 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, GetExtendedClient):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(email=None, first_name=None, last_name=None, company_name=None, address=None)
|
59,079 |
sib_api_v3_sdk.models.get_extended_client
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedClient):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,080 |
sib_api_v3_sdk.models.get_extended_client
|
__init__
|
GetExtendedClient - a model defined in Swagger
|
def __init__(self, email=None, first_name=None, last_name=None, company_name=None, address=None): # noqa: E501
"""GetExtendedClient - a model defined in Swagger""" # noqa: E501
self._email = None
self._first_name = None
self._last_name = None
self._company_name = None
self._address = None
self.discriminator = None
self.email = email
self.first_name = first_name
self.last_name = last_name
self.company_name = company_name
self.address = address
|
(self, email=None, first_name=None, last_name=None, company_name=None, address=None)
|
59,083 |
sib_api_v3_sdk.models.get_extended_client
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedClient, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,085 |
sib_api_v3_sdk.models.get_extended_client_address
|
GetExtendedClientAddress
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedClientAddress(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'street': 'str',
'city': 'str',
'zip_code': 'str',
'country': 'str'
}
attribute_map = {
'street': 'street',
'city': 'city',
'zip_code': 'zipCode',
'country': 'country'
}
def __init__(self, street=None, city=None, zip_code=None, country=None): # noqa: E501
"""GetExtendedClientAddress - a model defined in Swagger""" # noqa: E501
self._street = None
self._city = None
self._zip_code = None
self._country = None
self.discriminator = None
self.street = street
self.city = city
self.zip_code = zip_code
self.country = country
@property
def street(self):
"""Gets the street of this GetExtendedClientAddress. # noqa: E501
Street information # noqa: E501
:return: The street of this GetExtendedClientAddress. # noqa: E501
:rtype: str
"""
return self._street
@street.setter
def street(self, street):
"""Sets the street of this GetExtendedClientAddress.
Street information # noqa: E501
:param street: The street of this GetExtendedClientAddress. # noqa: E501
:type: str
"""
if street is None:
raise ValueError("Invalid value for `street`, must not be `None`") # noqa: E501
self._street = street
@property
def city(self):
"""Gets the city of this GetExtendedClientAddress. # noqa: E501
City information # noqa: E501
:return: The city of this GetExtendedClientAddress. # noqa: E501
:rtype: str
"""
return self._city
@city.setter
def city(self, city):
"""Sets the city of this GetExtendedClientAddress.
City information # noqa: E501
:param city: The city of this GetExtendedClientAddress. # noqa: E501
:type: str
"""
if city is None:
raise ValueError("Invalid value for `city`, must not be `None`") # noqa: E501
self._city = city
@property
def zip_code(self):
"""Gets the zip_code of this GetExtendedClientAddress. # noqa: E501
Zip Code information # noqa: E501
:return: The zip_code of this GetExtendedClientAddress. # noqa: E501
:rtype: str
"""
return self._zip_code
@zip_code.setter
def zip_code(self, zip_code):
"""Sets the zip_code of this GetExtendedClientAddress.
Zip Code information # noqa: E501
:param zip_code: The zip_code of this GetExtendedClientAddress. # noqa: E501
:type: str
"""
if zip_code is None:
raise ValueError("Invalid value for `zip_code`, must not be `None`") # noqa: E501
self._zip_code = zip_code
@property
def country(self):
"""Gets the country of this GetExtendedClientAddress. # noqa: E501
Country information # noqa: E501
:return: The country of this GetExtendedClientAddress. # noqa: E501
:rtype: str
"""
return self._country
@country.setter
def country(self, country):
"""Sets the country of this GetExtendedClientAddress.
Country information # noqa: E501
:param country: The country of this GetExtendedClientAddress. # noqa: E501
:type: str
"""
if country is None:
raise ValueError("Invalid value for `country`, must not be `None`") # noqa: E501
self._country = country
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedClientAddress, dict):
for key, value in self.items():
result[key] = 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, GetExtendedClientAddress):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(street=None, city=None, zip_code=None, country=None)
|
59,086 |
sib_api_v3_sdk.models.get_extended_client_address
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedClientAddress):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,087 |
sib_api_v3_sdk.models.get_extended_client_address
|
__init__
|
GetExtendedClientAddress - a model defined in Swagger
|
def __init__(self, street=None, city=None, zip_code=None, country=None): # noqa: E501
"""GetExtendedClientAddress - a model defined in Swagger""" # noqa: E501
self._street = None
self._city = None
self._zip_code = None
self._country = None
self.discriminator = None
self.street = street
self.city = city
self.zip_code = zip_code
self.country = country
|
(self, street=None, city=None, zip_code=None, country=None)
|
59,090 |
sib_api_v3_sdk.models.get_extended_client_address
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedClientAddress, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,092 |
sib_api_v3_sdk.models.get_extended_contact_details
|
GetExtendedContactDetails
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetails(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'email': 'str',
'id': 'int',
'email_blacklisted': 'bool',
'sms_blacklisted': 'bool',
'created_at': 'str',
'modified_at': 'str',
'list_ids': 'list[int]',
'list_unsubscribed': 'list[int]',
'attributes': 'object',
'statistics': 'GetExtendedContactDetailsStatistics'
}
attribute_map = {
'email': 'email',
'id': 'id',
'email_blacklisted': 'emailBlacklisted',
'sms_blacklisted': 'smsBlacklisted',
'created_at': 'createdAt',
'modified_at': 'modifiedAt',
'list_ids': 'listIds',
'list_unsubscribed': 'listUnsubscribed',
'attributes': 'attributes',
'statistics': 'statistics'
}
def __init__(self, email=None, id=None, email_blacklisted=None, sms_blacklisted=None, created_at=None, modified_at=None, list_ids=None, list_unsubscribed=None, attributes=None, statistics=None): # noqa: E501
"""GetExtendedContactDetails - a model defined in Swagger""" # noqa: E501
self._email = None
self._id = None
self._email_blacklisted = None
self._sms_blacklisted = None
self._created_at = None
self._modified_at = None
self._list_ids = None
self._list_unsubscribed = None
self._attributes = None
self._statistics = None
self.discriminator = None
self.email = email
self.id = id
self.email_blacklisted = email_blacklisted
self.sms_blacklisted = sms_blacklisted
self.created_at = created_at
self.modified_at = modified_at
self.list_ids = list_ids
if list_unsubscribed is not None:
self.list_unsubscribed = list_unsubscribed
self.attributes = attributes
self.statistics = statistics
@property
def email(self):
"""Gets the email of this GetExtendedContactDetails. # noqa: E501
Email address of the contact for which you requested the details # noqa: E501
:return: The email of this GetExtendedContactDetails. # noqa: E501
:rtype: str
"""
return self._email
@email.setter
def email(self, email):
"""Sets the email of this GetExtendedContactDetails.
Email address of the contact for which you requested the details # noqa: E501
:param email: The email of this GetExtendedContactDetails. # noqa: E501
:type: str
"""
if email is None:
raise ValueError("Invalid value for `email`, must not be `None`") # noqa: E501
self._email = email
@property
def id(self):
"""Gets the id of this GetExtendedContactDetails. # noqa: E501
ID of the contact for which you requested the details # noqa: E501
:return: The id of this GetExtendedContactDetails. # noqa: E501
:rtype: int
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this GetExtendedContactDetails.
ID of the contact for which you requested the details # noqa: E501
:param id: The id of this GetExtendedContactDetails. # noqa: E501
:type: int
"""
if id is None:
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
self._id = id
@property
def email_blacklisted(self):
"""Gets the email_blacklisted of this GetExtendedContactDetails. # noqa: E501
Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) # noqa: E501
:return: The email_blacklisted of this GetExtendedContactDetails. # noqa: E501
:rtype: bool
"""
return self._email_blacklisted
@email_blacklisted.setter
def email_blacklisted(self, email_blacklisted):
"""Sets the email_blacklisted of this GetExtendedContactDetails.
Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) # noqa: E501
:param email_blacklisted: The email_blacklisted of this GetExtendedContactDetails. # noqa: E501
:type: bool
"""
if email_blacklisted is None:
raise ValueError("Invalid value for `email_blacklisted`, must not be `None`") # noqa: E501
self._email_blacklisted = email_blacklisted
@property
def sms_blacklisted(self):
"""Gets the sms_blacklisted of this GetExtendedContactDetails. # noqa: E501
Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) # noqa: E501
:return: The sms_blacklisted of this GetExtendedContactDetails. # noqa: E501
:rtype: bool
"""
return self._sms_blacklisted
@sms_blacklisted.setter
def sms_blacklisted(self, sms_blacklisted):
"""Sets the sms_blacklisted of this GetExtendedContactDetails.
Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) # noqa: E501
:param sms_blacklisted: The sms_blacklisted of this GetExtendedContactDetails. # noqa: E501
:type: bool
"""
if sms_blacklisted is None:
raise ValueError("Invalid value for `sms_blacklisted`, must not be `None`") # noqa: E501
self._sms_blacklisted = sms_blacklisted
@property
def created_at(self):
"""Gets the created_at of this GetExtendedContactDetails. # noqa: E501
Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) # noqa: E501
:return: The created_at of this GetExtendedContactDetails. # noqa: E501
:rtype: str
"""
return self._created_at
@created_at.setter
def created_at(self, created_at):
"""Sets the created_at of this GetExtendedContactDetails.
Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) # noqa: E501
:param created_at: The created_at of this GetExtendedContactDetails. # noqa: E501
:type: str
"""
if created_at is None:
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
self._created_at = created_at
@property
def modified_at(self):
"""Gets the modified_at of this GetExtendedContactDetails. # noqa: E501
Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) # noqa: E501
:return: The modified_at of this GetExtendedContactDetails. # noqa: E501
:rtype: str
"""
return self._modified_at
@modified_at.setter
def modified_at(self, modified_at):
"""Sets the modified_at of this GetExtendedContactDetails.
Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) # noqa: E501
:param modified_at: The modified_at of this GetExtendedContactDetails. # noqa: E501
:type: str
"""
if modified_at is None:
raise ValueError("Invalid value for `modified_at`, must not be `None`") # noqa: E501
self._modified_at = modified_at
@property
def list_ids(self):
"""Gets the list_ids of this GetExtendedContactDetails. # noqa: E501
:return: The list_ids of this GetExtendedContactDetails. # noqa: E501
:rtype: list[int]
"""
return self._list_ids
@list_ids.setter
def list_ids(self, list_ids):
"""Sets the list_ids of this GetExtendedContactDetails.
:param list_ids: The list_ids of this GetExtendedContactDetails. # noqa: E501
:type: list[int]
"""
if list_ids is None:
raise ValueError("Invalid value for `list_ids`, must not be `None`") # noqa: E501
self._list_ids = list_ids
@property
def list_unsubscribed(self):
"""Gets the list_unsubscribed of this GetExtendedContactDetails. # noqa: E501
:return: The list_unsubscribed of this GetExtendedContactDetails. # noqa: E501
:rtype: list[int]
"""
return self._list_unsubscribed
@list_unsubscribed.setter
def list_unsubscribed(self, list_unsubscribed):
"""Sets the list_unsubscribed of this GetExtendedContactDetails.
:param list_unsubscribed: The list_unsubscribed of this GetExtendedContactDetails. # noqa: E501
:type: list[int]
"""
self._list_unsubscribed = list_unsubscribed
@property
def attributes(self):
"""Gets the attributes of this GetExtendedContactDetails. # noqa: E501
Set of attributes of the contact # noqa: E501
:return: The attributes of this GetExtendedContactDetails. # noqa: E501
:rtype: object
"""
return self._attributes
@attributes.setter
def attributes(self, attributes):
"""Sets the attributes of this GetExtendedContactDetails.
Set of attributes of the contact # noqa: E501
:param attributes: The attributes of this GetExtendedContactDetails. # noqa: E501
:type: object
"""
if attributes is None:
raise ValueError("Invalid value for `attributes`, must not be `None`") # noqa: E501
self._attributes = attributes
@property
def statistics(self):
"""Gets the statistics of this GetExtendedContactDetails. # noqa: E501
:return: The statistics of this GetExtendedContactDetails. # noqa: E501
:rtype: GetExtendedContactDetailsStatistics
"""
return self._statistics
@statistics.setter
def statistics(self, statistics):
"""Sets the statistics of this GetExtendedContactDetails.
:param statistics: The statistics of this GetExtendedContactDetails. # noqa: E501
:type: GetExtendedContactDetailsStatistics
"""
if statistics is None:
raise ValueError("Invalid value for `statistics`, must not be `None`") # noqa: E501
self._statistics = statistics
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetails, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetails):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(email=None, id=None, email_blacklisted=None, sms_blacklisted=None, created_at=None, modified_at=None, list_ids=None, list_unsubscribed=None, attributes=None, statistics=None)
|
59,093 |
sib_api_v3_sdk.models.get_extended_contact_details
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetails):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,094 |
sib_api_v3_sdk.models.get_extended_contact_details
|
__init__
|
GetExtendedContactDetails - a model defined in Swagger
|
def __init__(self, email=None, id=None, email_blacklisted=None, sms_blacklisted=None, created_at=None, modified_at=None, list_ids=None, list_unsubscribed=None, attributes=None, statistics=None): # noqa: E501
"""GetExtendedContactDetails - a model defined in Swagger""" # noqa: E501
self._email = None
self._id = None
self._email_blacklisted = None
self._sms_blacklisted = None
self._created_at = None
self._modified_at = None
self._list_ids = None
self._list_unsubscribed = None
self._attributes = None
self._statistics = None
self.discriminator = None
self.email = email
self.id = id
self.email_blacklisted = email_blacklisted
self.sms_blacklisted = sms_blacklisted
self.created_at = created_at
self.modified_at = modified_at
self.list_ids = list_ids
if list_unsubscribed is not None:
self.list_unsubscribed = list_unsubscribed
self.attributes = attributes
self.statistics = statistics
|
(self, email=None, id=None, email_blacklisted=None, sms_blacklisted=None, created_at=None, modified_at=None, list_ids=None, list_unsubscribed=None, attributes=None, statistics=None)
|
59,097 |
sib_api_v3_sdk.models.get_extended_contact_details
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetails, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,099 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics
|
GetExtendedContactDetailsStatistics
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatistics(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'messages_sent': 'list[GetExtendedContactDetailsStatisticsMessagesSent]',
'hard_bounces': 'list[GetExtendedContactDetailsStatisticsMessagesSent]',
'soft_bounces': 'list[GetExtendedContactDetailsStatisticsMessagesSent]',
'complaints': 'list[GetExtendedContactDetailsStatisticsMessagesSent]',
'unsubscriptions': 'GetExtendedContactDetailsStatisticsUnsubscriptions',
'opened': 'list[GetExtendedContactDetailsStatisticsOpened]',
'clicked': 'list[GetExtendedContactDetailsStatisticsClicked]',
'transac_attributes': 'list[object]',
'delivered': 'list[GetExtendedContactDetailsStatisticsDelivered]'
}
attribute_map = {
'messages_sent': 'messagesSent',
'hard_bounces': 'hardBounces',
'soft_bounces': 'softBounces',
'complaints': 'complaints',
'unsubscriptions': 'unsubscriptions',
'opened': 'opened',
'clicked': 'clicked',
'transac_attributes': 'transacAttributes',
'delivered': 'delivered'
}
def __init__(self, messages_sent=None, hard_bounces=None, soft_bounces=None, complaints=None, unsubscriptions=None, opened=None, clicked=None, transac_attributes=None, delivered=None): # noqa: E501
"""GetExtendedContactDetailsStatistics - a model defined in Swagger""" # noqa: E501
self._messages_sent = None
self._hard_bounces = None
self._soft_bounces = None
self._complaints = None
self._unsubscriptions = None
self._opened = None
self._clicked = None
self._transac_attributes = None
self._delivered = None
self.discriminator = None
if messages_sent is not None:
self.messages_sent = messages_sent
if hard_bounces is not None:
self.hard_bounces = hard_bounces
if soft_bounces is not None:
self.soft_bounces = soft_bounces
if complaints is not None:
self.complaints = complaints
if unsubscriptions is not None:
self.unsubscriptions = unsubscriptions
if opened is not None:
self.opened = opened
if clicked is not None:
self.clicked = clicked
if transac_attributes is not None:
self.transac_attributes = transac_attributes
if delivered is not None:
self.delivered = delivered
@property
def messages_sent(self):
"""Gets the messages_sent of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the sent campaign for the contact # noqa: E501
:return: The messages_sent of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
return self._messages_sent
@messages_sent.setter
def messages_sent(self, messages_sent):
"""Sets the messages_sent of this GetExtendedContactDetailsStatistics.
Listing of the sent campaign for the contact # noqa: E501
:param messages_sent: The messages_sent of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
self._messages_sent = messages_sent
@property
def hard_bounces(self):
"""Gets the hard_bounces of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the hardbounes generated by the contact # noqa: E501
:return: The hard_bounces of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
return self._hard_bounces
@hard_bounces.setter
def hard_bounces(self, hard_bounces):
"""Sets the hard_bounces of this GetExtendedContactDetailsStatistics.
Listing of the hardbounes generated by the contact # noqa: E501
:param hard_bounces: The hard_bounces of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
self._hard_bounces = hard_bounces
@property
def soft_bounces(self):
"""Gets the soft_bounces of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the softbounes generated by the contact # noqa: E501
:return: The soft_bounces of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
return self._soft_bounces
@soft_bounces.setter
def soft_bounces(self, soft_bounces):
"""Sets the soft_bounces of this GetExtendedContactDetailsStatistics.
Listing of the softbounes generated by the contact # noqa: E501
:param soft_bounces: The soft_bounces of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
self._soft_bounces = soft_bounces
@property
def complaints(self):
"""Gets the complaints of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the complaints generated by the contact # noqa: E501
:return: The complaints of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
return self._complaints
@complaints.setter
def complaints(self, complaints):
"""Sets the complaints of this GetExtendedContactDetailsStatistics.
Listing of the complaints generated by the contact # noqa: E501
:param complaints: The complaints of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsMessagesSent]
"""
self._complaints = complaints
@property
def unsubscriptions(self):
"""Gets the unsubscriptions of this GetExtendedContactDetailsStatistics. # noqa: E501
:return: The unsubscriptions of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: GetExtendedContactDetailsStatisticsUnsubscriptions
"""
return self._unsubscriptions
@unsubscriptions.setter
def unsubscriptions(self, unsubscriptions):
"""Sets the unsubscriptions of this GetExtendedContactDetailsStatistics.
:param unsubscriptions: The unsubscriptions of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: GetExtendedContactDetailsStatisticsUnsubscriptions
"""
self._unsubscriptions = unsubscriptions
@property
def opened(self):
"""Gets the opened of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the openings generated by the contact # noqa: E501
:return: The opened of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsOpened]
"""
return self._opened
@opened.setter
def opened(self, opened):
"""Sets the opened of this GetExtendedContactDetailsStatistics.
Listing of the openings generated by the contact # noqa: E501
:param opened: The opened of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsOpened]
"""
self._opened = opened
@property
def clicked(self):
"""Gets the clicked of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the clicks generated by the contact # noqa: E501
:return: The clicked of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsClicked]
"""
return self._clicked
@clicked.setter
def clicked(self, clicked):
"""Sets the clicked of this GetExtendedContactDetailsStatistics.
Listing of the clicks generated by the contact # noqa: E501
:param clicked: The clicked of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsClicked]
"""
self._clicked = clicked
@property
def transac_attributes(self):
"""Gets the transac_attributes of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the transactional attributes for the contact # noqa: E501
:return: The transac_attributes of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[object]
"""
return self._transac_attributes
@transac_attributes.setter
def transac_attributes(self, transac_attributes):
"""Sets the transac_attributes of this GetExtendedContactDetailsStatistics.
Listing of the transactional attributes for the contact # noqa: E501
:param transac_attributes: The transac_attributes of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[object]
"""
self._transac_attributes = transac_attributes
@property
def delivered(self):
"""Gets the delivered of this GetExtendedContactDetailsStatistics. # noqa: E501
Listing of the delivered campaign for the contact # noqa: E501
:return: The delivered of this GetExtendedContactDetailsStatistics. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsDelivered]
"""
return self._delivered
@delivered.setter
def delivered(self, delivered):
"""Sets the delivered of this GetExtendedContactDetailsStatistics.
Listing of the delivered campaign for the contact # noqa: E501
:param delivered: The delivered of this GetExtendedContactDetailsStatistics. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsDelivered]
"""
self._delivered = delivered
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatistics, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatistics):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(messages_sent=None, hard_bounces=None, soft_bounces=None, complaints=None, unsubscriptions=None, opened=None, clicked=None, transac_attributes=None, delivered=None)
|
59,100 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatistics):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,101 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics
|
__init__
|
GetExtendedContactDetailsStatistics - a model defined in Swagger
|
def __init__(self, messages_sent=None, hard_bounces=None, soft_bounces=None, complaints=None, unsubscriptions=None, opened=None, clicked=None, transac_attributes=None, delivered=None): # noqa: E501
"""GetExtendedContactDetailsStatistics - a model defined in Swagger""" # noqa: E501
self._messages_sent = None
self._hard_bounces = None
self._soft_bounces = None
self._complaints = None
self._unsubscriptions = None
self._opened = None
self._clicked = None
self._transac_attributes = None
self._delivered = None
self.discriminator = None
if messages_sent is not None:
self.messages_sent = messages_sent
if hard_bounces is not None:
self.hard_bounces = hard_bounces
if soft_bounces is not None:
self.soft_bounces = soft_bounces
if complaints is not None:
self.complaints = complaints
if unsubscriptions is not None:
self.unsubscriptions = unsubscriptions
if opened is not None:
self.opened = opened
if clicked is not None:
self.clicked = clicked
if transac_attributes is not None:
self.transac_attributes = transac_attributes
if delivered is not None:
self.delivered = delivered
|
(self, messages_sent=None, hard_bounces=None, soft_bounces=None, complaints=None, unsubscriptions=None, opened=None, clicked=None, transac_attributes=None, delivered=None)
|
59,104 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatistics, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,106 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_clicked
|
GetExtendedContactDetailsStatisticsClicked
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsClicked(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'campaign_id': 'int',
'links': 'list[GetExtendedContactDetailsStatisticsLinks]'
}
attribute_map = {
'campaign_id': 'campaignId',
'links': 'links'
}
def __init__(self, campaign_id=None, links=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsClicked - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._links = None
self.discriminator = None
self.campaign_id = campaign_id
self.links = links
@property
def campaign_id(self):
"""Gets the campaign_id of this GetExtendedContactDetailsStatisticsClicked. # noqa: E501
ID of the campaign which generated the event # noqa: E501
:return: The campaign_id of this GetExtendedContactDetailsStatisticsClicked. # noqa: E501
:rtype: int
"""
return self._campaign_id
@campaign_id.setter
def campaign_id(self, campaign_id):
"""Sets the campaign_id of this GetExtendedContactDetailsStatisticsClicked.
ID of the campaign which generated the event # noqa: E501
:param campaign_id: The campaign_id of this GetExtendedContactDetailsStatisticsClicked. # noqa: E501
:type: int
"""
if campaign_id is None:
raise ValueError("Invalid value for `campaign_id`, must not be `None`") # noqa: E501
self._campaign_id = campaign_id
@property
def links(self):
"""Gets the links of this GetExtendedContactDetailsStatisticsClicked. # noqa: E501
Listing of the clicked links for the campaign # noqa: E501
:return: The links of this GetExtendedContactDetailsStatisticsClicked. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsLinks]
"""
return self._links
@links.setter
def links(self, links):
"""Sets the links of this GetExtendedContactDetailsStatisticsClicked.
Listing of the clicked links for the campaign # noqa: E501
:param links: The links of this GetExtendedContactDetailsStatisticsClicked. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsLinks]
"""
if links is None:
raise ValueError("Invalid value for `links`, must not be `None`") # noqa: E501
self._links = links
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsClicked, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsClicked):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(campaign_id=None, links=None)
|
59,107 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_clicked
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsClicked):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,108 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_clicked
|
__init__
|
GetExtendedContactDetailsStatisticsClicked - a model defined in Swagger
|
def __init__(self, campaign_id=None, links=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsClicked - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._links = None
self.discriminator = None
self.campaign_id = campaign_id
self.links = links
|
(self, campaign_id=None, links=None)
|
59,111 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_clicked
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsClicked, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,113 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_delivered
|
GetExtendedContactDetailsStatisticsDelivered
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsDelivered(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'campaign_id': 'int',
'event_time': 'str'
}
attribute_map = {
'campaign_id': 'campaignId',
'event_time': 'eventTime'
}
def __init__(self, campaign_id=None, event_time=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsDelivered - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._event_time = None
self.discriminator = None
self.campaign_id = campaign_id
self.event_time = event_time
@property
def campaign_id(self):
"""Gets the campaign_id of this GetExtendedContactDetailsStatisticsDelivered. # noqa: E501
ID of the campaign which generated the event # noqa: E501
:return: The campaign_id of this GetExtendedContactDetailsStatisticsDelivered. # noqa: E501
:rtype: int
"""
return self._campaign_id
@campaign_id.setter
def campaign_id(self, campaign_id):
"""Sets the campaign_id of this GetExtendedContactDetailsStatisticsDelivered.
ID of the campaign which generated the event # noqa: E501
:param campaign_id: The campaign_id of this GetExtendedContactDetailsStatisticsDelivered. # noqa: E501
:type: int
"""
if campaign_id is None:
raise ValueError("Invalid value for `campaign_id`, must not be `None`") # noqa: E501
self._campaign_id = campaign_id
@property
def event_time(self):
"""Gets the event_time of this GetExtendedContactDetailsStatisticsDelivered. # noqa: E501
UTC date-time of the event # noqa: E501
:return: The event_time of this GetExtendedContactDetailsStatisticsDelivered. # noqa: E501
:rtype: str
"""
return self._event_time
@event_time.setter
def event_time(self, event_time):
"""Sets the event_time of this GetExtendedContactDetailsStatisticsDelivered.
UTC date-time of the event # noqa: E501
:param event_time: The event_time of this GetExtendedContactDetailsStatisticsDelivered. # noqa: E501
:type: str
"""
if event_time is None:
raise ValueError("Invalid value for `event_time`, must not be `None`") # noqa: E501
self._event_time = event_time
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsDelivered, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsDelivered):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(campaign_id=None, event_time=None)
|
59,114 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_delivered
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsDelivered):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,115 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_delivered
|
__init__
|
GetExtendedContactDetailsStatisticsDelivered - a model defined in Swagger
|
def __init__(self, campaign_id=None, event_time=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsDelivered - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._event_time = None
self.discriminator = None
self.campaign_id = campaign_id
self.event_time = event_time
|
(self, campaign_id=None, event_time=None)
|
59,118 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_delivered
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsDelivered, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,120 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_links
|
GetExtendedContactDetailsStatisticsLinks
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsLinks(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'count': 'int',
'event_time': 'str',
'ip': 'str',
'url': 'str'
}
attribute_map = {
'count': 'count',
'event_time': 'eventTime',
'ip': 'ip',
'url': 'url'
}
def __init__(self, count=None, event_time=None, ip=None, url=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsLinks - a model defined in Swagger""" # noqa: E501
self._count = None
self._event_time = None
self._ip = None
self._url = None
self.discriminator = None
self.count = count
self.event_time = event_time
self.ip = ip
self.url = url
@property
def count(self):
"""Gets the count of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
Number of clicks on this link for the campaign # noqa: E501
:return: The count of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:rtype: int
"""
return self._count
@count.setter
def count(self, count):
"""Sets the count of this GetExtendedContactDetailsStatisticsLinks.
Number of clicks on this link for the campaign # noqa: E501
:param count: The count of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:type: int
"""
if count is None:
raise ValueError("Invalid value for `count`, must not be `None`") # noqa: E501
self._count = count
@property
def event_time(self):
"""Gets the event_time of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
UTC date-time of the event # noqa: E501
:return: The event_time of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:rtype: str
"""
return self._event_time
@event_time.setter
def event_time(self, event_time):
"""Sets the event_time of this GetExtendedContactDetailsStatisticsLinks.
UTC date-time of the event # noqa: E501
:param event_time: The event_time of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:type: str
"""
if event_time is None:
raise ValueError("Invalid value for `event_time`, must not be `None`") # noqa: E501
self._event_time = event_time
@property
def ip(self):
"""Gets the ip of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
IP from which the user has clicked on the link # noqa: E501
:return: The ip of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:rtype: str
"""
return self._ip
@ip.setter
def ip(self, ip):
"""Sets the ip of this GetExtendedContactDetailsStatisticsLinks.
IP from which the user has clicked on the link # noqa: E501
:param ip: The ip of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:type: str
"""
if ip is None:
raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501
self._ip = ip
@property
def url(self):
"""Gets the url of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
URL of the clicked link # noqa: E501
:return: The url of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:rtype: str
"""
return self._url
@url.setter
def url(self, url):
"""Sets the url of this GetExtendedContactDetailsStatisticsLinks.
URL of the clicked link # noqa: E501
:param url: The url of this GetExtendedContactDetailsStatisticsLinks. # noqa: E501
:type: str
"""
if url is None:
raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501
self._url = url
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsLinks, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsLinks):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(count=None, event_time=None, ip=None, url=None)
|
59,121 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_links
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsLinks):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,122 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_links
|
__init__
|
GetExtendedContactDetailsStatisticsLinks - a model defined in Swagger
|
def __init__(self, count=None, event_time=None, ip=None, url=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsLinks - a model defined in Swagger""" # noqa: E501
self._count = None
self._event_time = None
self._ip = None
self._url = None
self.discriminator = None
self.count = count
self.event_time = event_time
self.ip = ip
self.url = url
|
(self, count=None, event_time=None, ip=None, url=None)
|
59,125 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_links
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsLinks, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,127 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_messages_sent
|
GetExtendedContactDetailsStatisticsMessagesSent
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsMessagesSent(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'campaign_id': 'int',
'event_time': 'str'
}
attribute_map = {
'campaign_id': 'campaignId',
'event_time': 'eventTime'
}
def __init__(self, campaign_id=None, event_time=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsMessagesSent - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._event_time = None
self.discriminator = None
self.campaign_id = campaign_id
self.event_time = event_time
@property
def campaign_id(self):
"""Gets the campaign_id of this GetExtendedContactDetailsStatisticsMessagesSent. # noqa: E501
ID of the campaign which generated the event # noqa: E501
:return: The campaign_id of this GetExtendedContactDetailsStatisticsMessagesSent. # noqa: E501
:rtype: int
"""
return self._campaign_id
@campaign_id.setter
def campaign_id(self, campaign_id):
"""Sets the campaign_id of this GetExtendedContactDetailsStatisticsMessagesSent.
ID of the campaign which generated the event # noqa: E501
:param campaign_id: The campaign_id of this GetExtendedContactDetailsStatisticsMessagesSent. # noqa: E501
:type: int
"""
if campaign_id is None:
raise ValueError("Invalid value for `campaign_id`, must not be `None`") # noqa: E501
self._campaign_id = campaign_id
@property
def event_time(self):
"""Gets the event_time of this GetExtendedContactDetailsStatisticsMessagesSent. # noqa: E501
UTC date-time of the event # noqa: E501
:return: The event_time of this GetExtendedContactDetailsStatisticsMessagesSent. # noqa: E501
:rtype: str
"""
return self._event_time
@event_time.setter
def event_time(self, event_time):
"""Sets the event_time of this GetExtendedContactDetailsStatisticsMessagesSent.
UTC date-time of the event # noqa: E501
:param event_time: The event_time of this GetExtendedContactDetailsStatisticsMessagesSent. # noqa: E501
:type: str
"""
if event_time is None:
raise ValueError("Invalid value for `event_time`, must not be `None`") # noqa: E501
self._event_time = event_time
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsMessagesSent, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsMessagesSent):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(campaign_id=None, event_time=None)
|
59,128 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_messages_sent
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsMessagesSent):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,129 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_messages_sent
|
__init__
|
GetExtendedContactDetailsStatisticsMessagesSent - a model defined in Swagger
|
def __init__(self, campaign_id=None, event_time=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsMessagesSent - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._event_time = None
self.discriminator = None
self.campaign_id = campaign_id
self.event_time = event_time
|
(self, campaign_id=None, event_time=None)
|
59,132 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_messages_sent
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsMessagesSent, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,134 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_opened
|
GetExtendedContactDetailsStatisticsOpened
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsOpened(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'campaign_id': 'int',
'count': 'int',
'event_time': 'str',
'ip': 'str'
}
attribute_map = {
'campaign_id': 'campaignId',
'count': 'count',
'event_time': 'eventTime',
'ip': 'ip'
}
def __init__(self, campaign_id=None, count=None, event_time=None, ip=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsOpened - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._count = None
self._event_time = None
self._ip = None
self.discriminator = None
self.campaign_id = campaign_id
self.count = count
self.event_time = event_time
self.ip = ip
@property
def campaign_id(self):
"""Gets the campaign_id of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
ID of the campaign which generated the event # noqa: E501
:return: The campaign_id of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:rtype: int
"""
return self._campaign_id
@campaign_id.setter
def campaign_id(self, campaign_id):
"""Sets the campaign_id of this GetExtendedContactDetailsStatisticsOpened.
ID of the campaign which generated the event # noqa: E501
:param campaign_id: The campaign_id of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:type: int
"""
if campaign_id is None:
raise ValueError("Invalid value for `campaign_id`, must not be `None`") # noqa: E501
self._campaign_id = campaign_id
@property
def count(self):
"""Gets the count of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
Number of openings for the campaign # noqa: E501
:return: The count of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:rtype: int
"""
return self._count
@count.setter
def count(self, count):
"""Sets the count of this GetExtendedContactDetailsStatisticsOpened.
Number of openings for the campaign # noqa: E501
:param count: The count of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:type: int
"""
if count is None:
raise ValueError("Invalid value for `count`, must not be `None`") # noqa: E501
self._count = count
@property
def event_time(self):
"""Gets the event_time of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
UTC date-time of the event # noqa: E501
:return: The event_time of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:rtype: str
"""
return self._event_time
@event_time.setter
def event_time(self, event_time):
"""Sets the event_time of this GetExtendedContactDetailsStatisticsOpened.
UTC date-time of the event # noqa: E501
:param event_time: The event_time of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:type: str
"""
if event_time is None:
raise ValueError("Invalid value for `event_time`, must not be `None`") # noqa: E501
self._event_time = event_time
@property
def ip(self):
"""Gets the ip of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
IP from which the user has opened the email # noqa: E501
:return: The ip of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:rtype: str
"""
return self._ip
@ip.setter
def ip(self, ip):
"""Sets the ip of this GetExtendedContactDetailsStatisticsOpened.
IP from which the user has opened the email # noqa: E501
:param ip: The ip of this GetExtendedContactDetailsStatisticsOpened. # noqa: E501
:type: str
"""
if ip is None:
raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501
self._ip = ip
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsOpened, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsOpened):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(campaign_id=None, count=None, event_time=None, ip=None)
|
59,135 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_opened
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsOpened):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,136 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_opened
|
__init__
|
GetExtendedContactDetailsStatisticsOpened - a model defined in Swagger
|
def __init__(self, campaign_id=None, count=None, event_time=None, ip=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsOpened - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._count = None
self._event_time = None
self._ip = None
self.discriminator = None
self.campaign_id = campaign_id
self.count = count
self.event_time = event_time
self.ip = ip
|
(self, campaign_id=None, count=None, event_time=None, ip=None)
|
59,139 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_opened
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsOpened, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,141 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions
|
GetExtendedContactDetailsStatisticsUnsubscriptions
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsUnsubscriptions(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'user_unsubscription': 'list[GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription]',
'admin_unsubscription': 'list[GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription]'
}
attribute_map = {
'user_unsubscription': 'userUnsubscription',
'admin_unsubscription': 'adminUnsubscription'
}
def __init__(self, user_unsubscription=None, admin_unsubscription=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsUnsubscriptions - a model defined in Swagger""" # noqa: E501
self._user_unsubscription = None
self._admin_unsubscription = None
self.discriminator = None
self.user_unsubscription = user_unsubscription
self.admin_unsubscription = admin_unsubscription
@property
def user_unsubscription(self):
"""Gets the user_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions. # noqa: E501
Contact unsubscribe via unsubscription link in a campaign # noqa: E501
:return: The user_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription]
"""
return self._user_unsubscription
@user_unsubscription.setter
def user_unsubscription(self, user_unsubscription):
"""Sets the user_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions.
Contact unsubscribe via unsubscription link in a campaign # noqa: E501
:param user_unsubscription: The user_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription]
"""
if user_unsubscription is None:
raise ValueError("Invalid value for `user_unsubscription`, must not be `None`") # noqa: E501
self._user_unsubscription = user_unsubscription
@property
def admin_unsubscription(self):
"""Gets the admin_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions. # noqa: E501
Contact has been unsubscribed from the administrator # noqa: E501
:return: The admin_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions. # noqa: E501
:rtype: list[GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription]
"""
return self._admin_unsubscription
@admin_unsubscription.setter
def admin_unsubscription(self, admin_unsubscription):
"""Sets the admin_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions.
Contact has been unsubscribed from the administrator # noqa: E501
:param admin_unsubscription: The admin_unsubscription of this GetExtendedContactDetailsStatisticsUnsubscriptions. # noqa: E501
:type: list[GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription]
"""
if admin_unsubscription is None:
raise ValueError("Invalid value for `admin_unsubscription`, must not be `None`") # noqa: E501
self._admin_unsubscription = admin_unsubscription
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsUnsubscriptions, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsUnsubscriptions):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(user_unsubscription=None, admin_unsubscription=None)
|
59,142 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsUnsubscriptions):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,143 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions
|
__init__
|
GetExtendedContactDetailsStatisticsUnsubscriptions - a model defined in Swagger
|
def __init__(self, user_unsubscription=None, admin_unsubscription=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsUnsubscriptions - a model defined in Swagger""" # noqa: E501
self._user_unsubscription = None
self._admin_unsubscription = None
self.discriminator = None
self.user_unsubscription = user_unsubscription
self.admin_unsubscription = admin_unsubscription
|
(self, user_unsubscription=None, admin_unsubscription=None)
|
59,146 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsUnsubscriptions, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,148 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription
|
GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'event_time': 'str',
'ip': 'str'
}
attribute_map = {
'event_time': 'eventTime',
'ip': 'ip'
}
def __init__(self, event_time=None, ip=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription - a model defined in Swagger""" # noqa: E501
self._event_time = None
self._ip = None
self.discriminator = None
self.event_time = event_time
if ip is not None:
self.ip = ip
@property
def event_time(self):
"""Gets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. # noqa: E501
UTC date-time of the event # noqa: E501
:return: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. # noqa: E501
:rtype: str
"""
return self._event_time
@event_time.setter
def event_time(self, event_time):
"""Sets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.
UTC date-time of the event # noqa: E501
:param event_time: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. # noqa: E501
:type: str
"""
if event_time is None:
raise ValueError("Invalid value for `event_time`, must not be `None`") # noqa: E501
self._event_time = event_time
@property
def ip(self):
"""Gets the ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. # noqa: E501
IP from which the user has been unsubscribed # noqa: E501
:return: The ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. # noqa: E501
:rtype: str
"""
return self._ip
@ip.setter
def ip(self, ip):
"""Sets the ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.
IP from which the user has been unsubscribed # noqa: E501
:param ip: The ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. # noqa: E501
:type: str
"""
self._ip = ip
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(event_time=None, ip=None)
|
59,149 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,150 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription
|
__init__
|
GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription - a model defined in Swagger
|
def __init__(self, event_time=None, ip=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription - a model defined in Swagger""" # noqa: E501
self._event_time = None
self._ip = None
self.discriminator = None
self.event_time = event_time
if ip is not None:
self.ip = ip
|
(self, event_time=None, ip=None)
|
59,153 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,155 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_user_unsubscription
|
GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'campaign_id': 'int',
'event_time': 'str',
'ip': 'str'
}
attribute_map = {
'campaign_id': 'campaignId',
'event_time': 'eventTime',
'ip': 'ip'
}
def __init__(self, campaign_id=None, event_time=None, ip=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._event_time = None
self._ip = None
self.discriminator = None
self.campaign_id = campaign_id
self.event_time = event_time
if ip is not None:
self.ip = ip
@property
def campaign_id(self):
"""Gets the campaign_id of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
ID of the campaign which generated the event # noqa: E501
:return: The campaign_id of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
:rtype: int
"""
return self._campaign_id
@campaign_id.setter
def campaign_id(self, campaign_id):
"""Sets the campaign_id of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.
ID of the campaign which generated the event # noqa: E501
:param campaign_id: The campaign_id of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
:type: int
"""
if campaign_id is None:
raise ValueError("Invalid value for `campaign_id`, must not be `None`") # noqa: E501
self._campaign_id = campaign_id
@property
def event_time(self):
"""Gets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
UTC date-time of the event # noqa: E501
:return: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
:rtype: str
"""
return self._event_time
@event_time.setter
def event_time(self, event_time):
"""Sets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.
UTC date-time of the event # noqa: E501
:param event_time: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
:type: str
"""
if event_time is None:
raise ValueError("Invalid value for `event_time`, must not be `None`") # noqa: E501
self._event_time = event_time
@property
def ip(self):
"""Gets the ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
IP from which the user has unsubscribed # noqa: E501
:return: The ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
:rtype: str
"""
return self._ip
@ip.setter
def ip(self, ip):
"""Sets the ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.
IP from which the user has unsubscribed # noqa: E501
:param ip: The ip of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. # noqa: E501
:type: str
"""
self._ip = ip
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription, dict):
for key, value in self.items():
result[key] = 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, GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(campaign_id=None, event_time=None, ip=None)
|
59,156 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_user_unsubscription
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,157 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_user_unsubscription
|
__init__
|
GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription - a model defined in Swagger
|
def __init__(self, campaign_id=None, event_time=None, ip=None): # noqa: E501
"""GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._event_time = None
self._ip = None
self.discriminator = None
self.campaign_id = campaign_id
self.event_time = event_time
if ip is not None:
self.ip = ip
|
(self, campaign_id=None, event_time=None, ip=None)
|
59,160 |
sib_api_v3_sdk.models.get_extended_contact_details_statistics_unsubscriptions_user_unsubscription
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,162 |
sib_api_v3_sdk.models.get_extended_list
|
GetExtendedList
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedList(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'id': 'int',
'name': 'str',
'total_blacklisted': 'int',
'total_subscribers': 'int',
'unique_subscribers': 'int',
'folder_id': 'int',
'created_at': 'str',
'campaign_stats': 'list[GetExtendedListCampaignStats]',
'dynamic_list': 'bool'
}
attribute_map = {
'id': 'id',
'name': 'name',
'total_blacklisted': 'totalBlacklisted',
'total_subscribers': 'totalSubscribers',
'unique_subscribers': 'uniqueSubscribers',
'folder_id': 'folderId',
'created_at': 'createdAt',
'campaign_stats': 'campaignStats',
'dynamic_list': 'dynamicList'
}
def __init__(self, id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None, folder_id=None, created_at=None, campaign_stats=None, dynamic_list=None): # noqa: E501
"""GetExtendedList - a model defined in Swagger""" # noqa: E501
self._id = None
self._name = None
self._total_blacklisted = None
self._total_subscribers = None
self._unique_subscribers = None
self._folder_id = None
self._created_at = None
self._campaign_stats = None
self._dynamic_list = None
self.discriminator = None
self.id = id
self.name = name
self.total_blacklisted = total_blacklisted
self.total_subscribers = total_subscribers
self.unique_subscribers = unique_subscribers
self.folder_id = folder_id
self.created_at = created_at
if campaign_stats is not None:
self.campaign_stats = campaign_stats
if dynamic_list is not None:
self.dynamic_list = dynamic_list
@property
def id(self):
"""Gets the id of this GetExtendedList. # noqa: E501
ID of the list # noqa: E501
:return: The id of this GetExtendedList. # noqa: E501
:rtype: int
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this GetExtendedList.
ID of the list # noqa: E501
:param id: The id of this GetExtendedList. # noqa: E501
:type: int
"""
if id is None:
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
self._id = id
@property
def name(self):
"""Gets the name of this GetExtendedList. # noqa: E501
Name of the list # noqa: E501
:return: The name of this GetExtendedList. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this GetExtendedList.
Name of the list # noqa: E501
:param name: The name of this GetExtendedList. # noqa: E501
:type: str
"""
if name is None:
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
self._name = name
@property
def total_blacklisted(self):
"""Gets the total_blacklisted of this GetExtendedList. # noqa: E501
Number of blacklisted contacts in the list # noqa: E501
:return: The total_blacklisted of this GetExtendedList. # noqa: E501
:rtype: int
"""
return self._total_blacklisted
@total_blacklisted.setter
def total_blacklisted(self, total_blacklisted):
"""Sets the total_blacklisted of this GetExtendedList.
Number of blacklisted contacts in the list # noqa: E501
:param total_blacklisted: The total_blacklisted of this GetExtendedList. # noqa: E501
:type: int
"""
if total_blacklisted is None:
raise ValueError("Invalid value for `total_blacklisted`, must not be `None`") # noqa: E501
self._total_blacklisted = total_blacklisted
@property
def total_subscribers(self):
"""Gets the total_subscribers of this GetExtendedList. # noqa: E501
Number of contacts in the list # noqa: E501
:return: The total_subscribers of this GetExtendedList. # noqa: E501
:rtype: int
"""
return self._total_subscribers
@total_subscribers.setter
def total_subscribers(self, total_subscribers):
"""Sets the total_subscribers of this GetExtendedList.
Number of contacts in the list # noqa: E501
:param total_subscribers: The total_subscribers of this GetExtendedList. # noqa: E501
:type: int
"""
if total_subscribers is None:
raise ValueError("Invalid value for `total_subscribers`, must not be `None`") # noqa: E501
self._total_subscribers = total_subscribers
@property
def unique_subscribers(self):
"""Gets the unique_subscribers of this GetExtendedList. # noqa: E501
Number of unique contacts in the list # noqa: E501
:return: The unique_subscribers of this GetExtendedList. # noqa: E501
:rtype: int
"""
return self._unique_subscribers
@unique_subscribers.setter
def unique_subscribers(self, unique_subscribers):
"""Sets the unique_subscribers of this GetExtendedList.
Number of unique contacts in the list # noqa: E501
:param unique_subscribers: The unique_subscribers of this GetExtendedList. # noqa: E501
:type: int
"""
if unique_subscribers is None:
raise ValueError("Invalid value for `unique_subscribers`, must not be `None`") # noqa: E501
self._unique_subscribers = unique_subscribers
@property
def folder_id(self):
"""Gets the folder_id of this GetExtendedList. # noqa: E501
ID of the folder # noqa: E501
:return: The folder_id of this GetExtendedList. # noqa: E501
:rtype: int
"""
return self._folder_id
@folder_id.setter
def folder_id(self, folder_id):
"""Sets the folder_id of this GetExtendedList.
ID of the folder # noqa: E501
:param folder_id: The folder_id of this GetExtendedList. # noqa: E501
:type: int
"""
if folder_id is None:
raise ValueError("Invalid value for `folder_id`, must not be `None`") # noqa: E501
self._folder_id = folder_id
@property
def created_at(self):
"""Gets the created_at of this GetExtendedList. # noqa: E501
Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) # noqa: E501
:return: The created_at of this GetExtendedList. # noqa: E501
:rtype: str
"""
return self._created_at
@created_at.setter
def created_at(self, created_at):
"""Sets the created_at of this GetExtendedList.
Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) # noqa: E501
:param created_at: The created_at of this GetExtendedList. # noqa: E501
:type: str
"""
if created_at is None:
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
self._created_at = created_at
@property
def campaign_stats(self):
"""Gets the campaign_stats of this GetExtendedList. # noqa: E501
:return: The campaign_stats of this GetExtendedList. # noqa: E501
:rtype: list[GetExtendedListCampaignStats]
"""
return self._campaign_stats
@campaign_stats.setter
def campaign_stats(self, campaign_stats):
"""Sets the campaign_stats of this GetExtendedList.
:param campaign_stats: The campaign_stats of this GetExtendedList. # noqa: E501
:type: list[GetExtendedListCampaignStats]
"""
self._campaign_stats = campaign_stats
@property
def dynamic_list(self):
"""Gets the dynamic_list of this GetExtendedList. # noqa: E501
Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) # noqa: E501
:return: The dynamic_list of this GetExtendedList. # noqa: E501
:rtype: bool
"""
return self._dynamic_list
@dynamic_list.setter
def dynamic_list(self, dynamic_list):
"""Sets the dynamic_list of this GetExtendedList.
Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) # noqa: E501
:param dynamic_list: The dynamic_list of this GetExtendedList. # noqa: E501
:type: bool
"""
self._dynamic_list = dynamic_list
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedList, dict):
for key, value in self.items():
result[key] = 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, GetExtendedList):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None, folder_id=None, created_at=None, campaign_stats=None, dynamic_list=None)
|
59,163 |
sib_api_v3_sdk.models.get_extended_list
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedList):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,164 |
sib_api_v3_sdk.models.get_extended_list
|
__init__
|
GetExtendedList - a model defined in Swagger
|
def __init__(self, id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None, folder_id=None, created_at=None, campaign_stats=None, dynamic_list=None): # noqa: E501
"""GetExtendedList - a model defined in Swagger""" # noqa: E501
self._id = None
self._name = None
self._total_blacklisted = None
self._total_subscribers = None
self._unique_subscribers = None
self._folder_id = None
self._created_at = None
self._campaign_stats = None
self._dynamic_list = None
self.discriminator = None
self.id = id
self.name = name
self.total_blacklisted = total_blacklisted
self.total_subscribers = total_subscribers
self.unique_subscribers = unique_subscribers
self.folder_id = folder_id
self.created_at = created_at
if campaign_stats is not None:
self.campaign_stats = campaign_stats
if dynamic_list is not None:
self.dynamic_list = dynamic_list
|
(self, id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None, folder_id=None, created_at=None, campaign_stats=None, dynamic_list=None)
|
59,167 |
sib_api_v3_sdk.models.get_extended_list
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedList, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,169 |
sib_api_v3_sdk.models.get_extended_list_campaign_stats
|
GetExtendedListCampaignStats
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExtendedListCampaignStats(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'campaign_id': 'int',
'stats': 'GetCampaignStats'
}
attribute_map = {
'campaign_id': 'campaignId',
'stats': 'stats'
}
def __init__(self, campaign_id=None, stats=None): # noqa: E501
"""GetExtendedListCampaignStats - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._stats = None
self.discriminator = None
self.campaign_id = campaign_id
self.stats = stats
@property
def campaign_id(self):
"""Gets the campaign_id of this GetExtendedListCampaignStats. # noqa: E501
ID of the campaign # noqa: E501
:return: The campaign_id of this GetExtendedListCampaignStats. # noqa: E501
:rtype: int
"""
return self._campaign_id
@campaign_id.setter
def campaign_id(self, campaign_id):
"""Sets the campaign_id of this GetExtendedListCampaignStats.
ID of the campaign # noqa: E501
:param campaign_id: The campaign_id of this GetExtendedListCampaignStats. # noqa: E501
:type: int
"""
if campaign_id is None:
raise ValueError("Invalid value for `campaign_id`, must not be `None`") # noqa: E501
self._campaign_id = campaign_id
@property
def stats(self):
"""Gets the stats of this GetExtendedListCampaignStats. # noqa: E501
:return: The stats of this GetExtendedListCampaignStats. # noqa: E501
:rtype: GetCampaignStats
"""
return self._stats
@stats.setter
def stats(self, stats):
"""Sets the stats of this GetExtendedListCampaignStats.
:param stats: The stats of this GetExtendedListCampaignStats. # noqa: E501
:type: GetCampaignStats
"""
if stats is None:
raise ValueError("Invalid value for `stats`, must not be `None`") # noqa: E501
self._stats = stats
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedListCampaignStats, dict):
for key, value in self.items():
result[key] = 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, GetExtendedListCampaignStats):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(campaign_id=None, stats=None)
|
59,170 |
sib_api_v3_sdk.models.get_extended_list_campaign_stats
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExtendedListCampaignStats):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,171 |
sib_api_v3_sdk.models.get_extended_list_campaign_stats
|
__init__
|
GetExtendedListCampaignStats - a model defined in Swagger
|
def __init__(self, campaign_id=None, stats=None): # noqa: E501
"""GetExtendedListCampaignStats - a model defined in Swagger""" # noqa: E501
self._campaign_id = None
self._stats = None
self.discriminator = None
self.campaign_id = campaign_id
self.stats = stats
|
(self, campaign_id=None, stats=None)
|
59,174 |
sib_api_v3_sdk.models.get_extended_list_campaign_stats
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExtendedListCampaignStats, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,176 |
sib_api_v3_sdk.models.get_external_feed_by_uuid
|
GetExternalFeedByUUID
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExternalFeedByUUID(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'id': 'str',
'name': 'str',
'url': 'str',
'auth_type': 'str',
'username': 'str',
'password': 'str',
'token': 'str',
'headers': 'list[GetExternalFeedByUUIDHeaders]',
'max_retries': 'int',
'cache': 'bool',
'created_at': 'datetime',
'modified_at': 'datetime'
}
attribute_map = {
'id': 'id',
'name': 'name',
'url': 'url',
'auth_type': 'authType',
'username': 'username',
'password': 'password',
'token': 'token',
'headers': 'headers',
'max_retries': 'maxRetries',
'cache': 'cache',
'created_at': 'createdAt',
'modified_at': 'modifiedAt'
}
def __init__(self, id=None, name=None, url=None, auth_type=None, username=None, password=None, token=None, headers=None, max_retries=None, cache=None, created_at=None, modified_at=None): # noqa: E501
"""GetExternalFeedByUUID - a model defined in Swagger""" # noqa: E501
self._id = None
self._name = None
self._url = None
self._auth_type = None
self._username = None
self._password = None
self._token = None
self._headers = None
self._max_retries = None
self._cache = None
self._created_at = None
self._modified_at = None
self.discriminator = None
self.id = id
self.name = name
self.url = url
self.auth_type = auth_type
if username is not None:
self.username = username
if password is not None:
self.password = password
if token is not None:
self.token = token
self.headers = headers
self.max_retries = max_retries
self.cache = cache
self.created_at = created_at
self.modified_at = modified_at
@property
def id(self):
"""Gets the id of this GetExternalFeedByUUID. # noqa: E501
ID of the feed # noqa: E501
:return: The id of this GetExternalFeedByUUID. # noqa: E501
:rtype: str
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this GetExternalFeedByUUID.
ID of the feed # noqa: E501
:param id: The id of this GetExternalFeedByUUID. # noqa: E501
:type: str
"""
if id is None:
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
self._id = id
@property
def name(self):
"""Gets the name of this GetExternalFeedByUUID. # noqa: E501
Name of the feed # noqa: E501
:return: The name of this GetExternalFeedByUUID. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this GetExternalFeedByUUID.
Name of the feed # noqa: E501
:param name: The name of this GetExternalFeedByUUID. # noqa: E501
:type: str
"""
if name is None:
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
self._name = name
@property
def url(self):
"""Gets the url of this GetExternalFeedByUUID. # noqa: E501
URL of the feed # noqa: E501
:return: The url of this GetExternalFeedByUUID. # noqa: E501
:rtype: str
"""
return self._url
@url.setter
def url(self, url):
"""Sets the url of this GetExternalFeedByUUID.
URL of the feed # noqa: E501
:param url: The url of this GetExternalFeedByUUID. # noqa: E501
:type: str
"""
if url is None:
raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501
self._url = url
@property
def auth_type(self):
"""Gets the auth_type of this GetExternalFeedByUUID. # noqa: E501
Auth type of the feed: * `basic` * `token` * `noAuth` # noqa: E501
:return: The auth_type of this GetExternalFeedByUUID. # noqa: E501
:rtype: str
"""
return self._auth_type
@auth_type.setter
def auth_type(self, auth_type):
"""Sets the auth_type of this GetExternalFeedByUUID.
Auth type of the feed: * `basic` * `token` * `noAuth` # noqa: E501
:param auth_type: The auth_type of this GetExternalFeedByUUID. # noqa: E501
:type: str
"""
if auth_type is None:
raise ValueError("Invalid value for `auth_type`, must not be `None`") # noqa: E501
allowed_values = ["basic", "token", "noAuth"] # noqa: E501
if auth_type not in allowed_values:
raise ValueError(
"Invalid value for `auth_type` ({0}), must be one of {1}" # noqa: E501
.format(auth_type, allowed_values)
)
self._auth_type = auth_type
@property
def username(self):
"""Gets the username of this GetExternalFeedByUUID. # noqa: E501
Username for authType `basic` # noqa: E501
:return: The username of this GetExternalFeedByUUID. # noqa: E501
:rtype: str
"""
return self._username
@username.setter
def username(self, username):
"""Sets the username of this GetExternalFeedByUUID.
Username for authType `basic` # noqa: E501
:param username: The username of this GetExternalFeedByUUID. # noqa: E501
:type: str
"""
self._username = username
@property
def password(self):
"""Gets the password of this GetExternalFeedByUUID. # noqa: E501
Password for authType `basic` # noqa: E501
:return: The password of this GetExternalFeedByUUID. # noqa: E501
:rtype: str
"""
return self._password
@password.setter
def password(self, password):
"""Sets the password of this GetExternalFeedByUUID.
Password for authType `basic` # noqa: E501
:param password: The password of this GetExternalFeedByUUID. # noqa: E501
:type: str
"""
self._password = password
@property
def token(self):
"""Gets the token of this GetExternalFeedByUUID. # noqa: E501
Token for authType `token` # noqa: E501
:return: The token of this GetExternalFeedByUUID. # noqa: E501
:rtype: str
"""
return self._token
@token.setter
def token(self, token):
"""Sets the token of this GetExternalFeedByUUID.
Token for authType `token` # noqa: E501
:param token: The token of this GetExternalFeedByUUID. # noqa: E501
:type: str
"""
self._token = token
@property
def headers(self):
"""Gets the headers of this GetExternalFeedByUUID. # noqa: E501
Custom headers for the feed # noqa: E501
:return: The headers of this GetExternalFeedByUUID. # noqa: E501
:rtype: list[GetExternalFeedByUUIDHeaders]
"""
return self._headers
@headers.setter
def headers(self, headers):
"""Sets the headers of this GetExternalFeedByUUID.
Custom headers for the feed # noqa: E501
:param headers: The headers of this GetExternalFeedByUUID. # noqa: E501
:type: list[GetExternalFeedByUUIDHeaders]
"""
if headers is None:
raise ValueError("Invalid value for `headers`, must not be `None`") # noqa: E501
self._headers = headers
@property
def max_retries(self):
"""Gets the max_retries of this GetExternalFeedByUUID. # noqa: E501
Maximum number of retries on the feed url # noqa: E501
:return: The max_retries of this GetExternalFeedByUUID. # noqa: E501
:rtype: int
"""
return self._max_retries
@max_retries.setter
def max_retries(self, max_retries):
"""Sets the max_retries of this GetExternalFeedByUUID.
Maximum number of retries on the feed url # noqa: E501
:param max_retries: The max_retries of this GetExternalFeedByUUID. # noqa: E501
:type: int
"""
if max_retries is None:
raise ValueError("Invalid value for `max_retries`, must not be `None`") # noqa: E501
if max_retries is not None and max_retries > 5: # noqa: E501
raise ValueError("Invalid value for `max_retries`, must be a value less than or equal to `5`") # noqa: E501
if max_retries is not None and max_retries < 0: # noqa: E501
raise ValueError("Invalid value for `max_retries`, must be a value greater than or equal to `0`") # noqa: E501
self._max_retries = max_retries
@property
def cache(self):
"""Gets the cache of this GetExternalFeedByUUID. # noqa: E501
Toggle caching of feed url response # noqa: E501
:return: The cache of this GetExternalFeedByUUID. # noqa: E501
:rtype: bool
"""
return self._cache
@cache.setter
def cache(self, cache):
"""Sets the cache of this GetExternalFeedByUUID.
Toggle caching of feed url response # noqa: E501
:param cache: The cache of this GetExternalFeedByUUID. # noqa: E501
:type: bool
"""
if cache is None:
raise ValueError("Invalid value for `cache`, must not be `None`") # noqa: E501
self._cache = cache
@property
def created_at(self):
"""Gets the created_at of this GetExternalFeedByUUID. # noqa: E501
Datetime on which the feed was created # noqa: E501
:return: The created_at of this GetExternalFeedByUUID. # noqa: E501
:rtype: datetime
"""
return self._created_at
@created_at.setter
def created_at(self, created_at):
"""Sets the created_at of this GetExternalFeedByUUID.
Datetime on which the feed was created # noqa: E501
:param created_at: The created_at of this GetExternalFeedByUUID. # noqa: E501
:type: datetime
"""
if created_at is None:
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
self._created_at = created_at
@property
def modified_at(self):
"""Gets the modified_at of this GetExternalFeedByUUID. # noqa: E501
Datetime on which the feed was modified # noqa: E501
:return: The modified_at of this GetExternalFeedByUUID. # noqa: E501
:rtype: datetime
"""
return self._modified_at
@modified_at.setter
def modified_at(self, modified_at):
"""Sets the modified_at of this GetExternalFeedByUUID.
Datetime on which the feed was modified # noqa: E501
:param modified_at: The modified_at of this GetExternalFeedByUUID. # noqa: E501
:type: datetime
"""
if modified_at is None:
raise ValueError("Invalid value for `modified_at`, must not be `None`") # noqa: E501
self._modified_at = modified_at
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExternalFeedByUUID, dict):
for key, value in self.items():
result[key] = 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, GetExternalFeedByUUID):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(id=None, name=None, url=None, auth_type=None, username=None, password=None, token=None, headers=None, max_retries=None, cache=None, created_at=None, modified_at=None)
|
59,177 |
sib_api_v3_sdk.models.get_external_feed_by_uuid
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExternalFeedByUUID):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,178 |
sib_api_v3_sdk.models.get_external_feed_by_uuid
|
__init__
|
GetExternalFeedByUUID - a model defined in Swagger
|
def __init__(self, id=None, name=None, url=None, auth_type=None, username=None, password=None, token=None, headers=None, max_retries=None, cache=None, created_at=None, modified_at=None): # noqa: E501
"""GetExternalFeedByUUID - a model defined in Swagger""" # noqa: E501
self._id = None
self._name = None
self._url = None
self._auth_type = None
self._username = None
self._password = None
self._token = None
self._headers = None
self._max_retries = None
self._cache = None
self._created_at = None
self._modified_at = None
self.discriminator = None
self.id = id
self.name = name
self.url = url
self.auth_type = auth_type
if username is not None:
self.username = username
if password is not None:
self.password = password
if token is not None:
self.token = token
self.headers = headers
self.max_retries = max_retries
self.cache = cache
self.created_at = created_at
self.modified_at = modified_at
|
(self, id=None, name=None, url=None, auth_type=None, username=None, password=None, token=None, headers=None, max_retries=None, cache=None, created_at=None, modified_at=None)
|
59,181 |
sib_api_v3_sdk.models.get_external_feed_by_uuid
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExternalFeedByUUID, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,183 |
sib_api_v3_sdk.models.get_external_feed_by_uuid_headers
|
GetExternalFeedByUUIDHeaders
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetExternalFeedByUUIDHeaders(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'name': 'str',
'value': 'str'
}
attribute_map = {
'name': 'name',
'value': 'value'
}
def __init__(self, name=None, value=None): # noqa: E501
"""GetExternalFeedByUUIDHeaders - a model defined in Swagger""" # noqa: E501
self._name = None
self._value = None
self.discriminator = None
if name is not None:
self.name = name
if value is not None:
self.value = value
@property
def name(self):
"""Gets the name of this GetExternalFeedByUUIDHeaders. # noqa: E501
Name of the header # noqa: E501
:return: The name of this GetExternalFeedByUUIDHeaders. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this GetExternalFeedByUUIDHeaders.
Name of the header # noqa: E501
:param name: The name of this GetExternalFeedByUUIDHeaders. # noqa: E501
:type: str
"""
self._name = name
@property
def value(self):
"""Gets the value of this GetExternalFeedByUUIDHeaders. # noqa: E501
Value of the header # noqa: E501
:return: The value of this GetExternalFeedByUUIDHeaders. # noqa: E501
:rtype: str
"""
return self._value
@value.setter
def value(self, value):
"""Sets the value of this GetExternalFeedByUUIDHeaders.
Value of the header # noqa: E501
:param value: The value of this GetExternalFeedByUUIDHeaders. # noqa: E501
:type: str
"""
self._value = value
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExternalFeedByUUIDHeaders, dict):
for key, value in self.items():
result[key] = 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, GetExternalFeedByUUIDHeaders):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(name=None, value=None)
|
59,184 |
sib_api_v3_sdk.models.get_external_feed_by_uuid_headers
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetExternalFeedByUUIDHeaders):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,185 |
sib_api_v3_sdk.models.get_external_feed_by_uuid_headers
|
__init__
|
GetExternalFeedByUUIDHeaders - a model defined in Swagger
|
def __init__(self, name=None, value=None): # noqa: E501
"""GetExternalFeedByUUIDHeaders - a model defined in Swagger""" # noqa: E501
self._name = None
self._value = None
self.discriminator = None
if name is not None:
self.name = name
if value is not None:
self.value = value
|
(self, name=None, value=None)
|
59,188 |
sib_api_v3_sdk.models.get_external_feed_by_uuid_headers
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetExternalFeedByUUIDHeaders, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,190 |
sib_api_v3_sdk.models.get_folder
|
GetFolder
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetFolder(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'id': 'int',
'name': 'str',
'total_blacklisted': 'int',
'total_subscribers': 'int',
'unique_subscribers': 'int'
}
attribute_map = {
'id': 'id',
'name': 'name',
'total_blacklisted': 'totalBlacklisted',
'total_subscribers': 'totalSubscribers',
'unique_subscribers': 'uniqueSubscribers'
}
def __init__(self, id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None): # noqa: E501
"""GetFolder - a model defined in Swagger""" # noqa: E501
self._id = None
self._name = None
self._total_blacklisted = None
self._total_subscribers = None
self._unique_subscribers = None
self.discriminator = None
self.id = id
self.name = name
self.total_blacklisted = total_blacklisted
self.total_subscribers = total_subscribers
self.unique_subscribers = unique_subscribers
@property
def id(self):
"""Gets the id of this GetFolder. # noqa: E501
ID of the folder # noqa: E501
:return: The id of this GetFolder. # noqa: E501
:rtype: int
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this GetFolder.
ID of the folder # noqa: E501
:param id: The id of this GetFolder. # noqa: E501
:type: int
"""
if id is None:
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
self._id = id
@property
def name(self):
"""Gets the name of this GetFolder. # noqa: E501
Name of the folder # noqa: E501
:return: The name of this GetFolder. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this GetFolder.
Name of the folder # noqa: E501
:param name: The name of this GetFolder. # noqa: E501
:type: str
"""
if name is None:
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
self._name = name
@property
def total_blacklisted(self):
"""Gets the total_blacklisted of this GetFolder. # noqa: E501
Number of blacklisted contacts in the folder # noqa: E501
:return: The total_blacklisted of this GetFolder. # noqa: E501
:rtype: int
"""
return self._total_blacklisted
@total_blacklisted.setter
def total_blacklisted(self, total_blacklisted):
"""Sets the total_blacklisted of this GetFolder.
Number of blacklisted contacts in the folder # noqa: E501
:param total_blacklisted: The total_blacklisted of this GetFolder. # noqa: E501
:type: int
"""
if total_blacklisted is None:
raise ValueError("Invalid value for `total_blacklisted`, must not be `None`") # noqa: E501
self._total_blacklisted = total_blacklisted
@property
def total_subscribers(self):
"""Gets the total_subscribers of this GetFolder. # noqa: E501
Number of contacts in the folder # noqa: E501
:return: The total_subscribers of this GetFolder. # noqa: E501
:rtype: int
"""
return self._total_subscribers
@total_subscribers.setter
def total_subscribers(self, total_subscribers):
"""Sets the total_subscribers of this GetFolder.
Number of contacts in the folder # noqa: E501
:param total_subscribers: The total_subscribers of this GetFolder. # noqa: E501
:type: int
"""
if total_subscribers is None:
raise ValueError("Invalid value for `total_subscribers`, must not be `None`") # noqa: E501
self._total_subscribers = total_subscribers
@property
def unique_subscribers(self):
"""Gets the unique_subscribers of this GetFolder. # noqa: E501
Number of unique contacts in the folder # noqa: E501
:return: The unique_subscribers of this GetFolder. # noqa: E501
:rtype: int
"""
return self._unique_subscribers
@unique_subscribers.setter
def unique_subscribers(self, unique_subscribers):
"""Sets the unique_subscribers of this GetFolder.
Number of unique contacts in the folder # noqa: E501
:param unique_subscribers: The unique_subscribers of this GetFolder. # noqa: E501
:type: int
"""
if unique_subscribers is None:
raise ValueError("Invalid value for `unique_subscribers`, must not be `None`") # noqa: E501
self._unique_subscribers = unique_subscribers
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetFolder, dict):
for key, value in self.items():
result[key] = 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, GetFolder):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None)
|
59,191 |
sib_api_v3_sdk.models.get_folder
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetFolder):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,192 |
sib_api_v3_sdk.models.get_folder
|
__init__
|
GetFolder - a model defined in Swagger
|
def __init__(self, id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None): # noqa: E501
"""GetFolder - a model defined in Swagger""" # noqa: E501
self._id = None
self._name = None
self._total_blacklisted = None
self._total_subscribers = None
self._unique_subscribers = None
self.discriminator = None
self.id = id
self.name = name
self.total_blacklisted = total_blacklisted
self.total_subscribers = total_subscribers
self.unique_subscribers = unique_subscribers
|
(self, id=None, name=None, total_blacklisted=None, total_subscribers=None, unique_subscribers=None)
|
59,195 |
sib_api_v3_sdk.models.get_folder
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetFolder, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,197 |
sib_api_v3_sdk.models.get_folder_lists
|
GetFolderLists
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetFolderLists(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'lists': 'list[object]',
'count': 'int'
}
attribute_map = {
'lists': 'lists',
'count': 'count'
}
def __init__(self, lists=None, count=None): # noqa: E501
"""GetFolderLists - a model defined in Swagger""" # noqa: E501
self._lists = None
self._count = None
self.discriminator = None
if lists is not None:
self.lists = lists
if count is not None:
self.count = count
@property
def lists(self):
"""Gets the lists of this GetFolderLists. # noqa: E501
:return: The lists of this GetFolderLists. # noqa: E501
:rtype: list[object]
"""
return self._lists
@lists.setter
def lists(self, lists):
"""Sets the lists of this GetFolderLists.
:param lists: The lists of this GetFolderLists. # noqa: E501
:type: list[object]
"""
self._lists = lists
@property
def count(self):
"""Gets the count of this GetFolderLists. # noqa: E501
Number of lists in the folder # noqa: E501
:return: The count of this GetFolderLists. # noqa: E501
:rtype: int
"""
return self._count
@count.setter
def count(self, count):
"""Sets the count of this GetFolderLists.
Number of lists in the folder # noqa: E501
:param count: The count of this GetFolderLists. # noqa: E501
:type: int
"""
self._count = count
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetFolderLists, dict):
for key, value in self.items():
result[key] = 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, GetFolderLists):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(lists=None, count=None)
|
59,198 |
sib_api_v3_sdk.models.get_folder_lists
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetFolderLists):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,199 |
sib_api_v3_sdk.models.get_folder_lists
|
__init__
|
GetFolderLists - a model defined in Swagger
|
def __init__(self, lists=None, count=None): # noqa: E501
"""GetFolderLists - a model defined in Swagger""" # noqa: E501
self._lists = None
self._count = None
self.discriminator = None
if lists is not None:
self.lists = lists
if count is not None:
self.count = count
|
(self, lists=None, count=None)
|
59,202 |
sib_api_v3_sdk.models.get_folder_lists
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetFolderLists, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,204 |
sib_api_v3_sdk.models.get_folders
|
GetFolders
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetFolders(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'folders': 'list[object]',
'count': 'int'
}
attribute_map = {
'folders': 'folders',
'count': 'count'
}
def __init__(self, folders=None, count=None): # noqa: E501
"""GetFolders - a model defined in Swagger""" # noqa: E501
self._folders = None
self._count = None
self.discriminator = None
if folders is not None:
self.folders = folders
if count is not None:
self.count = count
@property
def folders(self):
"""Gets the folders of this GetFolders. # noqa: E501
:return: The folders of this GetFolders. # noqa: E501
:rtype: list[object]
"""
return self._folders
@folders.setter
def folders(self, folders):
"""Sets the folders of this GetFolders.
:param folders: The folders of this GetFolders. # noqa: E501
:type: list[object]
"""
self._folders = folders
@property
def count(self):
"""Gets the count of this GetFolders. # noqa: E501
Number of folders available in your account # noqa: E501
:return: The count of this GetFolders. # noqa: E501
:rtype: int
"""
return self._count
@count.setter
def count(self, count):
"""Sets the count of this GetFolders.
Number of folders available in your account # noqa: E501
:param count: The count of this GetFolders. # noqa: E501
:type: int
"""
self._count = count
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetFolders, dict):
for key, value in self.items():
result[key] = 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, GetFolders):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(folders=None, count=None)
|
59,205 |
sib_api_v3_sdk.models.get_folders
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetFolders):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,206 |
sib_api_v3_sdk.models.get_folders
|
__init__
|
GetFolders - a model defined in Swagger
|
def __init__(self, folders=None, count=None): # noqa: E501
"""GetFolders - a model defined in Swagger""" # noqa: E501
self._folders = None
self._count = None
self.discriminator = None
if folders is not None:
self.folders = folders
if count is not None:
self.count = count
|
(self, folders=None, count=None)
|
59,209 |
sib_api_v3_sdk.models.get_folders
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetFolders, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,211 |
sib_api_v3_sdk.models.get_inbound_email_events
|
GetInboundEmailEvents
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetInboundEmailEvents(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'events': 'list[GetInboundEmailEventsEvents]'
}
attribute_map = {
'events': 'events'
}
def __init__(self, events=None): # noqa: E501
"""GetInboundEmailEvents - a model defined in Swagger""" # noqa: E501
self._events = None
self.discriminator = None
if events is not None:
self.events = events
@property
def events(self):
"""Gets the events of this GetInboundEmailEvents. # noqa: E501
:return: The events of this GetInboundEmailEvents. # noqa: E501
:rtype: list[GetInboundEmailEventsEvents]
"""
return self._events
@events.setter
def events(self, events):
"""Sets the events of this GetInboundEmailEvents.
:param events: The events of this GetInboundEmailEvents. # noqa: E501
:type: list[GetInboundEmailEventsEvents]
"""
self._events = events
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEvents, dict):
for key, value in self.items():
result[key] = 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, GetInboundEmailEvents):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(events=None)
|
59,212 |
sib_api_v3_sdk.models.get_inbound_email_events
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetInboundEmailEvents):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,213 |
sib_api_v3_sdk.models.get_inbound_email_events
|
__init__
|
GetInboundEmailEvents - a model defined in Swagger
|
def __init__(self, events=None): # noqa: E501
"""GetInboundEmailEvents - a model defined in Swagger""" # noqa: E501
self._events = None
self.discriminator = None
if events is not None:
self.events = events
|
(self, events=None)
|
59,216 |
sib_api_v3_sdk.models.get_inbound_email_events
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEvents, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,218 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid
|
GetInboundEmailEventsByUuid
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetInboundEmailEventsByUuid(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'received_at': 'datetime',
'delivered_at': 'datetime',
'recipient': 'str',
'sender': 'str',
'message_id': 'str',
'subject': 'str',
'attachments': 'list[GetInboundEmailEventsByUuidAttachments]',
'logs': 'list[GetInboundEmailEventsByUuidLogs]'
}
attribute_map = {
'received_at': 'receivedAt',
'delivered_at': 'deliveredAt',
'recipient': 'recipient',
'sender': 'sender',
'message_id': 'messageId',
'subject': 'subject',
'attachments': 'attachments',
'logs': 'logs'
}
def __init__(self, received_at=None, delivered_at=None, recipient=None, sender=None, message_id=None, subject=None, attachments=None, logs=None): # noqa: E501
"""GetInboundEmailEventsByUuid - a model defined in Swagger""" # noqa: E501
self._received_at = None
self._delivered_at = None
self._recipient = None
self._sender = None
self._message_id = None
self._subject = None
self._attachments = None
self._logs = None
self.discriminator = None
if received_at is not None:
self.received_at = received_at
if delivered_at is not None:
self.delivered_at = delivered_at
if recipient is not None:
self.recipient = recipient
if sender is not None:
self.sender = sender
if message_id is not None:
self.message_id = message_id
if subject is not None:
self.subject = subject
if attachments is not None:
self.attachments = attachments
if logs is not None:
self.logs = logs
@property
def received_at(self):
"""Gets the received_at of this GetInboundEmailEventsByUuid. # noqa: E501
Date when email was received on SMTP relay # noqa: E501
:return: The received_at of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: datetime
"""
return self._received_at
@received_at.setter
def received_at(self, received_at):
"""Sets the received_at of this GetInboundEmailEventsByUuid.
Date when email was received on SMTP relay # noqa: E501
:param received_at: The received_at of this GetInboundEmailEventsByUuid. # noqa: E501
:type: datetime
"""
self._received_at = received_at
@property
def delivered_at(self):
"""Gets the delivered_at of this GetInboundEmailEventsByUuid. # noqa: E501
Date when email was delivered successfully to client’s webhook # noqa: E501
:return: The delivered_at of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: datetime
"""
return self._delivered_at
@delivered_at.setter
def delivered_at(self, delivered_at):
"""Sets the delivered_at of this GetInboundEmailEventsByUuid.
Date when email was delivered successfully to client’s webhook # noqa: E501
:param delivered_at: The delivered_at of this GetInboundEmailEventsByUuid. # noqa: E501
:type: datetime
"""
self._delivered_at = delivered_at
@property
def recipient(self):
"""Gets the recipient of this GetInboundEmailEventsByUuid. # noqa: E501
Recipient’s email address # noqa: E501
:return: The recipient of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: str
"""
return self._recipient
@recipient.setter
def recipient(self, recipient):
"""Sets the recipient of this GetInboundEmailEventsByUuid.
Recipient’s email address # noqa: E501
:param recipient: The recipient of this GetInboundEmailEventsByUuid. # noqa: E501
:type: str
"""
self._recipient = recipient
@property
def sender(self):
"""Gets the sender of this GetInboundEmailEventsByUuid. # noqa: E501
Sender’s email address # noqa: E501
:return: The sender of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: str
"""
return self._sender
@sender.setter
def sender(self, sender):
"""Sets the sender of this GetInboundEmailEventsByUuid.
Sender’s email address # noqa: E501
:param sender: The sender of this GetInboundEmailEventsByUuid. # noqa: E501
:type: str
"""
self._sender = sender
@property
def message_id(self):
"""Gets the message_id of this GetInboundEmailEventsByUuid. # noqa: E501
Value of the Message-ID header. This will be present only after the processing is done. # noqa: E501
:return: The message_id of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: str
"""
return self._message_id
@message_id.setter
def message_id(self, message_id):
"""Sets the message_id of this GetInboundEmailEventsByUuid.
Value of the Message-ID header. This will be present only after the processing is done. # noqa: E501
:param message_id: The message_id of this GetInboundEmailEventsByUuid. # noqa: E501
:type: str
"""
self._message_id = message_id
@property
def subject(self):
"""Gets the subject of this GetInboundEmailEventsByUuid. # noqa: E501
Value of the Subject header. This will be present only after the processing is done. # noqa: E501
:return: The subject of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: str
"""
return self._subject
@subject.setter
def subject(self, subject):
"""Sets the subject of this GetInboundEmailEventsByUuid.
Value of the Subject header. This will be present only after the processing is done. # noqa: E501
:param subject: The subject of this GetInboundEmailEventsByUuid. # noqa: E501
:type: str
"""
self._subject = subject
@property
def attachments(self):
"""Gets the attachments of this GetInboundEmailEventsByUuid. # noqa: E501
List of attachments of the email. This will be present only after the processing is done. # noqa: E501
:return: The attachments of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: list[GetInboundEmailEventsByUuidAttachments]
"""
return self._attachments
@attachments.setter
def attachments(self, attachments):
"""Sets the attachments of this GetInboundEmailEventsByUuid.
List of attachments of the email. This will be present only after the processing is done. # noqa: E501
:param attachments: The attachments of this GetInboundEmailEventsByUuid. # noqa: E501
:type: list[GetInboundEmailEventsByUuidAttachments]
"""
self._attachments = attachments
@property
def logs(self):
"""Gets the logs of this GetInboundEmailEventsByUuid. # noqa: E501
List of events/logs that describe the lifecycle of the email on SIB platform # noqa: E501
:return: The logs of this GetInboundEmailEventsByUuid. # noqa: E501
:rtype: list[GetInboundEmailEventsByUuidLogs]
"""
return self._logs
@logs.setter
def logs(self, logs):
"""Sets the logs of this GetInboundEmailEventsByUuid.
List of events/logs that describe the lifecycle of the email on SIB platform # noqa: E501
:param logs: The logs of this GetInboundEmailEventsByUuid. # noqa: E501
:type: list[GetInboundEmailEventsByUuidLogs]
"""
self._logs = logs
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEventsByUuid, dict):
for key, value in self.items():
result[key] = 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, GetInboundEmailEventsByUuid):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(received_at=None, delivered_at=None, recipient=None, sender=None, message_id=None, subject=None, attachments=None, logs=None)
|
59,219 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetInboundEmailEventsByUuid):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,220 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid
|
__init__
|
GetInboundEmailEventsByUuid - a model defined in Swagger
|
def __init__(self, received_at=None, delivered_at=None, recipient=None, sender=None, message_id=None, subject=None, attachments=None, logs=None): # noqa: E501
"""GetInboundEmailEventsByUuid - a model defined in Swagger""" # noqa: E501
self._received_at = None
self._delivered_at = None
self._recipient = None
self._sender = None
self._message_id = None
self._subject = None
self._attachments = None
self._logs = None
self.discriminator = None
if received_at is not None:
self.received_at = received_at
if delivered_at is not None:
self.delivered_at = delivered_at
if recipient is not None:
self.recipient = recipient
if sender is not None:
self.sender = sender
if message_id is not None:
self.message_id = message_id
if subject is not None:
self.subject = subject
if attachments is not None:
self.attachments = attachments
if logs is not None:
self.logs = logs
|
(self, received_at=None, delivered_at=None, recipient=None, sender=None, message_id=None, subject=None, attachments=None, logs=None)
|
59,223 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEventsByUuid, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,225 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_attachments
|
GetInboundEmailEventsByUuidAttachments
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetInboundEmailEventsByUuidAttachments(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'name': 'str',
'content_type': 'str',
'content_id': 'str',
'content_length': 'int'
}
attribute_map = {
'name': 'name',
'content_type': 'contentType',
'content_id': 'contentId',
'content_length': 'contentLength'
}
def __init__(self, name=None, content_type=None, content_id=None, content_length=None): # noqa: E501
"""GetInboundEmailEventsByUuidAttachments - a model defined in Swagger""" # noqa: E501
self._name = None
self._content_type = None
self._content_id = None
self._content_length = None
self.discriminator = None
if name is not None:
self.name = name
if content_type is not None:
self.content_type = content_type
if content_id is not None:
self.content_id = content_id
if content_length is not None:
self.content_length = content_length
@property
def name(self):
"""Gets the name of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
filename specified in the Content-Disposition header of the attachment # noqa: E501
:return: The name of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this GetInboundEmailEventsByUuidAttachments.
filename specified in the Content-Disposition header of the attachment # noqa: E501
:param name: The name of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:type: str
"""
self._name = name
@property
def content_type(self):
"""Gets the content_type of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
value of the Content-Type header of the attachment # noqa: E501
:return: The content_type of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:rtype: str
"""
return self._content_type
@content_type.setter
def content_type(self, content_type):
"""Sets the content_type of this GetInboundEmailEventsByUuidAttachments.
value of the Content-Type header of the attachment # noqa: E501
:param content_type: The content_type of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:type: str
"""
self._content_type = content_type
@property
def content_id(self):
"""Gets the content_id of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
value of the Content-ID header of the attachment. # noqa: E501
:return: The content_id of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:rtype: str
"""
return self._content_id
@content_id.setter
def content_id(self, content_id):
"""Sets the content_id of this GetInboundEmailEventsByUuidAttachments.
value of the Content-ID header of the attachment. # noqa: E501
:param content_id: The content_id of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:type: str
"""
self._content_id = content_id
@property
def content_length(self):
"""Gets the content_length of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
size of the attachment in bytes # noqa: E501
:return: The content_length of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:rtype: int
"""
return self._content_length
@content_length.setter
def content_length(self, content_length):
"""Sets the content_length of this GetInboundEmailEventsByUuidAttachments.
size of the attachment in bytes # noqa: E501
:param content_length: The content_length of this GetInboundEmailEventsByUuidAttachments. # noqa: E501
:type: int
"""
self._content_length = content_length
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEventsByUuidAttachments, dict):
for key, value in self.items():
result[key] = 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, GetInboundEmailEventsByUuidAttachments):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(name=None, content_type=None, content_id=None, content_length=None)
|
59,226 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_attachments
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetInboundEmailEventsByUuidAttachments):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,227 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_attachments
|
__init__
|
GetInboundEmailEventsByUuidAttachments - a model defined in Swagger
|
def __init__(self, name=None, content_type=None, content_id=None, content_length=None): # noqa: E501
"""GetInboundEmailEventsByUuidAttachments - a model defined in Swagger""" # noqa: E501
self._name = None
self._content_type = None
self._content_id = None
self._content_length = None
self.discriminator = None
if name is not None:
self.name = name
if content_type is not None:
self.content_type = content_type
if content_id is not None:
self.content_id = content_id
if content_length is not None:
self.content_length = content_length
|
(self, name=None, content_type=None, content_id=None, content_length=None)
|
59,230 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_attachments
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEventsByUuidAttachments, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,232 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_logs
|
GetInboundEmailEventsByUuidLogs
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetInboundEmailEventsByUuidLogs(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'_date': 'datetime',
'type': 'str'
}
attribute_map = {
'_date': 'date',
'type': 'type'
}
def __init__(self, _date=None, type=None): # noqa: E501
"""GetInboundEmailEventsByUuidLogs - a model defined in Swagger""" # noqa: E501
self.__date = None
self._type = None
self.discriminator = None
if _date is not None:
self._date = _date
if type is not None:
self.type = type
@property
def _date(self):
"""Gets the _date of this GetInboundEmailEventsByUuidLogs. # noqa: E501
Date of the event # noqa: E501
:return: The _date of this GetInboundEmailEventsByUuidLogs. # noqa: E501
:rtype: datetime
"""
return self.__date
@_date.setter
def _date(self, _date):
"""Sets the _date of this GetInboundEmailEventsByUuidLogs.
Date of the event # noqa: E501
:param _date: The _date of this GetInboundEmailEventsByUuidLogs. # noqa: E501
:type: datetime
"""
self.__date = _date
@property
def type(self):
"""Gets the type of this GetInboundEmailEventsByUuidLogs. # noqa: E501
Type of the event # noqa: E501
:return: The type of this GetInboundEmailEventsByUuidLogs. # noqa: E501
:rtype: str
"""
return self._type
@type.setter
def type(self, type):
"""Sets the type of this GetInboundEmailEventsByUuidLogs.
Type of the event # noqa: E501
:param type: The type of this GetInboundEmailEventsByUuidLogs. # noqa: E501
:type: str
"""
allowed_values = ["received", "processed", "webhookFailed", "webhookDelivered"] # noqa: E501
if type not in allowed_values:
raise ValueError(
"Invalid value for `type` ({0}), must be one of {1}" # noqa: E501
.format(type, allowed_values)
)
self._type = type
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEventsByUuidLogs, dict):
for key, value in self.items():
result[key] = 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, GetInboundEmailEventsByUuidLogs):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(_date=None, type=None)
|
59,233 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_logs
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetInboundEmailEventsByUuidLogs):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,234 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_logs
|
__init__
|
GetInboundEmailEventsByUuidLogs - a model defined in Swagger
|
def __init__(self, _date=None, type=None): # noqa: E501
"""GetInboundEmailEventsByUuidLogs - a model defined in Swagger""" # noqa: E501
self.__date = None
self._type = None
self.discriminator = None
if _date is not None:
self._date = _date
if type is not None:
self.type = type
|
(self, _date=None, type=None)
|
59,237 |
sib_api_v3_sdk.models.get_inbound_email_events_by_uuid_logs
|
to_dict
|
Returns the model properties as a dict
|
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEventsByUuidLogs, dict):
for key, value in self.items():
result[key] = value
return result
|
(self)
|
59,239 |
sib_api_v3_sdk.models.get_inbound_email_events_events
|
GetInboundEmailEventsEvents
|
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
|
class GetInboundEmailEventsEvents(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_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.
"""
swagger_types = {
'uuid': 'str',
'_date': 'datetime',
'sender': 'str',
'recipient': 'str'
}
attribute_map = {
'uuid': 'uuid',
'_date': 'date',
'sender': 'sender',
'recipient': 'recipient'
}
def __init__(self, uuid=None, _date=None, sender=None, recipient=None): # noqa: E501
"""GetInboundEmailEventsEvents - a model defined in Swagger""" # noqa: E501
self._uuid = None
self.__date = None
self._sender = None
self._recipient = None
self.discriminator = None
self.uuid = uuid
self._date = _date
self.sender = sender
self.recipient = recipient
@property
def uuid(self):
"""Gets the uuid of this GetInboundEmailEventsEvents. # noqa: E501
UUID that can be used to fetch additional data # noqa: E501
:return: The uuid of this GetInboundEmailEventsEvents. # noqa: E501
:rtype: str
"""
return self._uuid
@uuid.setter
def uuid(self, uuid):
"""Sets the uuid of this GetInboundEmailEventsEvents.
UUID that can be used to fetch additional data # noqa: E501
:param uuid: The uuid of this GetInboundEmailEventsEvents. # noqa: E501
:type: str
"""
if uuid is None:
raise ValueError("Invalid value for `uuid`, must not be `None`") # noqa: E501
self._uuid = uuid
@property
def _date(self):
"""Gets the _date of this GetInboundEmailEventsEvents. # noqa: E501
Date when email was received on SMTP relay # noqa: E501
:return: The _date of this GetInboundEmailEventsEvents. # noqa: E501
:rtype: datetime
"""
return self.__date
@_date.setter
def _date(self, _date):
"""Sets the _date of this GetInboundEmailEventsEvents.
Date when email was received on SMTP relay # noqa: E501
:param _date: The _date of this GetInboundEmailEventsEvents. # noqa: E501
:type: datetime
"""
if _date is None:
raise ValueError("Invalid value for `_date`, must not be `None`") # noqa: E501
self.__date = _date
@property
def sender(self):
"""Gets the sender of this GetInboundEmailEventsEvents. # noqa: E501
Sender’s email address # noqa: E501
:return: The sender of this GetInboundEmailEventsEvents. # noqa: E501
:rtype: str
"""
return self._sender
@sender.setter
def sender(self, sender):
"""Sets the sender of this GetInboundEmailEventsEvents.
Sender’s email address # noqa: E501
:param sender: The sender of this GetInboundEmailEventsEvents. # noqa: E501
:type: str
"""
if sender is None:
raise ValueError("Invalid value for `sender`, must not be `None`") # noqa: E501
self._sender = sender
@property
def recipient(self):
"""Gets the recipient of this GetInboundEmailEventsEvents. # noqa: E501
Recipient’s email address # noqa: E501
:return: The recipient of this GetInboundEmailEventsEvents. # noqa: E501
:rtype: str
"""
return self._recipient
@recipient.setter
def recipient(self, recipient):
"""Sets the recipient of this GetInboundEmailEventsEvents.
Recipient’s email address # noqa: E501
:param recipient: The recipient of this GetInboundEmailEventsEvents. # noqa: E501
:type: str
"""
if recipient is None:
raise ValueError("Invalid value for `recipient`, must not be `None`") # noqa: E501
self._recipient = recipient
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.swagger_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
if issubclass(GetInboundEmailEventsEvents, dict):
for key, value in self.items():
result[key] = 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, GetInboundEmailEventsEvents):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
|
(uuid=None, _date=None, sender=None, recipient=None)
|
59,240 |
sib_api_v3_sdk.models.get_inbound_email_events_events
|
__eq__
|
Returns true if both objects are equal
|
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, GetInboundEmailEventsEvents):
return False
return self.__dict__ == other.__dict__
|
(self, other)
|
59,241 |
sib_api_v3_sdk.models.get_inbound_email_events_events
|
__init__
|
GetInboundEmailEventsEvents - a model defined in Swagger
|
def __init__(self, uuid=None, _date=None, sender=None, recipient=None): # noqa: E501
"""GetInboundEmailEventsEvents - a model defined in Swagger""" # noqa: E501
self._uuid = None
self.__date = None
self._sender = None
self._recipient = None
self.discriminator = None
self.uuid = uuid
self._date = _date
self.sender = sender
self.recipient = recipient
|
(self, uuid=None, _date=None, sender=None, recipient=None)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.