tencentcloud-sdk-ame 1.0.247 → 1.0.251

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d34bac7aa290a8eb08094e1a6041e9921b81fc5
4
- data.tar.gz: fb66b39290175259cca106b4af00e874f7c98287
3
+ metadata.gz: fb30a6347a156fda5661b4ec9f918e12261ef773
4
+ data.tar.gz: b0fa5e235e4635cd83d663a1b60801383ba5fb31
5
5
  SHA512:
6
- metadata.gz: f32bd442e30f4dc43a7b2167f4c1b95a2e2fd839f4c9578979a43008bd2ac1c8e8491e4e8ba1ca1711356f7db60c6371297c67262e26ceccfcb2b53bf1ceb3ba
7
- data.tar.gz: 9e7127835bd00dfbfc5d73e64e7edce7753275b5579c19b090d0265d92a61a92b8c62146a13c5d7ce65e2b2738aa686503b2e0099741eb18512cdce50d555604
6
+ metadata.gz: eba27460d644ef9de7a4187294a1fa53ca2c03997bbab7ccf67976e0ae67988d83dec41abab38790eb4f1328f0af245b357d72f07821649057536a1291febdb6
7
+ data.tar.gz: 22b91bfec973216b7017604f40253e58e53cf3c4929e62c5915cdaabf79c355d92bdf309d17deed5acd25d156fbb8ec59f5fccf338561721efe8740ce3887717
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.247
1
+ 1.0.251
@@ -269,6 +269,80 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 获取直播互动曲库歌手分类信息
273
+
274
+ # @param request: Request instance for DescribeKTVSingerCategories.
275
+ # @type request: :class:`Tencentcloud::ame::V20190916::DescribeKTVSingerCategoriesRequest`
276
+ # @rtype: :class:`Tencentcloud::ame::V20190916::DescribeKTVSingerCategoriesResponse`
277
+ def DescribeKTVSingerCategories(request)
278
+ body = send_request('DescribeKTVSingerCategories', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeKTVSingerCategoriesResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
296
+ # 根据歌手id,返回该歌手下歌曲列表。
297
+
298
+
299
+
300
+ # @param request: Request instance for DescribeKTVSingerMusics.
301
+ # @type request: :class:`Tencentcloud::ame::V20190916::DescribeKTVSingerMusicsRequest`
302
+ # @rtype: :class:`Tencentcloud::ame::V20190916::DescribeKTVSingerMusicsResponse`
303
+ def DescribeKTVSingerMusics(request)
304
+ body = send_request('DescribeKTVSingerMusics', request.serialize)
305
+ response = JSON.parse(body)
306
+ if response['Response'].key?('Error') == false
307
+ model = DescribeKTVSingerMusicsResponse.new
308
+ model.deserialize(response['Response'])
309
+ model
310
+ else
311
+ code = response['Response']['Error']['Code']
312
+ message = response['Response']['Error']['Message']
313
+ reqid = response['Response']['RequestId']
314
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
315
+ end
316
+ rescue TencentCloud::Common::TencentCloudSDKException => e
317
+ raise e
318
+ rescue StandardError => e
319
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
320
+ end
321
+
322
+ # 根据过滤条件,返回匹配的歌手列表。
323
+
324
+ # @param request: Request instance for DescribeKTVSingers.
325
+ # @type request: :class:`Tencentcloud::ame::V20190916::DescribeKTVSingersRequest`
326
+ # @rtype: :class:`Tencentcloud::ame::V20190916::DescribeKTVSingersResponse`
327
+ def DescribeKTVSingers(request)
328
+ body = send_request('DescribeKTVSingers', request.serialize)
329
+ response = JSON.parse(body)
330
+ if response['Response'].key?('Error') == false
331
+ model = DescribeKTVSingersResponse.new
332
+ model.deserialize(response['Response'])
333
+ model
334
+ else
335
+ code = response['Response']['Error']['Code']
336
+ message = response['Response']['Error']['Message']
337
+ reqid = response['Response']['RequestId']
338
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
339
+ end
340
+ rescue TencentCloud::Common::TencentCloudSDKException => e
341
+ raise e
342
+ rescue StandardError => e
343
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
344
+ end
345
+
272
346
  # 根据接口的模式及歌曲ID来取得歌词信息或者波形图信息。
273
347
 
274
348
  # @param request: Request instance for DescribeLyric.
@@ -107,6 +107,26 @@ module TencentCloud
107
107
  end
108
108
  end
109
109
 
110
+ # 副歌片段信息
111
+ class ChorusClip < TencentCloud::Common::AbstractModel
112
+ # @param StartTime: 副歌时间,单位:毫秒
113
+ # @type StartTime: Integer
114
+ # @param EndTime: 副歌结束时间,单位:毫秒
115
+ # @type EndTime: Integer
116
+
117
+ attr_accessor :StartTime, :EndTime
118
+
119
+ def initialize(starttime=nil, endtime=nil)
120
+ @StartTime = starttime
121
+ @EndTime = endtime
122
+ end
123
+
124
+ def deserialize(params)
125
+ @StartTime = params['StartTime']
126
+ @EndTime = params['EndTime']
127
+ end
128
+ end
129
+
110
130
  # CreateKTVRobot请求参数结构体
111
131
  class CreateKTVRobotRequest < TencentCloud::Common::AbstractModel
112
132
  # @param RTCSystem: RTC厂商类型,取值有:
@@ -496,16 +516,22 @@ module TencentCloud
496
516
  # @type LyricsUrl: String
497
517
  # @param DefinitionInfoSet: 歌曲规格信息列表
498
518
  # @type DefinitionInfoSet: Array
519
+ # @param MidiJsonUrl: 音高数据文件下载地址
520
+ # @type MidiJsonUrl: String
521
+ # @param ChorusClipSet: 副歌片段数据列表
522
+ # @type ChorusClipSet: Array
499
523
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
500
524
  # @type RequestId: String
501
525
 
502
- attr_accessor :KTVMusicBaseInfo, :PlayToken, :LyricsUrl, :DefinitionInfoSet, :RequestId
526
+ attr_accessor :KTVMusicBaseInfo, :PlayToken, :LyricsUrl, :DefinitionInfoSet, :MidiJsonUrl, :ChorusClipSet, :RequestId
503
527
 
504
- def initialize(ktvmusicbaseinfo=nil, playtoken=nil, lyricsurl=nil, definitioninfoset=nil, requestid=nil)
528
+ def initialize(ktvmusicbaseinfo=nil, playtoken=nil, lyricsurl=nil, definitioninfoset=nil, midijsonurl=nil, chorusclipset=nil, requestid=nil)
505
529
  @KTVMusicBaseInfo = ktvmusicbaseinfo
506
530
  @PlayToken = playtoken
507
531
  @LyricsUrl = lyricsurl
508
532
  @DefinitionInfoSet = definitioninfoset
533
+ @MidiJsonUrl = midijsonurl
534
+ @ChorusClipSet = chorusclipset
509
535
  @RequestId = requestid
510
536
  end
511
537
 
@@ -524,6 +550,15 @@ module TencentCloud
524
550
  @DefinitionInfoSet << ktvmusicdefinitioninfo_tmp
525
551
  end
526
552
  end
553
+ @MidiJsonUrl = params['MidiJsonUrl']
554
+ unless params['ChorusClipSet'].nil?
555
+ @ChorusClipSet = []
556
+ params['ChorusClipSet'].each do |i|
557
+ chorusclip_tmp = ChorusClip.new
558
+ chorusclip_tmp.deserialize(i)
559
+ @ChorusClipSet << chorusclip_tmp
560
+ end
561
+ end
527
562
  @RequestId = params['RequestId']
528
563
  end
529
564
  end
@@ -646,16 +681,20 @@ module TencentCloud
646
681
  # <li>Pause:暂停</li>
647
682
  # <li>Destroy:销毁</li>
648
683
  # @type Statuses: Array
684
+ # @param CreateTime: 匹配创建时间在此时间段内的机器人。
685
+ # <li>包含所指定的头尾时间点。</li>
686
+ # @type CreateTime: :class:`Tencentcloud::Ame.v20190916.models.TimeRange`
649
687
  # @param Offset: 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
650
688
  # @type Offset: Integer
651
689
  # @param Limit: 分页返回的起始偏移量,默认值:10。
652
690
  # @type Limit: Integer
653
691
 
654
- attr_accessor :RobotIds, :Statuses, :Offset, :Limit
692
+ attr_accessor :RobotIds, :Statuses, :CreateTime, :Offset, :Limit
655
693
 
656
- def initialize(robotids=nil, statuses=nil, offset=nil, limit=nil)
694
+ def initialize(robotids=nil, statuses=nil, createtime=nil, offset=nil, limit=nil)
657
695
  @RobotIds = robotids
658
696
  @Statuses = statuses
697
+ @CreateTime = createtime
659
698
  @Offset = offset
660
699
  @Limit = limit
661
700
  end
@@ -663,6 +702,10 @@ module TencentCloud
663
702
  def deserialize(params)
664
703
  @RobotIds = params['RobotIds']
665
704
  @Statuses = params['Statuses']
705
+ unless params['CreateTime'].nil?
706
+ @CreateTime = TimeRange.new
707
+ @CreateTime.deserialize(params['CreateTime'])
708
+ end
666
709
  @Offset = params['Offset']
667
710
  @Limit = params['Limit']
668
711
  end
@@ -699,6 +742,186 @@ module TencentCloud
699
742
  end
700
743
  end
701
744
 
745
+ # DescribeKTVSingerCategories请求参数结构体
746
+ class DescribeKTVSingerCategoriesRequest < TencentCloud::Common::AbstractModel
747
+
748
+
749
+ def initialize()
750
+ end
751
+
752
+ def deserialize(params)
753
+ end
754
+ end
755
+
756
+ # DescribeKTVSingerCategories返回参数结构体
757
+ class DescribeKTVSingerCategoriesResponse < TencentCloud::Common::AbstractModel
758
+ # @param GenderSet: 歌手性别分类列表
759
+ # @type GenderSet: Array
760
+ # @param AreaSet: 歌手区域分类列表
761
+ # @type AreaSet: Array
762
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
763
+ # @type RequestId: String
764
+
765
+ attr_accessor :GenderSet, :AreaSet, :RequestId
766
+
767
+ def initialize(genderset=nil, areaset=nil, requestid=nil)
768
+ @GenderSet = genderset
769
+ @AreaSet = areaset
770
+ @RequestId = requestid
771
+ end
772
+
773
+ def deserialize(params)
774
+ unless params['GenderSet'].nil?
775
+ @GenderSet = []
776
+ params['GenderSet'].each do |i|
777
+ ktvsingercategoryinfo_tmp = KTVSingerCategoryInfo.new
778
+ ktvsingercategoryinfo_tmp.deserialize(i)
779
+ @GenderSet << ktvsingercategoryinfo_tmp
780
+ end
781
+ end
782
+ unless params['AreaSet'].nil?
783
+ @AreaSet = []
784
+ params['AreaSet'].each do |i|
785
+ ktvsingercategoryinfo_tmp = KTVSingerCategoryInfo.new
786
+ ktvsingercategoryinfo_tmp.deserialize(i)
787
+ @AreaSet << ktvsingercategoryinfo_tmp
788
+ end
789
+ end
790
+ @RequestId = params['RequestId']
791
+ end
792
+ end
793
+
794
+ # DescribeKTVSingerMusics请求参数结构体
795
+ class DescribeKTVSingerMusicsRequest < TencentCloud::Common::AbstractModel
796
+ # @param SingerId: 歌手id
797
+ # @type SingerId: String
798
+ # @param Offset: 分页偏移量,默认值:0。
799
+ # @type Offset: Integer
800
+ # @param Limit: 分页返回的记录条数,默认值:50。将返回第 Offset 到第 Offset+Limit-1 条。
801
+ # @type Limit: Integer
802
+
803
+ attr_accessor :SingerId, :Offset, :Limit
804
+
805
+ def initialize(singerid=nil, offset=nil, limit=nil)
806
+ @SingerId = singerid
807
+ @Offset = offset
808
+ @Limit = limit
809
+ end
810
+
811
+ def deserialize(params)
812
+ @SingerId = params['SingerId']
813
+ @Offset = params['Offset']
814
+ @Limit = params['Limit']
815
+ end
816
+ end
817
+
818
+ # DescribeKTVSingerMusics返回参数结构体
819
+ class DescribeKTVSingerMusicsResponse < TencentCloud::Common::AbstractModel
820
+ # @param TotalCount: 总曲目数
821
+ # @type TotalCount: Integer
822
+ # @param KTVMusicInfoSet: KTV 曲目列表
823
+ # @type KTVMusicInfoSet: Array
824
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
825
+ # @type RequestId: String
826
+
827
+ attr_accessor :TotalCount, :KTVMusicInfoSet, :RequestId
828
+
829
+ def initialize(totalcount=nil, ktvmusicinfoset=nil, requestid=nil)
830
+ @TotalCount = totalcount
831
+ @KTVMusicInfoSet = ktvmusicinfoset
832
+ @RequestId = requestid
833
+ end
834
+
835
+ def deserialize(params)
836
+ @TotalCount = params['TotalCount']
837
+ unless params['KTVMusicInfoSet'].nil?
838
+ @KTVMusicInfoSet = []
839
+ params['KTVMusicInfoSet'].each do |i|
840
+ ktvmusicbaseinfo_tmp = KTVMusicBaseInfo.new
841
+ ktvmusicbaseinfo_tmp.deserialize(i)
842
+ @KTVMusicInfoSet << ktvmusicbaseinfo_tmp
843
+ end
844
+ end
845
+ @RequestId = params['RequestId']
846
+ end
847
+ end
848
+
849
+ # DescribeKTVSingers请求参数结构体
850
+ class DescribeKTVSingersRequest < TencentCloud::Common::AbstractModel
851
+ # @param SingerIds: 歌手id集合,精确匹配歌手id
852
+ # <li> 数组长度限制10</li>
853
+ # @type SingerIds: Array
854
+ # @param Genders: 歌手性别集合,不传为全部,精确匹配歌手性别类型,
855
+ # <li>数组长度限制1</li>
856
+ # <li>取值范围:直播互动曲库歌手分类信息接口,返回性别分类信息列表中,分类英文名</li>
857
+ # @type Genders: Array
858
+ # @param Areas: 歌手区域集合,不传为全部,精确匹配歌手区域
859
+ # <li>数组长度限制10</li>
860
+ # <li>取值范围:直播互动曲库歌手分类信息接口,返回的区域分类信息列表中,分类英文名</li>
861
+ # @type Areas: Array
862
+ # @param Sort: 排序方式。默认按照播放数倒序
863
+ # <li> Sort.Field 可选 PlayCount。</li>
864
+ # @type Sort: :class:`Tencentcloud::Ame.v20190916.models.SortBy`
865
+ # @param Offset: 分页偏移量,默认值:0。
866
+ # @type Offset: Integer
867
+ # @param Limit: 分页返回的记录条数,默认值:50。将返回第 Offset 到第 Offset+Limit-1 条。
868
+ # @type Limit: Integer
869
+
870
+ attr_accessor :SingerIds, :Genders, :Areas, :Sort, :Offset, :Limit
871
+
872
+ def initialize(singerids=nil, genders=nil, areas=nil, sort=nil, offset=nil, limit=nil)
873
+ @SingerIds = singerids
874
+ @Genders = genders
875
+ @Areas = areas
876
+ @Sort = sort
877
+ @Offset = offset
878
+ @Limit = limit
879
+ end
880
+
881
+ def deserialize(params)
882
+ @SingerIds = params['SingerIds']
883
+ @Genders = params['Genders']
884
+ @Areas = params['Areas']
885
+ unless params['Sort'].nil?
886
+ @Sort = SortBy.new
887
+ @Sort.deserialize(params['Sort'])
888
+ end
889
+ @Offset = params['Offset']
890
+ @Limit = params['Limit']
891
+ end
892
+ end
893
+
894
+ # DescribeKTVSingers返回参数结构体
895
+ class DescribeKTVSingersResponse < TencentCloud::Common::AbstractModel
896
+ # @param TotalCount: 总歌手数
897
+ # @type TotalCount: Integer
898
+ # @param KTVSingerInfoSet: KTV歌手列表
899
+ # @type KTVSingerInfoSet: Array
900
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
901
+ # @type RequestId: String
902
+
903
+ attr_accessor :TotalCount, :KTVSingerInfoSet, :RequestId
904
+
905
+ def initialize(totalcount=nil, ktvsingerinfoset=nil, requestid=nil)
906
+ @TotalCount = totalcount
907
+ @KTVSingerInfoSet = ktvsingerinfoset
908
+ @RequestId = requestid
909
+ end
910
+
911
+ def deserialize(params)
912
+ @TotalCount = params['TotalCount']
913
+ unless params['KTVSingerInfoSet'].nil?
914
+ @KTVSingerInfoSet = []
915
+ params['KTVSingerInfoSet'].each do |i|
916
+ ktvsingerinfo_tmp = KTVSingerInfo.new
917
+ ktvsingerinfo_tmp.deserialize(i)
918
+ @KTVSingerInfoSet << ktvsingerinfo_tmp
919
+ end
920
+ end
921
+ @RequestId = params['RequestId']
922
+ end
923
+ end
924
+
702
925
  # DescribeLyric请求参数结构体
703
926
  class DescribeLyricRequest < TencentCloud::Common::AbstractModel
704
927
  # @param ItemId: 歌曲ID
@@ -1193,7 +1416,9 @@ module TencentCloud
1193
1416
  # @type MusicId: String
1194
1417
  # @param Name: 歌曲名称
1195
1418
  # @type Name: String
1196
- # @param SingerSet: 演唱者列表
1419
+ # @param SingerInfoSet: 演唱者基础信息列表
1420
+ # @type SingerInfoSet: Array
1421
+ # @param SingerSet: 已弃用,请使用SingerInfoSet
1197
1422
  # @type SingerSet: Array
1198
1423
  # @param LyricistSet: 作词者列表
1199
1424
  # @type LyricistSet: Array
@@ -1204,11 +1429,12 @@ module TencentCloud
1204
1429
  # @param Duration: 歌曲时长
1205
1430
  # @type Duration: Integer
1206
1431
 
1207
- attr_accessor :MusicId, :Name, :SingerSet, :LyricistSet, :ComposerSet, :TagSet, :Duration
1432
+ attr_accessor :MusicId, :Name, :SingerInfoSet, :SingerSet, :LyricistSet, :ComposerSet, :TagSet, :Duration
1208
1433
 
1209
- def initialize(musicid=nil, name=nil, singerset=nil, lyricistset=nil, composerset=nil, tagset=nil, duration=nil)
1434
+ def initialize(musicid=nil, name=nil, singerinfoset=nil, singerset=nil, lyricistset=nil, composerset=nil, tagset=nil, duration=nil)
1210
1435
  @MusicId = musicid
1211
1436
  @Name = name
1437
+ @SingerInfoSet = singerinfoset
1212
1438
  @SingerSet = singerset
1213
1439
  @LyricistSet = lyricistset
1214
1440
  @ComposerSet = composerset
@@ -1219,6 +1445,14 @@ module TencentCloud
1219
1445
  def deserialize(params)
1220
1446
  @MusicId = params['MusicId']
1221
1447
  @Name = params['Name']
1448
+ unless params['SingerInfoSet'].nil?
1449
+ @SingerInfoSet = []
1450
+ params['SingerInfoSet'].each do |i|
1451
+ ktvsingerbaseinfo_tmp = KTVSingerBaseInfo.new
1452
+ ktvsingerbaseinfo_tmp.deserialize(i)
1453
+ @SingerInfoSet << ktvsingerbaseinfo_tmp
1454
+ end
1455
+ end
1222
1456
  @SingerSet = params['SingerSet']
1223
1457
  @LyricistSet = params['LyricistSet']
1224
1458
  @ComposerSet = params['ComposerSet']
@@ -1304,10 +1538,16 @@ module TencentCloud
1304
1538
  # @param RTCSystem: RTC厂商类型,取值有:
1305
1539
  # <li>TRTC</li>
1306
1540
  # @type RTCSystem: String
1541
+ # @param SetPlayModeInput: 播放模式,PlayMode取值有:
1542
+ # <li>RepeatPlaylist:列表循环</li>
1543
+ # <li>Order:顺序播放</li>
1544
+ # <li>RepeatSingle:单曲循环</li>
1545
+ # <li>Shuffle:随机播放</li>
1546
+ # @type SetPlayModeInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
1307
1547
 
1308
- attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem
1548
+ attr_accessor :RobotId, :Status, :Playlists, :CurIndex, :Position, :SetAudioParamInput, :JoinRoomInput, :RTCSystem, :SetPlayModeInput
1309
1549
 
1310
- def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil)
1550
+ def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil)
1311
1551
  @RobotId = robotid
