Class: TencentCloud::Live::V20180801::DescribeLiveStreamMonitorListResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180801/models.rb

Overview

DescribeLiveStreamMonitorList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#LiveStreamMonitorsObject

Parameters:

  • TotalNum:

    账号下的直播流监播任务个数。

  • LiveStreamMonitors:

    直播流监播任务列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



7923
7924
7925
# File 'lib/v20180801/models.rb', line 7923

def LiveStreamMonitors
  @LiveStreamMonitors
end

#RequestIdObject

Parameters:

  • TotalNum:

    账号下的直播流监播任务个数。

  • LiveStreamMonitors:

    直播流监播任务列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



7923
7924
7925
# File 'lib/v20180801/models.rb', line 7923

def RequestId
  @RequestId
end

#TotalNumObject

Parameters:

  • TotalNum:

    账号下的直播流监播任务个数。

  • LiveStreamMonitors:

    直播流监播任务列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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