tencentcloud-sdk-ame 1.0.247 → 1.0.248

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: 4d34bac7aa290a8eb08094e1a6041e9921b81fc5
4
- data.tar.gz: fb66b39290175259cca106b4af00e874f7c98287
3
+ metadata.gz: ca5b61bc51fa07bcaa0bd0603cc3f4b7f8b4b45d
4
+ data.tar.gz: 0ce8a76ad407045a53e3a20773cdda92e10d9de7
5
5
  SHA512:
6
- metadata.gz: f32bd442e30f4dc43a7b2167f4c1b95a2e2fd839f4c9578979a43008bd2ac1c8e8491e4e8ba1ca1711356f7db60c6371297c67262e26ceccfcb2b53bf1ceb3ba
7
- data.tar.gz: 9e7127835bd00dfbfc5d73e64e7edce7753275b5579c19b090d0265d92a61a92b8c62146a13c5d7ce65e2b2738aa686503b2e0099741eb18512cdce50d555604
6
+ metadata.gz: a9f325efaf0d74d88dd7a2443e93eef7fe5593086badf0b86f9e1c6162afac74b133ab0ead0c9221e6ceeeb814aa396e3f27bb2669d0013f322d24e9753b1b6e
7
+ data.tar.gz: 67b5b704fa377dbc68152f6a814dafe726ec6b7f46a806bc6f71f747992d81bd92d2692db8cdd8c8c4e8b0d1450281e99f4737341a12de26bdeca20468d39f45
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.247
1
+ 1.0.248
@@ -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.247
4
+ version: 1.0.248
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-21 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common