Class: TencentCloud::Ses::V20201002::ListReceiversResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::ListReceiversResponse
- Defined in:
- lib/v20201002/models.rb
Overview
ListReceivers返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ ListReceiversResponse
constructor
A new instance of ListReceiversResponse.
Constructor Details
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ ListReceiversResponse
Returns a new instance of ListReceiversResponse.
1435 1436 1437 1438 1439 |
# File 'lib/v20201002/models.rb', line 1435 def initialize(totalcount=nil, data=nil, requestid=nil) @TotalCount = totalcount @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
1433 1434 1435 |
# File 'lib/v20201002/models.rb', line 1433 def Data @Data end |
#RequestId ⇒ Object
1433 1434 1435 |
# File 'lib/v20201002/models.rb', line 1433 def RequestId @RequestId end |
#TotalCount ⇒ Object
1433 1434 1435 |
# File 'lib/v20201002/models.rb', line 1433 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 |
# File 'lib/v20201002/models.rb', line 1441 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| receiverdata_tmp = ReceiverData.new receiverdata_tmp.deserialize(i) @Data << receiverdata_tmp end end @RequestId = params['RequestId'] end |