tencentcloud-sdk-ame 1.0.250 → 1.0.254

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: 1f3ddbc45bd36da0fe7e5d2756aaaca008ee3f2b
4
- data.tar.gz: 786da269ae138d384c8d4076ca6600e76cc7f25b
3
+ metadata.gz: 994bbed56fa73bcd9e9c2abcaae8e0c55f01ea09
4
+ data.tar.gz: 4fffde100ccf853e8ac219a2f9bcdcfa978372df
5
5
  SHA512:
6
- metadata.gz: 70142378a626f411a59f7bda37d93988f2a5fc581e0ee780ee35e11f41ce1593a730b726e94c1a909cadf65056ad7c9087849450395189cd5eef9782b5e5f88c
7
- data.tar.gz: d62d87bd0a18094ca11d2cdd8648f5404d1c0910c4f7c538dc9e29ca22b33b2e581b08703149006b80ac59a6a628917d5d10dc7fbf3e874fc436ef2891a876a6
6
+ metadata.gz: 02d4792e8d4d0e90ec9f30a6915ea7d3488469e6b0ad1f3f8edda5579c332d5210e8c62fbee3d5552de961d5bf8012e8de657ae43cbffb5263ef8c1922980115
7
+ data.tar.gz: 7eb32291da3b3ce3151f48d8d53c58ff7e25e5f175da1408b8886856619f0f174976a2907574034ac7553933c2194f346e44606c8f9b64f75b5f12da11f619c0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.250
1
+ 1.0.254
@@ -269,6 +269,104 @@ 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
+
346
+ # 获取直播互动曲库歌曲的周榜和月榜
347
+
348
+ # @param request: Request instance for DescribeKTVTopList.
349
+ # @type request: :class:`Tencentcloud::ame::V20190916::DescribeKTVTopListRequest`
350
+ # @rtype: :class:`Tencentcloud::ame::V20190916::DescribeKTVTopListResponse`
351
+ def DescribeKTVTopList(request)
352
+ body = send_request('DescribeKTVTopList', request.serialize)
353
+ response = JSON.parse(body)
354
+ if response['Response'].key?('Error') == false
355
+ model = DescribeKTVTopListResponse.new
356
+ model.deserialize(response['Response'])
357
+ model
358
+ else
359
+ code = response['Response']['Error']['Code']
360
+ message = response['Response']['Error']['Message']
361
+ reqid = response['Response']['RequestId']
362
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
363
+ end
364
+ rescue TencentCloud::Common::TencentCloudSDKException => e
365
+ raise e
366
+ rescue StandardError => e
367
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
368
+ end
369
+
272
370
  # 根据接口的模式及歌曲ID来取得歌词信息或者波形图信息。
273
371
 
274
372
  # @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
@@ -707,6 +742,240 @@ module TencentCloud
707
742
  end
708
743
  end
709
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
+
925
+ # DescribeKTVTopList请求参数结构体
926
+ class DescribeKTVTopListRequest < TencentCloud::Common::AbstractModel
927
+ # @param Type: 榜单类型。默认Hot
928
+ # <li> Hot, 热歌榜。</li>
929
+ # @type Type: String
930
+ # @param Period: 榜单周期 默认为Week
931
+ # <li> Week, 周榜。</li>
932
+ # <li> Month, 月榜。</li>
933
+ # @type Period: String
934
+
935
+ attr_accessor :Type, :Period
936
+
937
+ def initialize(type=nil, period=nil)
938
+ @Type = type
939
+ @Period = period
940
+ end
941
+
942
+ def deserialize(params)
943
+ @Type = params['Type']
944
+ @Period = params['Period']
945
+ end
946
+ end
947
+
948
+ # DescribeKTVTopList返回参数结构体
949
+ class DescribeKTVTopListResponse < TencentCloud::Common::AbstractModel
950
+ # @param KTVMusicTopInfoSet: 歌曲基础信息列表
951
+ # @type KTVMusicTopInfoSet: Array
952
+ # @param TotalCount: 返回总条数
953
+ # @type TotalCount: Integer
954
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
955
+ # @type RequestId: String
956
+
957
+ attr_accessor :KTVMusicTopInfoSet, :TotalCount, :RequestId
958
+
959
+ def initialize(ktvmusictopinfoset=nil, totalcount=nil, requestid=nil)
960
+ @KTVMusicTopInfoSet = ktvmusictopinfoset
961
+ @TotalCount = totalcount
962
+ @RequestId = requestid
963
+ end
964
+
965
+ def deserialize(params)
966
+ unless params['KTVMusicTopInfoSet'].nil?
967
+ @KTVMusicTopInfoSet = []
968
+ params['KTVMusicTopInfoSet'].each do |i|
969
+ ktvmusictopinfo_tmp = KTVMusicTopInfo.new
970
+ ktvmusictopinfo_tmp.deserialize(i)
971
+ @KTVMusicTopInfoSet << ktvmusictopinfo_tmp
972
+ end
973
+ end
974
+ @TotalCount = params['TotalCount']
975
+ @RequestId = params['RequestId']
976
+ end
977
+ end
978
+
710
979
  # DescribeLyric请求参数结构体
