@@ -35,6 +35,7 @@ def __init__(self):
3535 self ._subject = None
3636 self ._plain_text_body = None
3737 self ._html_body = None
38+ self ._amp_body = None
3839 self ._api_template = None
3940 self ._mailing_id = None
4041 self ._message_id = None
@@ -181,6 +182,7 @@ def subject(self, val: str):
181182 def plain_text_body (self ):
182183 """
183184 Get the plain text portion of the message body.
185+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
184186 :return the plain text body
185187 :rtype str
186188 """
@@ -190,6 +192,7 @@ def plain_text_body(self):
190192 def plain_text_body (self , val : str ):
191193 """
192194 Set the plain text portion of the message body.
195+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
193196 :param val: the plain text body
194197 :type val: str
195198 """
@@ -199,6 +202,7 @@ def plain_text_body(self, val: str):
199202 def html_body (self ):
200203 """
201204 Get the HTML portion of the message body.
205+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
202206 :return the HTML body
203207 :rtype str
204208 """
@@ -208,15 +212,37 @@ def html_body(self):
208212 def html_body (self , val : str ):
209213 """
210214 Set the HTML portion of the message body.
215+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
211216 :param val: the HTML body
212217 :type val: str
213218 """
214219 self ._html_body = val
215220
221+ @property
222+ def amp_body (self ):
223+ """
224+ Get the AMP portion of the message body.
225+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
226+ :return the AMP body
227+ :rtype str
228+ """
229+ return self ._amp_body
230+
231+ @amp_body .setter
232+ def amp_body (self , val : str ):
233+ """
234+ Set the AMP portion of the message body.
235+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
236+ :param val: the AMP body
237+ :type val: str
238+ """
239+ self ._amp_body = val
240+
216241 @property
217242 def api_template (self ):
218243 """
219244 Get the api template.
245+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
220246 :return the api template
221247 :rtype str
222248 """
@@ -226,6 +252,7 @@ def api_template(self):
226252 def api_template (self , val : str ):
227253 """
228254 Set the api template.
255+ (Optional) Either TextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
229256 :param val: the api template
230257 :rtype str
231258 """
0 commit comments