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.
4020 4021 4022 4023 4024 4025 |
# File 'lib/v20201201/models.rb', line 4020 def initialize(totalcount=nil, videolist=nil, recordlist=nil, requestid=nil) @TotalCount = totalcount @VideoList = videolist @RecordList = recordlist @RequestId = requestid end |
Instance Attribute Details
#RecordList ⇒ Object
4018 4019 4020 |
# File 'lib/v20201201/models.rb', line 4018 def RecordList @RecordList end |
#RequestId ⇒ Object
4018 4019 4020 |
# File 'lib/v20201201/models.rb', line 4018 def RequestId @RequestId end |
#TotalCount ⇒ Object
4018 4019 4020 |
# File 'lib/v20201201/models.rb', line 4018 def TotalCount @TotalCount end |
#VideoList ⇒ Object
4018 4019 4020 |
# File 'lib/v20201201/models.rb', line 4018 def VideoList @VideoList end |
Instance Method Details
#deserialize(params) ⇒ Object
4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 |
# File 'lib/v20201201/models.rb', line 4027 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 |