tencentcloud-sdk-ame 1.0.252 → 1.0.256
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190916/models.rb +46 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae84d9e255f7947184af533f9596253e44cac7e
|
4
|
+
data.tar.gz: 19c7ecbb46cb55b673ffae8aebf371a5497a69c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85ffd97fce9c6546c879b0af4fa8d9954eba52e52746f41c774a38afba80f63ec87390e88f3da2ff237bc95ea8a0814567be26b85c4af6d7fce65a62a8d97e88
|
7
|
+
data.tar.gz: 855599f6d390b09b488987b5536a6b824d91537d8c60a0afacc9c07e750a9c03b60c8b023280f0427109f65089ea96f455a820baf9181e528a8e98ae14ffc05c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.256
|
data/lib/v20190916/models.rb
CHANGED
@@ -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
|
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.
|
4
|
+
version: 1.0.256
|
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-
|
11
|
+
date: 2022-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|