Class: TencentCloud::Cr::V20180321::BotFlow
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::BotFlow
- Defined in:
- lib/v20180321/models.rb
Overview
机器人对话流信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(botflowid = nil, botflowname = nil, phonepoollist = nil) ⇒ BotFlow
constructor
A new instance of BotFlow.
Constructor Details
#initialize(botflowid = nil, botflowname = nil, phonepoollist = nil) ⇒ BotFlow
Returns a new instance of BotFlow.
253 254 255 256 257 |
# File 'lib/v20180321/models.rb', line 253 def initialize(botflowid=nil, botflowname=nil, phonepoollist=nil) @BotFlowId = botflowid @BotFlowName = botflowname @PhonePoolList = phonepoollist end |
Instance Attribute Details
#BotFlowId ⇒ Object
251 252 253 |
# File 'lib/v20180321/models.rb', line 251 def BotFlowId @BotFlowId end |
#BotFlowName ⇒ Object
251 252 253 |
# File 'lib/v20180321/models.rb', line 251 def BotFlowName @BotFlowName end |
#PhonePoolList ⇒ Object
251 252 253 |
# File 'lib/v20180321/models.rb', line 251 def PhonePoolList @PhonePoolList end |
Instance Method Details
#deserialize(params) ⇒ Object
259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20180321/models.rb', line 259 def deserialize(params) @BotFlowId = params['BotFlowId'] @BotFlowName = params['BotFlowName'] unless params['PhonePoolList'].nil? @PhonePoolList = [] params['PhonePoolList'].each do |i| phonepool_tmp = PhonePool.new phonepool_tmp.deserialize(i) @PhonePoolList << phonepool_tmp end end end |