Class: TencentCloud::Live::V20180801::DescribeCasterLayoutInfosResponse

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

Overview

DescribeCasterLayoutInfos返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(layoutinfos = nil, requestid = nil) ⇒ DescribeCasterLayoutInfosResponse

Returns a new instance of DescribeCasterLayoutInfosResponse.



5714
5715
5716
5717
# File 'lib/v20180801/models.rb', line 5714

def initialize(layoutinfos=nil, requestid=nil)
  @LayoutInfos = layoutinfos
  @RequestId = requestid
end

Instance Attribute Details

#LayoutInfosObject

Parameters:

  • LayoutInfos:

    导播台的布局列表。

  • RequestId:

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



5712
5713
5714
# File 'lib/v20180801/models.rb', line 5712

def LayoutInfos
  @LayoutInfos
end

#RequestIdObject

Parameters:

  • LayoutInfos:

    导播台的布局列表。

  • RequestId:

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



5712
5713
5714
# File 'lib/v20180801/models.rb', line 5712

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
# File 'lib/v20180801/models.rb', line 5719

def deserialize(params)
  unless params['LayoutInfos'].nil?
    @LayoutInfos = []
    params['LayoutInfos'].each do |i|
      casterlayoutinfo_tmp = CasterLayoutInfo.new
      casterlayoutinfo_tmp.deserialize(i)
      @LayoutInfos << casterlayoutinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end