tencentcloud-sdk-ame 3.0.514 → 3.0.516

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 +52 -11
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dace72aee4fe264feed9283ecb7fb206be54ac22
4
- data.tar.gz: 6084bce2585ba0763d82d03d249351847b37937c
3
+ metadata.gz: e59c8058b0a4d8bab9c9468361f52cccfe18505b
4
+ data.tar.gz: 27800f47c40c7c8cd1c5b17dcb90c6bf8c525716
5
5
  SHA512:
6
- metadata.gz: c413358150d59c48ae84785ec3818d68334c210a787418ebb24d488f6673b0b0ee4993b3ca03da032a8a8b1d7c6dff87432863051e3661cbfc57f6b86e8cf52a
7
- data.tar.gz: f442e24b3a995233772fd31c4153b3d86da23c0e764428867d7535c02f0e763cd2c6fbd02f7d9db20b9d64814c5adb0d7f5862a8c3a340393e6c6669f260476b
6
+ metadata.gz: d55974d097bbe95ea9528a6d8e2913e6dcb453a108f59c561575c0f6cbe87c0113a2767182b286013c5e6c0fdb1c6c62b0479fdd3bb4f9e7cf15b304e546c600
7
+ data.tar.gz: 9c908c05fa5f95c59e9047579732ef5deaec4d9a24603c29c3e7ea97db2eb3ad481ca62fe36025da272fe54fca4033475617c882276a1fa3716ce94d8872583b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.514
1
+ 3.0.516
@@ -1940,12 +1940,14 @@ module TencentCloud
1940
1940
  # <li>RepeatSingle:单曲循环</li>
1941
1941
  # <li>Shuffle:随机播放</li>
1942
1942
  # @type SetPlayModeInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
1943
- # @param SetVolumeInput: 音量,范围 0~100,默认为 50
1943
+ # @param SetVolumeInput: <del>音量,范围 0~100,默认为 50。</del>(已废弃,请采用 SetRealVolumeInput )
1944
1944
  # @type SetVolumeInput: :class:`Tencentcloud::Ame.v20190916.models.SetVolumeCommandInput`
1945
+ # @param SetRealVolumeInput: 真实音量,范围 0~100,默认为 50。
1946
+ # @type SetRealVolumeInput: :class:`Tencentcloud::Ame.v20190916.models.SetRealVolumeCommandInput`
1945
1947
 
1946
- attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem, :SetPlayModeInput, :SetVolumeInput
1948
+ attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem, :SetPlayModeInput, :SetVolumeInput, :SetRealVolumeInput
1947
1949
 
1948
- def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil, setvolumeinput=nil)
1950
+ def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil, setvolumeinput=nil, setrealvolumeinput=nil)
1949
1951
  @RobotId = robotid
1950
1952
  @Status = status
1951
1953
  @Playlists = playlists
@@ -1956,6 +1958,7 @@ module TencentCloud
1956
1958
  @RTCSystem = rtcsystem
1957
1959
  @SetPlayModeInput = setplaymodeinput
1958
1960
  @SetVolumeInput = setvolumeinput
1961
+ @SetRealVolumeInput = setrealvolumeinput
1959
1962
  end
1960
1963
 
1961
1964
  def deserialize(params)
@@ -1981,6 +1984,10 @@ module TencentCloud
1981
1984
  @SetVolumeInput = SetVolumeCommandInput.new
1982
1985
  @SetVolumeInput.deserialize(params['SetVolumeInput'])
1983
1986
  end
1987
+ unless params['SetRealVolumeInput'].nil?
1988
+ @SetRealVolumeInput = SetRealVolumeCommandInput.new
1989
+ @SetRealVolumeInput.deserialize(params['SetRealVolumeInput'])
1990
+ end
1984
1991
  end
1985
1992
  end
1986
1993
 
@@ -2775,6 +2782,22 @@ module TencentCloud
2775
2782
  end
2776
2783
  end
2777
2784
 
2785
+ # 设置真实音量。
2786
+ class SetRealVolumeCommandInput < TencentCloud::Common::AbstractModel
2787
+ # @param RealVolume: 真实音量大小,取值范围为 0~100,默认值为 50。
2788
+ # @type RealVolume: Integer
2789
+
2790
+ attr_accessor :RealVolume
2791
+
2792
+ def initialize(realvolume=nil)
2793
+ @RealVolume = realvolume
2794
+ end
2795
+
2796
+ def deserialize(params)
2797
+ @RealVolume = params['RealVolume']
2798
+ end
2799
+ end
2800
+
2778
2801
  # 设置音量。
2779
2802
  class SetVolumeCommandInput < TencentCloud::Common::AbstractModel
2780
2803
  # @param Volume: 音量大小,取值范围为 0~100,默认值为 50。
@@ -2869,7 +2892,8 @@ module TencentCloud
2869
2892
  # <li>SetAudioParam:音频参数变更</li>
2870
2893
  # <li>SendMessage:发送自定义消息</li>
2871
2894
  # <li>SetDestroyMode:设置销毁模式</li>
2872
- # <li>SetVolume:设置音量</li>
2895
+ # <li><del>SetVolume:设置音量</del>(已废弃,请采用 SetRealVolume)</li>
2896
+ # <li>SetRealVolume:设置真实音量</li>
2873
2897
  # @type Command: String
2874
2898
  # @param PlayCommandInput: 播放参数。
2875
2899
  # @type PlayCommandInput: :class:`Tencentcloud::Ame.v20190916.models.PlayCommandInput`
@@ -2885,12 +2909,15 @@ module TencentCloud
2885
2909
  # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2886
