lib/v20200709/models.rb in tencentcloud-sdk-vm-3.0.590 vs lib/v20200709/models.rb in tencentcloud-sdk-vm-3.0.591

- old
+ new

@@ -64,11 +64,11 @@ # @param LanguageResults: 音频语种检测结果 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LanguageResults: Array attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults - + def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil) @HitFlag = hitflag @Label = label @Suggestion = suggestion @Score = score @@ -134,11 +134,11 @@ # @param SubLabelCode: 子标签码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubLabelCode: String attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode - + def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil) @Label = label @Score = score @StartTime = starttime @EndTime = endtime @@ -167,11 +167,11 @@ # @type EndTime: Float # @param SubLabelCode: 子标签码 # @type SubLabelCode: String attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode - + def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil) @Label = label @Score = score @StartTime = starttime @EndTime = endtime @@ -210,11 +210,11 @@ # @param Suggestion: 审核建议 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Suggestion: String attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :LibType, :Suggestion - + def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, libtype=nil, suggestion=nil) @Label = label @Keywords = keywords @LibId = libid @LibName = libname @@ -244,11 +244,11 @@ # @param Result: 结果集 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Result: :class:`Tencentcloud::Vm.v20200709.models.AudioResult` attr_accessor :OffsetTime, :Result - + def initialize(offsettime=nil, result=nil) @OffsetTime = offsettime @Result = result end @@ -270,11 +270,11 @@ # @type Region: String # @param Object: 对象Key # @type Object: String attr_accessor :Bucket, :Region, :Object - + def initialize(bucket=nil, region=nil, object=nil) @Bucket = bucket @Region = region @Object = object end @@ -290,11 +290,11 @@ class CancelTaskRequest < TencentCloud::Common::AbstractModel # @param TaskId: 任务ID # @type TaskId: String attr_accessor :TaskId - + def initialize(taskid=nil) @TaskId = taskid end def deserialize(params) @@ -306,11 +306,11 @@ class CancelTaskResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -328,11 +328,11 @@ # @type BizName: String # @param ModerationCategories: 审核内容,可选:Polity (政治); Porn (色情); Illegal(违法);Abuse (谩骂); Terror (暴恐); Ad (广告); Custom (自定义); # @type ModerationCategories: Array attr_accessor :BizType, :MediaModeration, :BizName, :ModerationCategories - + def initialize(biztype=nil, mediamoderation=nil, bizname=nil, moderationcategories=nil) @BizType = biztype @MediaModeration = mediamoderation @BizName = bizname @ModerationCategories = moderationcategories @@ -353,11 +353,11 @@ class CreateBizConfigResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -379,11 +379,11 @@ # @type CallbackUrl: String # @param Priority: 审核排队优先级。当您有多个视频审核任务排队时,可以根据这个参数控制排队优先级。用于处理插队等逻辑。默认该参数为0 # @type Priority: Integer attr_accessor :BizType, :Type, :Tasks, :Seed, :CallbackUrl, :Priority - + def initialize(biztype=nil, type=nil, tasks=nil, seed=nil, callbackurl=nil, priority=nil) @BizType = biztype @Type = type @Tasks = tasks @Seed = seed @@ -415,11 +415,11 @@ # @type Results: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Results, :RequestId - + def initialize(results=nil, requestid=nil) @Results = results @RequestId = requestid end @@ -442,11 +442,11 @@ # @type TaskId: String # @param ShowAllSegments: 是否展示所有分片,默认只展示命中规则的分片 # @type ShowAllSegments: Boolean attr_accessor :TaskId, :ShowAllSegments - + def initialize(taskid=nil, showallsegments=nil) @TaskId = taskid @ShowAllSegments = showallsegments end @@ -524,11 +524,11 @@ # @type ErrorDescription: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :TryInSeconds, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :RequestId - + def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil, tryinseconds=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, requestid=nil) @TaskId = taskid @DataId = dataid @BizType = biztype @Name = name @@ -603,11 +603,11 @@ # @type AuditType: Integer # @param Filters: 查询条件 # @type Filters: Array attr_accessor :AuditType, :Filters - + def initialize(audittype=nil, filters=nil) @AuditType = audittype @Filters = filters end @@ -634,11 +634,11 @@ # @type EvilCount: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Overview, :TrendCount, :EvilCount, :RequestId - + def initialize(overview=nil, trendcount=nil, evilcount=nil, requestid=nil) @Overview = overview @TrendCount = trendcount @EvilCount = evilcount @RequestId = requestid @@ -683,11 +683,11 @@ # @type EvilType: String # @param Count: 分布类型总量 # @type Count: Integer attr_accessor :EvilType, :Count - + def initialize(eviltype=nil, count=nil) @EvilType = eviltype @Count = count end @@ -705,11 +705,11 @@ # @type Region: String # @param ObjectPrefix: 对象前缀 # @type ObjectPrefix: String attr_accessor :Bucket, :Region, :ObjectPrefix - + def initialize(bucket=nil, region=nil, objectprefix=nil) @Bucket = bucket @Region = region @ObjectPrefix = objectprefix end @@ -730,11 +730,11 @@ # @type Name: String # @param Values: 查询值 # @type Values: Array attr_accessor :Name, :Values - + def initialize(name=nil, values=nil) @Name = name @Values = values end @@ -779,11 +779,11 @@ # @param Extra: 附加字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Extra: String attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Results, :Url, :Extra - + def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, results=nil, url=nil, extra=nil) @HitFlag = hitflag @Label = label @Suggestion = suggestion @Score = score @@ -851,11 +851,11 @@ # @param Details: 其他详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Details: Array attr_accessor :Scene, :HitFlag, :Suggestion, :Label, :SubLabel, :Score, :Names, :Text, :Details - + def initialize(scene=nil, hitflag=nil, suggestion=nil, label=nil, sublabel=nil, score=nil, names=nil, text=nil, details=nil) @Scene = scene @HitFlag = hitflag @Suggestion = suggestion @Label = label @@ -918,11 +918,11 @@ # @param SubLabelCode: 子标签码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubLabelCode: String attr_accessor :Name, :Text, :Location, :Label, :LibId, :LibName, :Keywords, :Suggestion, :Score, :SubLabelCode - + def initialize(name=nil, text=nil, location=nil, label=nil, libid=nil, libname=nil, keywords=nil, suggestion=nil, score=nil, sublabelcode=nil) @Name = name @Text = text @Location = location @Label = label @@ -968,11 +968,11 @@ # @param Rotate: 旋转角度 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Rotate: Float attr_accessor :X, :Y, :Width, :Height, :Rotate - + def initialize(x=nil, y=nil, width=nil, height=nil, rotate=nil) @X = x @Y = y @Width = width @Height = height @@ -996,11 +996,11 @@ # @type OffsetTime: String # @param Result: 画面截帧结果详情 # @type Result: :class:`Tencentcloud::Vm.v20200709.models.ImageResult` attr_accessor :OffsetTime, :Result - + def initialize(offsettime=nil, result=nil) @OffsetTime = offsettime @Result = result end @@ -1024,11 +1024,11 @@ # @param BucketInfo: 桶信息。当输入当时COS时,该字段不为空 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BucketInfo: String attr_accessor :Type, :Url, :BucketInfo - + def initialize(type=nil, url=nil, bucketinfo=nil) @Type = type @Url = url @BucketInfo = bucketinfo end @@ -1051,11 +1051,11 @@ # @type Width: Integer # @param Height: 高,单位为像素 # @type Height: Integer attr_accessor :Codecs, :Duration, :Width, :Height - + def initialize(codecs=nil, duration=nil, width=nil, height=nil) @Codecs = codecs @Duration = duration @Width = width @Height = height @@ -1083,11 +1083,11 @@ # @type SegmentOutput: :class:`Tencentcloud::Vm.v20200709.models.FileOutput` # @param CallbackUrl: 回调地址 # @type CallbackUrl: String attr_accessor :UseOCR, :UseAudio, :ImageFrequency, :AudioFrequency, :SegmentOutput, :CallbackUrl - + def initialize(useocr=nil, useaudio=nil, imagefrequency=nil, audiofrequency=nil, segmentoutput=nil, callbackurl=nil) @UseOCR = useocr @UseAudio = useaudio @ImageFrequency = imagefrequency @AudioFrequency = audiofrequency @@ -1126,11 +1126,11 @@ # @type SuspectCount: Integer # @param SuspectHour: 疑似违规时长 # @type SuspectHour: Integer attr_accessor :TotalCount, :TotalHour, :PassCount, :PassHour, :EvilCount, :EvilHour, :SuspectCount, :SuspectHour - + def initialize(totalcount=nil, totalhour=nil, passcount=nil, passhour=nil, evilcount=nil, evilhour=nil, suspectcount=nil, suspecthour=nil) @TotalCount = totalcount @TotalHour = totalhour @PassCount = passcount @PassHour = passhour @@ -1162,11 +1162,11 @@ # @type Url: String # @param BucketInfo: 腾讯云存储桶信息 # @type BucketInfo: :class:`Tencentcloud::Vm.v20200709.models.BucketInfo` attr_accessor :Type, :Url, :BucketInfo - + def initialize(type=nil, url=nil, bucketinfo=nil) @Type = type @Url = url @BucketInfo = bucketinfo end @@ -1189,11 +1189,11 @@ # @type Name: String # @param Input: 任务输入 # @type Input: :class:`Tencentcloud::Vm.v20200709.models.StorageInfo` attr_accessor :DataId, :Name, :Input - + def initialize(dataid=nil, name=nil, input=nil) @DataId = dataid @Name = name @Input = input end @@ -1229,11 +1229,11 @@ # @param Score: 得分,分数是 0 ~ 100 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Score: Integer attr_accessor :Label, :Suggestion, :Score - + def initialize(label=nil, suggestion=nil, score=nil) @Label = label @Suggestion = suggestion @Score = score end @@ -1259,11 +1259,11 @@ # @param Message: 如果错误,该字段表示错误详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Message: String attr_accessor :DataId, :TaskId, :Code, :Message - + def initialize(dataid=nil, taskid=nil, code=nil, message=nil) @DataId = dataid @TaskId = taskid @Code = code @Message = message @@ -1297,10 +1297,10 @@ # @type SuspectHour: Integer # @param Date: 日期 # @type Date: String attr_accessor :TotalCount, :TotalHour, :PassCount, :PassHour, :EvilCount, :EvilHour, :SuspectCount, :SuspectHour, :Date - + def initialize(totalcount=nil, totalhour=nil, passcount=nil, passhour=nil, evilcount=nil, evilhour=nil, suspectcount=nil, suspecthour=nil, date=nil) @TotalCount = totalcount @TotalHour = totalhour @PassCount = passcount @PassHour = passhour