@@ -215,6 +215,17 @@ type UserExtraInfo struct {
215215 Role string `xml:",omitempty"`
216216}
217217
218+ // FreezeConf is auto freeze options
219+ type FreezeConf struct {
220+ PornScore string `xml:",omitempty"`
221+ IllegalScore string `xml:",omitempty"`
222+ TerrorismScore string `xml:",omitempty"`
223+ PoliticsScore string `xml:",omitempty"`
224+ AdsScore string `xml:",omitempty"`
225+ AbuseScore string `xml:",omitempty"`
226+ TeenagerScore string `xml:",omitempty"`
227+ }
228+
218229// ImageAuditingInputOptions is the option of BatchImageAuditingOptions
219230type ImageAuditingInputOptions struct {
220231 DataId string `xml:",omitempty"`
@@ -229,10 +240,11 @@ type ImageAuditingInputOptions struct {
229240
230241// ImageAuditingJobConf is the config of BatchImageAuditingOptions
231242type ImageAuditingJobConf struct {
232- DetectType string `xml:",omitempty"`
233- BizType string `xml:",omitempty"`
234- Async int `xml:",omitempty"`
235- Callback string `xml:",omitempty"`
243+ DetectType string `xml:",omitempty"`
244+ BizType string `xml:",omitempty"`
245+ Async int `xml:",omitempty"`
246+ Callback string `xml:",omitempty"`
247+ Freeze * FreezeConf `xml:",omitempty"`
236248}
237249
238250// BatchImageAuditingOptions is the option of BatchImageAuditing
@@ -265,6 +277,7 @@ type ImageAuditingResult struct {
265277 CompressionResult int `xml:",omitempty"`
266278 UserInfo * UserExtraInfo `xml:",omitempty"`
267279 ListInfo * UserListInfo `xml:",omitempty"`
280+ ForbidState int `xml:",omitempty"`
268281}
269282
270283// BatchImageAuditingJobResult is the result of BatchImageAuditing
@@ -317,6 +330,7 @@ type PutVideoAuditingJobOptions struct {
317330 InputUserInfo * UserExtraInfo `xml:"Input>UserInfo,omitempty"`
318331 Conf * VideoAuditingJobConf `xml:"Conf"`
319332 Type string `xml:"Type,omitempty"`
333+ StorageConf * StorageConf `xml:"StorageConf,omitempty"`
320334}
321335
322336// VideoAuditingJobConf is the config of PutVideoAuditingJobOptions
@@ -328,6 +342,7 @@ type VideoAuditingJobConf struct {
328342 CallbackType int `xml:",omitempty"`
329343 BizType string `xml:",omitempty"`
330344 DetectContent int `xml:",omitempty"`
345+ Freeze * FreezeConf `xml:",omitempty"`
331346}
332347
333348// PutVideoAuditingJobSnapshot is the snapshot config of VideoAuditingJobConf
@@ -337,6 +352,11 @@ type PutVideoAuditingJobSnapshot struct {
337352 TimeInterval float32 `xml:",omitempty"`
338353}
339354
355+ // StorageConf is live video storage config of PutVideoAuditingJobOptions
356+ type StorageConf struct {
357+ Path string `xml:",omitempty"`
358+ }
359+
340360// PutVideoAuditingJobResult is the result of PutVideoAuditingJob
341361type PutVideoAuditingJobResult struct {
342362 XMLName xml.Name `xml:"Response"`
@@ -394,6 +414,7 @@ type AuditingJobDetail struct {
394414 UserInfo * UserExtraInfo `xml:",omitempty"`
395415 Type string `xml:",omitempty"`
396416 ListInfo * UserListInfo `xml:",omitempty"`
417+ ForbidState int `xml:",omitempty"`
397418}
398419
399420// GetVideoAuditingJobSnapshot is the snapshot result of AuditingJobDetail
@@ -417,6 +438,7 @@ type AudioSectionResult struct {
417438 OffsetTime int `xml:",omitempty"`
418439 Duration int `xml:",omitempty"`
419440 Label string `xml:",omitempty"`
441+ SubLabel string `xml:",omitempty"`
420442 Result int `xml:",omitempty"`
421443 PornInfo * RecognitionInfo `xml:",omitempty"`
422444 TerrorismInfo * RecognitionInfo `xml:",omitempty"`
@@ -464,11 +486,12 @@ type PutAudioAuditingJobOptions struct {
464486
465487// AudioAuditingJobConf is the config of PutAudioAuditingJobOptions
466488type AudioAuditingJobConf struct {
467- DetectType string `xml:",omitempty"`
468- Callback string `xml:",omitempty"`
469- CallbackVersion string `xml:",omitempty"`
470- CallbackType int `xml:",omitempty"`
471- BizType string `xml:",omitempty"`
489+ DetectType string `xml:",omitempty"`
490+ Callback string `xml:",omitempty"`
491+ CallbackVersion string `xml:",omitempty"`
492+ CallbackType int `xml:",omitempty"`
493+ BizType string `xml:",omitempty"`
494+ Freeze * FreezeConf `xml:",omitempty"`
472495}
473496
474497// PutAudioAuditingJobResult is the result of PutAudioAuditingJob
@@ -517,6 +540,7 @@ type AudioAuditingJobDetail struct {
517540 Section []AudioSectionResult `xml:",omitempty"`
518541 UserInfo * UserExtraInfo `xml:",omitempty"`
519542 ListInfo * UserListInfo `xml:",omitempty"`
543+ ForbidState int `xml:",omitempty"`
520544}
521545
522546// LanguageResult 语种识别结果
@@ -553,11 +577,12 @@ type PutTextAuditingJobOptions struct {
553577
554578// TextAuditingJobConf is the config of PutAudioAuditingJobOptions
555579type TextAuditingJobConf struct {
556- DetectType string `xml:",omitempty"`
557- Callback string `xml:",omitempty"`
558- CallbackVersion string `xml:",omitempty"`
559- BizType string `xml:",omitempty"`
560- CallbackType int `xml:",omitempty"`
580+ DetectType string `xml:",omitempty"`
581+ Callback string `xml:",omitempty"`
582+ CallbackVersion string `xml:",omitempty"`
583+ BizType string `xml:",omitempty"`
584+ CallbackType int `xml:",omitempty"`
585+ Freeze * FreezeConf `xml:",omitempty"`
561586}
562587
563588// PutTextAuditingJobResult is the result of PutTextAuditingJob
@@ -607,6 +632,7 @@ type TextAuditingJobDetail struct {
607632 Section []TextSectionResult `xml:",omitempty"`
608633 UserInfo * UserExtraInfo `xml:",omitempty"`
609634 ListInfo * UserListInfo `xml:",omitempty"`
635+ ForbidState int `xml:",omitempty"`
610636}
611637
612638// TextLibResult
@@ -666,10 +692,11 @@ type PutDocumentAuditingJobOptions struct {
666692
667693// DocumentAuditingJobConf is the config of PutDocumentAuditingJobOptions
668694type DocumentAuditingJobConf struct {
669- DetectType string `xml:",omitempty"`
670- Callback string `xml:",omitempty"`
671- BizType string `xml:",omitempty"`
672- CallbackType int `xml:",omitempty"`
695+ DetectType string `xml:",omitempty"`
696+ Callback string `xml:",omitempty"`
697+ BizType string `xml:",omitempty"`
698+ CallbackType int `xml:",omitempty"`
699+ Freeze * FreezeConf `xml:",omitempty"`
673700}
674701
675702// PutDocumentAuditingJobResult is the result of PutDocumentAuditingJob
@@ -713,6 +740,7 @@ type DocumentAuditingJobDetail struct {
713740 PageSegment * DocumentPageSegmentInfo `xml:",omitempty"`
714741 UserInfo * UserExtraInfo `xml:",omitempty"`
715742 ListInfo * UserListInfo `xml:",omitempty"`
743+ ForbidState int `xml:",omitempty"`
716744}
717745
718746// DocumentResultInfo
0 commit comments