Class: TencentCloud::Cr::V20180321::QueryRecordListResponse

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

Overview

QueryRecordList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RecordListObject

Parameters:

  • RecordList:

    录音列表。

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1657
1658
1659
# File 'lib/v20180321/models.rb', line 1657

def RecordList
  @RecordList
end

#RequestIdObject

Parameters:

  • RecordList:

    录音列表。

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1657
1658
1659
# File 'lib/v20180321/models.rb', line 1657

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • RecordList:

    录音列表。

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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