// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobBarrageCensorResult extends $dara.Model { label?: string; rate?: string; scene?: string; suggestion?: string; static names(): { [key: string]: string } { return { label: 'Label', rate: 'Rate', scene: 'Scene', suggestion: 'Suggestion', }; } static types(): { [key: string]: any } { return { label: 'string', rate: 'string', scene: 'string', suggestion: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResultResultsResult extends $dara.Model { label?: string; rate?: string; scene?: string; suggestion?: string; static names(): { [key: string]: string } { return { label: 'Label', rate: 'Rate', scene: 'Scene', suggestion: 'Suggestion', }; } static types(): { [key: string]: any } { return { label: 'string', rate: 'string', scene: 'string', suggestion: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResultResults extends $dara.Model { result?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResultResultsResult[]; static names(): { [key: string]: string } { return { result: 'Result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResultResultsResult }, }; } validate() { if(Array.isArray(this.result)) { $dara.Model.validateArray(this.result); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResult extends $dara.Model { bucket?: string; location?: string; object?: string; results?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResultResults; static names(): { [key: string]: string } { return { bucket: 'Bucket', location: 'Location', object: 'Object', results: 'Results', }; } static types(): { [key: string]: any } { return { bucket: 'string', location: 'string', object: 'string', results: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResultResults, }; } validate() { if(this.results && typeof (this.results as any).validate === 'function') { (this.results as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResults extends $dara.Model { coverImageCensorResult?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResult[]; static names(): { [key: string]: string } { return { coverImageCensorResult: 'CoverImageCensorResult', }; } static types(): { [key: string]: any } { return { coverImageCensorResult: { 'type': 'array', 'itemType': QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResultsCoverImageCensorResult }, }; } validate() { if(Array.isArray(this.coverImageCensorResult)) { $dara.Model.validateArray(this.coverImageCensorResult); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobDescCensorResult extends $dara.Model { label?: string; rate?: string; scene?: string; suggestion?: string; static names(): { [key: string]: string } { return { label: 'Label', rate: 'Rate', scene: 'Scene', suggestion: 'Suggestion', }; } static types(): { [key: string]: any } { return { label: 'string', rate: 'string', scene: 'string', suggestion: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobInput extends $dara.Model { bucket?: string; location?: string; object?: string; static names(): { [key: string]: string } { return { bucket: 'Bucket', location: 'Location', object: 'Object', }; } static types(): { [key: string]: any } { return { bucket: 'string', location: 'string', object: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobTitleCensorResult extends $dara.Model { label?: string; rate?: string; scene?: string; suggestion?: string; static names(): { [key: string]: string } { return { label: 'Label', rate: 'Rate', scene: 'Scene', suggestion: 'Suggestion', }; } static types(): { [key: string]: any } { return { label: 'string', rate: 'string', scene: 'string', suggestion: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultCensorResultsCensorResult extends $dara.Model { label?: string; rate?: string; scene?: string; suggestion?: string; static names(): { [key: string]: string } { return { label: 'Label', rate: 'Rate', scene: 'Scene', suggestion: 'Suggestion', }; } static types(): { [key: string]: any } { return { label: 'string', rate: 'string', scene: 'string', suggestion: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultCensorResults extends $dara.Model { censorResult?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultCensorResultsCensorResult[]; static names(): { [key: string]: string } { return { censorResult: 'CensorResult', }; } static types(): { [key: string]: any } { return { censorResult: { 'type': 'array', 'itemType': QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultCensorResultsCensorResult }, }; } validate() { if(Array.isArray(this.censorResult)) { $dara.Model.validateArray(this.censorResult); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimelineCensorResultsCensorResult extends $dara.Model { label?: string; rate?: string; scene?: string; suggestion?: string; static names(): { [key: string]: string } { return { label: 'Label', rate: 'Rate', scene: 'Scene', suggestion: 'Suggestion', }; } static types(): { [key: string]: any } { return { label: 'string', rate: 'string', scene: 'string', suggestion: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimelineCensorResults extends $dara.Model { censorResult?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimelineCensorResultsCensorResult[]; static names(): { [key: string]: string } { return { censorResult: 'CensorResult', }; } static types(): { [key: string]: any } { return { censorResult: { 'type': 'array', 'itemType': QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimelineCensorResultsCensorResult }, }; } validate() { if(Array.isArray(this.censorResult)) { $dara.Model.validateArray(this.censorResult); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimeline extends $dara.Model { censorResults?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimelineCensorResults; object?: string; timestamp?: string; static names(): { [key: string]: string } { return { censorResults: 'CensorResults', object: 'Object', timestamp: 'Timestamp', }; } static types(): { [key: string]: any } { return { censorResults: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimelineCensorResults, object: 'string', timestamp: 'string', }; } validate() { if(this.censorResults && typeof (this.censorResults as any).validate === 'function') { (this.censorResults as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelines extends $dara.Model { videoTimeline?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimeline[]; static names(): { [key: string]: string } { return { videoTimeline: 'VideoTimeline', }; } static types(): { [key: string]: any } { return { videoTimeline: { 'type': 'array', 'itemType': QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelinesVideoTimeline }, }; } validate() { if(Array.isArray(this.videoTimeline)) { $dara.Model.validateArray(this.videoTimeline); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResult extends $dara.Model { censorResults?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultCensorResults; nextPageToken?: string; videoTimelines?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelines; static names(): { [key: string]: string } { return { censorResults: 'CensorResults', nextPageToken: 'NextPageToken', videoTimelines: 'VideoTimelines', }; } static types(): { [key: string]: any } { return { censorResults: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultCensorResults, nextPageToken: 'string', videoTimelines: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResultVideoTimelines, }; } validate() { if(this.censorResults && typeof (this.censorResults as any).validate === 'function') { (this.censorResults as any).validate(); } if(this.videoTimelines && typeof (this.videoTimelines as any).validate === 'function') { (this.videoTimelines as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVideoCensorConfigOutputFile extends $dara.Model { bucket?: string; location?: string; object?: string; static names(): { [key: string]: string } { return { bucket: 'Bucket', location: 'Location', object: 'Object', }; } static types(): { [key: string]: any } { return { bucket: 'string', location: 'string', object: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVideoCensorConfig extends $dara.Model { bizType?: string; outputFile?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVideoCensorConfigOutputFile; videoCensor?: string; static names(): { [key: string]: string } { return { bizType: 'BizType', outputFile: 'OutputFile', videoCensor: 'VideoCensor', }; } static types(): { [key: string]: any } { return { bizType: 'string', outputFile: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVideoCensorConfigOutputFile, videoCensor: 'string', }; } validate() { if(this.outputFile && typeof (this.outputFile as any).validate === 'function') { (this.outputFile as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJob extends $dara.Model { barrageCensorResult?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobBarrageCensorResult; code?: string; coverImageCensorResults?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResults; creationTime?: string; descCensorResult?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobDescCensorResult; finishTime?: string; input?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobInput; jobId?: string; message?: string; pipelineId?: string; state?: string; suggestion?: string; titleCensorResult?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobTitleCensorResult; userData?: string; vensorCensorResult?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResult; videoCensorConfig?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVideoCensorConfig; static names(): { [key: string]: string } { return { barrageCensorResult: 'BarrageCensorResult', code: 'Code', coverImageCensorResults: 'CoverImageCensorResults', creationTime: 'CreationTime', descCensorResult: 'DescCensorResult', finishTime: 'FinishTime', input: 'Input', jobId: 'JobId', message: 'Message', pipelineId: 'PipelineId', state: 'State', suggestion: 'Suggestion', titleCensorResult: 'TitleCensorResult', userData: 'UserData', vensorCensorResult: 'VensorCensorResult', videoCensorConfig: 'VideoCensorConfig', }; } static types(): { [key: string]: any } { return { barrageCensorResult: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobBarrageCensorResult, code: 'string', coverImageCensorResults: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobCoverImageCensorResults, creationTime: 'string', descCensorResult: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobDescCensorResult, finishTime: 'string', input: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobInput, jobId: 'string', message: 'string', pipelineId: 'string', state: 'string', suggestion: 'string', titleCensorResult: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobTitleCensorResult, userData: 'string', vensorCensorResult: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVensorCensorResult, videoCensorConfig: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJobVideoCensorConfig, }; } validate() { if(this.barrageCensorResult && typeof (this.barrageCensorResult as any).validate === 'function') { (this.barrageCensorResult as any).validate(); } if(this.coverImageCensorResults && typeof (this.coverImageCensorResults as any).validate === 'function') { (this.coverImageCensorResults as any).validate(); } if(this.descCensorResult && typeof (this.descCensorResult as any).validate === 'function') { (this.descCensorResult as any).validate(); } if(this.input && typeof (this.input as any).validate === 'function') { (this.input as any).validate(); } if(this.titleCensorResult && typeof (this.titleCensorResult as any).validate === 'function') { (this.titleCensorResult as any).validate(); } if(this.vensorCensorResult && typeof (this.vensorCensorResult as any).validate === 'function') { (this.vensorCensorResult as any).validate(); } if(this.videoCensorConfig && typeof (this.videoCensorConfig as any).validate === 'function') { (this.videoCensorConfig as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyMediaCensorJobList extends $dara.Model { mediaCensorJob?: QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJob[]; static names(): { [key: string]: string } { return { mediaCensorJob: 'MediaCensorJob', }; } static types(): { [key: string]: any } { return { mediaCensorJob: { 'type': 'array', 'itemType': QueryMediaCensorJobListResponseBodyMediaCensorJobListMediaCensorJob }, }; } validate() { if(Array.isArray(this.mediaCensorJob)) { $dara.Model.validateArray(this.mediaCensorJob); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBodyNonExistIds extends $dara.Model { string?: string[]; static names(): { [key: string]: string } { return { string: 'String', }; } static types(): { [key: string]: any } { return { string: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.string)) { $dara.Model.validateArray(this.string); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMediaCensorJobListResponseBody extends $dara.Model { mediaCensorJobList?: QueryMediaCensorJobListResponseBodyMediaCensorJobList; /** * @remarks * A pagination token. It can be used in the next request to retrieve a new page of results. The value is 32-character UUID. If the returned query results cannot be displayed within one page, this parameter is returned. The value of this parameter is updated for each query. * * @example * 9b1a42bc6e8d46e6a1383b7e7f01**** */ nextPageToken?: string; nonExistIds?: QueryMediaCensorJobListResponseBodyNonExistIds; /** * @remarks * The request ID. * * @example * D1D5C080-8E2F-5030-8AB4-13092F17631B */ requestId?: string; static names(): { [key: string]: string } { return { mediaCensorJobList: 'MediaCensorJobList', nextPageToken: 'NextPageToken', nonExistIds: 'NonExistIds', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { mediaCensorJobList: QueryMediaCensorJobListResponseBodyMediaCensorJobList, nextPageToken: 'string', nonExistIds: QueryMediaCensorJobListResponseBodyNonExistIds, requestId: 'string', }; } validate() { if(this.mediaCensorJobList && typeof (this.mediaCensorJobList as any).validate === 'function') { (this.mediaCensorJobList as any).validate(); } if(this.nonExistIds && typeof (this.nonExistIds as any).validate === 'function') { (this.nonExistIds as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }