Class: TencentCloud::Ses::V20201002::Template
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::Template
- Defined in:
- lib/v20201002/models.rb
Overview
模板发送相关信息,包含模板ID,模板变量参数等信息
Instance Attribute Summary collapse
-
#TemplateData ⇒ Object
注意:参数值不能是html等复杂类型的数据。 示例:“name”:“xxx”,“age”:“xx”.
-
#TemplateID ⇒ Object
注意:参数值不能是html等复杂类型的数据。 示例:“name”:“xxx”,“age”:“xx”.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, templatedata = nil) ⇒ Template
constructor
A new instance of Template.
Constructor Details
#initialize(templateid = nil, templatedata = nil) ⇒ Template
Returns a new instance of Template.
2171 2172 2173 2174 |
# File 'lib/v20201002/models.rb', line 2171 def initialize(templateid=nil, templatedata=nil) @TemplateID = templateid @TemplateData = templatedata end |
Instance Attribute Details
#TemplateData ⇒ Object
注意:参数值不能是html等复杂类型的数据。示例:“name”:“xxx”,“age”:“xx”
2169 2170 2171 |
# File 'lib/v20201002/models.rb', line 2169 def TemplateData @TemplateData end |
#TemplateID ⇒ Object
注意:参数值不能是html等复杂类型的数据。示例:“name”:“xxx”,“age”:“xx”
2169 2170 2171 |
# File 'lib/v20201002/models.rb', line 2169 def TemplateID @TemplateID end |
Instance Method Details
#deserialize(params) ⇒ Object
2176 2177 2178 2179 |
# File 'lib/v20201002/models.rb', line 2176 def deserialize(params) @TemplateID = params['TemplateID'] @TemplateData = params['TemplateData'] end |