Class: TencentCloud::Iotvideoindustry::V20201201::DescribeLiveVideoListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeLiveVideoListResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeLiveVideoList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, recordlist = nil, requestid = nil) ⇒ DescribeLiveVideoListResponse
constructor
A new instance of DescribeLiveVideoListResponse.
Constructor Details
#initialize(total = nil, recordlist = nil, requestid = nil) ⇒ DescribeLiveVideoListResponse
Returns a new instance of DescribeLiveVideoListResponse.
2982 2983 2984 2985 2986 |
# File 'lib/v20201201/models.rb', line 2982 def initialize(total=nil, recordlist=nil, requestid=nil) @Total = total @RecordList = recordlist @RequestId = requestid end |
Instance Attribute Details
#RecordList ⇒ Object
2980 2981 2982 |
# File 'lib/v20201201/models.rb', line 2980 def RecordList @RecordList end |
#RequestId ⇒ Object
2980 2981 2982 |
# File 'lib/v20201201/models.rb', line 2980 def RequestId @RequestId end |
#Total ⇒ Object
2980 2981 2982 |
# File 'lib/v20201201/models.rb', line 2980 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 |
# File 'lib/v20201201/models.rb', line 2988 def deserialize(params) @Total = params['Total'] unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| liverecorditem_tmp = LiveRecordItem.new liverecorditem_tmp.deserialize(i) @RecordList << liverecorditem_tmp end end @RequestId = params['RequestId'] end |