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.
1498 1499 1500 1501 1502 |
# File 'lib/v20201002/models.rb', line 1498 def initialize(totalcount=nil, data=nil, requestid=nil) @TotalCount = totalcount @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
1496 1497 1498 |
# File 'lib/v20201002/models.rb', line 1496 def Data @Data end |
#RequestId ⇒ Object
1496 1497 1498 |
# File 'lib/v20201002/models.rb', line 1496 def RequestId @RequestId end |
#TotalCount ⇒ Object
1496 1497 1498 |
# File 'lib/v20201002/models.rb', line 1496 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'lib/v20201002/models.rb', line 1504 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 |