Class: TencentCloud::Iotvideoindustry::V20201201::DescribeVideoListByChannelResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeVideoListByChannelResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeVideoListByChannel返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(videolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeVideoListByChannelResponse
constructor
A new instance of DescribeVideoListByChannelResponse.
Constructor Details
#initialize(videolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeVideoListByChannelResponse
Returns a new instance of DescribeVideoListByChannelResponse.
3907 3908 3909 3910 3911 |
# File 'lib/v20201201/models.rb', line 3907 def initialize(videolist=nil, totalcount=nil, requestid=nil) @VideoList = videolist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3905 3906 3907 |
# File 'lib/v20201201/models.rb', line 3905 def RequestId @RequestId end |
#TotalCount ⇒ Object
3905 3906 3907 |
# File 'lib/v20201201/models.rb', line 3905 def TotalCount @TotalCount end |
#VideoList ⇒ Object
3905 3906 3907 |
# File 'lib/v20201201/models.rb', line 3905 def VideoList @VideoList end |
Instance Method Details
#deserialize(params) ⇒ Object
3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 |
# File 'lib/v20201201/models.rb', line 3913 def deserialize(params) unless params['VideoList'].nil? @VideoList = [] params['VideoList'].each do |i| recordtaskitem_tmp = RecordTaskItem.new recordtaskitem_tmp.deserialize(i) @VideoList << recordtaskitem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |