Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/sendgrid/helpers/mail/footer_text.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 FooterText(object):
2 """The text in an Footer."""
4 def __init__(self, footer_text=None):
5 """Create a FooterText object
7 :param footer_text: The plain text content of your footer.
8 :type footer_text: string, optional
9 """
10 self._footer_text = None
12 if footer_text is not None:
13 self.footer_text = footer_text
15 @property
16 def footer_text(self):
17 """The plain text content of your footer.
19 :rtype: string
20 """
21 return self._footer_text
23 @footer_text.setter
24 def footer_text(self, value):
25 """The plain text content of your footer.
27 :param value: The plain text content of your footer.
28 :type value: string
29 """
30 self._footer_text = value
32 def get(self):
33 """
34 Get a JSON-ready representation of this FooterText.
36 :returns: This FooterText, ready for use in a request body.
37 :rtype: string
38 """
39 return self.footer_text