aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/subscription_html.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/subscription_html.py')
-rw-r--r--.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/subscription_html.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/subscription_html.py b/.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/subscription_html.py
new file mode 100644
index 00000000..bfe8629f
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/sendgrid/helpers/mail/subscription_html.py
@@ -0,0 +1,45 @@
+class SubscriptionHtml(object):
+ """The HTML of an SubscriptionTracking."""
+
+ def __init__(self, subscription_html=None):
+ """Create a SubscriptionHtml object
+
+ :param subscription_html: Html to be appended to the email, with the
+ subscription tracking link. You may control
+ where the link is by using the tag <% %>
+ :type subscription_html: string, optional
+ """
+ self._subscription_html = None
+
+ if subscription_html is not None:
+ self.subscription_html = subscription_html
+
+ @property
+ def subscription_html(self):
+ """Html to be appended to the email, with the subscription tracking link.
+ You may control where the link is by using the tag <% %>
+
+ :rtype: string
+ """
+ return self._subscription_html
+
+ @subscription_html.setter
+ def subscription_html(self, value):
+ """Html to be appended to the email, with the subscription tracking link.
+ You may control where the link is by using the tag <% %>
+
+ :param value: Html to be appended to the email, with the subscription
+ tracking link. You may control where the link is by using
+ the tag <% %>
+ :type value: string
+ """
+ self._subscription_html = value
+
+ def get(self):
+ """
+ Get a JSON-ready representation of this SubscriptionHtml.
+
+ :returns: This SubscriptionHtml, ready for use in a request body.
+ :rtype: string
+ """
+ return self.subscription_html