Class: TencentCloud::Iotexplorer::V20190423::ModifyTWeSeeConfigRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::ModifyTWeSeeConfigRequest
- Defined in:
- lib/v20190423/models.rb
Overview
ModifyTWeSeeConfig请求参数结构体
Instance Attribute Summary collapse
- #ChannelId ⇒ Object
- #Config ⇒ Object
- #DeviceName ⇒ Object
- #EnableSearch ⇒ Object
- #EnableSummary ⇒ Object
- #ProductId ⇒ Object
- #SummaryConfig ⇒ Object
- #UserId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, userid = nil, channelid = nil, enablesummary = nil, enablesearch = nil, config = nil, summaryconfig = nil) ⇒ ModifyTWeSeeConfigRequest
constructor
A new instance of ModifyTWeSeeConfigRequest.
Constructor Details
#initialize(productid = nil, devicename = nil, userid = nil, channelid = nil, enablesummary = nil, enablesearch = nil, config = nil, summaryconfig = nil) ⇒ ModifyTWeSeeConfigRequest
Returns a new instance of ModifyTWeSeeConfigRequest.
11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 |
# File 'lib/v20190423/models.rb', line 11413 def initialize(productid=nil, devicename=nil, userid=nil, channelid=nil, enablesummary=nil, enablesearch=nil, config=nil, summaryconfig=nil) @ProductId = productid @DeviceName = devicename @UserId = userid @ChannelId = channelid @EnableSummary = enablesummary @EnableSearch = enablesearch @Config = config @SummaryConfig = summaryconfig end |
Instance Attribute Details
#ChannelId ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def ChannelId @ChannelId end |
#Config ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def Config @Config end |
#DeviceName ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def DeviceName @DeviceName end |
#EnableSearch ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def EnableSearch @EnableSearch end |
#EnableSummary ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def EnableSummary @EnableSummary end |
#ProductId ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def ProductId @ProductId end |
#SummaryConfig ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def SummaryConfig @SummaryConfig end |
#UserId ⇒ Object
11411 11412 11413 |
# File 'lib/v20190423/models.rb', line 11411 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 |
# File 'lib/v20190423/models.rb', line 11424 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @UserId = params['UserId'] @ChannelId = params['ChannelId'] @EnableSummary = params['EnableSummary'] @EnableSearch = params['EnableSearch'] @Config = params['Config'] unless params['SummaryConfig'].nil? @SummaryConfig = VisionSummaryConfig.new @SummaryConfig.deserialize(params['SummaryConfig']) end end |