Class: TencentCloud::Iotvideoindustry::V20201201::DescribeVideoListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeVideoListResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeVideoList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, videolist = nil, recordlist = nil, requestid = nil) ⇒ DescribeVideoListResponse
constructor
A new instance of DescribeVideoListResponse.
Constructor Details
#initialize(totalcount = nil, videolist = nil, recordlist = nil, requestid = nil) ⇒ DescribeVideoListResponse
Returns a new instance of DescribeVideoListResponse.
4123 4124 4125 4126 4127 4128 |
# File 'lib/v20201201/models.rb', line 4123 def initialize(totalcount=nil, videolist=nil, recordlist=nil, requestid=nil) @TotalCount = totalcount @VideoList = videolist @RecordList = recordlist @RequestId = requestid end |
Instance Attribute Details
#RecordList ⇒ Object
4121 4122 4123 |
# File 'lib/v20201201/models.rb', line 4121 def RecordList @RecordList end |
#RequestId ⇒ Object
4121 4122 4123 |
# File 'lib/v20201201/models.rb', line 4121 def RequestId @RequestId end |
#TotalCount ⇒ Object
4121 4122 4123 |
# File 'lib/v20201201/models.rb', line 4121 def TotalCount @TotalCount end |
#VideoList ⇒ Object
4121 4122 4123 |
# File 'lib/v20201201/models.rb', line 4121 def VideoList @VideoList end |
Instance Method Details
#deserialize(params) ⇒ Object
4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 |
# File 'lib/v20201201/models.rb', line 4130 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VideoList'].nil? @VideoList = RecordTaskItem.new @VideoList.deserialize(params['VideoList']) end unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| recordtaskitem_tmp = RecordTaskItem.new recordtaskitem_tmp.deserialize(i) @RecordList << recordtaskitem_tmp end end @RequestId = params['RequestId'] end |