tencentcloud-sdk-ame 1.0.255 → 1.0.256

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 +33 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35af7c49369f3cd6b5bcd51173c256c7e991d346
4
- data.tar.gz: 146cf9f120e6d8cc928ec60b59d0e222e631fe97
3
+ metadata.gz: 5ae84d9e255f7947184af533f9596253e44cac7e
4
+ data.tar.gz: 19c7ecbb46cb55b673ffae8aebf371a5497a69c3
5
5
  SHA512:
6
- metadata.gz: 93731538975d89170b8d0f64b1f2b7eeefcd946e4353ec3e6221bd402237fb56260341dd480ea9993c8af01e9afcf394d97b0ad0ebb8cfcc0525c78385196dbe
7
- data.tar.gz: 42c16173a39af26dec7ec7d6e55ad7e40fee53a57c571cceaaf403084218ce1bd962a636944d420f78da0c80b80a2908777ce5c71db90c68bc1e117ec1ecedbc
6
+ metadata.gz: 85ffd97fce9c6546c879b0af4fa8d9954eba52e52746f41c774a38afba80f63ec87390e88f3da2ff237bc95ea8a0814567be26b85c4af6d7fce65a62a8d97e88
7
+ data.tar.gz: 855599f6d390b09b488987b5536a6b824d91537d8c60a0afacc9c07e750a9c03b60c8b023280f0427109f65089ea96f455a820baf9181e528a8e98ae14ffc05c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.255
1
+ 1.0.256
@@ -2369,6 +2369,29 @@ module TencentCloud
2369
2369
  end
2370
2370
  end
2371
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
+
2372
2395
  # 设置播放模式
2373
2396
  class SetPlayModeCommandInput < TencentCloud::Common::AbstractModel
2374
2397
  # @param PlayMode: 播放模式,取值有:
@@ -2494,6 +2517,7 @@ module TencentCloud
2494
2517
  # <li>SetPlaylist:歌单变更</li>
2495
2518
  # <li>SetAudioParam:音频参数变更</li>
2496
2519
  # <li>SendMessage:发送自定义消息</li>
2520
+ # <li>SetDestroyMode:设置销毁模式</li>
2497
2521
  # @type Command: String
2498
2522
  # @param PlayCommandInput: 播放参数。
2499
2523
  # @type PlayCommandInput: :class:`Tencentcloud::Ame.v20190916.models.PlayCommandInput`
@@ -2507,10 +2531,12 @@ module TencentCloud
2507
2531
  # @type SendMessageCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SendMessageCommandInput`
2508
2532
  # @param SetPlayModeCommandInput: 播放模式,当Command取SetPlayMode时,必填。
2509
2533
  # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2534
+ # @param SetDestroyModeCommandInput: 销毁模式,当Command取SetDestroyMode时,必填。
2535
+ # @type SetDestroyModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetDestroyModeCommandInput`
2510
2536
 
2511
- attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput
2537
+ attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput
2512
2538
 
2513
- 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)
2514
2540
  @RobotId = robotid
2515
2541
  @Command = command
2516
2542
  @PlayCommandInput = playcommandinput
@@ -2519,6 +2545,7 @@ module TencentCloud
2519
2545
  @SetAudioParamCommandInput = setaudioparamcommandinput
2520
2546
  @SendMessageCommandInput = sendmessagecommandinput
2521
2547
  @SetPlayModeCommandInput = setplaymodecommandinput
2548
+ @SetDestroyModeCommandInput = setdestroymodecommandinput
2522
2549
  end
2523
2550
 
2524
2551
  def deserialize(params)
@@ -2548,6 +2575,10 @@ module TencentCloud
2548
2575
  @SetPlayModeCommandInput = SetPlayModeCommandInput.new
2549
2576
  @SetPlayModeCommandInput.deserialize(params['SetPlayModeCommandInput'])
2550
2577
  end
2578
+ unless params['SetDestroyModeCommandInput'].nil?
2579
+ @SetDestroyModeCommandInput = SetDestroyModeCommandInput.new
2580
+ @SetDestroyModeCommandInput.deserialize(params['SetDestroyModeCommandInput'])
2581
+ end
2551
2582
  end
2552
2583
  end
2553
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.255
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-02-14 00:00:00.000000000 Z
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