Class: TencentCloud::Ses::V20201002::ListSendTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::ListSendTasksResponse
- Defined in:
- lib/v20201002/models.rb
Overview
ListSendTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ ListSendTasksResponse
constructor
A new instance of ListSendTasksResponse.
Constructor Details
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ ListSendTasksResponse
Returns a new instance of ListSendTasksResponse.
1717 1718 1719 1720 1721 |
# File 'lib/v20201002/models.rb', line 1717 def initialize(totalcount=nil, data=nil, requestid=nil) @TotalCount = totalcount @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
1715 1716 1717 |
# File 'lib/v20201002/models.rb', line 1715 def Data @Data end |
#RequestId ⇒ Object
1715 1716 1717 |
# File 'lib/v20201002/models.rb', line 1715 def RequestId @RequestId end |
#TotalCount ⇒ Object
1715 1716 1717 |
# File 'lib/v20201002/models.rb', line 1715 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 |
# File 'lib/v20201002/models.rb', line 1723 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| sendtaskdata_tmp = SendTaskData.new sendtaskdata_tmp.deserialize(i) @Data << sendtaskdata_tmp end end @RequestId = params['RequestId'] end |