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

com.tencentcloudapi.mps.v20190612.models.CreateContentReviewTemplateRequest Maven / Gradle / Ivy

There is a newer version: 3.0.1034
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.mps.v20190612.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class CreateContentReviewTemplateRequest extends AbstractModel{

    /**
    * Name of an intelligent content recognition template. Length limit: 64 characters
    */
    @SerializedName("Name")
    @Expose
    private String Name;

    /**
    * Description of an intelligent content recognition template. Length limit: 256 characters
    */
    @SerializedName("Comment")
    @Expose
    private String Comment;

    /**
    * Control parameter for porn information
    */
    @SerializedName("PornConfigure")
    @Expose
    private PornConfigureInfo PornConfigure;

    /**
    * Control parameter for terrorism information
    */
    @SerializedName("TerrorismConfigure")
    @Expose
    private TerrorismConfigureInfo TerrorismConfigure;

    /**
    * Control parameter for politically sensitive information
    */
    @SerializedName("PoliticalConfigure")
    @Expose
    private PoliticalConfigureInfo PoliticalConfigure;

    /**
    * Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this parameter is not supported yet. */ @SerializedName("ProhibitedConfigure") @Expose private ProhibitedConfigureInfo ProhibitedConfigure; /** * Control parameter for custom intelligent content recognition tasks */ @SerializedName("UserDefineConfigure") @Expose private UserDefineConfigureInfo UserDefineConfigure; /** * Get Name of an intelligent content recognition template. Length limit: 64 characters * @return Name Name of an intelligent content recognition template. Length limit: 64 characters */ public String getName() { return this.Name; } /** * Set Name of an intelligent content recognition template. Length limit: 64 characters * @param Name Name of an intelligent content recognition template. Length limit: 64 characters */ public void setName(String Name) { this.Name = Name; } /** * Get Description of an intelligent content recognition template. Length limit: 256 characters * @return Comment Description of an intelligent content recognition template. Length limit: 256 characters */ public String getComment() { return this.Comment; } /** * Set Description of an intelligent content recognition template. Length limit: 256 characters * @param Comment Description of an intelligent content recognition template. Length limit: 256 characters */ public void setComment(String Comment) { this.Comment = Comment; } /** * Get Control parameter for porn information * @return PornConfigure Control parameter for porn information */ public PornConfigureInfo getPornConfigure() { return this.PornConfigure; } /** * Set Control parameter for porn information * @param PornConfigure Control parameter for porn information */ public void setPornConfigure(PornConfigureInfo PornConfigure) { this.PornConfigure = PornConfigure; } /** * Get Control parameter for terrorism information * @return TerrorismConfigure Control parameter for terrorism information */ public TerrorismConfigureInfo getTerrorismConfigure() { return this.TerrorismConfigure; } /** * Set Control parameter for terrorism information * @param TerrorismConfigure Control parameter for terrorism information */ public void setTerrorismConfigure(TerrorismConfigureInfo TerrorismConfigure) { this.TerrorismConfigure = TerrorismConfigure; } /** * Get Control parameter for politically sensitive information * @return PoliticalConfigure Control parameter for politically sensitive information */ public PoliticalConfigureInfo getPoliticalConfigure() { return this.PoliticalConfigure; } /** * Set Control parameter for politically sensitive information * @param PoliticalConfigure Control parameter for politically sensitive information */ public void setPoliticalConfigure(PoliticalConfigureInfo PoliticalConfigure) { this.PoliticalConfigure = PoliticalConfigure; } /** * Get Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this parameter is not supported yet. * @return ProhibitedConfigure Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this parameter is not supported yet. */ public ProhibitedConfigureInfo getProhibitedConfigure() { return this.ProhibitedConfigure; } /** * Set Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this parameter is not supported yet. * @param ProhibitedConfigure Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this parameter is not supported yet. */ public void setProhibitedConfigure(ProhibitedConfigureInfo ProhibitedConfigure) { this.ProhibitedConfigure = ProhibitedConfigure; } /** * Get Control parameter for custom intelligent content recognition tasks * @return UserDefineConfigure Control parameter for custom intelligent content recognition tasks */ public UserDefineConfigureInfo getUserDefineConfigure() { return this.UserDefineConfigure; } /** * Set Control parameter for custom intelligent content recognition tasks * @param UserDefineConfigure Control parameter for custom intelligent content recognition tasks */ public void setUserDefineConfigure(UserDefineConfigureInfo UserDefineConfigure) { this.UserDefineConfigure = UserDefineConfigure; } public CreateContentReviewTemplateRequest() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public CreateContentReviewTemplateRequest(CreateContentReviewTemplateRequest source) { if (source.Name != null) { this.Name = new String(source.Name); } if (source.Comment != null) { this.Comment = new String(source.Comment); } if (source.PornConfigure != null) { this.PornConfigure = new PornConfigureInfo(source.PornConfigure); } if (source.TerrorismConfigure != null) { this.TerrorismConfigure = new TerrorismConfigureInfo(source.TerrorismConfigure); } if (source.PoliticalConfigure != null) { this.PoliticalConfigure = new PoliticalConfigureInfo(source.PoliticalConfigure); } if (source.ProhibitedConfigure != null) { this.ProhibitedConfigure = new ProhibitedConfigureInfo(source.ProhibitedConfigure); } if (source.UserDefineConfigure != null) { this.UserDefineConfigure = new UserDefineConfigureInfo(source.UserDefineConfigure); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Name", this.Name); this.setParamSimple(map, prefix + "Comment", this.Comment); this.setParamObj(map, prefix + "PornConfigure.", this.PornConfigure); this.setParamObj(map, prefix + "TerrorismConfigure.", this.TerrorismConfigure); this.setParamObj(map, prefix + "PoliticalConfigure.", this.PoliticalConfigure); this.setParamObj(map, prefix + "ProhibitedConfigure.", this.ProhibitedConfigure); this.setParamObj(map, prefix + "UserDefineConfigure.", this.UserDefineConfigure); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy