tencentcloud-sdk-ame 1.0.273 → 1.0.274
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190916/client.rb +48 -0
- data/lib/v20190916/models.rb +192 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed479a9a18592935dd33c687465b111ca9e38d01
|
4
|
+
data.tar.gz: eac858fbc12a6096200727bcc21b236c07956a85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36b22c6b3d7198ce9b2c3f03cde18b257b0927a2725ec811d7bc3e90de2aadc772c92080513ef99b9f3bb18f111c50f7677cb98e4560ea0252fcc80b78a260b0
|
7
|
+
data.tar.gz: a07f3c8917e000aa42af41c2d16e440884432b22e702fdbf92fa62c4e311743621a9e8aad2e0e73ddc56b8f5e78e6ecda8c1c0bf73b08ed5f3b2a62fa4b37f1b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.274
|
data/lib/v20190916/client.rb
CHANGED
@@ -221,6 +221,30 @@ module TencentCloud
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
222
|
end
|
223
223
|
|
224
|
+
# 获取直播互动曲库标签分组信息和标签信息
|
225
|
+
|
226
|
+
# @param request: Request instance for DescribeKTVMusicTags.
|
227
|
+
# @type request: :class:`Tencentcloud::ame::V20190916::DescribeKTVMusicTagsRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::ame::V20190916::DescribeKTVMusicTagsResponse`
|
229
|
+
def DescribeKTVMusicTags(request)
|
230
|
+
body = send_request('DescribeKTVMusicTags', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DescribeKTVMusicTagsResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
224
248
|
# 根据歌单 Id 获取歌单详情,包括歌单的基础信息以及歌曲列表。
|
225
249
|
|
226
250
|
# @param request: Request instance for DescribeKTVPlaylistDetail.
|
@@ -367,6 +391,30 @@ module TencentCloud
|
|
367
391
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
368
392
|
end
|
369
393
|
|
394
|
+
# 获取直播互动曲库联想词
|
395
|
+
|
396
|
+
# @param request: Request instance for DescribeKTVSuggestions.
|
397
|
+
# @type request: :class:`Tencentcloud::ame::V20190916::DescribeKTVSuggestionsRequest`
|
398
|
+
# @rtype: :class:`Tencentcloud::ame::V20190916::DescribeKTVSuggestionsResponse`
|
399
|
+
def DescribeKTVSuggestions(request)
|
400
|
+
body = send_request('DescribeKTVSuggestions', request.serialize)
|
401
|
+
response = JSON.parse(body)
|
402
|
+
if response['Response'].key?('Error') == false
|
403
|
+
model = DescribeKTVSuggestionsResponse.new
|
404
|
+
model.deserialize(response['Response'])
|
405
|
+
model
|
406
|
+
else
|
407
|
+
code = response['Response']['Error']['Code']
|
408
|
+
message = response['Response']['Error']['Message']
|
409
|
+
reqid = response['Response']['RequestId']
|
410
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
411
|
+
end
|
412
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
413
|
+
raise e
|
414
|
+
rescue StandardError => e
|
415
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
416
|
+
end
|
417
|
+
|
370
418
|
# 获取直播互动曲库歌曲的周榜和月榜
|
371
419
|
|
372
420
|
# @param request: Request instance for DescribeKTVTopList.
|
data/lib/v20190916/models.rb
CHANGED
@@ -45,6 +45,34 @@ module TencentCloud
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
# 用户license基础信息
|
49
|
+
class ApplicationLicenseInput < TencentCloud::Common::AbstractModel
|
50
|
+
# @param AppName: 应用名称,注:后面三个字段AndroidPackageName、IOSBundleId、PcIdentifier,三者选填一个
|
51
|
+
# @type AppName: String
|
52
|
+
# @param AndroidPackageName: app的安卓包名
|
53
|
+
# @type AndroidPackageName: String
|
54
|
+
# @param IOSBundleId: app的IOS的BundleId名
|
55
|
+
# @type IOSBundleId: String
|
56
|
+
# @param PcIdentifier: PC标识名
|
57
|
+
# @type PcIdentifier: String
|
58
|
+
|
59
|
+
attr_accessor :AppName, :AndroidPackageName, :IOSBundleId, :PcIdentifier
|
60
|
+
|
61
|
+
def initialize(appname=nil, androidpackagename=nil, iosbundleid=nil, pcidentifier=nil)
|
62
|
+
@AppName = appname
|
63
|
+
@AndroidPackageName = androidpackagename
|
64
|
+
@IOSBundleId = iosbundleid
|
65
|
+
@PcIdentifier = pcidentifier
|
66
|
+
end
|
67
|
+
|
68
|
+
def deserialize(params)
|
69
|
+
@AppName = params['AppName']
|
70
|
+
@AndroidPackageName = params['AndroidPackageName']
|
71
|
+
@IOSBundleId = params['IOSBundleId']
|
72
|
+
@PcIdentifier = params['PcIdentifier']
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
48
76
|
# Artist
|
49
77
|
class Artist < TencentCloud::Common::AbstractModel
|
50
78
|
# @param ArtistName: 歌手名
|
@@ -181,12 +209,15 @@ module TencentCloud
|
|
181
209
|
# @type RTCSystem: String
|
182
210
|
# @param JoinRoomInput: 进房参数。
|
183
211
|
# @type JoinRoomInput: :class:`Tencentcloud::Ame.v20190916.models.JoinRoomInput`
|
212
|
+
# @param ApplicationLicenseInput: license基础信息
|
213
|
+
# @type ApplicationLicenseInput: :class:`Tencentcloud::Ame.v20190916.models.ApplicationLicenseInput`
|
184
214
|
|
185
|
-
attr_accessor :RTCSystem, :JoinRoomInput
|
215
|
+
attr_accessor :RTCSystem, :JoinRoomInput, :ApplicationLicenseInput
|
186
216
|
|
187
|
-
def initialize(rtcsystem=nil, joinroominput=nil)
|
217
|
+
def initialize(rtcsystem=nil, joinroominput=nil, applicationlicenseinput=nil)
|
188
218
|
@RTCSystem = rtcsystem
|
189
219
|
@JoinRoomInput = joinroominput
|
220
|
+
@ApplicationLicenseInput = applicationlicenseinput
|
190
221
|
end
|
191
222
|
|
192
223
|
def deserialize(params)
|
@@ -195,6 +226,10 @@ module TencentCloud
|
|
195
226
|
@JoinRoomInput = JoinRoomInput.new
|
196
227
|
@JoinRoomInput.deserialize(params['JoinRoomInput'])
|
197
228
|
end
|
229
|
+
unless params['ApplicationLicenseInput'].nil?
|
230
|
+
@ApplicationLicenseInput = ApplicationLicenseInput.new
|
231
|
+
@ApplicationLicenseInput.deserialize(params['ApplicationLicenseInput'])
|
232
|
+
end
|
198
233
|
end
|
199
234
|
end
|
200
235
|
|
@@ -614,6 +649,44 @@ module TencentCloud
|
|
614
649
|
end
|
615
650
|
end
|
616
651
|
|
652
|
+
# DescribeKTVMusicTags请求参数结构体
|
653
|
+
class DescribeKTVMusicTagsRequest < TencentCloud::Common::AbstractModel
|
654
|
+
|
655
|
+
|
656
|
+
def initialize()
|
657
|
+
end
|
658
|
+
|
659
|
+
def deserialize(params)
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
# DescribeKTVMusicTags返回参数结构体
|
664
|
+
class DescribeKTVMusicTagsResponse < TencentCloud::Common::AbstractModel
|
665
|
+
# @param TagGroupSet: 标签分组列表
|
666
|
+
# @type TagGroupSet: Array
|
667
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
668
|
+
# @type RequestId: String
|
669
|
+
|
670
|
+
attr_accessor :TagGroupSet, :RequestId
|
671
|
+
|
672
|
+
def initialize(taggroupset=nil, requestid=nil)
|
673
|
+
@TagGroupSet = taggroupset
|
674
|
+
@RequestId = requestid
|
675
|
+
end
|
676
|
+
|
677
|
+
def deserialize(params)
|
678
|
+
unless params['TagGroupSet'].nil?
|
679
|
+
@TagGroupSet = []
|
680
|
+
params['TagGroupSet'].each do |i|
|
681
|
+
ktvmusictaggroup_tmp = KTVMusicTagGroup.new
|
682
|
+
ktvmusictaggroup_tmp.deserialize(i)
|
683
|
+
@TagGroupSet << ktvmusictaggroup_tmp
|
684
|
+
end
|
685
|
+
end
|
686
|
+
@RequestId = params['RequestId']
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
617
690
|
# DescribeKTVPlaylistDetail请求参数结构体
|
618
691
|
class DescribeKTVPlaylistDetailRequest < TencentCloud::Common::AbstractModel
|
619
692
|
# @param PlaylistId: 歌单Id
|
@@ -973,6 +1046,49 @@ module TencentCloud
|
|
973
1046
|
end
|
974
1047
|
end
|
975
1048
|
|
1049
|
+
# DescribeKTVSuggestions请求参数结构体
|
1050
|
+
class DescribeKTVSuggestionsRequest < TencentCloud::Common::AbstractModel
|
1051
|
+
# @param KeyWord: 联想关键词
|
1052
|
+
# @type KeyWord: String
|
1053
|
+
|
1054
|
+
attr_accessor :KeyWord
|
1055
|
+
|
1056
|
+
def initialize(keyword=nil)
|
1057
|
+
@KeyWord = keyword
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
def deserialize(params)
|
1061
|
+
@KeyWord = params['KeyWord']
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# DescribeKTVSuggestions返回参数结构体
|
1066
|
+
class DescribeKTVSuggestionsResponse < TencentCloud::Common::AbstractModel
|
1067
|
+
# @param KTVSuggestionInfoSet: 联想词信息列表。返回总数最大为10。
|
1068
|
+
# @type KTVSuggestionInfoSet: Array
|
1069
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1070
|
+
# @type RequestId: String
|
1071
|
+
|
1072
|
+
attr_accessor :KTVSuggestionInfoSet, :RequestId
|
1073
|
+
|
1074
|
+
def initialize(ktvsuggestioninfoset=nil, requestid=nil)
|
1075
|
+
@KTVSuggestionInfoSet = ktvsuggestioninfoset
|
1076
|
+
@RequestId = requestid
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
def deserialize(params)
|
1080
|
+
unless params['KTVSuggestionInfoSet'].nil?
|
1081
|
+
@KTVSuggestionInfoSet = []
|
1082
|
+
params['KTVSuggestionInfoSet'].each do |i|
|
1083
|
+
ktvsuggestioninfo_tmp = KTVSuggestionInfo.new
|
1084
|
+
ktvsuggestioninfo_tmp.deserialize(i)
|
1085
|
+
@KTVSuggestionInfoSet << ktvsuggestioninfo_tmp
|
1086
|
+
end
|
1087
|
+
end
|
1088
|
+
@RequestId = params['RequestId']
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
976
1092
|
# DescribeKTVTopList请求参数结构体
|
977
1093
|
class DescribeKTVTopListRequest < TencentCloud::Common::AbstractModel
|
978
1094
|
# @param Type: 榜单类型。默认Hot
|
@@ -1650,6 +1766,57 @@ module TencentCloud
|
|
1650
1766
|
end
|
1651
1767
|
end
|
1652
1768
|
|
1769
|
+
# 即使广播曲库歌曲标签分组信息
|
1770
|
+
class KTVMusicTagGroup < TencentCloud::Common::AbstractModel
|
1771
|
+
# @param EnglishGroupName: 标签分组英文名
|
1772
|
+
# @type EnglishGroupName: String
|
1773
|
+
# @param ChineseGroupName: 标签分组中文名
|
1774
|
+
# @type ChineseGroupName: String
|
1775
|
+
# @param TagSet: 标签分类下标签列表
|
1776
|
+
# @type TagSet: Array
|
1777
|
+
|
1778
|
+
attr_accessor :EnglishGroupName, :ChineseGroupName, :TagSet
|
1779
|
+
|
1780
|
+
def initialize(englishgroupname=nil, chinesegroupname=nil, tagset=nil)
|
1781
|
+
@EnglishGroupName = englishgroupname
|
1782
|
+
@ChineseGroupName = chinesegroupname
|
1783
|
+
@TagSet = tagset
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
def deserialize(params)
|
1787
|
+
@EnglishGroupName = params['EnglishGroupName']
|
1788
|
+
@ChineseGroupName = params['ChineseGroupName']
|
1789
|
+
unless params['TagSet'].nil?
|
1790
|
+
@TagSet = []
|
1791
|
+
params['TagSet'].each do |i|
|
1792
|
+
ktvmusictaginfo_tmp = KTVMusicTagInfo.new
|
1793
|
+
ktvmusictaginfo_tmp.deserialize(i)
|
1794
|
+
@TagSet << ktvmusictaginfo_tmp
|
1795
|
+
end
|
1796
|
+
end
|
1797
|
+
end
|
1798
|
+
end
|
1799
|
+
|
1800
|
+
# 即使广播曲库歌曲标签信息
|
1801
|
+
class KTVMusicTagInfo < TencentCloud::Common::AbstractModel
|
1802
|
+
# @param TagId: 标签Id
|
1803
|
+
# @type TagId: String
|
1804
|
+
# @param TagName: 标签
|
1805
|
+
# @type TagName: String
|
1806
|
+
|
1807
|
+
attr_accessor :TagId, :TagName
|
1808
|
+
|
1809
|
+
def initialize(tagid=nil, tagname=nil)
|
1810
|
+
@TagId = tagid
|
1811
|
+
@TagName = tagname
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
def deserialize(params)
|
1815
|
+
@TagId = params['TagId']
|
1816
|
+
@TagName = params['TagName']
|
1817
|
+
end
|
1818
|
+
end
|
1819
|
+
|
1653
1820
|
# 排行榜结构
|
1654
1821
|
class KTVMusicTopInfo < TencentCloud::Common::AbstractModel
|
1655
1822
|
# @param MusicId: 歌曲Id
|
@@ -1866,6 +2033,22 @@ module TencentCloud
|
|
1866
2033
|
end
|
1867
2034
|
end
|
1868
2035
|
|
2036
|
+
# 即使广播曲库联想词信息
|
2037
|
+
class KTVSuggestionInfo < TencentCloud::Common::AbstractModel
|
2038
|
+
# @param Suggestion: 联想词
|
2039
|
+
# @type Suggestion: String
|
2040
|
+
|
2041
|
+
attr_accessor :Suggestion
|
2042
|
+
|
2043
|
+
def initialize(suggestion=nil)
|
2044
|
+
@Suggestion = suggestion
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
def deserialize(params)
|
2048
|
+
@Suggestion = params['Suggestion']
|
2049
|
+
end
|
2050
|
+
end
|
2051
|
+
|
1869
2052
|
# 歌词信息
|
1870
2053
|
class Lyric < TencentCloud::Common::AbstractModel
|
1871
2054
|
# @param Url: 歌词cdn地址
|
@@ -2364,14 +2547,18 @@ module TencentCloud
|
|
2364
2547
|
# <li> Sort.Order 可选 Desc </li>
|
2365
2548
|
# <li> 当 KeyWord 不为空时,Sort.Field 字段无效, 搜索结果将以匹配度排序。</li>
|
2366
2549
|
# @type Sort: :class:`Tencentcloud::Ame.v20190916.models.SortBy`
|
2550
|
+
# @param TagIds: 标签 ID 集合,匹配集合指定所有 ID 。
|
2551
|
+
# <li>数组长度限制:10。</li>
|
2552
|
+
# @type TagIds: Array
|
2367
2553
|
|
2368
|
-
attr_accessor :KeyWord, :Offset, :Limit, :Sort
|
2554
|
+
attr_accessor :KeyWord, :Offset, :Limit, :Sort, :TagIds
|
2369
2555
|
|
2370
|
-
def initialize(keyword=nil, offset=nil, limit=nil, sort=nil)
|
2556
|
+
def initialize(keyword=nil, offset=nil, limit=nil, sort=nil, tagids=nil)
|
2371
2557
|
@KeyWord = keyword
|
2372
2558
|
@Offset = offset
|
2373
2559
|
@Limit = limit
|
2374
2560
|
@Sort = sort
|
2561
|
+
@TagIds = tagids
|
2375
2562
|
end
|
2376
2563
|
|
2377
2564
|
def deserialize(params)
|
@@ -2382,6 +2569,7 @@ module TencentCloud
|
|
2382
2569
|
@Sort = SortBy.new
|
2383
2570
|
@Sort.deserialize(params['Sort'])
|
2384
2571
|
end
|
2572
|
+
@TagIds = params['TagIds']
|
2385
2573
|
end
|
2386
2574
|
end
|
2387
2575
|
|
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.
|
4
|
+
version: 1.0.274
|
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-
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|