tencentcloud-sdk-ame 1.0.255 → 1.0.259

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: 0eb8c8a9fec5183153a5a07e4441cee903eaeb04
4
+ data.tar.gz: dbaaeb834a2eeef701e1da814de5967b008ee2c6
5
5
  SHA512:
6
- metadata.gz: 93731538975d89170b8d0f64b1f2b7eeefcd946e4353ec3e6221bd402237fb56260341dd480ea9993c8af01e9afcf394d97b0ad0ebb8cfcc0525c78385196dbe
7
- data.tar.gz: 42c16173a39af26dec7ec7d6e55ad7e40fee53a57c571cceaaf403084218ce1bd962a636944d420f78da0c80b80a2908777ce5c71db90c68bc1e117ec1ecedbc
6
+ metadata.gz: bcf49b3d9b67643d0c80358a3d5fe8677c5e9e59ea01c60b12986bc10b6b1f7a229728bc866893c7401b404c7fd717ad0c662a0aad5cdd78facf9d08482034ca
7
+ data.tar.gz: 4db584aa69cecbf91c8f03f9c1453fdeeb701fcb80d14ec202582c3ae1069311202a47e328a6b84003fafa1db45d10152513d074aad4b626e1da0e691c0f4c94
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.255
1
+ 1.0.259
@@ -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.259
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-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common