Class: TencentCloud::Iotvideoindustry::V20201201::ModifyBindRecordingPlanRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ModifyBindRecordingPlanRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ModifyBindRecordingPlan请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, planid = nil, channels = nil) ⇒ ModifyBindRecordingPlanRequest
constructor
A new instance of ModifyBindRecordingPlanRequest.
Constructor Details
#initialize(type = nil, planid = nil, channels = nil) ⇒ ModifyBindRecordingPlanRequest
Returns a new instance of ModifyBindRecordingPlanRequest.
5223 5224 5225 5226 5227 |
# File 'lib/v20201201/models.rb', line 5223 def initialize(type=nil, planid=nil, channels=nil) @Type = type @PlanId = planid @Channels = channels end |
Instance Attribute Details
#Channels ⇒ Object
5221 5222 5223 |
# File 'lib/v20201201/models.rb', line 5221 def Channels @Channels end |
#PlanId ⇒ Object
5221 5222 5223 |
# File 'lib/v20201201/models.rb', line 5221 def PlanId @PlanId end |
#Type ⇒ Object
5221 5222 5223 |
# File 'lib/v20201201/models.rb', line 5221 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 |
# File 'lib/v20201201/models.rb', line 5229 def deserialize(params) @Type = params['Type'] @PlanId = params['PlanId'] unless params['Channels'].nil? @Channels = [] params['Channels'].each do |i| channelitem_tmp = ChannelItem.new channelitem_tmp.deserialize(i) @Channels << channelitem_tmp end end end |