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

com.tencentcloudapi.cfw.v20190904.models.DescribeAddressTemplateListRequest 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.cfw.v20190904.models;

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

public class DescribeAddressTemplateListRequest extends AbstractModel {

    /**
    * 偏移量,分页用
    */
    @SerializedName("Offset")
    @Expose
    private Long Offset;

    /**
    * 条数,分页用
    */
    @SerializedName("Limit")
    @Expose
    private Long Limit;

    /**
    * 排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数
    */
    @SerializedName("By")
    @Expose
    private String By;

    /**
    * 排序,取值 :asc正序,desc逆序
    */
    @SerializedName("Order")
    @Expose
    private String Order;

    /**
    * 搜索值
    */
    @SerializedName("SearchValue")
    @Expose
    private String SearchValue;

    /**
    * 检索地址模板唯一id
    */
    @SerializedName("Uuid")
    @Expose
    private String Uuid;

    /**
    * 模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板
    */
    @SerializedName("TemplateType")
    @Expose
    private String TemplateType;

    /**
    * 模板Id
    */
    @SerializedName("TemplateId")
    @Expose
    private String TemplateId;

    /**
     * Get 偏移量,分页用 
     * @return Offset 偏移量,分页用
     */
    public Long getOffset() {
        return this.Offset;
    }

    /**
     * Set 偏移量,分页用
     * @param Offset 偏移量,分页用
     */
    public void setOffset(Long Offset) {
        this.Offset = Offset;
    }

    /**
     * Get 条数,分页用 
     * @return Limit 条数,分页用
     */
    public Long getLimit() {
        return this.Limit;
    }

    /**
     * Set 条数,分页用
     * @param Limit 条数,分页用
     */
    public void setLimit(Long Limit) {
        this.Limit = Limit;
    }

    /**
     * Get 排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数 
     * @return By 排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数
     */
    public String getBy() {
        return this.By;
    }

    /**
     * Set 排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数
     * @param By 排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数
     */
    public void setBy(String By) {
        this.By = By;
    }

    /**
     * Get 排序,取值 :asc正序,desc逆序 
     * @return Order 排序,取值 :asc正序,desc逆序
     */
    public String getOrder() {
        return this.Order;
    }

    /**
     * Set 排序,取值 :asc正序,desc逆序
     * @param Order 排序,取值 :asc正序,desc逆序
     */
    public void setOrder(String Order) {
        this.Order = Order;
    }

    /**
     * Get 搜索值 
     * @return SearchValue 搜索值
     */
    public String getSearchValue() {
        return this.SearchValue;
    }

    /**
     * Set 搜索值
     * @param SearchValue 搜索值
     */
    public void setSearchValue(String SearchValue) {
        this.SearchValue = SearchValue;
    }

    /**
     * Get 检索地址模板唯一id 
     * @return Uuid 检索地址模板唯一id
     */
    public String getUuid() {
        return this.Uuid;
    }

    /**
     * Set 检索地址模板唯一id
     * @param Uuid 检索地址模板唯一id
     */
    public void setUuid(String Uuid) {
        this.Uuid = Uuid;
    }

    /**
     * Get 模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板 
     * @return TemplateType 模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板
     */
    public String getTemplateType() {
        return this.TemplateType;
    }

    /**
     * Set 模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板
     * @param TemplateType 模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板
     */
    public void setTemplateType(String TemplateType) {
        this.TemplateType = TemplateType;
    }

    /**
     * Get 模板Id 
     * @return TemplateId 模板Id
     */
    public String getTemplateId() {
        return this.TemplateId;
    }

    /**
     * Set 模板Id
     * @param TemplateId 模板Id
     */
    public void setTemplateId(String TemplateId) {
        this.TemplateId = TemplateId;
    }

    public DescribeAddressTemplateListRequest() {
    }

    /**
     * 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 DescribeAddressTemplateListRequest(DescribeAddressTemplateListRequest source) {
        if (source.Offset != null) {
            this.Offset = new Long(source.Offset);
        }
        if (source.Limit != null) {
            this.Limit = new Long(source.Limit);
        }
        if (source.By != null) {
            this.By = new String(source.By);
        }
        if (source.Order != null) {
            this.Order = new String(source.Order);
        }
        if (source.SearchValue != null) {
            this.SearchValue = new String(source.SearchValue);
        }
        if (source.Uuid != null) {
            this.Uuid = new String(source.Uuid);
        }
        if (source.TemplateType != null) {
            this.TemplateType = new String(source.TemplateType);
        }
        if (source.TemplateId != null) {
            this.TemplateId = new String(source.TemplateId);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Offset", this.Offset);
        this.setParamSimple(map, prefix + "Limit", this.Limit);
        this.setParamSimple(map, prefix + "By", this.By);
        this.setParamSimple(map, prefix + "Order", this.Order);
        this.setParamSimple(map, prefix + "SearchValue", this.SearchValue);
        this.setParamSimple(map, prefix + "Uuid", this.Uuid);
        this.setParamSimple(map, prefix + "TemplateType", this.TemplateType);
        this.setParamSimple(map, prefix + "TemplateId", this.TemplateId);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy