All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qcloud.cos.model.ciModel.auditing.TextAuditingRequest Maven / Gradle / Ivy

There is a newer version: 5.6.238.2
Show newest version
package com.qcloud.cos.model.ciModel.auditing;


import com.qcloud.cos.internal.CIServiceRequest;

/**
 * 文本审核请求实体 参数详情参考:https://cloud.tencent.com/document/product/436/56289
 */
public class TextAuditingRequest extends CIServiceRequest {
    /**
     * 审核类型,拥有 porn(涉黄识别)、terrorist(涉暴恐识别)、politics(涉政识别)、ads(广告识别)四种。用户可选择多种识别类型,
     * 例如 detectType=porn,ads 表示对图片进行涉黄及广告审核
     */
    private Conf conf;

    private AuditingInputObject input;

    private String jobId;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public AuditingInputObject getInput() {
        if (input == null) {
            input = new AuditingInputObject();
        }
        return input;
    }

    public void setInput(AuditingInputObject input) {
        this.input = input;
    }

    public Conf getConf() {
        if (conf == null) {
            conf = new Conf();
        }
        return conf;
    }

    public void setConf(Conf conf) {
        this.conf = conf;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("VideoAuditingRequest{");
        sb.append("conf=").append(conf);
        sb.append(", input=").append(input);
        sb.append(", jobId='").append(jobId).append('\'');
        sb.append('}');
        return sb.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy