Class: TencentCloud::Ses::V20201002::UpdateEmailTemplateRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201002/models.rb

Overview

UpdateEmailTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#TemplateContentObject

Parameters:

  • TemplateContent:

    模板内容

  • TemplateID:

    模板ID

  • TemplateName:

    模板名字



2144
2145
2146
# File 'lib/v20201002/models.rb', line 2144

def TemplateContent
  @TemplateContent
end

#TemplateIDObject

Parameters:

  • TemplateContent:

    模板内容

  • TemplateID:

    模板ID

  • TemplateName:

    模板名字



2144
2145
2146
# File 'lib/v20201002/models.rb', line 2144

def TemplateID
  @TemplateID
end

#TemplateNameObject

Parameters:

  • TemplateContent:

    模板内容

  • TemplateID:

    模板ID

  • TemplateName:

    模板名字



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