Class: TencentCloud::Ses::V20201002::Simple
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::Simple
- Defined in:
- lib/v20201002/models.rb
Overview
邮件发送的内容,可以是纯文本(TEXT),也可以是纯代码(HTML),或者纯文本+HTML的组合(建议方式)
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(html = nil, text = nil) ⇒ Simple
constructor
A new instance of Simple.
Constructor Details
#initialize(html = nil, text = nil) ⇒ Simple
Returns a new instance of Simple.
1907 1908 1909 1910 |
# File 'lib/v20201002/models.rb', line 1907 def initialize(html=nil, text=nil) @Html = html @Text = text end |
Instance Attribute Details
#Html ⇒ Object
1905 1906 1907 |
# File 'lib/v20201002/models.rb', line 1905 def Html @Html end |
#Text ⇒ Object
1905 1906 1907 |
# File 'lib/v20201002/models.rb', line 1905 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
1912 1913 1914 1915 |
# File 'lib/v20201002/models.rb', line 1912 def deserialize(params) @Html = params['Html'] @Text = params['Text'] end |