tencentcloud-sdk-tbp 3.0.596 → 3.0.598

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190311/models.rb +14 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0090079b9b2d00794027158016c490e22be257b0
4
- data.tar.gz: 7cae3d6badfb983c42f6d7503af346544ce7eed3
3
+ metadata.gz: affa083a0c02e4bf6068e1d2e87914540b407cf0
4
+ data.tar.gz: 0b23c22fbea3ab1706b77e0162fada1222907abc
5
5
  SHA512:
6
- metadata.gz: 4a891d9c343d22538c831cf58c96ce190d2191550d25eb53256e22a904c719df748a83030b81a05275b105336d2d2bcbea1538501ebb881413fb63c56bbdf155
7
- data.tar.gz: 98828270d900d70132fcef344644299780616b91b709ec7a2332c276219ef8335f5f0634e1c3f6f9be9a039ff3aa8b9e823e58671acd25f377bde9a2b34af14d
6
+ metadata.gz: 86bed8183631a18b394d8ac438d663ad6f14a039b639ea6cf8a7e27aa3632cebae5aa12a23c073ee3aaa021c65e855710d5a7aa4d2e9b97b2f8600ca88122c06
7
+ data.tar.gz: ca6e03457adb6c131d442d12670a8896d01b3173dfefd8e9daee4842e6be85090cc4a47f9f677c0d134535995dfe2521d9437fdf8b0c6861d90f0924fab01534
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.596
1
+ 3.0.598
@@ -186,7 +186,7 @@ module TencentCloud
186
186
  class ResponseMessage < TencentCloud::Common::AbstractModel
187
187
  # @param GroupList: 消息组列表。
188
188
  # 注意:此字段可能返回 null,表示取不到有效值。
189
- # @type GroupList: :class:`Tencentcloud::Tbp.v20190311.models.Group`
189
+ # @type GroupList: Array
190
190
 
191
191
  attr_accessor :GroupList
192
192
 
@@ -196,8 +196,12 @@ module TencentCloud
196
196
 
197
197
  def deserialize(params)
198
198
  unless params['GroupList'].nil?
199
- @GroupList = Group.new
200
- @GroupList.deserialize(params['GroupList'])
199
+ @GroupList = []
200
+ params['GroupList'].each do |i|
201
+ group_tmp = Group.new
202
+ group_tmp.deserialize(i)
203
+ @GroupList << group_tmp
204
+ end
201
205
  end
202
206
  end
203
207
  end
@@ -279,18 +283,18 @@ module TencentCloud
279
283
  # @param ResponseText: 机器人对话的应答文本。
280
284
  # 注意:此字段可能返回 null,表示取不到有效值。
281
285
  # @type ResponseText: String
282
- # @param ResponseMessage: 机器人应答。
283
- # 注意:此字段可能返回 null,表示取不到有效值。
284
- # @type ResponseMessage: :class:`Tencentcloud::Tbp.v20190311.models.ResponseMessage`
285
286
  # @param ResultType: 结果类型 {中间逻辑出错:0; 任务型机器人:1; 问答型机器人:2; 闲聊型机器人:3; 未匹配上,返回预设兜底话术:5; 未匹配上,返回相似问题列表:6}。
286
287
  # 注意:此字段可能返回 null,表示取不到有效值。
287
288
  # @type ResultType: String
289
+ # @param ResponseMessage: 机器人应答。
290
+ # 注意:此字段可能返回 null,表示取不到有效值。
291
+ # @type ResponseMessage: :class:`Tencentcloud::Tbp.v20190311.models.ResponseMessage`
288
292
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
289
293
  # @type RequestId: String
290
294
 
291
- attr_accessor :DialogStatus, :BotName, :IntentName, :SlotInfoList, :InputText, :SessionAttributes, :ResponseText, :ResponseMessage, :ResultType, :RequestId
295
+ attr_accessor :DialogStatus, :BotName, :IntentName, :SlotInfoList, :InputText, :SessionAttributes, :ResponseText, :ResultType, :ResponseMessage, :RequestId
292
296
 
293
- def initialize(dialogstatus=nil, botname=nil, intentname=nil, slotinfolist=nil, inputtext=nil, sessionattributes=nil, responsetext=nil, responsemessage=nil, resulttype=nil, requestid=nil)
297
+ def initialize(dialogstatus=nil, botname=nil, intentname=nil, slotinfolist=nil, inputtext=nil, sessionattributes=nil, responsetext=nil, resulttype=nil, responsemessage=nil, requestid=nil)
294
298
  @DialogStatus = dialogstatus
295
299
  @BotName = botname
296
300
  @IntentName = intentname
@@ -298,8 +302,8 @@ module TencentCloud
298
302
  @InputText = inputtext
299
303
  @SessionAttributes = sessionattributes
300
304
  @ResponseText = responsetext
301
- @ResponseMessage = responsemessage
302
305
  @ResultType = resulttype
306
+ @ResponseMessage = responsemessage
303
307
  @RequestId = requestid
304
308
  end
305
309
 
@@ -318,11 +322,11 @@ module TencentCloud
318
322
  @InputText = params['InputText']
319
323
  @SessionAttributes = params['SessionAttributes']
320
324
  @ResponseText = params['ResponseText']
325
+ @ResultType = params['ResultType']
321
326
  unless params['ResponseMessage'].nil?
322
327
  @ResponseMessage = ResponseMessage.new
323
328
  @ResponseMessage.deserialize(params['ResponseMessage'])
324
329
  end
325
- @ResultType = params['ResultType']
326
330
  @RequestId = params['RequestId']
327
331
  end
328
332
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tbp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.596
4
+ version: 3.0.598
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-20 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common