<?php
/*
 * 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.
 */
namespace TencentCloud\Cms\V20190321\Models;
use TencentCloud\Common\AbstractModel;

/**
 * 图片暴恐详情
 *
 * @method integer getEvilType() 获取恶意类型
100：正常
24001：暴恐
 * @method void setEvilType(integer $EvilType) 设置恶意类型
100：正常
24001：暴恐
 * @method integer getHitFlag() 获取处置判定 0：正常 1：可疑
 * @method void setHitFlag(integer $HitFlag) 设置处置判定 0：正常 1：可疑
 * @method array getKeywords() 获取关键词明细
 * @method void setKeywords(array $Keywords) 设置关键词明细
 * @method array getLabels() 获取暴恐标签：返回暴恐特征中文描述
 * @method void setLabels(array $Labels) 设置暴恐标签：返回暴恐特征中文描述
 * @method integer getScore() 获取暴恐分：分值范围0--100，分数越高暴恐倾向越明显
 * @method void setScore(integer $Score) 设置暴恐分：分值范围0--100，分数越高暴恐倾向越明显
 */
class ImageTerrorDetect extends AbstractModel
{
    /**
     * @var integer 恶意类型
100：正常
24001：暴恐
     */
    public $EvilType;

    /**
     * @var integer 处置判定 0：正常 1：可疑
     */
    public $HitFlag;

    /**
     * @var array 关键词明细
     */
    public $Keywords;

    /**
     * @var array 暴恐标签：返回暴恐特征中文描述
     */
    public $Labels;

    /**
     * @var integer 暴恐分：分值范围0--100，分数越高暴恐倾向越明显
     */
    public $Score;

    /**
     * @param integer $EvilType 恶意类型
100：正常
24001：暴恐
     * @param integer $HitFlag 处置判定 0：正常 1：可疑
     * @param array $Keywords 关键词明细
     * @param array $Labels 暴恐标签：返回暴恐特征中文描述
     * @param integer $Score 暴恐分：分值范围0--100，分数越高暴恐倾向越明显
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("EvilType",$param) and $param["EvilType"] !== null) {
            $this->EvilType = $param["EvilType"];
        }

        if (array_key_exists("HitFlag",$param) and $param["HitFlag"] !== null) {
            $this->HitFlag = $param["HitFlag"];
        }

        if (array_key_exists("Keywords",$param) and $param["Keywords"] !== null) {
            $this->Keywords = $param["Keywords"];
        }

        if (array_key_exists("Labels",$param) and $param["Labels"] !== null) {
            $this->Labels = $param["Labels"];
        }

        if (array_key_exists("Score",$param) and $param["Score"] !== null) {
            $this->Score = $param["Score"];
        }
    }
}
