Class: TencentCloud::Ses::V20201002::UpdateEmailTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::UpdateEmailTemplateRequest
- Defined in:
- lib/v20201002/models.rb
Overview
UpdateEmailTemplate请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatecontent = nil, templateid = nil, templatename = nil) ⇒ UpdateEmailTemplateRequest
constructor
A new instance of UpdateEmailTemplateRequest.
Constructor Details
#initialize(templatecontent = nil, templateid = nil, templatename = nil) ⇒ UpdateEmailTemplateRequest
Returns a new instance of UpdateEmailTemplateRequest.
2146 2147 2148 2149 2150 |
# File 'lib/v20201002/models.rb', line 2146 def initialize(templatecontent=nil, templateid=nil, templatename=nil) @TemplateContent = templatecontent @TemplateID = templateid @TemplateName = templatename end |
Instance Attribute Details
#TemplateContent ⇒ Object
2144 2145 2146 |
# File 'lib/v20201002/models.rb', line 2144 def TemplateContent @TemplateContent end |
#TemplateID ⇒ Object
2144 2145 2146 |
# File 'lib/v20201002/models.rb', line 2144 def TemplateID @TemplateID end |
#TemplateName ⇒ Object
2144 2145 2146 |
# File 'lib/v20201002/models.rb', line 2144 def TemplateName @TemplateName end |
Instance Method Details
#deserialize(params) ⇒ Object
2152 2153 2154 2155 2156 2157 2158 2159 |
# File 'lib/v20201002/models.rb', line 2152 def deserialize(params) unless params['TemplateContent'].nil? @TemplateContent = TemplateContent.new @TemplateContent.deserialize(params['TemplateContent']) end @TemplateID = params['TemplateID'] @TemplateName = params['TemplateName'] end |