tencentcloud-sdk-ame 1.0.279 → 1.0.280

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 +37 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5dd2eb808ebe0fb6f477d855582cb426321c290b
4
- data.tar.gz: 5ce0d0467cdb0366e840fdda93c0800cabb58c81
3
+ metadata.gz: ecce6affc2cbe9d556dc60276810a1475bc77ba8
4
+ data.tar.gz: c69d1d1dad6cbd1a0b191a9743a85f09f17f24cd
5
5
  SHA512:
6
- metadata.gz: cef81d7daaf44c9d81ae8e6688b9cdbef3d0550c7472d0535bed70882d49ba25a034a987904027d700982342db414aab2b5dace672d2d87febe28905ddfb884e
7
- data.tar.gz: c6b2a298c24b9e0c805a2de6dfe2282e6b31a0f8e6d49d32a16521c253f38ed9de7f9c84f1c6acaf90212006e155779eba72d23a82d8f1f6a6e2bafb279e8cbe
6
+ metadata.gz: 0c5eae20f9e86db050040efa32f7d09432f5ce294cc5af58624bba25224289f6acf84fe3d6fed6b061ce55ddacbbe3705c147e2db103b873ac3201615374ed9e
7
+ data.tar.gz: 0ab9bb1c624dc70874dcab41e4bc1d28cb2569d3639c22eb778a2843a7fd678ee4aaa6386cd4cf15a490eb7c8988fbb69d6fa90cfa4b7a8d8b56dd02c56b71cc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.280
@@ -1907,9 +1907,9 @@ module TencentCloud
1907
1907
  # @type CurIndex: Integer
1908
1908
  # @param Position: 播放进度,单位:毫秒。
1909
1909
  # @type Position: Integer
1910
- # @param SetAudioParamInput: 音频参数
1910
+ # @param SetAudioParamInput: 音频参数。
1911
1911
  # @type SetAudioParamInput: :class:`Tencentcloud::Ame.v20190916.models.SetAudioParamCommandInput`
1912
- # @param JoinRoomInput: 进房信息
1912
+ # @param JoinRoomInput: 进房信息。
1913
1913
  # @type JoinRoomInput: :class:`Tencentcloud::Ame.v20190916.models.JoinRoomInput`
1914
1914
  # @param RTCSystem: RTC厂商类型,取值有:
1915
1915
  # <li>TRTC</li>
@@ -1920,10 +1920,12 @@ module TencentCloud
1920
1920
  # <li>RepeatSingle:单曲循环</li>
1921
1921
  # <li>Shuffle:随机播放</li>
1922
1922
  # @type SetPlayModeInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
1923
+ # @param SetVolumeInput: 音量,范围 0~100,默认为 50。
1924
+ # @type SetVolumeInput: :class:`Tencentcloud::Ame.v20190916.models.SetVolumeCommandInput`
1923
1925
 
1924
- attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem, :SetPlayModeInput
1926
+ attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem, :SetPlayModeInput, :SetVolumeInput
1925
1927
 
1926
- def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil)
1928
+ def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil, setvolumeinput=nil)
1927
1929
  @RobotId = robotid
1928
1930
  @Status = status
1929
1931
  @Playlists = playlists
@@ -1933,6 +1935,7 @@ module TencentCloud
1933
1935
  @JoinRoomInput = joinroominput
1934
1936
  @RTCSystem = rtcsystem
1935
1937
  @SetPlayModeInput = setplaymodeinput
1938
+ @SetVolumeInput = setvolumeinput
1936
1939
  end
1937
1940
 
1938
1941
  def deserialize(params)
@@ -1954,6 +1957,10 @@ module TencentCloud
1954
1957
  @SetPlayModeInput = SetPlayModeCommandInput.new
1955
1958
  @SetPlayModeInput.deserialize(params['SetPlayModeInput'])
1956
1959
  end
1960
+ unless params['SetVolumeInput'].nil?
1961
+ @SetVolumeInput = SetVolumeCommandInput.new
1962
+ @SetVolumeInput.deserialize(params['SetVolumeInput'])
1963
+ end
1957
1964
  end
1958
1965
  end
1959
1966
 
@@ -2743,6 +2750,22 @@ module TencentCloud
2743
2750
  end
2744
2751
  end
2745
2752
 
2753
+ # 设置音量。
2754
+ class SetVolumeCommandInput < TencentCloud::Common::AbstractModel
2755
+ # @param Volume: 音量大小,取值范围为 0~100,默认值为 50。
2756
+ # @type Volume: Integer
2757
+
2758
+ attr_accessor :Volume
2759
+
2760
+ def initialize(volume=nil)
2761
+ @Volume = volume
2762
+ end
2763
+
2764
+ def deserialize(params)
2765
+ @Volume = params['Volume']
2766
+ end
2767
+ end
2768
+
2746
2769
  # 排序依据
2747
2770
  class SortBy < TencentCloud::Common::AbstractModel
2748
2771
  # @param Field: 排序字段
@@ -2821,6 +2844,7 @@ module TencentCloud
2821
2844
  # <li>SetAudioParam:音频参数变更</li>
2822
2845
  # <li>SendMessage:发送自定义消息</li>
2823
2846
  # <li>SetDestroyMode:设置销毁模式</li>
2847
+ # <li>SetVolume:设置音量</li>
2824
2848
  # @type Command: String
2825
2849
  # @param PlayCommandInput: 播放参数。
2826
2850
  # @type PlayCommandInput: :class:`Tencentcloud::Ame.v20190916.models.PlayCommandInput`
@@ -2836,10 +2860,12 @@ module TencentCloud
2836
2860
  # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2837
2861
  # @param SetDestroyModeCommandInput: 销毁模式,当Command取SetDestroyMode时,必填。
2838
2862
  # @type SetDestroyModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetDestroyModeCommandInput`
2863
+ # @param SetVolumeCommandInput: 音量,当Command取SetVolume时,必填。
2864
+ # @type SetVolumeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetVolumeCommandInput`
2839
2865
 
2840
- attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput
2866
+ attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput, :SetDestroyModeCommandInput, :SetVolumeCommandInput
2841
2867
 
2842
- def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil)
2868
+ def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil, setvolumecommandinput=nil)
2843
2869
  @RobotId = robotid
2844
2870
  @Command = command
2845
2871
  @PlayCommandInput = playcommandinput
@@ -2849,6 +2875,7 @@ module TencentCloud
2849
2875
  @SendMessageCommandInput = sendmessagecommandinput
2850
2876
  @SetPlayModeCommandInput = setplaymodecommandinput
2851
2877
  @SetDestroyModeCommandInput = setdestroymodecommandinput
2878
+ @SetVolumeCommandInput = setvolumecommandinput
2852
2879
  end
2853
2880
 
2854
2881
  def deserialize(params)
@@ -2882,6 +2909,10 @@ module TencentCloud
2882
2909
  @SetDestroyModeCommandInput = SetDestroyModeCommandInput.new
2883
2910
  @SetDestroyModeCommandInput.deserialize(params['SetDestroyModeCommandInput'])
2884
2911
  end
2912
+ unless params['SetVolumeCommandInput'].nil?
2913
+ @SetVolumeCommandInput = SetVolumeCommandInput.new
2914
+ @SetVolumeCommandInput.deserialize(params['SetVolumeCommandInput'])
2915
+ end
2885
2916
  end
2886
2917
  end
2887
2918
 
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.279
4
+ version: 1.0.280
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-03-18 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common