aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/footer_html.py
blob: c8b5ac1a511d606d8557d4b76e0c5fd679d0a2c3 (about) (plain)
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