1312
1552
  @Status = status
1313
1553
  @Playlists = playlists
@@ -1316,6 +1556,7 @@ module TencentCloud
1316
1556
  @SetAudioParamInput = setaudioparaminput
1317
1557
  @JoinRoomInput = joinroominput
1318
1558
  @RTCSystem = rtcsystem
1559
+ @SetPlayModeInput = setplaymodeinput
1319
1560
  end
1320
1561
 
1321
1562
  def deserialize(params)
@@ -1333,6 +1574,86 @@ module TencentCloud
1333
1574
  @JoinRoomInput.deserialize(params['JoinRoomInput'])
1334
1575
  end
1335
1576
  @RTCSystem = params['RTCSystem']
1577
+ unless params['SetPlayModeInput'].nil?
1578
+ @SetPlayModeInput = SetPlayModeCommandInput.new
1579
+ @SetPlayModeInput.deserialize(params['SetPlayModeInput'])
1580
+ end
1581
+ end
1582
+ end
1583
+
1584
+ # KTV 歌手基础信息
1585
+ class KTVSingerBaseInfo < TencentCloud::Common::AbstractModel
1586
+ # @param SingerId: 歌手id
1587
+ # @type SingerId: String
1588
+ # @param Name: 歌手名
1589
+ # @type Name: String
1590
+
1591
+ attr_accessor :SingerId, :Name
1592
+
1593
+ def initialize(singerid=nil, name=nil)
1594
+ @SingerId = singerid
1595
+ @Name = name
1596
+ end
1597
+
1598
+ def deserialize(params)
1599
+ @SingerId = params['SingerId']
1600
+ @Name = params['Name']
1601
+ end
1602
+ end
1603
+
1604
+ # KTV歌手分类信息
1605
+ class KTVSingerCategoryInfo < TencentCloud::Common::AbstractModel
1606
+ # @param ChineseName: 分类中文名
1607
+ # @type ChineseName: String
1608
+ # @param EnglishName: 分类英文名
1609
+ # @type EnglishName: String
1610
+
1611
+ attr_accessor :ChineseName, :EnglishName
1612
+
1613
+ def initialize(chinesename=nil, englishname=nil)
1614
+ @ChineseName = chinesename
1615
+ @EnglishName = englishname
1616
+ end
1617
+
1618
+ def deserialize(params)
1619
+ @ChineseName = params['ChineseName']
1620
+ @EnglishName = params['EnglishName']
1621
+ end
1622
+ end
1623
+
1624
+ # 直播互动歌曲的歌手信息。
1625
+ class KTVSingerInfo < TencentCloud::Common::AbstractModel
1626
+ # @param SingerId: 歌手id
1627
+ # @type SingerId: String
1628
+ # @param Name: 歌手名
1629
+ # @type Name: String
1630
+ # @param Gender: 歌手性别: 男,女,组合
1631
+ # @type Gender: String
1632
+ # @param Area: 地区: 大陆,港台,欧美,日本
1633
+ # @type Area: String
1634
+ # @param MusicCount: 歌曲数
1635
+ # @type MusicCount: Integer
1636
+ # @param PlayCount: 歌曲总播放次数
1637
+ # @type PlayCount: Integer
1638
+
1639
+ attr_accessor :SingerId, :Name, :Gender, :Area, :MusicCount, :PlayCount
1640
+
1641
+ def initialize(singerid=nil, name=nil, gender=nil, area=nil, musiccount=nil, playcount=nil)
1642
+ @SingerId = singerid
1643
+ @Name = name
1644
+ @Gender = gender
1645
+ @Area = area
1646
+ @MusicCount = musiccount
1647
+ @PlayCount = playcount
1648
+ end
1649
+
1650
+ def deserialize(params)
1651
+ @SingerId = params['SingerId']
1652
+ @Name = params['Name']
1653
+ @Gender = params['Gender']
1654
+ @Area = params['Area']
1655
+ @MusicCount = params['MusicCount']
1656
+ @PlayCount = params['PlayCount']
1336
1657
  end
