
com.tencentcloudapi.tics.v20181115.models.DescribeIpInfoRequest 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 DescribeIpInfoRequest extends AbstractModel{
/**
* 要查询的IP
*/
@SerializedName("Key")
@Expose
private String Key;
/**
* 附加字段,是否返回上下文。当为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 附加字段,是否返回上下文。当为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 + "Option", this.Option);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy