Class: TencentCloud::Ses::V20201002::ListReceiversResponse

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

Overview

ListReceivers返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DataObject

Parameters:

  • TotalCount:

    总数

  • Data:

    数据记录

  • RequestId:

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



1433
1434
1435
# File 'lib/v20201002/models.rb', line 1433

def Data
  @Data
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数

  • Data:

    数据记录

  • RequestId:

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



1433
1434
1435
# File 'lib/v20201002/models.rb', line 1433

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • Data:

    数据记录

  • RequestId:

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



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