Class: TencentCloud::Ses::V20201002::ListEmailTemplatesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::ListEmailTemplatesResponse
- Defined in:
- lib/v20201002/models.rb
Overview
ListEmailTemplates返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatesmetadata = nil, totalcount = nil, requestid = nil) ⇒ ListEmailTemplatesResponse
constructor
A new instance of ListEmailTemplatesResponse.
Constructor Details
#initialize(templatesmetadata = nil, totalcount = nil, requestid = nil) ⇒ ListEmailTemplatesResponse
Returns a new instance of ListEmailTemplatesResponse.
1297 1298 1299 1300 1301 |
# File 'lib/v20201002/models.rb', line 1297 def initialize(=nil, totalcount=nil, requestid=nil) @TemplatesMetadata = @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1295 1296 1297 |
# File 'lib/v20201002/models.rb', line 1295 def RequestId @RequestId end |
#TemplatesMetadata ⇒ Object
1295 1296 1297 |
# File 'lib/v20201002/models.rb', line 1295 def TemplatesMetadata @TemplatesMetadata end |
#TotalCount ⇒ Object
1295 1296 1297 |
# File 'lib/v20201002/models.rb', line 1295 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 |
# File 'lib/v20201002/models.rb', line 1303 def deserialize(params) unless params['TemplatesMetadata'].nil? @TemplatesMetadata = [] params['TemplatesMetadata'].each do |i| = TemplatesMetadata.new .deserialize(i) @TemplatesMetadata << end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |