tencentcloud-sdk-ame 1.0.246 → 1.0.250

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190916/models.rb +75 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c045755f0380409192f86e6371b9d39df5d65df
4
- data.tar.gz: 64eff6c09122264b1f0e975692451ce5694dc28b
3
+ metadata.gz: 1f3ddbc45bd36da0fe7e5d2756aaaca008ee3f2b
4
+ data.tar.gz: 786da269ae138d384c8d4076ca6600e76cc7f25b
5
5
  SHA512:
6
- metadata.gz: bca2496278fe81c8b5fa0d84d56def8593f7e4f5c05563d2f42f9b0235ad74c9efded5a868f56af89e177f550af1ee463ad66fc862a0ca41874b32bb35e7156b
7
- data.tar.gz: e85ddbaa661f47f35ca099d3f7be2a63ff28064b8d3d3d4a769ed876e05d4cc4f73d8e596b87bd5b180a30550af278242f775e57993af16a67f1e135b985fc2b
6
+ metadata.gz: 70142378a626f411a59f7bda37d93988f2a5fc581e0ee780ee35e11f41ce1593a730b726e94c1a909cadf65056ad7c9087849450395189cd5eef9782b5e5f88c
7
+ data.tar.gz: d62d87bd0a18094ca11d2cdd8648f5404d1c0910c4f7c538dc9e29ca22b33b2e581b08703149006b80ac59a6a628917d5d10dc7fbf3e874fc436ef2891a876a6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.246
1
+ 1.0.250
@@ -646,16 +646,20 @@ module TencentCloud
646
646
  # <li>Pause:暂停</li>
647
647
  # <li>Destroy:销毁</li>
648
648
  # @type Statuses: Array
649
+ # @param CreateTime: 匹配创建时间在此时间段内的机器人。
650
+ # <li>包含所指定的头尾时间点。</li>
651
+ # @type CreateTime: :class:`Tencentcloud::Ame.v20190916.models.TimeRange`
649
652
  # @param Offset: 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
650
653
  # @type Offset: Integer
651
654
  # @param Limit: 分页返回的起始偏移量,默认值:10。
652
655
  # @type Limit: Integer
653
656
 
654
- attr_accessor :RobotIds, :Statuses, :Offset, :Limit
657
+ attr_accessor :RobotIds, :Statuses, :CreateTime, :Offset, :Limit
655
658
 
656
- def initialize(robotids=nil, statuses=nil, offset=nil, limit=nil)
659
+ def initialize(robotids=nil, statuses=nil, createtime=nil, offset=nil, limit=nil)
657
660
  @RobotIds = robotids
658
661
  @Statuses = statuses
662
+ @CreateTime = createtime
659
663
  @Offset = offset
660
664
  @Limit = limit
661
665
  end
@@ -663,6 +667,10 @@ module TencentCloud
663
667
  def deserialize(params)
664
668
  @RobotIds = params['RobotIds']
665
669
  @Statuses = params['Statuses']
670
+ unless params['CreateTime'].nil?
671
+ @CreateTime = TimeRange.new
672
+ @CreateTime.deserialize(params['CreateTime'])
673
+ end
666
674
  @Offset = params['Offset']
667
675
  @Limit = params['Limit']
668
676
  end
@@ -1304,10 +1312,16 @@ module TencentCloud
1304
1312
  # @param RTCSystem: RTC厂商类型,取值有:
1305
1313
  # <li>TRTC</li>
1306
1314
  # @type RTCSystem: String
1315
+ # @param SetPlayModeInput: 播放模式,PlayMode取值有:
1316
+ # <li>RepeatPlaylist:列表循环</li>
1317
+ # <li>Order:顺序播放</li>
1318
+ # <li>RepeatSingle:单曲循环</li>
1319
+ # <li>Shuffle:随机播放</li>
1320
+ # @type SetPlayModeInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
1307
1321
 
1308
- attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem
1322
+ attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem, :SetPlayModeInput
1309
1323
 
1310
- def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil)
1324
+ def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil)
1311
1325
  @RobotId = robotid
1312
1326
  @Status = status
1313
1327
  @Playlists = playlists
@@ -1316,6 +1330,7 @@ module TencentCloud
1316
1330
  @SetAudioParamInput = setaudioparaminput
1317
1331
  @JoinRoomInput = joinroominput
1318
1332
  @RTCSystem = rtcsystem
1333
+ @SetPlayModeInput = setplaymodeinput
1319
1334
  end
1320
1335
 
1321
1336
  def deserialize(params)
@@ -1333,6 +1348,10 @@ module TencentCloud
1333
1348
  @JoinRoomInput.deserialize(params['JoinRoomInput'])
1334
1349
  end
1335
1350
  @RTCSystem = params['RTCSystem']
