com.aliyun.green20220302.models.VideoModerationResultRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of green20220302 Show documentation
Show all versions of green20220302 Show documentation
Alibaba Cloud Green (20220302) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.green20220302.models;
import com.aliyun.tea.*;
public class VideoModerationResultRequest extends TeaModel {
/**
* The type of the moderation service.
* Valid values:
*
* - liveStreamDetection: live stream moderation
* - videoDetection: video file moderation
* - liveStreamDetection_cb: live stream moderation_For regions outside the Chinese mainland
* - videoDetection_cb: video file moderation_For regions outside the Chinese mainland.
*
*
* example:
* videoDetection
*/
@NameInMap("Service")
public String service;
/**
* The parameters required by the moderation service. The ID of the task that you want to query. You can specify one task ID at a time.
*
* example:
* {\"taskId\":\"au_f_8PoWiZKoLbczp5HRn69VdT-1y8@U5\"}
*/
@NameInMap("ServiceParameters")
public String serviceParameters;
public static VideoModerationResultRequest build(java.util.Map map) throws Exception {
VideoModerationResultRequest self = new VideoModerationResultRequest();
return TeaModel.build(map, self);
}
public VideoModerationResultRequest setService(String service) {
this.service = service;
return this;
}
public String getService() {
return this.service;
}
public VideoModerationResultRequest setServiceParameters(String serviceParameters) {
this.serviceParameters = serviceParameters;
return this;
}
public String getServiceParameters() {
return this.serviceParameters;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy