Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/sendgrid/helpers/mail/ip_pool_name.py: 53%
13 statements
« prev ^ index » next coverage.py v6.4.4, created at 2023-07-17 14:22 -0600
« prev ^ index » next coverage.py v6.4.4, created at 2023-07-17 14:22 -0600
1class IpPoolName(object):
2 """The IP Pool that you would like to send this email from."""
4 def __init__(self, ip_pool_name=None):
5 """Create a IpPoolName object
7 :param ip_pool_name: The IP Pool that you would like to send this
8 email from.
9 :type ip_pool_name: string, optional
10 """
11 self._ip_pool_name = None
13 if ip_pool_name is not None:
14 self.ip_pool_name = ip_pool_name
16 @property
17 def ip_pool_name(self):
18 """The IP Pool that you would like to send this email from.
20 :rtype: string
21 """
22 return self._ip_pool_name
24 @ip_pool_name.setter
25 def ip_pool_name(self, value):
26 """The IP Pool that you would like to send this email from.
28 :param value: The IP Pool that you would like to send this email from.
29 :type value: string
30 """
31 self._ip_pool_name = value
33 def get(self):
34 """
35 Get a JSON-ready representation of this IpPoolName.
37 :returns: This IpPoolName, ready for use in a request body.
38 :rtype: string
39 """
40 return self.ip_pool_name