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.
2130 2131 2132 2133 |
# File 'lib/v20201002/models.rb', line 2130 def initialize(html=nil, text=nil) @Html = html @Text = text end |
Instance Attribute Details
#Html ⇒ Object
2128 2129 2130 |
# File 'lib/v20201002/models.rb', line 2128 def Html @Html end |
#Text ⇒ Object
2128 2129 2130 |
# File 'lib/v20201002/models.rb', line 2128 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
2135 2136 2137 2138 |
# File 'lib/v20201002/models.rb', line 2135 def deserialize(params) @Html = params['Html'] @Text = params['Text'] end |