tencentcloud-sdk-ame 1.0.245 → 1.0.249

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 +43 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 727372ea211b293161a1620b24804cc20bc86489
4
- data.tar.gz: 3742f79826108b84f82479c1a526184baaa4f39d
3
+ metadata.gz: a42387212135c4350dac1b0a5b00eac842b6b374
4
+ data.tar.gz: 9249635af11496cedb0342cbf71e7f93a9f6cbd0
5
5
  SHA512:
6
- metadata.gz: 60f19bf15e14493fa605c9607e6ccfa5e50289d3eee335f8571f44722c5958c9a0179330053a5bb6a8132aba2261b6c812f016ee78914eb8accd3a90996c789a
7
- data.tar.gz: b74a812c7f47a172981f5a65dd1ac6cf36a7376a042a96d2faaac9ade8c1cf6be7b2bb62023c517bbb0bfbd34960b9d2da218f3cb23ce076b9bb6289cda91928
6
+ metadata.gz: fe8039a0598f46fd9b2aa08dda21aad1a6d6ae2102fd2a408378d989683ccbfdd103fe5d58751ceab043c55349e218f7690ada4a3c250d0a71e99a4b207640a9
7
+ data.tar.gz: 2d8ae4578f9bb0ddc7c289460496de56d6b0c1b94c2423c90ad794aaf1cb313ea59a8458869439df3bbea769d6871e5762be05559a83d4439a0ccd390e308b33
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.245
1
+ 1.0.249
@@ -1304,10 +1304,16 @@ module TencentCloud
1304
1304
  # @param RTCSystem: RTC厂商类型,取值有:
1305
1305
  # <li>TRTC</li>
1306
1306
  # @type RTCSystem: String
1307
+ # @param SetPlayModeInput: 播放模式,PlayMode取值有:
1308
+ # <li>RepeatPlaylist:列表循环</li>
1309
+ # <li>Order:顺序播放</li>
1310
+ # <li>RepeatSingle:单曲循环</li>
1311
+ # <li>Shuffle:随机播放</li>
1312
+ # @type SetPlayModeInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
1307
1313
 
1308
- attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem
1314
+ attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem, :SetPlayModeInput
1309
1315
 
1310
- def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil)
1316
+ def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil)
1311
1317
  @RobotId = robotid
1312
1318
  @Status = status
1313
1319
  @Playlists = playlists
@@ -1316,6 +1322,7 @@ module TencentCloud
1316
1322
  @SetAudioParamInput = setaudioparaminput
1317
1323
  @JoinRoomInput = joinroominput
1318
1324
  @RTCSystem = rtcsystem
1325
+ @SetPlayModeInput = setplaymodeinput
1319
1326
  end
1320
1327
 
1321
1328
  def deserialize(params)
@@ -1333,6 +1340,10 @@ module TencentCloud
1333
1340
  @JoinRoomInput.deserialize(params['JoinRoomInput'])
1334
1341
  end
1335
1342
  @RTCSystem = params['RTCSystem']
1343
+ unless params['SetPlayModeInput'].nil?
1344
+ @SetPlayModeInput = SetPlayModeCommandInput.new
1345
+ @SetPlayModeInput.deserialize(params['SetPlayModeInput'])
1346
+ end
1336
1347
  end
1337
1348
  end
1338
1349
 
@@ -1938,6 +1949,26 @@ module TencentCloud
1938
1949
  end
1939
1950
  end
1940
1951
 
1952
+ # 设置播放模式
1953
+ class SetPlayModeCommandInput < TencentCloud::Common::AbstractModel
1954
+ # @param PlayMode: 播放模式,取值有:
1955
+ # <li>RepeatPlaylist:列表循环</li>
1956
+ # <li>Order:顺序播放</li>
1957
+ # <li>RepeatSingle:单曲循环</li>
1958
+ # <li>Shuffle:随机播放</li>
1959
+ # @type PlayMode: String
1960
+
1961
+ attr_accessor :PlayMode
1962
+
1963
+ def initialize(playmode=nil)
1964
+ @PlayMode = playmode
1965
+ end
1966
+
1967
+ def deserialize(params)
1968
+ @PlayMode = params['PlayMode']
1969
+ end
1970
+ end
1971
+
1941
1972
  # 设置播放列表指令参数
1942
1973
  class SetPlaylistCommandInput < TencentCloud::Common::AbstractModel
1943
1974
  # @param Type: 变更类型,取值有:
@@ -2018,6 +2049,7 @@ module TencentCloud
2018
2049
  # <li>Pause:暂停</li>
2019
2050
  # <li>SwitchPrevious:上一首</li>
2020
2051
  # <li>SwitchNext:下一首</li>
2052
+ # <li>SetPlayMode:设置播放模式</li>
2021
2053
  # <li>Seek:调整播放进度</li>
2022
2054
  # <li>SetPlaylist:歌单变更</li>
2023
2055
  # <li>SetAudioParam:音频参数变更</li>
@@ -2033,10 +2065,12 @@ module TencentCloud
2033
2065
  # @type SetAudioParamCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetAudioParamCommandInput`
2034
2066
  # @param SendMessageCommandInput: 自定义消息,当Command取SendMessage时,必填。
2035
2067
  # @type SendMessageCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SendMessageCommandInput`
2068
+ # @param SetPlayModeCommandInput: 播放模式,当Command取SetPlayMode时,必填。
2069
+ # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2036
2070
 
2037
- attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput
2071
+ attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput
2038
2072
 
2039
- def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil)
2073
+ def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil)
2040
2074
  @RobotId = robotid
2041
2075
  @Command = command
2042
2076
  @PlayCommandInput = playcommandinput
@@ -2044,6 +2078,7 @@ module TencentCloud
2044
2078
  @SeekCommandInput = seekcommandinput
2045
2079
  @SetAudioParamCommandInput = setaudioparamcommandinput
2046
2080
  @SendMessageCommandInput = sendmessagecommandinput
2081
+ @SetPlayModeCommandInput = setplaymodecommandinput
2047
2082
  end
2048
2083
 
2049
2084
  def deserialize(params)
@@ -2069,6 +2104,10 @@ module TencentCloud
2069
2104
  @SendMessageCommandInput = SendMessageCommandInput.new
2070
2105
  @SendMessageCommandInput.deserialize(params['SendMessageCommandInput'])
2071
2106
  end
2107
+ unless params['SetPlayModeCommandInput'].nil?
2108
+ @SetPlayModeCommandInput = SetPlayModeCommandInput.new
2109
+ @SetPlayModeCommandInput.deserialize(params['SetPlayModeCommandInput'])
2110
+ end
2072
2111
  end
2073
2112
  end
2074
2113
 
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.245
4
+ version: 1.0.249
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-01-19 00:00:00.000000000 Z
11
+ date: 2022-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common