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.
1654 1655 1656 1657 1658 |
# File 'lib/v20201002/models.rb', line 1654 def initialize(totalcount=nil, data=nil, requestid=nil) @TotalCount = totalcount @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
1652 1653 1654 |
# File 'lib/v20201002/models.rb', line 1652 def Data @Data end |
#RequestId ⇒ Object
1652 1653 1654 |
# File 'lib/v20201002/models.rb', line 1652 def RequestId @RequestId end |
#TotalCount ⇒ Object
1652 1653 1654 |
# File 'lib/v20201002/models.rb', line 1652 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 |
# File 'lib/v20201002/models.rb', line 1660 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 |