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.
5053 5054 5055 5056 5057 |
# File 'lib/v20201201/models.rb', line 5053 def initialize(type=nil, planid=nil, channels=nil) @Type = type @PlanId = planid @Channels = channels end |
Instance Attribute Details
#Channels ⇒ Object
5051 5052 5053 |
# File 'lib/v20201201/models.rb', line 5051 def Channels @Channels end |
#PlanId ⇒ Object
5051 5052 5053 |
# File 'lib/v20201201/models.rb', line 5051 def PlanId @PlanId end |
#Type ⇒ Object
5051 5052 5053 |
# File 'lib/v20201201/models.rb', line 5051 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 |
# File 'lib/v20201201/models.rb', line 5059 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 |