2910
  # @param SetDestroyModeCommandInput: 销毁模式,当Command取SetDestroyMode时,必填。
2887
2911
  # @type SetDestroyModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetDestroyModeCommandInput`
2888
- # @param SetVolumeCommandInput: 音量,当Command取SetVolume时,必填。
2912
+ # @param SetVolumeCommandInput: <del>音量,当Command取SetVolume时,必填。</del>
2913
+ # (已废弃,请采用 SetRealVolumeCommandInput )
2889
2914
  # @type SetVolumeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetVolumeCommandInput`
2915
+ # @param SetRealVolumeCommandInput: 真实音量,当Command取SetRealVolume时,必填。
2916
+ # @type SetRealVolumeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetRealVolumeCommandInput`
2890
2917
 
2891
- attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput, :SetVolumeCommandInput
2918
+ attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput, :SetVolumeCommandInput, :SetRealVolumeCommandInput
2892
2919
 
2893
- def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil, setvolumecommandinput=nil)
2920
+ def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil, setvolumecommandinput=nil, setrealvolumecommandinput=nil)
2894
2921
  @RobotId = robotid
2895
2922
  @Command = command
2896
2923
  @PlayCommandInput = playcommandinput
@@ -2901,6 +2928,7 @@ module TencentCloud
2901
2928
  @SetPlayModeCommandInput = setplaymodecommandinput
2902
2929
  @SetDestroyModeCommandInput = setdestroymodecommandinput
2903
2930
  @SetVolumeCommandInput = setvolumecommandinput
2931
+ @SetRealVolumeCommandInput = setrealvolumecommandinput
2904
2932
  end
2905
2933
 
2906
2934
  def deserialize(params)
@@ -2938,6 +2966,10 @@ module TencentCloud
2938
2966
  @SetVolumeCommandInput = SetVolumeCommandInput.new
2939
2967
  @SetVolumeCommandInput.deserialize(params['SetVolumeCommandInput'])
2940
2968
  end
2969
+ unless params['SetRealVolumeCommandInput'].nil?
2970
+ @SetRealVolumeCommandInput = SetRealVolumeCommandInput.new
2971
+ @SetRealVolumeCommandInput.deserialize(params['SetRealVolumeCommandInput'])
2972
+ end
2941
2973
  end
2942
2974
  end
2943
2975
 
@@ -2970,7 +3002,8 @@ module TencentCloud
2970
3002
  # <li>SetAudioParam:音频参数变更</li>
2971
3003
  # <li>SendMessage:发送自定义消息</li>
2972
3004
  # <li>SetDestroyMode:设置销毁模式</li>
2973
- # <li>SetVolume:设置音量</li>
3005
+ # <li><del>SetVolume:设置音量</del>(已废弃,请采用 SetRealVolume)</li>
3006
+ # <li>SetRealVolume:设置真实音量</li>
2974
3007
  # @type Command: String
2975
3008
  # @param PlayCommandInput: 播放参数。
2976
3009
  # @type PlayCommandInput: :class:`Tencentcloud::Ame.v20190916.models.PlayCommandInput`
@@ -2986,12 +3019,15 @@ module TencentCloud
2986
3019
  # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2987
3020
  # @param SetDestroyModeCommandInput: 销毁模式,当Command取SetDestroyMode时,必填。
2988
3021
  # @type SetDestroyModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetDestroyModeCommandInput`
2989
- # @param SetVolumeCommandInput: 音量,当Command取SetVolume时,必填。
3022
+ # @param SetVolumeCommandInput: <del>音量,当Command取SetVolume时,必填。</del>
3023
+ # (已废弃,请采用 SetRealVolumeCommandInput)
2990
3024
  # @type SetVolumeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetVolumeCommandInput`
3025
+ # @param SetRealVolumeCommandInput: 真实音量,当Command取SetRealVolume时,必填。
3026
+ # @type SetRealVolumeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetRealVolumeCommandInput`
2991
3027
 
2992
- attr_accessor :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput, :SetVolumeCommandInput
3028
+ attr_accessor :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput, :SetVolumeCommandInput, :SetRealVolumeCommandInput
2993
3029
 
2994
- def initialize(command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil, setvolumecommandinput=nil)
3030
+ def initialize(command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil, setvolumecommandinput=nil, setrealvolumecommandinput=nil)
2995
3031
  @Command = command
2996
3032
  @PlayCommandInput = playcommandinput
2997
3033
  @SetPlaylistCommandInput = setplaylistcommandinput
@@ -3001,6 +3037,7 @@ module TencentCloud
3001
3037
  @SetPlayModeCommandInput = setplaymodecommandinput
3002
3038
  @SetDestroyModeCommandInput = setdestroymodecommandinput
3003
3039
  @SetVolumeCommandInput = setvolumecommandinput
3040
+ @SetRealVolumeCommandInput = setrealvolumecommandinput
3004
3041
  end
3005
3042
 
3006
3043
  def deserialize(params)
@@ -3037,6 +3074,10 @@ module TencentCloud
3037
3074
  @SetVolumeCommandInput = SetVolumeCommandInput.new
3038
3075
  @SetVolumeCommandInput.deserialize(params['SetVolumeCommandInput'])
3039
3076
  end
3077
+ unless params['SetRealVolumeCommandInput'].nil?
3078
+ @SetRealVolumeCommandInput = SetRealVolumeCommandInput.new
3079
+ @SetRealVolumeCommandInput.deserialize(params['SetRealVolumeCommandInput'])
3080
+ end
3040
3081
  end
3041
3082
  end
3042
3083
 
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: 3.0.514
4
+ version: 3.0.516
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-22 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common