aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/footer_text.py
blob: 06f9689208a3587b44c51ad13bab4e426ff74cca (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 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