Class: TencentCloud::Live::V20180801::DescribeLiveStreamMonitorListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveStreamMonitorListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveStreamMonitorList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, livestreammonitors = nil, requestid = nil) ⇒ DescribeLiveStreamMonitorListResponse
constructor
A new instance of DescribeLiveStreamMonitorListResponse.
Constructor Details
#initialize(totalnum = nil, livestreammonitors = nil, requestid = nil) ⇒ DescribeLiveStreamMonitorListResponse
Returns a new instance of DescribeLiveStreamMonitorListResponse.
7925 7926 7927 7928 7929 |
# File 'lib/v20180801/models.rb', line 7925 def initialize(totalnum=nil, livestreammonitors=nil, requestid=nil) @TotalNum = totalnum @LiveStreamMonitors = livestreammonitors @RequestId = requestid end |
Instance Attribute Details
#LiveStreamMonitors ⇒ Object
7923 7924 7925 |
# File 'lib/v20180801/models.rb', line 7923 def LiveStreamMonitors @LiveStreamMonitors end |
#RequestId ⇒ Object
7923 7924 7925 |
# File 'lib/v20180801/models.rb', line 7923 def RequestId @RequestId end |
#TotalNum ⇒ Object
7923 7924 7925 |
# File 'lib/v20180801/models.rb', line 7923 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 |
# File 'lib/v20180801/models.rb', line 7931 def deserialize(params) @TotalNum = params['TotalNum'] unless params['LiveStreamMonitors'].nil? @LiveStreamMonitors = [] params['LiveStreamMonitors'].each do |i| livestreammonitorinfo_tmp = LiveStreamMonitorInfo.new livestreammonitorinfo_tmp.deserialize(i) @LiveStreamMonitors << livestreammonitorinfo_tmp end end @RequestId = params['RequestId'] end |