1337
1658
  end
1338
1659
 
@@ -1938,6 +2259,26 @@ module TencentCloud
1938
2259
  end
1939
2260
  end
1940
2261
 
2262
+ # 设置播放模式
2263
+ class SetPlayModeCommandInput < TencentCloud::Common::AbstractModel
2264
+ # @param PlayMode: 播放模式,取值有:
2265
+ # <li>RepeatPlaylist:列表循环</li>
2266
+ # <li>Order:顺序播放</li>
2267
+ # <li>RepeatSingle:单曲循环</li>
2268
+ # <li>Shuffle:随机播放</li>
2269
+ # @type PlayMode: String
2270
+
2271
+ attr_accessor :PlayMode
2272
+
2273
+ def initialize(playmode=nil)
2274
+ @PlayMode = playmode
2275
+ end
2276
+
2277
+ def deserialize(params)
2278
+ @PlayMode = params['PlayMode']
2279
+ end
2280
+ end
2281
+
1941
2282
  # 设置播放列表指令参数
1942
2283
  class SetPlaylistCommandInput < TencentCloud::Common::AbstractModel
1943
2284
  # @param Type: 变更类型,取值有:
@@ -1966,6 +2307,26 @@ module TencentCloud
1966
2307
  end
1967
2308
  end
1968
2309
 
