Class: TencentCloud::Live::V20180801::DescribePullStreamConfigsResponse

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

Overview

DescribePullStreamConfigs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pullstreamconfigs = nil, requestid = nil) ⇒ DescribePullStreamConfigsResponse

Returns a new instance of DescribePullStreamConfigsResponse.



9553
9554
9555
9556
# File 'lib/v20180801/models.rb', line 9553

def initialize(pullstreamconfigs=nil, requestid=nil)
  @PullStreamConfigs = pullstreamconfigs
  @RequestId = requestid
end

Instance Attribute Details

#PullStreamConfigsObject

Parameters:

  • PullStreamConfigs:

    拉流配置。

  • RequestId:

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



9551
9552
9553
# File 'lib/v20180801/models.rb', line 9551

def PullStreamConfigs
  @PullStreamConfigs
end

#RequestIdObject

Parameters:

  • PullStreamConfigs:

    拉流配置。

  • RequestId:

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



9551
9552
9553
# File 'lib/v20180801/models.rb', line 9551

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
# File 'lib/v20180801/models.rb', line 9558

def deserialize(params)
  unless params['PullStreamConfigs'].nil?
    @PullStreamConfigs = []
    params['PullStreamConfigs'].each do |i|
      pullstreamconfig_tmp = PullStreamConfig.new
      pullstreamconfig_tmp.deserialize(i)
      @PullStreamConfigs << pullstreamconfig_tmp
    end
  end
  @RequestId = params['RequestId']
end