Class: TencentCloud::Cr::V20180321::QueryRecordListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::QueryRecordListResponse
- Defined in:
- lib/v20180321/models.rb
Overview
QueryRecordList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(recordlist = nil, totalcount = nil, requestid = nil) ⇒ QueryRecordListResponse
constructor
A new instance of QueryRecordListResponse.
Constructor Details
#initialize(recordlist = nil, totalcount = nil, requestid = nil) ⇒ QueryRecordListResponse
Returns a new instance of QueryRecordListResponse.
1659 1660 1661 1662 1663 |
# File 'lib/v20180321/models.rb', line 1659 def initialize(recordlist=nil, totalcount=nil, requestid=nil) @RecordList = recordlist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RecordList ⇒ Object
1657 1658 1659 |
# File 'lib/v20180321/models.rb', line 1657 def RecordList @RecordList end |
#RequestId ⇒ Object
1657 1658 1659 |
# File 'lib/v20180321/models.rb', line 1657 def RequestId @RequestId end |
#TotalCount ⇒ Object
1657 1658 1659 |
# File 'lib/v20180321/models.rb', line 1657 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 |
# File 'lib/v20180321/models.rb', line 1665 def deserialize(params) unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| recordinfo_tmp = RecordInfo.new recordinfo_tmp.deserialize(i) @RecordList << recordinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |