tencentcloud-sdk-ivld 1.0.270 → 1.0.271
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/v20210903/models.rb +74 -2
- 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: baae5977dc471a3e0be8172496159bf002c4c13c
|
4
|
+
data.tar.gz: b83695ce2740bf20d536f7275854d4a152788f04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5fbb92240d7621fc388b90ab0941310437a639cd9e2798d9ed94777d93e05ce0db92f1d8b66aaf81c3bb640699a35f1977efd0743025b6cee9fd6932d218eb5
|
7
|
+
data.tar.gz: 3b9075f90c2abd3343ad55306a1a485f603fa829841b088c9f3929eec9ce6cb4c632f376f67a5ae5c24a529b76dd6c796a71d3b5b123d4653e5d854fc2cd6e00
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.271
|
data/lib/v20210903/models.rb
CHANGED
@@ -177,6 +177,35 @@ module TencentCloud
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
+
# 已分类的人物信息
|
181
|
+
class ClassifiedPersonInfo < TencentCloud::Common::AbstractModel
|
182
|
+
# @param ClassifyName: 人物分类名称
|
183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
184
|
+
# @type ClassifyName: String
|
185
|
+
# @param PersonInfoSet: 符合特定分类的人物信息数组
|
186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
187
|
+
# @type PersonInfoSet: Array
|
188
|
+
|
189
|
+
attr_accessor :ClassifyName, :PersonInfoSet
|
190
|
+
|
191
|
+
def initialize(classifyname=nil, personinfoset=nil)
|
192
|
+
@ClassifyName = classifyname
|
193
|
+
@PersonInfoSet = personinfoset
|
194
|
+
end
|
195
|
+
|
196
|
+
def deserialize(params)
|
197
|
+
@ClassifyName = params['ClassifyName']
|
198
|
+
unless params['PersonInfoSet'].nil?
|
199
|
+
@PersonInfoSet = []
|
200
|
+
params['PersonInfoSet'].each do |i|
|
201
|
+
personinfo_tmp = PersonInfo.new
|
202
|
+
personinfo_tmp.deserialize(i)
|
203
|
+
@PersonInfoSet << personinfo_tmp
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
180
209
|
# CreateCustomCategory请求参数结构体
|
181
210
|
class CreateCustomCategoryRequest < TencentCloud::Common::AbstractModel
|
182
211
|
# @param L1Category: 自定义一级类型
|
@@ -1636,6 +1665,37 @@ module TencentCloud
|
|
1636
1665
|
end
|
1637
1666
|
end
|
1638
1667
|
|
1668
|
+
# 人物信息
|
1669
|
+
class PersonInfo < TencentCloud::Common::AbstractModel
|
1670
|
+
# @param Name: 公众人物姓名
|
1671
|
+
# @type Name: String
|
1672
|
+
# @param Job: 公众人物职务
|
1673
|
+
# @type Job: String
|
1674
|
+
# @param FirstAppear: 首次出现模态,可选值为[1,3],详细参见AppearIndex定义
|
1675
|
+
# @type FirstAppear: Integer
|
1676
|
+
# @param AppearInfo: 人物出现信息
|
1677
|
+
# @type AppearInfo: :class:`Tencentcloud::Ivld.v20210903.models.AppearInfo`
|
1678
|
+
|
1679
|
+
attr_accessor :Name, :Job, :FirstAppear, :AppearInfo
|
1680
|
+
|
1681
|
+
def initialize(name=nil, job=nil, firstappear=nil, appearinfo=nil)
|
1682
|
+
@Name = name
|
1683
|
+
@Job = job
|
1684
|
+
@FirstAppear = firstappear
|
1685
|
+
@AppearInfo = appearinfo
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
def deserialize(params)
|
1689
|
+
@Name = params['Name']
|
1690
|
+
@Job = params['Job']
|
1691
|
+
@FirstAppear = params['FirstAppear']
|
1692
|
+
unless params['AppearInfo'].nil?
|
1693
|
+
@AppearInfo = AppearInfo.new
|
1694
|
+
@AppearInfo.deserialize(params['AppearInfo'])
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
end
|
1698
|
+
|
1639
1699
|
# QueryCallback请求参数结构体
|
1640
1700
|
class QueryCallbackRequest < TencentCloud::Common::AbstractModel
|
1641
1701
|
|
@@ -1700,6 +1760,9 @@ module TencentCloud
|
|
1700
1760
|
# @param TextInfoSet: 可视文字识别结果列表
|
1701
1761
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1702
1762
|
# @type TextInfoSet: Array
|
1763
|
+
# @param ClassifiedPersonInfoSet: 已分类人物信息列表
|
1764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1765
|
+
# @type ClassifiedPersonInfoSet: Array
|
1703
1766
|
# @param TextTagSet: 文本标签列表,包含标签内容和出现信息
|
1704
1767
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1705
1768
|
# @type TextTagSet: :class:`Tencentcloud::Ivld.v20210903.models.MultiLevelTag`
|
@@ -1716,9 +1779,9 @@ module TencentCloud
|
|
1716
1779
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1717
1780
|
# @type SummaryTagSet: Array
|
1718
1781
|
|
1719
|
-
attr_accessor :Date, :Logo, :Column, :Source, :CoverImageURL, :SummarySet, :TitleSet, :AudioInfoSet, :TextInfoSet, :TextTagSet, :FrameTagSet, :WebMediaURL, :MediaClassifierSet, :SummaryTagSet
|
1782
|
+
attr_accessor :Date, :Logo, :Column, :Source, :CoverImageURL, :SummarySet, :TitleSet, :AudioInfoSet, :TextInfoSet, :ClassifiedPersonInfoSet, :TextTagSet, :FrameTagSet, :WebMediaURL, :MediaClassifierSet, :SummaryTagSet
|
1720
1783
|
|
1721
|
-
def initialize(date=nil, logo=nil, column=nil, source=nil, coverimageurl=nil, summaryset=nil, titleset=nil, audioinfoset=nil, textinfoset=nil, texttagset=nil, frametagset=nil, webmediaurl=nil, mediaclassifierset=nil, summarytagset=nil)
|
1784
|
+
def initialize(date=nil, logo=nil, column=nil, source=nil, coverimageurl=nil, summaryset=nil, titleset=nil, audioinfoset=nil, textinfoset=nil, classifiedpersoninfoset=nil, texttagset=nil, frametagset=nil, webmediaurl=nil, mediaclassifierset=nil, summarytagset=nil)
|
1722
1785
|
@Date = date
|
1723
1786
|
@Logo = logo
|
1724
1787
|
@Column = column
|
@@ -1728,6 +1791,7 @@ module TencentCloud
|
|
1728
1791
|
@TitleSet = titleset
|
1729
1792
|
@AudioInfoSet = audioinfoset
|
1730
1793
|
@TextInfoSet = textinfoset
|
1794
|
+
@ClassifiedPersonInfoSet = classifiedpersoninfoset
|
1731
1795
|
@TextTagSet = texttagset
|
1732
1796
|
@FrameTagSet = frametagset
|
1733
1797
|
@WebMediaURL = webmediaurl
|
@@ -1759,6 +1823,14 @@ module TencentCloud
|
|
1759
1823
|
@TextInfoSet << textinfo_tmp
|
1760
1824
|
end
|
1761
1825
|
end
|
1826
|
+
unless params['ClassifiedPersonInfoSet'].nil?
|
1827
|
+
@ClassifiedPersonInfoSet = []
|
1828
|
+
params['ClassifiedPersonInfoSet'].each do |i|
|
1829
|
+
classifiedpersoninfo_tmp = ClassifiedPersonInfo.new
|
1830
|
+
classifiedpersoninfo_tmp.deserialize(i)
|
1831
|
+
@ClassifiedPersonInfoSet << classifiedpersoninfo_tmp
|
1832
|
+
end
|
1833
|
+
end
|
1762
1834
|
unless params['TextTagSet'].nil?
|
1763
1835
|
@TextTagSet = MultiLevelTag.new
|
1764
1836
|
@TextTagSet.deserialize(params['TextTagSet'])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ivld
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.271
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|