@@ -3834,13 +3834,14 @@ public ImageAuditingResponse imageAuditing(ImageAuditingRequest imageAuditingReq
3834
3834
"The imageAuditingRequest parameter must be specified setting the object tags" );
3835
3835
rejectNull (imageAuditingRequest .getBucketName (),
3836
3836
"The bucketName parameter must be specified setting the object tags" );
3837
- this . checkAuditingRequest (imageAuditingRequest );
3837
+ rejectNull (imageAuditingRequest . getDetectType (), "The detectType parameter must be specified setting the object tags" );
3838
3838
CosHttpRequest <ImageAuditingRequest > request = createRequest (imageAuditingRequest .getBucketName (), imageAuditingRequest .getObjectKey (), imageAuditingRequest , HttpMethodName .GET );
3839
3839
request .addParameter ("ci-process" , "sensitive-content-recognition" );
3840
3840
addParameterIfNotNull (request , "detect-type" , imageAuditingRequest .getDetectType ());
3841
3841
addParameterIfNotNull (request , "interval" , Integer .toString (imageAuditingRequest .getInterval ()));
3842
3842
addParameterIfNotNull (request , "max-frames" , Integer .toString (imageAuditingRequest .getMaxFrames ()));
3843
3843
addParameterIfNotNull (request , "biz-type" , imageAuditingRequest .getBizType ());
3844
+ addParameterIfNotNull (request , "detect-url" , imageAuditingRequest .getDetectUrl ());
3844
3845
return invoke (request , new Unmarshallers .ImageAuditingUnmarshaller ());
3845
3846
}
3846
3847
@@ -3924,7 +3925,7 @@ public TextAuditingResponse describeAuditingTextJob(TextAuditingRequest textAudi
3924
3925
3925
3926
private void checkAuditingRequest (ImageAuditingRequest request ) {
3926
3927
rejectNull (request .getDetectType (), "The detectType parameter must be specified setting the object tags" );
3927
- rejectNull (request .getObjectKey (), "The detectType parameter must be specified setting the object tags" );
3928
+ rejectNull (request .getObjectKey (), "The objectKey parameter must be specified setting the object tags" );
3928
3929
}
3929
3930
3930
3931
private void checkWorkflowParameter (MediaWorkflowRequest request ) {
0 commit comments