2310
+ # 排序依据
2311
+ class SortBy < TencentCloud::Common::AbstractModel
2312
+ # @param Field: 排序字段
2313
+ # @type Field: String
2314
+ # @param Order: 排序方式,可选值:Asc(升序)、Desc(降序)
2315
+ # @type Order: String
2316
+
2317
+ attr_accessor :Field, :Order
2318
+
2319
+ def initialize(field=nil, order=nil)
2320
+ @Field = field
2321
+ @Order = order
2322
+ end
2323
+
2324
+ def deserialize(params)
2325
+ @Field = params['Field']
2326
+ @Order = params['Order']
2327
+ end
2328
+ end
2329
+
1969
2330
  # 分类内容
1970
2331
  class Station < TencentCloud::Common::AbstractModel
1971
2332
  # @param CategoryID: StationID
@@ -2018,6 +2379,7 @@ module TencentCloud
2018
2379
  # <li>Pause:暂停</li>
2019
2380
  # <li>SwitchPrevious:上一首</li>
2020
2381
  # <li>SwitchNext:下一首</li>
2382
+ # <li>SetPlayMode:设置播放模式</li>
2021
2383
  # <li>Seek:调整播放进度</li>
2022
2384
  # <li>SetPlaylist:歌单变更</li>
2023
2385
  # <li>SetAudioParam:音频参数变更</li>
