Class: TencentCloud::Ses::V20201002::GetEmailTemplateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::GetEmailTemplateResponse
- Defined in:
- lib/v20201002/models.rb
Overview
GetEmailTemplate返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatecontent = nil, templatestatus = nil, templatename = nil, requestid = nil) ⇒ GetEmailTemplateResponse
constructor
A new instance of GetEmailTemplateResponse.
Constructor Details
#initialize(templatecontent = nil, templatestatus = nil, templatename = nil, requestid = nil) ⇒ GetEmailTemplateResponse
Returns a new instance of GetEmailTemplateResponse.
916 917 918 919 920 921 |
# File 'lib/v20201002/models.rb', line 916 def initialize(templatecontent=nil, templatestatus=nil, templatename=nil, requestid=nil) @TemplateContent = templatecontent @TemplateStatus = templatestatus @TemplateName = templatename @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
914 915 916 |
# File 'lib/v20201002/models.rb', line 914 def RequestId @RequestId end |
#TemplateContent ⇒ Object
914 915 916 |
# File 'lib/v20201002/models.rb', line 914 def TemplateContent @TemplateContent end |
#TemplateName ⇒ Object
914 915 916 |
# File 'lib/v20201002/models.rb', line 914 def TemplateName @TemplateName end |
#TemplateStatus ⇒ Object
914 915 916 |
# File 'lib/v20201002/models.rb', line 914 def TemplateStatus @TemplateStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
923 924 925 926 927 928 929 930 931 |
# File 'lib/v20201002/models.rb', line 923 def deserialize(params) unless params['TemplateContent'].nil? @TemplateContent = TemplateContent.new @TemplateContent.deserialize(params['TemplateContent']) end @TemplateStatus = params['TemplateStatus'] @TemplateName = params['TemplateName'] @RequestId = params['RequestId'] end |