forked from sendgrid/sendgrid-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter_text.py
39 lines (30 loc) · 1011 Bytes
/
footer_text.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
class FooterText(object):
"""The text in an Footer."""
def __init__(self, footer_text=None):
"""Create a FooterText object
:param footer_text: The plain text content of your footer.
:type footer_text: string, optional
"""
self._footer_text = None
if footer_text is not None:
self.footer_text = footer_text
@property
def footer_text(self):
"""The plain text content of your footer.
:rtype: string
"""
return self._footer_text
@footer_text.setter
def footer_text(self, value):
"""The plain text content of your footer.
:param value: The plain text content of your footer.
:type value: string
"""
self._footer_text = value
def get(self):
"""
Get a JSON-ready representation of this FooterText.
:returns: This FooterText, ready for use in a request body.
:rtype: string
"""
return self.footer_text