Class: TencentCloud::Live::V20180801::AddCasterLayoutInfoRequest

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

Overview

AddCasterLayoutInfo请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(casterid = nil, layoutinfo = nil) ⇒ AddCasterLayoutInfoRequest

Returns a new instance of AddCasterLayoutInfoRequest.



80
81
82
83
# File 'lib/v20180801/models.rb', line 80

def initialize(casterid=nil, layoutinfo=nil)
  @CasterId = casterid
  @LayoutInfo = layoutinfo
end

Instance Attribute Details

#CasterIdObject

Parameters:

  • CasterId:

    导播台ID

  • LayoutInfo:

    导播台布局参数信息。



78
79
80
# File 'lib/v20180801/models.rb', line 78

def CasterId
  @CasterId
end

#LayoutInfoObject

Parameters:

  • CasterId:

    导播台ID

  • LayoutInfo:

    导播台布局参数信息。



78
79
80
# File 'lib/v20180801/models.rb', line 78

def LayoutInfo
  @LayoutInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



85
86
87
88
89
90
91
# File 'lib/v20180801/models.rb', line 85

def deserialize(params)
  @CasterId = params['CasterId']
  unless params['LayoutInfo'].nil?
    @LayoutInfo = CasterLayoutInfo.new
    @LayoutInfo.deserialize(params['LayoutInfo'])
  end
end