tencentcloud-sdk-ame 1.0.249 → 1.0.253

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: a42387212135c4350dac1b0a5b00eac842b6b374
4
- data.tar.gz: 9249635af11496cedb0342cbf71e7f93a9f6cbd0
3
+ metadata.gz: 4e5ad2898a1adb996651c3ce2de8901c2370a16b
4
+ data.tar.gz: 682e8e35a49565206d48034e11488ac08b81c0b2
5
5
  SHA512:
6
- metadata.gz: fe8039a0598f46fd9b2aa08dda21aad1a6d6ae2102fd2a408378d989683ccbfdd103fe5d58751ceab043c55349e218f7690ada4a3c250d0a71e99a4b207640a9
7
- data.tar.gz: 2d8ae4578f9bb0ddc7c289460496de56d6b0c1b94c2423c90ad794aaf1cb313ea59a8458869439df3bbea769d6871e5762be05559a83d4439a0ccd390e308b33
6
+ metadata.gz: ee4e2003641f49c586e46dcf21c8dd61092b28e48f447bdbf95c6f652df674251cfeb9aa9955facd1c985f5011cf0a760b33887a611fbe0b3408f98570cc8ebd
7
+ data.tar.gz: c60fd8dd7616ada026b05ea819184632c8939a5e805759c94746b0a985aa1ce3083023e0f3611c4c6d57e874efebcfbd71d637b64cca2895472f93b9162df6fb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.249
1
+ 1.0.253
@@ -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
@@ -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,240 @@ 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
+
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
+
702
979
  # DescribeLyric请求参数结构体
703
980
  class DescribeLyricRequest < TencentCloud::Common::AbstractModel
704
981
  # @param ItemId: 歌曲ID
@@ -1193,7 +1470,9 @@ module TencentCloud
1193
1470
  # @type MusicId: String
1194
1471
  # @param Name: 歌曲名称
1195
1472
  # @type Name: String
1196
- # @param SingerSet: 演唱者列表
1473
+ # @param SingerInfoSet: 演唱者基础信息列表
1474
+ # @type SingerInfoSet: Array
1475
+ # @param SingerSet: 已弃用,请使用SingerInfoSet
1197
1476
  # @type SingerSet: Array
1198
1477
  # @param LyricistSet: 作词者列表
1199
1478
  # @type LyricistSet: Array
@@ -1204,11 +1483,12 @@ module TencentCloud
1204
1483
  # @param Duration: 歌曲时长
1205
1484
  # @type Duration: Integer
1206
1485
 
1207
- attr_accessor :MusicId, :Name, :SingerSet, :LyricistSet, :ComposerSet, :TagSet, :Duration
1486
+ attr_accessor :MusicId, :Name, :SingerInfoSet, :SingerSet, :LyricistSet, :ComposerSet, :TagSet, :Duration
1208
1487
 
1209
- 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)
1210
1489
  @MusicId = musicid
1211
1490
  @Name = name
1491
+ @SingerInfoSet = singerinfoset
1212
1492
  @SingerSet = singerset
1213
1493
  @LyricistSet = lyricistset
1214
1494
  @ComposerSet = composerset
@@ -1219,6 +1499,14 @@ module TencentCloud
1219
1499
  def deserialize(params)
1220
1500
  @MusicId = params['MusicId']
1221
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
1222
1510
  @SingerSet = params['SingerSet']
1223
1511
  @LyricistSet = params['LyricistSet']
1224
1512
  @ComposerSet = params['ComposerSet']
@@ -1254,6 +1542,53 @@ module TencentCloud
1254
1542
  end
1255
1543
  end
1256
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
+
1257
1592
  # 推荐歌单基础信息
1258
1593
  class KTVPlaylistBaseInfo < TencentCloud::Common::AbstractModel
1259
1594
  # @param PlaylistId: 歌单Id
@@ -1347,6 +1682,82 @@ module TencentCloud
1347
1682
  end
1348
1683
  end
1349
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
+
1350
1761
  # 歌词信息
1351
1762
  class Lyric < TencentCloud::Common::AbstractModel
1352
1763
  # @param Url: 歌词cdn地址
@@ -1997,6 +2408,26 @@ module TencentCloud
1997
2408
  end
1998
2409
  end
1999
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
+
2000
2431
  # 分类内容
2001
2432
  class Station < TencentCloud::Common::AbstractModel
2002
2433
  # @param CategoryID: StationID
@@ -2228,6 +2659,28 @@ module TencentCloud
2228
2659
  end
2229
2660
  end
2230
2661
 
2662
+ # 时间范围
2663
+ class TimeRange < TencentCloud::Common::AbstractModel
2664
+ # @param Before: <li>大于等于此时间(起始时间)。</li>
2665
+ # <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
2666
+ # @type Before: String
2667
+ # @param After: <li>小于此时间(结束时间)。</li>
2668
+ # <li>格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I" target="_blank">ISO 日期格式说明</a>。</li>
2669
+ # @type After: String
2670
+
2671
+ attr_accessor :Before, :After
2672
+
2673
+ def initialize(before=nil, after=nil)
2674
+ @Before = before
2675
+ @After = after
2676
+ end
2677
+
2678
+ def deserialize(params)
2679
+ @Before = params['Before']
2680
+ @After = params['After']
2681
+ end
2682
+ end
2683
+
2231
2684
  # 曲库包用途信息
2232
2685
  class UseRange < TencentCloud::Common::AbstractModel
2233
2686
  # @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.249
4
+ version: 1.0.253
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-25 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common