tencentcloud-sdk-ame 1.0.253 → 1.0.257

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/v20190916/models.rb +46 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e5ad2898a1adb996651c3ce2de8901c2370a16b
4
- data.tar.gz: 682e8e35a49565206d48034e11488ac08b81c0b2
3
+ metadata.gz: 72da0d5ca47f89c747b869afa9b57552e719df83
4
+ data.tar.gz: bf3bc2d6863f82541f4ad30f6c9f236c7a3d9913
5
5
  SHA512:
6
- metadata.gz: ee4e2003641f49c586e46dcf21c8dd61092b28e48f447bdbf95c6f652df674251cfeb9aa9955facd1c985f5011cf0a760b33887a611fbe0b3408f98570cc8ebd
7
- data.tar.gz: c60fd8dd7616ada026b05ea819184632c8939a5e805759c94746b0a985aa1ce3083023e0f3611c4c6d57e874efebcfbd71d637b64cca2895472f93b9162df6fb
6
+ metadata.gz: 4b5dd09f6a754045a804fb44c3ebcde2c44a625fa4173203622661306dc80a840b61b00712c45a84841d0262f7667a984cc63b80afe4f8bfe273f977aa35461b
7
+ data.tar.gz: fa5721a39cbb5620586ed20255477bc35e26a3ba2dfeb579ede83c8724b80909d15aded3358994278adcbce7b12f18746d860e653592a9746ec0eaa59a7917b8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.253
1
+ 1.0.257
@@ -2247,24 +2247,33 @@ module TencentCloud
2247
2247
  # @param KeyWord: 搜索关键词
2248
2248
  # @type KeyWord: String
2249
2249
  # @param Offset: 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
2250
- # 取值范围:Offset + Limit 不超过5000。取值范围:小于5000
2250
+ # 取值范围:Offset + Limit 不超过5000
2251
2251
  # @type Offset: Integer
2252
2252
  # @param Limit: 分页返回的起始偏移量,默认值:50。将返回第 Offset 到第 Offset+Limit-1 条。
2253
- # 取值范围:Offset + Limit 不超过5000。
2254
2253
  # @type Limit: Integer
2254
+ # @param Sort: 排序方式。默认按照匹配度排序
2255
+ # <li> Sort.Field 可选 CreateTime</li>
2256
+ # <li> Sort.Order 可选 Desc </li>
2257
+ # <li> 当 KeyWord 不为空时,Sort.Field 字段无效, 搜索结果将以匹配度排序。</li>
2258
+ # @type Sort: :class:`Tencentcloud::Ame.v20190916.models.SortBy`
2255
2259
 
2256
- attr_accessor :KeyWord, :Offset, :Limit
2260
+ attr_accessor :KeyWord, :Offset, :Limit, :Sort
2257
2261
 
2258
- def initialize(keyword=nil, offset=nil, limit=nil)
2262
+ def initialize(keyword=nil, offset=nil, limit=nil, sort=nil)
2259
2263
  @KeyWord = keyword
2260
2264
  @Offset = offset
2261
2265
  @Limit = limit
2266
+ @Sort = sort
2262
2267
  end
2263
2268
 
2264
2269
  def deserialize(params)
2265
2270
  @KeyWord = params['KeyWord']
2266
2271
  @Offset = params['Offset']
2267
2272
  @Limit = params['Limit']
2273
+ unless params['Sort'].nil?
2274
+ @Sort = SortBy.new
2275
+ @Sort.deserialize(params['Sort'])
2276
+ end
2268
2277
  end
2269
2278
  end
2270
2279
 
@@ -2360,6 +2369,29 @@ module TencentCloud
2360
2369
  end
2361
2370
  end
2362
2371
 
2372
+ # 设置销毁模式
2373
+ class SetDestroyModeCommandInput < TencentCloud::Common::AbstractModel
2374
+ # @param DestroyMode: 销毁模式,取值有:
2375
+ # <li>Auto:房间没人时自动销毁</li>
2376
+ # <li>Expire:房间没人时过期自动销毁</li>
2377
+ # <li>Never:不自动销毁,需手动销毁</li>默认为:Auto。
2378
+ # @type DestroyMode: String
2379
+ # @param DestroyExpireTime: 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。
2380
+ # @type DestroyExpireTime: Integer
2381
+
2382
+ attr_accessor :DestroyMode, :DestroyExpireTime
2383
+
2384
+ def initialize(destroymode=nil, destroyexpiretime=nil)
2385
+ @DestroyMode = destroymode
2386
+ @DestroyExpireTime = destroyexpiretime
2387
+ end
2388
+
2389
+ def deserialize(params)
2390
+ @DestroyMode = params['DestroyMode']
2391
+ @DestroyExpireTime = params['DestroyExpireTime']
2392
+ end
2393
+ end
2394
+
2363
2395
  # 设置播放模式
2364
2396
  class SetPlayModeCommandInput < TencentCloud::Common::AbstractModel
2365
2397
  # @param PlayMode: 播放模式,取值有:
@@ -2485,6 +2517,7 @@ module TencentCloud
2485
2517
  # <li>SetPlaylist:歌单变更</li>
2486
2518
  # <li>SetAudioParam:音频参数变更</li>
2487
2519
  # <li>SendMessage:发送自定义消息</li>
2520
+ # <li>SetDestroyMode:设置销毁模式</li>
2488
2521
  # @type Command: String
2489
2522
  # @param PlayCommandInput: 播放参数。
2490
2523
  # @type PlayCommandInput: :class:`Tencentcloud::Ame.v20190916.models.PlayCommandInput`
@@ -2498,10 +2531,12 @@ module TencentCloud
2498
2531
  # @type SendMessageCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SendMessageCommandInput`
2499
2532
  # @param SetPlayModeCommandInput: 播放模式,当Command取SetPlayMode时,必填。
2500
2533
  # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2534
+ # @param SetDestroyModeCommandInput: 销毁模式,当Command取SetDestroyMode时,必填。
2535
+ # @type SetDestroyModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetDestroyModeCommandInput`
2501
2536
 
2502
- attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput
2537
+ attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput
2503
2538
 
2504
- def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil)
2539
+ def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil)
2505
2540
  @RobotId = robotid
2506
2541
  @Command = command
2507
2542
  @PlayCommandInput = playcommandinput
@@ -2510,6 +2545,7 @@ module TencentCloud
2510
2545
  @SetAudioParamCommandInput = setaudioparamcommandinput
2511
2546
  @SendMessageCommandInput = sendmessagecommandinput
2512
2547
  @SetPlayModeCommandInput = setplaymodecommandinput
2548
+ @SetDestroyModeCommandInput = setdestroymodecommandinput
2513
2549
  end
2514
2550
 
2515
2551
  def deserialize(params)
@@ -2539,6 +2575,10 @@ module TencentCloud
2539
2575
  @SetPlayModeCommandInput = SetPlayModeCommandInput.new
2540
2576
  @SetPlayModeCommandInput.deserialize(params['SetPlayModeCommandInput'])
2541
2577
  end
2578
+ unless params['SetDestroyModeCommandInput'].nil?
2579
+ @SetDestroyModeCommandInput = SetDestroyModeCommandInput.new
2580
+ @SetDestroyModeCommandInput.deserialize(params['SetDestroyModeCommandInput'])
2581
+ end
2542
2582
  end
2543
2583
  end
2544
2584
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ame
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.253
4
+ version: 1.0.257
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-10 00:00:00.000000000 Z
11
+ date: 2022-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common