711
980
  class DescribeLyricRequest < TencentCloud::Common::AbstractModel
712
981
  # @param ItemId: 歌曲ID
@@ -1201,7 +1470,9 @@ module TencentCloud
1201
1470
  # @type MusicId: String
1202
1471
  # @param Name: 歌曲名称
1203
1472
  # @type Name: String
1204
- # @param SingerSet: 演唱者列表
1473
+ # @param SingerInfoSet: 演唱者基础信息列表
1474
+ # @type SingerInfoSet: Array
1475
+ # @param SingerSet: 已弃用,请使用SingerInfoSet
1205
1476
  # @type SingerSet: Array
1206
1477
  # @param LyricistSet: 作词者列表
1207
1478
  # @type LyricistSet: Array
@@ -1212,11 +1483,12 @@ module TencentCloud
1212
1483
  # @param Duration: 歌曲时长
1213
1484
  # @type Duration: Integer
1214
1485
 
1215
- attr_accessor :MusicId, :Name, :SingerSet, :LyricistSet, :ComposerSet, :TagSet, :Duration
1486
+ attr_accessor :MusicId, :Name, :SingerInfoSet, :SingerSet, :LyricistSet, :ComposerSet, :TagSet, :Duration
1216
1487
 
1217
- def initialize(musicid=nil, name=nil, singerset=nil, lyricistset=nil, composerset=nil, tagset=nil, duration=nil)
1488
+ def initialize(musicid=nil, name=nil, singerinfoset=nil, singerset=nil, lyricistset=nil, composerset=nil, tagset=nil, duration=nil)
1218
1489
  @MusicId = musicid
1219
1490
  @Name = name
1491
+ @SingerInfoSet = singerinfoset
1220
1492
  @SingerSet = singerset
1221
1493
  @LyricistSet = lyricistset
1222
1494
  @ComposerSet = composerset
@@ -1227,6 +1499,14 @@ module TencentCloud
1227
1499
  def deserialize(params)
1228
1500
  @MusicId = params['MusicId']
1229
1501
  @Name = params['Name']
1502
+ unless params['SingerInfoSet'].nil?
1503
+ @SingerInfoSet = []
1504
+ params['SingerInfoSet'].each do |i|
1505
+ ktvsingerbaseinfo_tmp = KTVSingerBaseInfo.new
1506
+ ktvsingerbaseinfo_tmp.deserialize(i)
1507
+ @SingerInfoSet << ktvsingerbaseinfo_tmp
1508
+ end
1509
+ end
1230
1510
  @SingerSet = params['SingerSet']
1231
1511
  @LyricistSet = params['LyricistSet']
1232
1512
  @ComposerSet = params['ComposerSet']
@@ -1262,6 +1542,53 @@ module TencentCloud
1262
1542
  end
1263
1543
  end
1264
1544
 
1545
+ # 排行榜结构
1546
+ class KTVMusicTopInfo < TencentCloud::Common::AbstractModel
1547
+ # @param MusicId: 歌曲Id
1548
+ # @type MusicId: String
1549
+ # @param Name: 歌曲名称
1550
+ # @type Name: String
1551
+ # @param SingerInfoSet: 歌手名称列表
1552
+ # @type SingerInfoSet: Array
1553
+ # @param LyricistSet: 歌词名称列表
1554
+ # @type LyricistSet: Array
1555
+ # @param ComposerSet: 作曲列表
1556
+ # @type ComposerSet: Array
1557
+ # @param TagSet: 标签列表
1558
+ # @type TagSet: Array
1559
+ # @param Duration: 播放时长
1560
+ # @type Duration: Integer
1561
+
1562
+ attr_accessor :MusicId, :Name, :SingerInfoSet, :LyricistSet, :ComposerSet, :TagSet, :Duration
1563
+
1564
+ def initialize(musicid=nil, name=nil, singerinfoset=nil, lyricistset=nil, composerset=nil, tagset=nil, duration=nil)
1565
+ @MusicId = musicid
1566
+ @Name = name
1567
+ @SingerInfoSet = singerinfoset
1568
+ @LyricistSet = lyricistset
1569
+ @ComposerSet = composerset
1570
+ @TagSet = tagset
1571
+ @Duration = duration
1572
+ end
1573
+
1574
+ def deserialize(params)
1575
+ @MusicId = params['MusicId']
1576
+ @Name = params['Name']
1577
+ unless params['SingerInfoSet'].nil?
1578
+ @SingerInfoSet = []
1579
+ params['SingerInfoSet'].each do |i|
1580
+ ktvsingerbaseinfo_tmp = KTVSingerBaseInfo.new
1581
+ ktvsingerbaseinfo_tmp.deserialize(i)
1582
+ @SingerInfoSet << ktvsingerbaseinfo_tmp
1583
+ end
1584
+ end
1585
+ @LyricistSet = params['LyricistSet']
1586
+ @ComposerSet = params['ComposerSet']
1587
+ @TagSet = params['TagSet']
1588
+ @Duration = params['Duration']
1589
+ end
1590
+ end
1591
+
1265
1592
  # 推荐歌单基础信息
