Class: TencentCloud::Ccc::V20200210::ServerPushText
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::ServerPushText
- Defined in:
- lib/v20200210/models.rb
Overview
服务端控制AI对话机器人播报指定文本
Instance Attribute Summary collapse
-
#AddHistory ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。 例子: - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断 - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断.
-
#Audio ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。 例子: - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断 - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断.
-
#DropMode ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。 例子: - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断 - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断.
-
#Interrupt ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。 例子: - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断 - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断.
-
#Priority ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。 例子: - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断 - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断.
-
#StopAfterPlay ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。 例子: - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断 - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断.
-
#Text ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。 例子: - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断 - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil, interrupt = nil, stopafterplay = nil, audio = nil, dropmode = nil, priority = nil, addhistory = nil) ⇒ ServerPushText
constructor
A new instance of ServerPushText.
Constructor Details
#initialize(text = nil, interrupt = nil, stopafterplay = nil, audio = nil, dropmode = nil, priority = nil, addhistory = nil) ⇒ ServerPushText
Returns a new instance of ServerPushText.
6361 6362 6363 6364 6365 6366 6367 6368 6369 |
# File 'lib/v20200210/models.rb', line 6361 def initialize(text=nil, interrupt=nil, stopafterplay=nil, audio=nil, dropmode=nil, priority=nil, addhistory=nil) @Text = text @Interrupt = interrupt @StopAfterPlay = stopafterplay @Audio = audio @DropMode = dropmode @Priority = priority @AddHistory = addhistory end |
Instance Attribute Details
#AddHistory ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。例子:
-
Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
-
Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
6359 6360 6361 |
# File 'lib/v20200210/models.rb', line 6359 def AddHistory @AddHistory end |
#Audio ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。例子:
-
Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
-
Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
6359 6360 6361 |
# File 'lib/v20200210/models.rb', line 6359 def Audio @Audio end |
#DropMode ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。例子:
-
Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
-
Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
6359 6360 6361 |
# File 'lib/v20200210/models.rb', line 6359 def DropMode @DropMode end |
#Interrupt ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。例子:
-
Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
-
Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
6359 6360 6361 |
# File 'lib/v20200210/models.rb', line 6359 def Interrupt @Interrupt end |
#Priority ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。例子:
-
Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
-
Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
6359 6360 6361 |
# File 'lib/v20200210/models.rb', line 6359 def Priority @Priority end |
#StopAfterPlay ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。例子:
-
Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
-
Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
6359 6360 6361 |
# File 'lib/v20200210/models.rb', line 6359 def StopAfterPlay @StopAfterPlay end |
#Text ⇒ Object
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。例子:
-
Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
-
Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
6359 6360 6361 |
# File 'lib/v20200210/models.rb', line 6359 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
6371 6372 6373 6374 6375 6376 6377 6378 6379 |
# File 'lib/v20200210/models.rb', line 6371 def deserialize(params) @Text = params['Text'] @Interrupt = params['Interrupt'] @StopAfterPlay = params['StopAfterPlay'] @Audio = params['Audio'] @DropMode = params['DropMode'] @Priority = params['Priority'] @AddHistory = params['AddHistory'] end |