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

com.tencentcloudapi.tics.v20181115.models.DescribeThreatInfoRequest 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.tics.v20181115.models;

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

public class DescribeThreatInfoRequest extends AbstractModel{

    /**
    * 查询对象,域名或IP
    */
    @SerializedName("Key")
    @Expose
    private String Key;

    /**
    * 查询类型,当前取值为domain或ip
    */
    @SerializedName("Type")
    @Expose
    private String Type;

    /**
    * 附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。
    */
    @SerializedName("Option")
    @Expose
    private Long Option;

    /**
     * Get 查询对象,域名或IP 
     * @return Key 查询对象,域名或IP
     */
    public String getKey() {
        return this.Key;
    }

    /**
     * Set 查询对象,域名或IP
     * @param Key 查询对象,域名或IP
     */
    public void setKey(String Key) {
        this.Key = Key;
    }

    /**
     * Get 查询类型,当前取值为domain或ip 
     * @return Type 查询类型,当前取值为domain或ip
     */
    public String getType() {
        return this.Type;
    }

    /**
     * Set 查询类型,当前取值为domain或ip
     * @param Type 查询类型,当前取值为domain或ip
     */
    public void setType(String Type) {
        this.Type = Type;
    }

    /**
     * Get 附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。 
     * @return Option 附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。
     */
    public Long getOption() {
        return this.Option;
    }

    /**
     * Set 附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。
     * @param Option 附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。
     */
    public void setOption(Long Option) {
        this.Option = Option;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Key", this.Key);
        this.setParamSimple(map, prefix + "Type", this.Type);
        this.setParamSimple(map, prefix + "Option", this.Option);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy