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

com.tencentcloudapi.cms.v20190321.models.CreateTextSampleRequest Maven / Gradle / Ivy

/*
 * 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.cms.v20190321.models;

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

public class CreateTextSampleRequest extends AbstractModel{

    /**
    * 关键词数组
    */
    @SerializedName("Contents")
    @Expose
    private String [] Contents;

    /**
    * 恶意类型
100:正常
20001:政治
20002:色情 
20006:涉毒违法
20007:谩骂 
24001:暴恐
20105:广告引流
    */
    @SerializedName("EvilType")
    @Expose
    private Long EvilType;

    /**
    * 样本类型
1:黑库
2:白库
    */
    @SerializedName("Label")
    @Expose
    private Long Label;

    /**
    * 测试修改参数
    */
    @SerializedName("Test")
    @Expose
    private String Test;

    /**
     * Get 关键词数组 
     * @return Contents 关键词数组
     */
    public String [] getContents() {
        return this.Contents;
    }

    /**
     * Set 关键词数组
     * @param Contents 关键词数组
     */
    public void setContents(String [] Contents) {
        this.Contents = Contents;
    }

    /**
     * Get 恶意类型
100:正常
20001:政治
20002:色情 
20006:涉毒违法
20007:谩骂 
24001:暴恐
20105:广告引流 
     * @return EvilType 恶意类型
100:正常
20001:政治
20002:色情 
20006:涉毒违法
20007:谩骂 
24001:暴恐
20105:广告引流
     */
    public Long getEvilType() {
        return this.EvilType;
    }

    /**
     * Set 恶意类型
100:正常
20001:政治
20002:色情 
20006:涉毒违法
20007:谩骂 
24001:暴恐
20105:广告引流
     * @param EvilType 恶意类型
100:正常
20001:政治
20002:色情 
20006:涉毒违法
20007:谩骂 
24001:暴恐
20105:广告引流
     */
    public void setEvilType(Long EvilType) {
        this.EvilType = EvilType;
    }

    /**
     * Get 样本类型
1:黑库
2:白库 
     * @return Label 样本类型
1:黑库
2:白库
     */
    public Long getLabel() {
        return this.Label;
    }

    /**
     * Set 样本类型
1:黑库
2:白库
     * @param Label 样本类型
1:黑库
2:白库
     */
    public void setLabel(Long Label) {
        this.Label = Label;
    }

    /**
     * Get 测试修改参数 
     * @return Test 测试修改参数
     */
    public String getTest() {
        return this.Test;
    }

    /**
     * Set 测试修改参数
     * @param Test 测试修改参数
     */
    public void setTest(String Test) {
        this.Test = Test;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamArraySimple(map, prefix + "Contents.", this.Contents);
        this.setParamSimple(map, prefix + "EvilType", this.EvilType);
        this.setParamSimple(map, prefix + "Label", this.Label);
        this.setParamSimple(map, prefix + "Test", this.Test);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy