tencentcloud-sdk-ame 1.0.295 → 1.0.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190916/models.rb +96 -2
- 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: f7c359cd9923667e9584cb893dbfa678b673ec8f
|
4
|
+
data.tar.gz: b9e1f9c2d1d418d4ab9e80638e3fcc1a2130e929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57cf75be088e80d92e48b51faadb4c34cea7dd82710ee7dd5e5edd83ce9f133b7b7565bef25cff9adfda2b2ca31ac61d06abc6726e28cc7b57fb6cf2bfae846f
|
7
|
+
data.tar.gz: 979c26db4c1f60b5f47e5b77e69df62619d8373b526e5c687013ebe5f6dbfd481e02c187ec35028e3681982b2bf656e720c2252f0c3460b7b8653b07ee5ef7cf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.298
|
data/lib/v20190916/models.rb
CHANGED
@@ -211,13 +211,16 @@ module TencentCloud
|
|
211
211
|
# @type JoinRoomInput: :class:`Tencentcloud::Ame.v20190916.models.JoinRoomInput`
|
212
212
|
# @param ApplicationLicenseInput: license基础信息
|
213
213
|
# @type ApplicationLicenseInput: :class:`Tencentcloud::Ame.v20190916.models.ApplicationLicenseInput`
|
214
|
+
# @param SyncRobotCommands: 创建机器人时初始化参数。
|
215
|
+
# @type SyncRobotCommands: Array
|
214
216
|
|
215
|
-
attr_accessor :RTCSystem, :JoinRoomInput, :ApplicationLicenseInput
|
217
|
+
attr_accessor :RTCSystem, :JoinRoomInput, :ApplicationLicenseInput, :SyncRobotCommands
|
216
218
|
|
217
|
-
def initialize(rtcsystem=nil, joinroominput=nil, applicationlicenseinput=nil)
|
219
|
+
def initialize(rtcsystem=nil, joinroominput=nil, applicationlicenseinput=nil, syncrobotcommands=nil)
|
218
220
|
@RTCSystem = rtcsystem
|
219
221
|
@JoinRoomInput = joinroominput
|
220
222
|
@ApplicationLicenseInput = applicationlicenseinput
|
223
|
+
@SyncRobotCommands = syncrobotcommands
|
221
224
|
end
|
222
225
|
|
223
226
|
def deserialize(params)
|
@@ -230,6 +233,14 @@ module TencentCloud
|
|
230
233
|
@ApplicationLicenseInput = ApplicationLicenseInput.new
|
231
234
|
@ApplicationLicenseInput.deserialize(params['ApplicationLicenseInput'])
|
232
235
|
end
|
236
|
+
unless params['SyncRobotCommands'].nil?
|
237
|
+
@SyncRobotCommands = []
|
238
|
+
params['SyncRobotCommands'].each do |i|
|
239
|
+
syncrobotcommand_tmp = SyncRobotCommand.new
|
240
|
+
syncrobotcommand_tmp.deserialize(i)
|
241
|
+
@SyncRobotCommands << syncrobotcommand_tmp
|
242
|
+
end
|
243
|
+
end
|
233
244
|
end
|
234
245
|
end
|
235
246
|
|
@@ -2941,6 +2952,89 @@ module TencentCloud
|
|
2941
2952
|
end
|
2942
2953
|
end
|
2943
2954
|
|
2955
|
+
# KTV 机器人初始化参数,在创建后自动完成相关初始化工作。
|
2956
|
+
class SyncRobotCommand < TencentCloud::Common::AbstractModel
|
2957
|
+
# @param Command: 可同时传入多个指令,顺序执行。取值有:
|
2958
|
+
# <li>Play:播放</li>
|
2959
|
+
# <li>Pause:暂停</li>
|
2960
|
+
# <li>SwitchPrevious:上一首</li>
|
2961
|
+
# <li>SwitchNext:下一首</li>
|
2962
|
+
# <li>SetPlayMode:设置播放模式</li>
|
2963
|
+
# <li>Seek:调整播放进度</li>
|
2964
|
+
# <li>SetPlaylist:歌单变更</li>
|
2965
|
+
# <li>SetAudioParam:音频参数变更</li>
|
2966
|
+
# <li>SendMessage:发送自定义消息</li>
|
2967
|
+
# <li>SetDestroyMode:设置销毁模式</li>
|
2968
|
+
# <li>SetVolume:设置音量</li>
|
2969
|
+
# @type Command: String
|
2970
|
+
# @param PlayCommandInput: 播放参数。
|
2971
|
+
# @type PlayCommandInput: :class:`Tencentcloud::Ame.v20190916.models.PlayCommandInput`
|
2972
|
+
# @param SetPlaylistCommandInput: 播放列表变更信息,当Command取SetPlaylist时,必填。
|
2973
|
+
# @type SetPlaylistCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlaylistCommandInput`
|
2974
|
+
# @param SeekCommandInput: 播放进度,当Command取Seek时,必填。
|
2975
|
+
# @type SeekCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SeekCommandInput`
|
2976
|
+
# @param SetAudioParamCommandInput: 音频参数,当Command取SetAudioParam时,必填。
|
2977
|
+
# @type SetAudioParamCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetAudioParamCommandInput`
|
2978
|
+
# @param SendMessageCommandInput: 自定义消息,当Command取SendMessage时,必填。
|
2979
|
+
# @type SendMessageCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SendMessageCommandInput`
|
2980
|
+
# @param SetPlayModeCommandInput: 播放模式,当Command取SetPlayMode时,必填。
|
2981
|
+
# @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
|
2982
|
+
# @param SetDestroyModeCommandInput: 销毁模式,当Command取SetDestroyMode时,必填。
|
2983
|
+
# @type SetDestroyModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetDestroyModeCommandInput`
|
2984
|
+
# @param SetVolumeCommandInput: 音量,当Command取SetVolume时,必填。
|
2985
|
+
# @type SetVolumeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetVolumeCommandInput`
|
2986
|
+
|
2987
|
+
attr_accessor :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput, :SetVolumeCommandInput
|
2988
|
+
|
2989
|
+
def initialize(command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil, setvolumecommandinput=nil)
|
2990
|
+
@Command = command
|
2991
|
+
@PlayCommandInput = playcommandinput
|
2992
|
+
@SetPlaylistCommandInput = setplaylistcommandinput
|
2993
|
+
@SeekCommandInput = seekcommandinput
|
2994
|
+
@SetAudioParamCommandInput = setaudioparamcommandinput
|
2995
|
+
@SendMessageCommandInput = sendmessagecommandinput
|
2996
|
+
@SetPlayModeCommandInput = setplaymodecommandinput
|
2997
|
+
@SetDestroyModeCommandInput = setdestroymodecommandinput
|
2998
|
+
@SetVolumeCommandInput = setvolumecommandinput
|
2999
|
+
end
|
3000
|
+
|
3001
|
+
def deserialize(params)
|
3002
|
+
@Command = params['Command']
|
3003
|
+
unless params['PlayCommandInput'].nil?
|
3004
|
+
@PlayCommandInput = PlayCommandInput.new
|
3005
|
+
@PlayCommandInput.deserialize(params['PlayCommandInput'])
|
3006
|
+
end
|
3007
|
+
unless params['SetPlaylistCommandInput'].nil?
|
3008
|
+
@SetPlaylistCommandInput = SetPlaylistCommandInput.new
|
3009
|
+
@SetPlaylistCommandInput.deserialize(params['SetPlaylistCommandInput'])
|
3010
|
+
end
|
3011
|
+
unless params['SeekCommandInput'].nil?
|
3012
|
+
@SeekCommandInput = SeekCommandInput.new
|
3013
|
+
@SeekCommandInput.deserialize(params['SeekCommandInput'])
|
3014
|
+
end
|
3015
|
+
unless params['SetAudioParamCommandInput'].nil?
|
3016
|
+
@SetAudioParamCommandInput = SetAudioParamCommandInput.new
|
3017
|
+
@SetAudioParamCommandInput.deserialize(params['SetAudioParamCommandInput'])
|
3018
|
+
end
|
3019
|
+
unless params['SendMessageCommandInput'].nil?
|
3020
|
+
@SendMessageCommandInput = SendMessageCommandInput.new
|
3021
|
+
@SendMessageCommandInput.deserialize(params['SendMessageCommandInput'])
|
3022
|
+
end
|
3023
|
+
unless params['SetPlayModeCommandInput'].nil?
|
3024
|
+
@SetPlayModeCommandInput = SetPlayModeCommandInput.new
|
3025
|
+
@SetPlayModeCommandInput.deserialize(params['SetPlayModeCommandInput'])
|
3026
|
+
end
|
3027
|
+
unless params['SetDestroyModeCommandInput'].nil?
|
3028
|
+
@SetDestroyModeCommandInput = SetDestroyModeCommandInput.new
|
3029
|
+
@SetDestroyModeCommandInput.deserialize(params['SetDestroyModeCommandInput'])
|
3030
|
+
end
|
3031
|
+
unless params['SetVolumeCommandInput'].nil?
|
3032
|
+
@SetVolumeCommandInput = SetVolumeCommandInput.new
|
3033
|
+
@SetVolumeCommandInput.deserialize(params['SetVolumeCommandInput'])
|
3034
|
+
end
|
3035
|
+
end
|
3036
|
+
end
|
3037
|
+
|
2944
3038
|
# TRTC推流进房信息
|
2945
3039
|
class TRTCJoinRoomInput < TencentCloud::Common::AbstractModel
|
2946
3040
|
# @param Sign: 签名。
|
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.298
|
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-04-
|
11
|
+
date: 2022-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|