Class: TencentCloud::Ses::V20201002::ListSendTasksResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201002/models.rb

Overview

ListSendTasks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DataObject

Parameters:

  • TotalCount:

    总数

  • Data:

    数据记录

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1496
1497
1498
# File 'lib/v20201002/models.rb', line 1496

def Data
  @Data
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数

  • Data:

    数据记录

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1496
1497
1498
# File 'lib/v20201002/models.rb', line 1496

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • Data:

    数据记录

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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