forked from sendgrid/sendgrid-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer_html.py
39 lines (30 loc) · 982 Bytes
/
footer_html.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 FooterHtml(object):
"""The HTML in a Footer."""
def __init__(self, footer_html=None):
"""Create a FooterHtml object
:param footer_html: The html content of your footer.
:type footer_html: string, optional
"""
self._footer_html = None
if footer_html is not None:
self.footer_html = footer_html
@property
def footer_html(self):
"""The html content of your footer.
:rtype: string
"""
return self._footer_html
@footer_html.setter
def footer_html(self, html):
"""The html content of your footer.
:param html: The html content of your footer.
:type html: string
"""
self._footer_html = html
def get(self):
"""
Get a JSON-ready representation of this FooterHtml.
:returns: This FooterHtml, ready for use in a request body.
:rtype: string
"""
return self.footer_html