@@ -2033,10 +2395,12 @@ module TencentCloud
2033
2395
  # @type SetAudioParamCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetAudioParamCommandInput`
2034
2396
  # @param SendMessageCommandInput: 自定义消息,当Command取SendMessage时,必填。
2035
2397
  # @type SendMessageCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SendMessageCommandInput`
2398
+ # @param SetPlayModeCommandInput: 播放模式,当Command取SetPlayMode时,必填。
2399
+ # @type SetPlayModeCommandInput: :class:`Tencentcloud::Ame.v20190916.models.SetPlayModeCommandInput`
2036
2400
 
2037
- attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput
2401
+ attr_accessor :RobotId, :Command, :PlayCommandInput, :SetPlaylistCommandInput, :SeekCommandInput, :SetAudioParamCommandInput, :SendMessageCommandInput, :SetPlayModeCommandInput
2038
2402
 
2039
- def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil)
2403
+ def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil)
2040
2404
  @RobotId = robotid
2041
2405
  @Command = command
2042
2406
  @PlayCommandInput = playcommandinput
@@ -2044,6 +2408,7 @@ module TencentCloud
2044
2408
  @SeekCommandInput = seekcommandinput
2045
2409
  @SetAudioParamCommandInput = setaudioparamcommandinput
2046
2410
  @SendMessageCommandInput = sendmessagecommandinput
