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

com.tencentcloudapi.mps.v20190612.models.ContentReviewTemplateItem 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 ContentReviewTemplateItem extends AbstractModel{

    /**
    * Unique ID of a content audit template.
    */
    @SerializedName("Definition")
    @Expose
    private Long Definition;

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

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

    /**
    * Porn information detection control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
    */
    @SerializedName("PornConfigure")
    @Expose
    private PornConfigureInfo PornConfigure;

    /**
    * Terrorism information detection control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
    */
    @SerializedName("TerrorismConfigure")
    @Expose
    private TerrorismConfigureInfo TerrorismConfigure;

    /**
    * Politically sensitive information detection control parameter.
Note: This field may return null, indicating that no valid values can be obtained.
    */
    @SerializedName("PoliticalConfigure")
    @Expose
    private PoliticalConfigureInfo PoliticalConfigure;

    /**
    * Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this field may return null, indicating that no valid values can be obtained. */ @SerializedName("ProhibitedConfigure") @Expose private ProhibitedConfigureInfo ProhibitedConfigure; /** * Custom content audit control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ @SerializedName("UserDefineConfigure") @Expose private UserDefineConfigureInfo UserDefineConfigure; /** * Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). */ @SerializedName("CreateTime") @Expose private String CreateTime; /** * Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). */ @SerializedName("UpdateTime") @Expose private String UpdateTime; /** * Get Unique ID of a content audit template. * @return Definition Unique ID of a content audit template. */ public Long getDefinition() { return this.Definition; } /** * Set Unique ID of a content audit template. * @param Definition Unique ID of a content audit template. */ public void setDefinition(Long Definition) { this.Definition = Definition; } /** * Get Name of a content audit template. Length limit: 64 characters. * @return Name Name of a content audit template. Length limit: 64 characters. */ public String getName() { return this.Name; } /** * Set Name of a content audit template. Length limit: 64 characters. * @param Name Name of a content audit template. Length limit: 64 characters. */ public void setName(String Name) { this.Name = Name; } /** * Get Description of a content audit template. Length limit: 256 characters. * @return Comment Description of a content audit template. Length limit: 256 characters. */ public String getComment() { return this.Comment; } /** * Set Description of a content audit template. Length limit: 256 characters. * @param Comment Description of a content audit template. Length limit: 256 characters. */ public void setComment(String Comment) { this.Comment = Comment; } /** * Get Porn information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @return PornConfigure Porn information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public PornConfigureInfo getPornConfigure() { return this.PornConfigure; } /** * Set Porn information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @param PornConfigure Porn information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public void setPornConfigure(PornConfigureInfo PornConfigure) { this.PornConfigure = PornConfigure; } /** * Get Terrorism information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @return TerrorismConfigure Terrorism information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public TerrorismConfigureInfo getTerrorismConfigure() { return this.TerrorismConfigure; } /** * Set Terrorism information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @param TerrorismConfigure Terrorism information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public void setTerrorismConfigure(TerrorismConfigureInfo TerrorismConfigure) { this.TerrorismConfigure = TerrorismConfigure; } /** * Get Politically sensitive information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @return PoliticalConfigure Politically sensitive information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public PoliticalConfigureInfo getPoliticalConfigure() { return this.PoliticalConfigure; } /** * Set Politically sensitive information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @param PoliticalConfigure Politically sensitive information detection control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public void setPoliticalConfigure(PoliticalConfigureInfo PoliticalConfigure) { this.PoliticalConfigure = PoliticalConfigure; } /** * Get Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this field may return null, indicating that no valid values can be obtained. * @return ProhibitedConfigure Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this field may return null, indicating that no valid values can be obtained. */ public ProhibitedConfigureInfo getProhibitedConfigure() { return this.ProhibitedConfigure; } /** * Set Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this field may return null, indicating that no valid values can be obtained. * @param ProhibitedConfigure Control parameter of prohibited information detection. Prohibited information includes:
  • Abusive;
  • Drug-related.
  • Note: this field may return null, indicating that no valid values can be obtained. */ public void setProhibitedConfigure(ProhibitedConfigureInfo ProhibitedConfigure) { this.ProhibitedConfigure = ProhibitedConfigure; } /** * Get Custom content audit control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @return UserDefineConfigure Custom content audit control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public UserDefineConfigureInfo getUserDefineConfigure() { return this.UserDefineConfigure; } /** * Set Custom content audit control parameter. Note: This field may return null, indicating that no valid values can be obtained. * @param UserDefineConfigure Custom content audit control parameter. Note: This field may return null, indicating that no valid values can be obtained. */ public void setUserDefineConfigure(UserDefineConfigureInfo UserDefineConfigure) { this.UserDefineConfigure = UserDefineConfigure; } /** * Get Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). * @return CreateTime Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). */ public String getCreateTime() { return this.CreateTime; } /** * Set Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). * @param CreateTime Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). */ public void setCreateTime(String CreateTime) { this.CreateTime = CreateTime; } /** * Get Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). * @return UpdateTime Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). */ public String getUpdateTime() { return this.UpdateTime; } /** * Set Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). * @param UpdateTime Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). */ public void setUpdateTime(String UpdateTime) { this.UpdateTime = UpdateTime; } public ContentReviewTemplateItem() { } /** * 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 ContentReviewTemplateItem(ContentReviewTemplateItem source) { if (source.Definition != null) { this.Definition = new Long(source.Definition); } 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); } if (source.CreateTime != null) { this.CreateTime = new String(source.CreateTime); } if (source.UpdateTime != null) { this.UpdateTime = new String(source.UpdateTime); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Definition", this.Definition); 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); this.setParamSimple(map, prefix + "CreateTime", this.CreateTime); this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy