tencentcloud-sdk-ame 1.0.262 → 1.0.263

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: 53a19fd33c54f0f202911fa22e685a5a94115d12
4
- data.tar.gz: 74ca641da80af7dbc824aec45ce111d6009cdd7e
3
+ metadata.gz: d95689aaaa7c7855c35e91bc221feb434e1fa26d
4
+ data.tar.gz: 7eafc2122f20cf6c36be94149bce2224157ba65f
5
5
  SHA512:
6
- metadata.gz: 2dc3aa758244638d65affe6c97b3f6af44fa5383a65969669eecf854b357506605b709d2203384d1e4a5ffdf476a7d0a27da07a42526eff1b8b89e2d5c8ad2cf
7
- data.tar.gz: 6d074e04fcb2588a02bcc104884aa1f271cf45ba5587359f89ffdea1f4be748d19d9988e5353416ad592d5c506d5fc9b24c9743ac5396299e6dc7464b6a5bc12
6
+ metadata.gz: 58c8a87ac68a81fd8f3664b077097eb48272e611b2ade3e71201d0842e5045cccf49127774947c1c6ac9e779a24067c0fd03fc20f1f3a5510f4299b07eef6ed7
7
+ data.tar.gz: 580c30e301c04ab5028727bf6a0460bfbccd83757dccf2ba044d314388c3aba966a8a5a20d0b42c5cca872296dd0ae10053bfe587da936e43b4f4b18de61b2e1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.262
1
+ 1.0.263
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 根据 Id 列表查询歌曲的详细信息,包含基础信息及播放信息。
33
+
34
+ # @param request: Request instance for BatchDescribeKTVMusicDetails.
35
+ # @type request: :class:`Tencentcloud::ame::V20190916::BatchDescribeKTVMusicDetailsRequest`
36
+ # @rtype: :class:`Tencentcloud::ame::V20190916::BatchDescribeKTVMusicDetailsResponse`
37
+ def BatchDescribeKTVMusicDetails(request)
38
+ body = send_request('BatchDescribeKTVMusicDetails', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BatchDescribeKTVMusicDetailsResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 创建机器人,支持进入 RTC 房间,播放直播互动曲库歌曲。
33
57
 
34
58
  # @param request: Request instance for CreateKTVRobot.
@@ -107,6 +107,53 @@ module TencentCloud
107
107
  end
108
108
  end
109
109
 
110
+ # BatchDescribeKTVMusicDetails请求参数结构体
111
+ class BatchDescribeKTVMusicDetailsRequest < TencentCloud::Common::AbstractModel
112
+ # @param MusicIds: 歌曲Id列表,注:列表最大长度为50
113
+ # @type MusicIds: Array
114
+
115
+ attr_accessor :MusicIds
116
+
117
+ def initialize(musicids=nil)
118
+ @MusicIds = musicids
119
+ end
120
+
121
+ def deserialize(params)
122
+ @MusicIds = params['MusicIds']
123
+ end
124
+ end
125
+
126
+ # BatchDescribeKTVMusicDetails返回参数结构体
127
+ class BatchDescribeKTVMusicDetailsResponse < TencentCloud::Common::AbstractModel
128
+ # @param KTVMusicDetailInfoSet: 歌曲详情列表信息
129
+ # @type KTVMusicDetailInfoSet: Array
130
+ # @param NotExistMusicIdSet: 不存在的歌曲 ID 列表。
131
+ # @type NotExistMusicIdSet: Array
132
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
133
+ # @type RequestId: String
134
+
135
+ attr_accessor :KTVMusicDetailInfoSet, :NotExistMusicIdSet, :RequestId
136
+
137
+ def initialize(ktvmusicdetailinfoset=nil, notexistmusicidset=nil, requestid=nil)
138
+ @KTVMusicDetailInfoSet = ktvmusicdetailinfoset
139
+ @NotExistMusicIdSet = notexistmusicidset
140
+ @RequestId = requestid
141
+ end
142
+
143
+ def deserialize(params)
144
+ unless params['KTVMusicDetailInfoSet'].nil?
145
+ @KTVMusicDetailInfoSet = []
146
+ params['KTVMusicDetailInfoSet'].each do |i|
147
+ ktvmusicdetailinfo_tmp = KTVMusicDetailInfo.new
148
+ ktvmusicdetailinfo_tmp.deserialize(i)
149
+ @KTVMusicDetailInfoSet << ktvmusicdetailinfo_tmp
150
+ end
151
+ end
152
+ @NotExistMusicIdSet = params['NotExistMusicIdSet']
153
+ @RequestId = params['RequestId']
154
+ end
155
+ end
156
+
110
157
  # 副歌片段信息
111
158
  class ChorusClip < TencentCloud::Common::AbstractModel
112
159
  # @param StartTime: 副歌时间,单位:毫秒
@@ -1542,6 +1589,59 @@ module TencentCloud
1542
1589
  end
1543
1590
  end
1544
1591
 
1592
+ # 即使广播曲库歌曲信息详情列表
1593
+ class KTVMusicDetailInfo < TencentCloud::Common::AbstractModel
1594
+ # @param KTVMusicBaseInfo: 即使广播曲库歌曲基础信息
1595
+ # @type KTVMusicBaseInfo: :class:`Tencentcloud::Ame.v20190916.models.KTVMusicBaseInfo`
1596
+ # @param PlayToken: 播放凭证
1597
+ # @type PlayToken: String
1598
+ # @param LyricsUrl: 歌词下载地址
1599
+ # @type LyricsUrl: String
1600
+ # @param DefinitionInfoSet: 歌曲规格信息列表
1601
+ # @type DefinitionInfoSet: Array
1602
+ # @param MidiJsonUrl: 音高数据文件下载地址
1603
+ # @type MidiJsonUrl: String
1604
+ # @param ChorusClipSet: 副歌片段数据列表
1605
+ # @type ChorusClipSet: Array
1606
+
1607
+ attr_accessor :KTVMusicBaseInfo, :PlayToken, :LyricsUrl, :DefinitionInfoSet, :MidiJsonUrl, :ChorusClipSet
1608
+
1609
+ def initialize(ktvmusicbaseinfo=nil, playtoken=nil, lyricsurl=nil, definitioninfoset=nil, midijsonurl=nil, chorusclipset=nil)
1610
+ @KTVMusicBaseInfo = ktvmusicbaseinfo
1611
+ @PlayToken = playtoken
1612
+ @LyricsUrl = lyricsurl
1613
+ @DefinitionInfoSet = definitioninfoset
1614
+ @MidiJsonUrl = midijsonurl
1615
+ @ChorusClipSet = chorusclipset
1616
+ end
1617
+
1618
+ def deserialize(params)
1619
+ unless params['KTVMusicBaseInfo'].nil?
1620
+ @KTVMusicBaseInfo = KTVMusicBaseInfo.new
1621
+ @KTVMusicBaseInfo.deserialize(params['KTVMusicBaseInfo'])
1622
+ end
1623
+ @PlayToken = params['PlayToken']
1624
+ @LyricsUrl = params['LyricsUrl']
1625
+ unless params['DefinitionInfoSet'].nil?
1626
+ @DefinitionInfoSet = []
1627
+ params['DefinitionInfoSet'].each do |i|
1628
+ ktvmusicdefinitioninfo_tmp = KTVMusicDefinitionInfo.new
1629
+ ktvmusicdefinitioninfo_tmp.deserialize(i)
1630
+ @DefinitionInfoSet << ktvmusicdefinitioninfo_tmp
1631
+ end
1632
+ end
1633
+ @MidiJsonUrl = params['MidiJsonUrl']
1634
+ unless params['ChorusClipSet'].nil?
1635
+ @ChorusClipSet = []
1636
+ params['ChorusClipSet'].each do |i|
1637
+ chorusclip_tmp = ChorusClip.new
1638
+ chorusclip_tmp.deserialize(i)
1639
+ @ChorusClipSet << chorusclip_tmp
1640
+ end
1641
+ end
1642
+ end
1643
+ end
1644
+
1545
1645
  # 排行榜结构
1546
1646
  class KTVMusicTopInfo < TencentCloud::Common::AbstractModel
1547
1647
  # @param MusicId: 歌曲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.262
4
+ version: 1.0.263
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-02-22 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common