1351
+ unless params['SetPlayModeInput'].nil?
1352
+ @SetPlayModeInput = SetPlayModeCommandInput.new
1353
+ @SetPlayModeInput.deserialize(params['SetPlayModeInput'])
1354
+ end
1336
1355
  end
1337
1356
  end
1338
1357
 
@@ -1938,6 +1957,26 @@ module TencentCloud
1938
1957
  end
1939
1958
  end
1940
1959
 
1960
+ # 设置播放模式
1961
+ class SetPlayModeCommandInput < TencentCloud::Common::AbstractModel
1962
+ # @param PlayMode: 播放模式,取值有:
1963
+ # <li>RepeatPlaylist:列表循环</li>
1964
+ # <li>Order:顺序播放</li>
1965
+ # <li>RepeatSingle:单曲循环</li>
1966
+ # <li>Shuffle:随机播放</li>
1967
+ # @type PlayMode: String
1968
+
1969
+ attr_accessor :PlayMode
1970
+
1971
+ def initialize(playmode=nil)
1972
+ @PlayMode = playmode
1973
+ end
1974
+
1975
+ def deserialize(params)
1976
+ @PlayMode = params['PlayMode']
1977
+ end
1978
+ end
1979
+
1941
1980
  # 设置播放列表指令参数
1942
1981
  class SetPlaylistCommandInput < TencentCloud::Common::AbstractModel
1943
1982
  # @param Type: 变更类型,取值有:
@@ -2018,6 +2057,7 @@ module TencentCloud
2018
2057
  # <li>Pause:暂停</li>
2019
2058
  # <li>SwitchPrevious:上一首</li>
2020
2059
  # <li>SwitchNext:下一首</li>
2060
+ # <li>SetPlayMode:设置播放模式</li>
2021
2061
  # <li>Seek:调整播放进度</li>
2022
2062
  # <li>SetPlaylist:歌单变更</li>
2023
2063
  # <li>SetAudioParam:音频参数变更</li>
@@ -2033,10 +2073,12 @@ module TencentCloud
2033
2073
  # @type SetAudioParamCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetAudioParamCommandInput`
2034
2074
  # @param SendMessageCommandInput: 自定义消息,当Command取SendMessage时,必填。
2035
2075
  # @type SendMessageCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SendMessageCommandInput`
2076
+ # @param SetPlayModeCommandInput: 播放模式,当Command取SetPlayMode时,必填。
2077
+ # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2036
2078
 
2037
- attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput
2079
+ attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput
2038
2080
 
2039
- def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil)
2081
+ def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil)
2040
2082
  @RobotId = robotid
2041
2083
  @Command = command
2042
2084
  @PlayCommandInput = playcommandinput
@@ -2044,6 +2086,7 @@ module TencentCloud
2044
2086
  @SeekCommandInput = seekcommandinput
2045
2087
  @SetAudioParamCommandInput = setaudioparamcommandinput
2046
2088
  @SendMessageCommandInput = sendmessagecommandinput
2089
+ @SetPlayModeCommandInput = setplaymodecommandinput
2047
2090
  end
2048
2091
 
2049
2092
  def deserialize(params)
@@ -2069,6 +2112,10 @@ module TencentCloud
2069
2112
  @SendMessageCommandInput = SendMessageCommandInput.new
2070
2113
  @SendMessageCommandInput.deserialize(params['SendMessageCommandInput'])
2071
2114
  end
2115
+ unless params['SetPlayModeCommandInput'].nil?
2116
+ @SetPlayModeCommandInput = SetPlayModeCommandInput.new
2117
+ @SetPlayModeCommandInput.deserialize(params['SetPlayModeCommandInput'])
2118
+ end
2072
2119
  end
2073
2120
  end
2074
2121
 
@@ -2189,6 +2236,28 @@ module TencentCloud
2189
2236
  end
2190
2237
  end
2191
2238
 
2239
+ # 时间范围
2240
+ class TimeRange < TencentCloud::Common::AbstractModel
2241
+ # @param Before: <li>大于等于此时间(起始时间)。</li>
2242
+ # <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
2243
+ # @type Before: String
2244
+ # @param After: <li>小于此时间(结束时间)。</li>
2245
+ # <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
2246
+ # @type After: String
2247
+
2248
+ attr_accessor :Before, :After
2249
+
2250
+ def initialize(before=nil, after=nil)
2251
+ @Before = before
2252
+ @After = after
2253
+ end
2254
+
2255
+ def deserialize(params)
2256
+ @Before = params['Before']
2257
+ @After = params['After']
2258
+ end
2259
+ end
2260
+
2192
2261
  # 曲库包用途信息
2193
2262
  class UseRange < TencentCloud::Common::AbstractModel
2194
2263
  # @param UseRangeId: 用途id
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.246
4
+ version: 1.0.250
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-20 00:00:00.000000000 Z
11
+ date: 2022-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common