Class: TencentCloud::Iotvideoindustry::V20201201::ModifyBindPlanLiveChannelRequest

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

Overview

ModifyBindPlanLiveChannel请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(planid = nil, type = nil, livechannelids = nil) ⇒ ModifyBindPlanLiveChannelRequest

Returns a new instance of ModifyBindPlanLiveChannelRequest.



5183
5184
5185
5186
5187
# File 'lib/v20201201/models.rb', line 5183

def initialize(planid=nil, type=nil, livechannelids=nil)
  @PlanId = planid
  @Type = type
  @LiveChannelIds = livechannelids
end

Instance Attribute Details

#LiveChannelIdsObject

Parameters:

  • PlanId:

    直播录制计划ID

  • Type:

    1: 绑定 2: 解绑

  • LiveChannelIds:

    直播频道ID列表



5181
5182
5183
# File 'lib/v20201201/models.rb', line 5181

def LiveChannelIds
  @LiveChannelIds
end

#PlanIdObject

Parameters:

  • PlanId:

    直播录制计划ID

  • Type:

    1: 绑定 2: 解绑

  • LiveChannelIds:

    直播频道ID列表



5181
5182
5183
# File 'lib/v20201201/models.rb', line 5181

def PlanId
  @PlanId
end

#TypeObject

Parameters:

  • PlanId:

    直播录制计划ID

  • Type:

    1: 绑定 2: 解绑

  • LiveChannelIds:

    直播频道ID列表



5181
5182
5183
# File 'lib/v20201201/models.rb', line 5181

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5189
5190
5191
5192
5193
# File 'lib/v20201201/models.rb', line 5189

def deserialize(params)
  @PlanId = params['PlanId']
  @Type = params['Type']
  @LiveChannelIds = params['LiveChannelIds']
end