lib/v20210903/models.rb in tencentcloud-sdk-ivld-3.0.590 vs lib/v20210903/models.rb in tencentcloud-sdk-ivld-3.0.591
- old
+ new
@@ -25,11 +25,11 @@
# @type ImageURL: String
# @param Image: 图片数据base64之后的结果
# @type Image: String
attr_accessor :PersonId, :ImageURL, :Image
-
+
def initialize(personid=nil, imageurl=nil, image=nil)
@PersonId = personid
@ImageURL = imageurl
@Image = image
end
@@ -49,11 +49,11 @@
# @type ImageInfo: :class:`Tencentcloud::Ivld.v20210903.models.PersonImageInfo`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PersonId, :ImageInfo, :RequestId
-
+
def initialize(personid=nil, imageinfo=nil, requestid=nil)
@PersonId = personid
@ImageInfo = imageinfo
@RequestId = requestid
end
@@ -85,11 +85,11 @@
# @type AppearIndex: Integer
# @param Index: AppearInfo中AppearIndex对应元素的第Index元素,从0开始技术
# @type Index: Integer
attr_accessor :AppearIndex, :Index
-
+
def initialize(appearindex=nil, index=nil)
@AppearIndex = appearindex
@Index = index
end
@@ -112,11 +112,11 @@
# @param VideoAppearSet: 关键词在视频信息中的出现位置数组
# 注意:此字段可能返回 null,表示取不到有效值。
# @type VideoAppearSet: Array
attr_accessor :AudioAppearSet, :TextAppearSet, :VideoAppearSet
-
+
def initialize(audioappearset=nil, textappearset=nil, videoappearset=nil)
@AudioAppearSet = audioappearset
@TextAppearSet = textappearset
@VideoAppearSet = videoappearset
end
@@ -156,11 +156,11 @@
# @type AudioInfoSet: Array
# @param TextTagSet: 音频识别标签数据
# @type TextTagSet: :class:`Tencentcloud::Ivld.v20210903.models.MultiLevelTag`
attr_accessor :AudioInfoSet, :TextTagSet
-
+
def initialize(audioinfoset=nil, texttagset=nil)
@AudioInfoSet = audioinfoset
@TextTagSet = texttagset
end
@@ -190,11 +190,11 @@
# @type EndTimeStamp: Float
# @param Tag: ASR提取的音频标签
# @type Tag: String
attr_accessor :Content, :StartTimeStamp, :EndTimeStamp, :Tag
-
+
def initialize(content=nil, starttimestamp=nil, endtimestamp=nil, tag=nil)
@Content = content
@StartTimeStamp = starttimestamp
@EndTimeStamp = endtimestamp
@Tag = tag
@@ -228,11 +228,11 @@
# @param Format: 媒资音频文件格式
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Format: String
attr_accessor :FileSize, :MD5, :Duration, :SampleRate, :BitRate, :Format
-
+
def initialize(filesize=nil, md5=nil, duration=nil, samplerate=nil, bitrate=nil, format=nil)
@FileSize = filesize
@MD5 = md5
@Duration = duration
@SampleRate = samplerate
@@ -258,11 +258,11 @@
# @param PersonInfoSet: 符合特定分类的人物信息数组
# 注意:此字段可能返回 null,表示取不到有效值。
# @type PersonInfoSet: Array
attr_accessor :ClassifyName, :PersonInfoSet
-
+
def initialize(classifyname=nil, personinfoset=nil)
@ClassifyName = classifyname
@PersonInfoSet = personinfoset
end
@@ -285,11 +285,11 @@
# @type L1Category: String
# @param L2Category: 自定义二级类型
# @type L2Category: String
attr_accessor :L1Category, :L2Category
-
+
def initialize(l1category=nil, l2category=nil)
@L1Category = l1category
@L2Category = l2category
end
@@ -305,11 +305,11 @@
# @type CategoryId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :CategoryId, :RequestId
-
+
def initialize(categoryid=nil, requestid=nil)
@CategoryId = categoryid
@RequestId = requestid
end
@@ -323,11 +323,11 @@
class CreateCustomGroupRequest < TencentCloud::Common::AbstractModel
# @param Bucket: 人脸图片COS存储桶Host地址
# @type Bucket: String
attr_accessor :Bucket
-
+
def initialize(bucket=nil)
@Bucket = bucket
end
def deserialize(params)
@@ -339,11 +339,11 @@
class CreateCustomGroupResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -363,11 +363,11 @@
# @type ImageURL: String
# @param Image: 原始图片base64编码后的数据
# @type Image: String
attr_accessor :Name, :BasicInfo, :CategoryId, :ImageURL, :Image
-
+
def initialize(name=nil, basicinfo=nil, categoryid=nil, imageurl=nil, image=nil)
@Name = name
@BasicInfo = basicinfo
@CategoryId = categoryid
@ImageURL = imageurl
@@ -391,11 +391,11 @@
# @type ImageInfo: :class:`Tencentcloud::Ivld.v20210903.models.PersonImageInfo`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PersonId, :ImageInfo, :RequestId
-
+
def initialize(personid=nil, imageinfo=nil, requestid=nil)
@PersonId = personid
@ImageInfo = imageinfo
@RequestId = requestid
end
@@ -411,11 +411,11 @@
end
# CreateDefaultCategories请求参数结构体
class CreateDefaultCategoriesRequest < TencentCloud::Common::AbstractModel
-
+
def initialize()
end
def deserialize(params)
end
@@ -425,11 +425,11 @@
class CreateDefaultCategoriesResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -451,11 +451,11 @@
# @type Label: String
# @param CallbackURL: 任务分析完成的回调地址,该设置优先级高于控制台全局的设置;
# @type CallbackURL: String
attr_accessor :MediaId, :MediaPreknownInfo, :TaskName, :UploadVideo, :Label, :CallbackURL
-
+
def initialize(mediaid=nil, mediapreknowninfo=nil, taskname=nil, uploadvideo=nil, label=nil, callbackurl=nil)
@MediaId = mediaid
@MediaPreknownInfo = mediapreknowninfo
@TaskName = taskname
@UploadVideo = uploadvideo
@@ -482,11 +482,11 @@
# @type TaskId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TaskId, :RequestId
-
+
def initialize(taskid=nil, requestid=nil)
@TaskId = taskid
@RequestId = requestid
end
@@ -504,11 +504,11 @@
# @type L1Category: String
# @param L2Category: 二级自定义类型
# @type L2Category: String
attr_accessor :CategoryId, :L1Category, :L2Category
-
+
def initialize(categoryid=nil, l1category=nil, l2category=nil)
@CategoryId = categoryid
@L1Category = l1category
@L2Category = l2category
end
@@ -530,11 +530,11 @@
# @type PersonIdSet: Array
# @param L1CategorySet: 一级自定义人物类型数组
# @type L1CategorySet: Array
attr_accessor :Name, :CategoryIdSet, :PersonIdSet, :L1CategorySet
-
+
def initialize(name=nil, categoryidset=nil, personidset=nil, l1categoryset=nil)
@Name = name
@CategoryIdSet = categoryidset
@PersonIdSet = personidset
@L1CategorySet = l1categoryset
@@ -564,11 +564,11 @@
# @type ImageInfoSet: Array
# @param CreateTime: 自定义人物创建时间
# @type CreateTime: String
attr_accessor :PersonId, :Name, :BasicInfo, :L1Category, :L2Category, :ImageInfoSet, :CreateTime
-
+
def initialize(personid=nil, name=nil, basicinfo=nil, l1category=nil, l2category=nil, imageinfoset=nil, createtime=nil)
@PersonId = personid
@Name = name
@BasicInfo = basicinfo
@L1Category = l1category
@@ -600,11 +600,11 @@
# @param ShowInfo: 节目粒度结构化结果
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ShowInfo: :class:`Tencentcloud::Ivld.v20210903.models.ShowInfo`
attr_accessor :ShowInfo
-
+
def initialize(showinfo=nil)
@ShowInfo = showinfo
end
def deserialize(params)
@@ -619,11 +619,11 @@
class DeleteCustomCategoryRequest < TencentCloud::Common::AbstractModel
# @param CategoryId: 自定义分类ID
# @type CategoryId: String
attr_accessor :CategoryId
-
+
def initialize(categoryid=nil)
@CategoryId = categoryid
end
def deserialize(params)
@@ -637,11 +637,11 @@
# @type CategoryId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :CategoryId, :RequestId
-
+
def initialize(categoryid=nil, requestid=nil)
@CategoryId = categoryid
@RequestId = requestid
end
@@ -657,11 +657,11 @@
# @type PersonId: String
# @param ImageId: 自定义人脸图片Id
# @type ImageId: String
attr_accessor :PersonId, :ImageId
-
+
def initialize(personid=nil, imageid=nil)
@PersonId = personid
@ImageId = imageid
end
@@ -679,11 +679,11 @@
# @type ImageId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PersonId, :ImageId, :RequestId
-
+
def initialize(personid=nil, imageid=nil, requestid=nil)
@PersonId = personid
@ImageId = imageid
@RequestId = requestid
end
@@ -699,11 +699,11 @@
class DeleteCustomPersonRequest < TencentCloud::Common::AbstractModel
# @param PersonId: 待删除的自定义人物ID
# @type PersonId: String
attr_accessor :PersonId
-
+
def initialize(personid=nil)
@PersonId = personid
end
def deserialize(params)
@@ -717,11 +717,11 @@
# @type PersonId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PersonId, :RequestId
-
+
def initialize(personid=nil, requestid=nil)
@PersonId = personid
@RequestId = requestid
end
@@ -735,11 +735,11 @@
class DeleteMediaRequest < TencentCloud::Common::AbstractModel
# @param MediaId: 媒资文件在系统中的ID
# @type MediaId: String
attr_accessor :MediaId
-
+
def initialize(mediaid=nil)
@MediaId = mediaid
end
def deserialize(params)
@@ -751,11 +751,11 @@
class DeleteMediaResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -767,11 +767,11 @@
class DeleteTaskRequest < TencentCloud::Common::AbstractModel
# @param TaskId: 任务Id
# @type TaskId: String
attr_accessor :TaskId
-
+
def initialize(taskid=nil)
@TaskId = taskid
end
def deserialize(params)
@@ -783,11 +783,11 @@
class DeleteTaskResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -796,11 +796,11 @@
end
# DescribeCustomCategories请求参数结构体
class DescribeCustomCategoriesRequest < TencentCloud::Common::AbstractModel
-
+
def initialize()
end
def deserialize(params)
end
@@ -812,11 +812,11 @@
# @type CategorySet: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :CategorySet, :RequestId
-
+
def initialize(categoryset=nil, requestid=nil)
@CategorySet = categoryset
@RequestId = requestid
end
@@ -834,11 +834,11 @@
end
# DescribeCustomGroup请求参数结构体
class DescribeCustomGroupRequest < TencentCloud::Common::AbstractModel
-
+
def initialize()
end
def deserialize(params)
end
@@ -852,11 +852,11 @@
# @type Bucket: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :GroupSize, :Bucket, :RequestId
-
+
def initialize(groupsize=nil, bucket=nil, requestid=nil)
@GroupSize = groupsize
@Bucket = bucket
@RequestId = requestid
end
@@ -872,11 +872,11 @@
class DescribeCustomPersonDetailRequest < TencentCloud::Common::AbstractModel
# @param PersonId: 自定义人物Id
# @type PersonId: String
attr_accessor :PersonId
-
+
def initialize(personid=nil)
@PersonId = personid
end
def deserialize(params)
@@ -893,11 +893,11 @@
# @type TaskIdSet: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PersonInfo, :TaskIdSet, :RequestId
-
+
def initialize(personinfo=nil, taskidset=nil, requestid=nil)
@PersonInfo = personinfo
@TaskIdSet = taskidset
@RequestId = requestid
end
@@ -922,11 +922,11 @@
# @type SortBy: :class:`Tencentcloud::Ivld.v20210903.models.SortBy`
# @param Filter: 自定义人物过滤条件
# @type Filter: :class:`Tencentcloud::Ivld.v20210903.models.CustomPersonFilter`
attr_accessor :PageNumber, :PageSize, :SortBy, :Filter
-
+
def initialize(pagenumber=nil, pagesize=nil, sortby=nil, filter=nil)
@PageNumber = pagenumber
@PageSize = pagesize
@SortBy = sortby
@Filter = filter
@@ -954,11 +954,11 @@
# @type PersonInfoSet: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :PersonInfoSet, :RequestId
-
+
def initialize(totalcount=nil, personinfoset=nil, requestid=nil)
@TotalCount = totalcount
@PersonInfoSet = personinfoset
@RequestId = requestid
end
@@ -981,11 +981,11 @@
class DescribeMediaRequest < TencentCloud::Common::AbstractModel
# @param MediaId: 导入媒资返回的媒资ID,最长32B
# @type MediaId: String
attr_accessor :MediaId
-
+
def initialize(mediaid=nil)
@MediaId = mediaid
end
def deserialize(params)
@@ -1000,11 +1000,11 @@
# @type MediaInfo: :class:`Tencentcloud::Ivld.v20210903.models.MediaInfo`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :MediaInfo, :RequestId
-
+
def initialize(mediainfo=nil, requestid=nil)
@MediaInfo = mediainfo
@RequestId = requestid
end
@@ -1027,11 +1027,11 @@
# @type MediaFilter: :class:`Tencentcloud::Ivld.v20210903.models.MediaFilter`
# @param SortBy: 返回结果排序信息,By字段只支持CreateTime
# @type SortBy: :class:`Tencentcloud::Ivld.v20210903.models.SortBy`
attr_accessor :PageNumber, :PageSize, :MediaFilter, :SortBy
-
+
def initialize(pagenumber=nil, pagesize=nil, mediafilter=nil, sortby=nil)
@PageNumber = pagenumber
@PageSize = pagesize
@MediaFilter = mediafilter
@SortBy = sortby
@@ -1060,11 +1060,11 @@
# @type MediaInfoSet: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :MediaInfoSet, :RequestId
-
+
def initialize(totalcount=nil, mediainfoset=nil, requestid=nil)
@TotalCount = totalcount
@MediaInfoSet = mediainfoset
@RequestId = requestid
end
@@ -1087,11 +1087,11 @@
class DescribeTaskDetailRequest < TencentCloud::Common::AbstractModel
# @param TaskId: 创建任务返回的TaskId
# @type TaskId: String
attr_accessor :TaskId
-
+
def initialize(taskid=nil)
@TaskId = taskid
end
def deserialize(params)
@@ -1118,11 +1118,11 @@
# @type TextTaskData: :class:`Tencentcloud::Ivld.v20210903.models.TextData`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TaskInfo, :TaskData, :ImageTaskData, :AudioTaskData, :TextTaskData, :RequestId
-
+
def initialize(taskinfo=nil, taskdata=nil, imagetaskdata=nil, audiotaskdata=nil, texttaskdata=nil, requestid=nil)
@TaskInfo = taskinfo
@TaskData = taskdata
@ImageTaskData = imagetaskdata
@AudioTaskData = audiotaskdata
@@ -1159,11 +1159,11 @@
class DescribeTaskRequest < TencentCloud::Common::AbstractModel
# @param TaskId: CreateTask返回的任务ID,最长32B
# @type TaskId: String
attr_accessor :TaskId
-
+
def initialize(taskid=nil)
@TaskId = taskid
end
def deserialize(params)
@@ -1178,11 +1178,11 @@
# @type TaskInfo: :class:`Tencentcloud::Ivld.v20210903.models.TaskInfo`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TaskInfo, :RequestId
-
+
def initialize(taskinfo=nil, requestid=nil)
@TaskInfo = taskinfo
@RequestId = requestid
end
@@ -1205,11 +1205,11 @@
# @type TaskFilter: :class:`Tencentcloud::Ivld.v20210903.models.TaskFilter`
# @param SortBy: 返回结果排序信息,By字段只支持CreateTimeStamp
# @type SortBy: :class:`Tencentcloud::Ivld.v20210903.models.SortBy`
attr_accessor :PageNumber, :PageSize, :TaskFilter, :SortBy
-
+
def initialize(pagenumber=nil, pagesize=nil, taskfilter=nil, sortby=nil)
@PageNumber = pagenumber
@PageSize = pagesize
@TaskFilter = taskfilter
@SortBy = sortby
@@ -1238,11 +1238,11 @@
# @type TaskInfoSet: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :TaskInfoSet, :RequestId
-
+
def initialize(totalcount=nil, taskinfoset=nil, requestid=nil)
@TotalCount = totalcount
@TaskInfoSet = taskinfoset
@RequestId = requestid
end
@@ -1278,11 +1278,11 @@
# @param SourceLogo: 图片中出现的来源信息识别结果
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SourceLogo: :class:`Tencentcloud::Ivld.v20210903.models.ImageLogo`
attr_accessor :OcrSet, :FrameTagSet, :MultiLevelPersonInfoSet, :TvLogo, :SourceLogo
-
+
def initialize(ocrset=nil, frametagset=nil, multilevelpersoninfoset=nil, tvlogo=nil, sourcelogo=nil)
@OcrSet = ocrset
@FrameTagSet = frametagset
@MultiLevelPersonInfoSet = multilevelpersoninfoset
@TvLogo = tvlogo
@@ -1329,11 +1329,11 @@
# @param AppearRect: Logo在图片中出现的位置
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AppearRect: :class:`Tencentcloud::Ivld.v20210903.models.Rectf`
attr_accessor :Logo, :AppearRect
-
+
def initialize(logo=nil, appearrect=nil)
@Logo = logo
@AppearRect = appearrect
end
@@ -1363,11 +1363,11 @@
# @param Format: 媒资图片文件格式
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Format: String
attr_accessor :FileSize, :MD5, :Width, :Height, :Format
-
+
def initialize(filesize=nil, md5=nil, width=nil, height=nil, format=nil)
@FileSize = filesize
@MD5 = md5
@Width = width
@Height = height
@@ -1391,11 +1391,11 @@
# @param AppearRect: 可视文本在图片中的位置信息
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AppearRect: :class:`Tencentcloud::Ivld.v20210903.models.Rectf`
attr_accessor :Content, :AppearRect
-
+
def initialize(content=nil, appearrect=nil)
@Content = content
@AppearRect = appearrect
end
@@ -1426,11 +1426,11 @@
# @param MediaType: 媒资文件类型,详细定义参见[MediaPreknownInfo.MediaType](https://cloud.tencent.com/document/product/1509/65063#MediaPreknownInfo)
# 默认为2(视频)
# @type MediaType: Integer
attr_accessor :URL, :MD5, :Name, :WriteBackCosPath, :Label, :CallbackURL, :MediaType
-
+
def initialize(url=nil, md5=nil, name=nil, writebackcospath=nil, label=nil, callbackurl=nil, mediatype=nil)
@URL = url
@MD5 = md5
@Name = name
@WriteBackCosPath = writebackcospath
@@ -1456,11 +1456,11 @@
# @type MediaId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :MediaId, :RequestId
-
+
def initialize(mediaid=nil, requestid=nil)
@MediaId = mediaid
@RequestId = requestid
end
@@ -1485,11 +1485,11 @@
# @param FirstAppear: 一级标签首次出现信息
# 注意:此字段可能返回 null,表示取不到有效值。
# @type FirstAppear: Integer
attr_accessor :Name, :L2TagSet, :AppearIndexPairSet, :FirstAppear
-
+
def initialize(name=nil, l2tagset=nil, appearindexpairset=nil, firstappear=nil)
@Name = name
@L2TagSet = l2tagset
@AppearIndexPairSet = appearindexpairset
@FirstAppear = firstappear
@@ -1532,11 +1532,11 @@
# @param FirstAppear: 二级标签首次出现信息
# 注意:此字段可能返回 null,表示取不到有效值。
# @type FirstAppear: Integer
attr_accessor :Name, :L3TagSet, :AppearIndexPairSet, :FirstAppear
-
+
def initialize(name=nil, l3tagset=nil, appearindexpairset=nil, firstappear=nil)
@Name = name
@L3TagSet = l3tagset
@AppearIndexPairSet = appearindexpairset
@FirstAppear = firstappear
@@ -1576,11 +1576,11 @@
# @param FirstAppear: 三级标签首次出现信息,可选值为[1,3]
# 注意:此字段可能返回 null,表示取不到有效值。
# @type FirstAppear: Integer
attr_accessor :Name, :AppearIndexPairSet, :FirstAppear
-
+
def initialize(name=nil, appearindexpairset=nil, firstappear=nil)
@Name = name
@AppearIndexPairSet = appearindexpairset
@FirstAppear = firstappear
end
@@ -1612,11 +1612,11 @@
# @type LabelSet: Array
# @param MediaType: 媒资文件类型,定义参见[MediaPreknownInfo.MediaType](https://cloud.tencent.com/document/product/1509/65063#MediaPreknownInfo)
# @type MediaType: Integer
attr_accessor :MediaNameSet, :StatusSet, :MediaIdSet, :LabelSet, :MediaType
-
+
def initialize(medianameset=nil, statusset=nil, mediaidset=nil, labelset=nil, mediatype=nil)
@MediaNameSet = medianameset
@StatusSet = statusset
@MediaIdSet = mediaidset
@LabelSet = labelset
@@ -1688,11 +1688,11 @@
# @param TextMetadata: 媒资文本文件元信息,仅在MediaType=Text时有效
# 注意:此字段可能返回 null,表示取不到有效值。
# @type TextMetadata: :class:`Tencentcloud::Ivld.v20210903.models.TextMetadata`
attr_accessor :MediaId, :Name, :DownLoadURL, :Status, :FailedReason, :Metadata, :Progress, :Label, :CallbackURL, :MediaType, :AudioMetadata, :ImageMetadata, :TextMetadata
-
+
def initialize(mediaid=nil, name=nil, downloadurl=nil, status=nil, failedreason=nil, metadata=nil, progress=nil, label=nil, callbackurl=nil, mediatype=nil, audiometadata=nil, imagemetadata=nil, textmetadata=nil)
@MediaId = mediaid
@Name = name
@DownLoadURL = downloadurl
@Status = status
@@ -1760,11 +1760,11 @@
# @param BitRate: 媒资视频比特率,单位为kbps
# 注意:此字段可能返回 null,表示取不到有效值。
# @type BitRate: Integer
attr_accessor :FileSize, :MD5, :Duration, :NumFrames, :Width, :Height, :FPS, :BitRate
-
+
def initialize(filesize=nil, md5=nil, duration=nil, numframes=nil, width=nil, height=nil, fps=nil, bitrate=nil)
@FileSize = filesize
@MD5 = md5
@Duration = duration
@NumFrames = numframes
@@ -1839,11 +1839,11 @@
# @param MediaLang: 媒资音频类型,参见MediaPreknownInfo结构体定义
# 注意:此字段可能返回 null,表示取不到有效值。
# @type MediaLang: Integer
attr_accessor :MediaType, :MediaLabel, :MediaSecondLabel, :MediaLang
-
+
def initialize(mediatype=nil, medialabel=nil, mediasecondlabel=nil, medialang=nil)
@MediaType = mediatype
@MediaLabel = medialabel
@MediaSecondLabel = mediasecondlabel
@MediaLang = medialang
@@ -1863,11 +1863,11 @@
# @type TaskFinishNotifyURL: String
# @param MediaFinishNotifyURL: 媒体导入完成后回调地址
# @type MediaFinishNotifyURL: String
attr_accessor :TaskFinishNotifyURL, :MediaFinishNotifyURL
-
+
def initialize(taskfinishnotifyurl=nil, mediafinishnotifyurl=nil)
@TaskFinishNotifyURL = taskfinishnotifyurl
@MediaFinishNotifyURL = mediafinishnotifyurl
end
@@ -1881,11 +1881,11 @@
class ModifyCallbackResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -1904,11 +1904,11 @@
# @param Source: 检测结果来源
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Source: Integer
attr_accessor :L1ClassifyName, :L2ClassifiedPersonInfoSet, :Source
-
+
def initialize(l1classifyname=nil, l2classifiedpersoninfoset=nil, source=nil)
@L1ClassifyName = l1classifyname
@L2ClassifiedPersonInfoSet = l2classifiedpersoninfoset
@Source = source
end
@@ -1937,11 +1937,11 @@
# @param AppearInfo: 标签在识别结果中的定位信息
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AppearInfo: :class:`Tencentcloud::Ivld.v20210903.models.AppearInfo`
attr_accessor :TagSet, :AppearInfo
-
+
def initialize(tagset=nil, appearinfo=nil)
@TagSet = tagset
@AppearInfo = appearinfo
end
@@ -1971,11 +1971,11 @@
# @type ErrorCode: String
# @param ErrorMsg: 自定义人脸图片处理错误信息
# @type ErrorMsg: String
attr_accessor :ImageId, :ImageURL, :ErrorCode, :ErrorMsg
-
+
def initialize(imageid=nil, imageurl=nil, errorcode=nil, errormsg=nil)
@ImageId = imageid
@ImageURL = imageurl
@ErrorCode = errorcode
@ErrorMsg = errormsg
@@ -2002,11 +2002,11 @@
# @param AppearRect: 人脸在图片中的位置,仅在图片标签任务有效
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AppearRect: :class:`Tencentcloud::Ivld.v20210903.models.Rectf`
attr_accessor :Name, :Job, :FirstAppear, :AppearInfo, :AppearRect
-
+
def initialize(name=nil, job=nil, firstappear=nil, appearinfo=nil, appearrect=nil)
@Name = name
@Job = job
@FirstAppear = firstappear
@AppearInfo = appearinfo
@@ -2029,11 +2029,11 @@
end
# QueryCallback请求参数结构体
class QueryCallbackRequest < TencentCloud::Common::AbstractModel
-
+
def initialize()
end
def deserialize(params)
end
@@ -2047,11 +2047,11 @@
# @type MediaFinishNotifyURL: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TaskFinishNotifyURL, :MediaFinishNotifyURL, :RequestId
-
+
def initialize(taskfinishnotifyurl=nil, mediafinishnotifyurl=nil, requestid=nil)
@TaskFinishNotifyURL = taskfinishnotifyurl
@MediaFinishNotifyURL = mediafinishnotifyurl
@RequestId = requestid
end
@@ -2077,11 +2077,11 @@
# @param Height: 矩形框长度
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Height: Float
attr_accessor :X, :Y, :Width, :Height
-
+
def initialize(x=nil, y=nil, width=nil, height=nil)
@X = x
@Y = y
@Width = width
@Height = height
@@ -2148,11 +2148,11 @@
# @param MultiLevelPersonInfoSet: 树状已分类人物信息
# 注意:此字段可能返回 null,表示取不到有效值。
# @type MultiLevelPersonInfoSet: Array
attr_accessor :Date, :Logo, :Column, :Source, :CoverImageURL, :SummarySet, :TitleSet, :AudioInfoSet, :TextInfoSet, :ClassifiedPersonInfoSet, :TextTagSet, :FrameTagSet, :WebMediaURL, :MediaClassifierSet, :SummaryTagSet, :UnknownPersonSet, :MultiLevelPersonInfoSet
-
+
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, unknownpersonset=nil, multilevelpersoninfoset=nil)
@Date = date
@Logo = logo
@Column = column
@Source = source
@@ -2239,11 +2239,11 @@
# @type By: String
# @param Descend: true表示降序,false表示升序
# @type Descend: Boolean
attr_accessor :By, :Descend
-
+
def initialize(by=nil, descend=nil)
@By = by
@Descend = descend
end
@@ -2271,11 +2271,11 @@
# @type MediaLabelSet: Array
# @param LabelSet: 媒资自定义标签数组
# @type LabelSet: Array
attr_accessor :MediaTypeSet, :TaskStatusSet, :TaskNameSet, :TaskIdSet, :MediaNameSet, :MediaLangSet, :MediaLabelSet, :LabelSet
-
+
def initialize(mediatypeset=nil, taskstatusset=nil, tasknameset=nil, taskidset=nil, medianameset=nil, medialangset=nil, medialabelset=nil, labelset=nil)
@MediaTypeSet = mediatypeset
@TaskStatusSet = taskstatusset
@TaskNameSet = tasknameset
@TaskIdSet = taskidset
@@ -2360,11 +2360,11 @@
# @param Metadata: 任务对应的媒资文件元信息,仅在MediaType为Video时有效
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Metadata: :class:`Tencentcloud::Ivld.v20210903.models.MediaMetadata`
attr_accessor :TaskId, :TaskName, :MediaId, :TaskStatus, :TaskProgress, :TaskTimeCost, :TaskCreateTime, :TaskStartTime, :FailedReason, :MediaPreknownInfo, :MediaName, :Label, :CallbackURL, :AudioMetadata, :ImageMetadata, :TextMetadata, :Metadata
-
+
def initialize(taskid=nil, taskname=nil, mediaid=nil, taskstatus=nil, taskprogress=nil, tasktimecost=nil, taskcreatetime=nil, taskstarttime=nil, failedreason=nil, mediapreknowninfo=nil, medianame=nil, label=nil, callbackurl=nil, audiometadata=nil, imagemetadata=nil, textmetadata=nil, metadata=nil)
@TaskId = taskid
@TaskName = taskname
@MediaId = mediaid
@TaskStatus = taskstatus
@@ -2429,11 +2429,11 @@
# @type StartPosition: Integer
# @param EndPosition: 关键词在文本中出现的结束偏移量(不包含)
# @type EndPosition: Integer
attr_accessor :Index, :StartPosition, :EndPosition
-
+
def initialize(index=nil, startposition=nil, endposition=nil)
@Index = index
@StartPosition = startposition
@EndPosition = endposition
end
@@ -2456,11 +2456,11 @@
# @param TextTagSet: 文本标签信息
# 注意:此字段可能返回 null,表示取不到有效值。
# @type TextTagSet: :class:`Tencentcloud::Ivld.v20210903.models.MultiLevelTag`
attr_accessor :Content, :Summary, :TextTagSet
-
+
def initialize(content=nil, summary=nil, texttagset=nil)
@Content = content
@Summary = summary
@TextTagSet = texttagset
end
@@ -2485,11 +2485,11 @@
# @type EndTimeStamp: Float
# @param Tag: OCR标签信息
# @type Tag: String
attr_accessor :Content, :StartTimeStamp, :EndTimeStamp, :Tag
-
+
def initialize(content=nil, starttimestamp=nil, endtimestamp=nil, tag=nil)
@Content = content
@StartTimeStamp = starttimestamp
@EndTimeStamp = endtimestamp
@Tag = tag
@@ -2517,11 +2517,11 @@
# @param Format: 媒资文本文件格式
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Format: String
attr_accessor :FileSize, :MD5, :Length, :Format
-
+
def initialize(filesize=nil, md5=nil, length=nil, format=nil)
@FileSize = filesize
@MD5 = md5
@Length = length
@Format = format
@@ -2543,11 +2543,11 @@
# @param PutLibraryAllowed: 未知人物是否可以入库(只有当未知人物人脸小图质量分符合要求时才可入库)
# 注意:此字段可能返回 null,表示取不到有效值。
# @type PutLibraryAllowed: Boolean
attr_accessor :VideoAppearSet, :PutLibraryAllowed
-
+
def initialize(videoappearset=nil, putlibraryallowed=nil)
@VideoAppearSet = videoappearset
@PutLibraryAllowed = putlibraryallowed
end
@@ -2572,11 +2572,11 @@
# @type L1Category: String
# @param L2Category: 二级自定义人物类型
# @type L2Category: String
attr_accessor :CategoryId, :L1Category, :L2Category
-
+
def initialize(categoryid=nil, l1category=nil, l2category=nil)
@CategoryId = categoryid
@L1Category = l1category
@L2Category = l2category
end
@@ -2594,11 +2594,11 @@
# @type CategoryId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :CategoryId, :RequestId
-
+
def initialize(categoryid=nil, requestid=nil)
@CategoryId = categoryid
@RequestId = requestid
end
@@ -2618,11 +2618,11 @@
# @type BasicInfo: String
# @param CategoryId: 更新后的分类信息,如为空则不更新
# @type CategoryId: String
attr_accessor :PersonId, :Name, :BasicInfo, :CategoryId
-
+
def initialize(personid=nil, name=nil, basicinfo=nil, categoryid=nil)
@PersonId = personid
@Name = name
@BasicInfo = basicinfo
@CategoryId = categoryid
@@ -2642,11 +2642,11 @@
# @type PersonId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PersonId, :RequestId
-
+
def initialize(personid=nil, requestid=nil)
@PersonId = personid
@RequestId = requestid
end
@@ -2665,10 +2665,10 @@
# @type EndTimeStamp: Float
# @param ImageURL: 关键词在视觉信息中的封面图片
# @type ImageURL: String
attr_accessor :StartTimeStamp, :EndTimeStamp, :ImageURL
-
+
def initialize(starttimestamp=nil, endtimestamp=nil, imageurl=nil)
@StartTimeStamp = starttimestamp
@EndTimeStamp = endtimestamp
@ImageURL = imageurl
end