Class: TencentCloud::Live::V20180801::DescribeTimeShiftStreamListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeTimeShiftStreamListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeTimeShiftStreamList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalsize = nil, streamlist = nil, requestid = nil) ⇒ DescribeTimeShiftStreamListResponse
constructor
A new instance of DescribeTimeShiftStreamListResponse.
Constructor Details
#initialize(totalsize = nil, streamlist = nil, requestid = nil) ⇒ DescribeTimeShiftStreamListResponse
Returns a new instance of DescribeTimeShiftStreamListResponse.
10296 10297 10298 10299 10300 |
# File 'lib/v20180801/models.rb', line 10296 def initialize(totalsize=nil, streamlist=nil, requestid=nil) @TotalSize = totalsize @StreamList = streamlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10294 10295 10296 |
# File 'lib/v20180801/models.rb', line 10294 def RequestId @RequestId end |
#StreamList ⇒ Object
10294 10295 10296 |
# File 'lib/v20180801/models.rb', line 10294 def StreamList @StreamList end |
#TotalSize ⇒ Object
10294 10295 10296 |
# File 'lib/v20180801/models.rb', line 10294 def TotalSize @TotalSize end |
Instance Method Details
#deserialize(params) ⇒ Object
10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 |
# File 'lib/v20180801/models.rb', line 10302 def deserialize(params) @TotalSize = params['TotalSize'] unless params['StreamList'].nil? @StreamList = [] params['StreamList'].each do |i| timeshiftstreaminfo_tmp = TimeShiftStreamInfo.new timeshiftstreaminfo_tmp.deserialize(i) @StreamList << timeshiftstreaminfo_tmp end end @RequestId = params['RequestId'] end |