2411
+ @SetPlayModeCommandInput = setplaymodecommandinput
2047
2412
  end
2048
2413
 
2049
2414
  def deserialize(params)
@@ -2069,6 +2434,10 @@ module TencentCloud
2069
2434
  @SendMessageCommandInput = SendMessageCommandInput.new
2070
2435
  @SendMessageCommandInput.deserialize(params['SendMessageCommandInput'])
2071
2436
  end
2437
+ unless params['SetPlayModeCommandInput'].nil?
2438
+ @SetPlayModeCommandInput = SetPlayModeCommandInput.new
2439
+ @SetPlayModeCommandInput.deserialize(params['SetPlayModeCommandInput'])
2440
+ end
2072
2441
  end
2073
2442
  end
2074
2443
 
@@ -2189,6 +2558,28 @@ module TencentCloud
2189
2558
  end
2190
2559
  end
2191
2560
 
2561
+ # 时间范围
2562
+ class TimeRange < TencentCloud::Common::AbstractModel
2563
+ # @param Before: <li>大于等于此时间(起始时间)。</li>
2564
+ # <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
2565
+ # @type Before: String
2566
+ # @param After: <li>小于此时间(结束时间)。</li>
2567
+ # <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
2568
+ # @type After: String
2569
+
2570
+ attr_accessor :Before, :After
2571
+
2572
+ def initialize(before=nil, after=nil)
2573
+ @Before = before
2574
+ @After = after
2575
+ end
2576
+
2577
+ def deserialize(params)
2578
+ @Before = params['Before']
2579
+ @After = params['After']
2580
+ end
2581
+ end
2582
+
2192
2583
  # 曲库包用途信息
2193
2584
  class UseRange < TencentCloud::Common::AbstractModel
2194
2585
  # @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.247
4
+ version: 1.0.251
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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common