1266
1593
  class KTVPlaylistBaseInfo < TencentCloud::Common::AbstractModel
1267
1594
  # @param PlaylistId: 歌单Id
@@ -1355,6 +1682,82 @@ module TencentCloud
1355
1682
  end
1356
1683
  end
1357
1684
 
1685
+ # KTV 歌手基础信息
1686
+ class KTVSingerBaseInfo < TencentCloud::Common::AbstractModel
1687
+ # @param SingerId: 歌手id
1688
+ # @type SingerId: String
1689
+ # @param Name: 歌手名
1690
+ # @type Name: String
1691
+
1692
+ attr_accessor :SingerId, :Name
1693
+
1694
+ def initialize(singerid=nil, name=nil)
1695
+ @SingerId = singerid
1696
+ @Name = name
1697
+ end
1698
+
1699
+ def deserialize(params)
1700
+ @SingerId = params['SingerId']
1701
+ @Name = params['Name']
1702
+ end
1703
+ end
1704
+
1705
+ # KTV歌手分类信息
1706
+ class KTVSingerCategoryInfo < TencentCloud::Common::AbstractModel
1707
+ # @param ChineseName: 分类中文名
1708
+ # @type ChineseName: String
1709
+ # @param EnglishName: 分类英文名
1710
+ # @type EnglishName: String
1711
+
1712
+ attr_accessor :ChineseName, :EnglishName
1713
+
1714
+ def initialize(chinesename=nil, englishname=nil)
1715
+ @ChineseName = chinesename
1716
+ @EnglishName = englishname
1717
+ end
1718
+
1719
+ def deserialize(params)
1720
+ @ChineseName = params['ChineseName']
1721
+ @EnglishName = params['EnglishName']
1722
+ end
1723
+ end
1724
+
1725
+ # 直播互动歌曲的歌手信息。
1726
+ class KTVSingerInfo < TencentCloud::Common::AbstractModel
1727
+ # @param SingerId: 歌手id
1728
+ # @type SingerId: String
1729
+ # @param Name: 歌手名
1730
+ # @type Name: String
1731
+ # @param Gender: 歌手性别: 男,女,组合
1732
+ # @type Gender: String
1733
+ # @param Area: 地区: 大陆,港台,欧美,日本
1734
+ # @type Area: String
1735
+ # @param MusicCount: 歌曲数
1736
+ # @type MusicCount: Integer
1737
+ # @param PlayCount: 歌曲总播放次数
1738
+ # @type PlayCount: Integer
1739
+
1740
+ attr_accessor :SingerId, :Name, :Gender, :Area, :MusicCount, :PlayCount
1741
+
1742
+ def initialize(singerid=nil, name=nil, gender=nil, area=nil, musiccount=nil, playcount=nil)
1743
+ @SingerId = singerid
1744
+ @Name = name
1745
+ @Gender = gender
1746
+ @Area = area
1747
+ @MusicCount = musiccount
1748
+ @PlayCount = playcount
1749
+ end
1750
+
1751
+ def deserialize(params)
1752
+ @SingerId = params['SingerId']
1753
+ @Name = params['Name']
1754
+ @Gender = params['Gender']
1755
+ @Area = params['Area']
1756
+ @MusicCount = params['MusicCount']
1757
+ @PlayCount = params['PlayCount']
1758
+ end
1759
+ end
1760
+
1358
1761
  # 歌词信息
1359
1762
  class Lyric < TencentCloud::Common::AbstractModel
1360
1763
  # @param Url: 歌词cdn地址
@@ -2005,6 +2408,26 @@ module TencentCloud
2005
2408
  end
2006
2409
  end
2007
2410
 
2411
+ # 排序依据
2412
+ class SortBy < TencentCloud::Common::AbstractModel
2413
+ # @param Field: 排序字段
2414
+ # @type Field: String
2415
+ # @param Order: 排序方式,可选值:Asc(升序)、Desc(降序)
2416
+ # @type Order: String
2417
+
2418
+ attr_accessor :Field, :Order
2419
+
2420
+ def initialize(field=nil, order=nil)
2421
+ @Field = field
2422
+ @Order = order
2423
+ end
2424
+
2425
+ def deserialize(params)
2426
+ @Field = params['Field']
2427
+ @Order = params['Order']
2428
+ end
2429
+ end
2430
+
2008
2431
  # 分类内容
2009
2432
  class Station < TencentCloud::Common::AbstractModel
2010
2433
  # @param CategoryID: StationID
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.250
4
+ version: 1.0.254
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-26 00:00:00.000000000 Z
11
+ date: 2022-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common