Class: TencentCloud::Live::V20180801::DescribeCasterListResponse

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

Overview

DescribeCasterList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(casterlist = nil, requestid = nil) ⇒ DescribeCasterListResponse

Returns a new instance of DescribeCasterListResponse.



5752
5753
5754
5755
# File 'lib/v20180801/models.rb', line 5752

def initialize(casterlist=nil, requestid=nil)
  @CasterList = casterlist
  @RequestId = requestid
end

Instance Attribute Details

#CasterListObject

Parameters:

  • CasterList:

    用户对应的导播台简要信息列表

  • RequestId:

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



5750
5751
5752
# File 'lib/v20180801/models.rb', line 5750

def CasterList
  @CasterList
end

#RequestIdObject

Parameters:

  • CasterList:

    用户对应的导播台简要信息列表

  • RequestId:

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



5750
5751
5752
# File 'lib/v20180801/models.rb', line 5750

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
# File 'lib/v20180801/models.rb', line 5757

def deserialize(params)
  unless params['CasterList'].nil?
    @CasterList = []
    params['CasterList'].each do |i|
      casterbriefinfo_tmp = CasterBriefInfo.new
      casterbriefinfo_tmp.deserialize(i)
      @CasterList << casterbriefinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end