Class: TencentCloud::Ses::V20201002::ListReceiverDetailsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::ListReceiverDetailsResponse
- Defined in:
- lib/v20201002/models.rb
Overview
ListReceiverDetails返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, data = nil, validcount = nil, invalidcount = nil, requestid = nil) ⇒ ListReceiverDetailsResponse
constructor
A new instance of ListReceiverDetailsResponse.
Constructor Details
#initialize(totalcount = nil, data = nil, validcount = nil, invalidcount = nil, requestid = nil) ⇒ ListReceiverDetailsResponse
Returns a new instance of ListReceiverDetailsResponse.
1372 1373 1374 1375 1376 1377 1378 |
# File 'lib/v20201002/models.rb', line 1372 def initialize(totalcount=nil, data=nil, validcount=nil, invalidcount=nil, requestid=nil) @TotalCount = totalcount @Data = data @ValidCount = validcount @InvalidCount = invalidcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
1370 1371 1372 |
# File 'lib/v20201002/models.rb', line 1370 def Data @Data end |
#InvalidCount ⇒ Object
1370 1371 1372 |
# File 'lib/v20201002/models.rb', line 1370 def InvalidCount @InvalidCount end |
#RequestId ⇒ Object
1370 1371 1372 |
# File 'lib/v20201002/models.rb', line 1370 def RequestId @RequestId end |
#TotalCount ⇒ Object
1370 1371 1372 |
# File 'lib/v20201002/models.rb', line 1370 def TotalCount @TotalCount end |
#ValidCount ⇒ Object
1370 1371 1372 |
# File 'lib/v20201002/models.rb', line 1370 def ValidCount @ValidCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 |
# File 'lib/v20201002/models.rb', line 1380 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| receiverdetail_tmp = ReceiverDetail.new receiverdetail_tmp.deserialize(i) @Data << receiverdetail_tmp end end @ValidCount = params['ValidCount'] @InvalidCount = params['InvalidCount'] @RequestId = params['RequestId'] end |