
com.tencentcloudapi.trp.v20210515.models.DescribeCustomRulesRequest 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.trp.v20210515.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeCustomRulesRequest extends AbstractModel{
/**
* 搜索关键字
*/
@SerializedName("Keyword")
@Expose
private String Keyword;
/**
* 条数
*/
@SerializedName("PageSize")
@Expose
private Long PageSize;
/**
* 页数
*/
@SerializedName("PageNumber")
@Expose
private Long PageNumber;
/**
* 企业ID
*/
@SerializedName("CorpId")
@Expose
private Long CorpId;
/**
* 码规则状态 0:未生效 1:已生效 -1:已失效
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 商户ID
*/
@SerializedName("MerchantId")
@Expose
private String MerchantId;
/**
* Get 搜索关键字
* @return Keyword 搜索关键字
*/
public String getKeyword() {
return this.Keyword;
}
/**
* Set 搜索关键字
* @param Keyword 搜索关键字
*/
public void setKeyword(String Keyword) {
this.Keyword = Keyword;
}
/**
* Get 条数
* @return PageSize 条数
*/
public Long getPageSize() {
return this.PageSize;
}
/**
* Set 条数
* @param PageSize 条数
*/
public void setPageSize(Long PageSize) {
this.PageSize = PageSize;
}
/**
* Get 页数
* @return PageNumber 页数
*/
public Long getPageNumber() {
return this.PageNumber;
}
/**
* Set 页数
* @param PageNumber 页数
*/
public void setPageNumber(Long PageNumber) {
this.PageNumber = PageNumber;
}
/**
* Get 企业ID
* @return CorpId 企业ID
*/
public Long getCorpId() {
return this.CorpId;
}
/**
* Set 企业ID
* @param CorpId 企业ID
*/
public void setCorpId(Long CorpId) {
this.CorpId = CorpId;
}
/**
* Get 码规则状态 0:未生效 1:已生效 -1:已失效
* @return Status 码规则状态 0:未生效 1:已生效 -1:已失效
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 码规则状态 0:未生效 1:已生效 -1:已失效
* @param Status 码规则状态 0:未生效 1:已生效 -1:已失效
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 商户ID
* @return MerchantId 商户ID
*/
public String getMerchantId() {
return this.MerchantId;
}
/**
* Set 商户ID
* @param MerchantId 商户ID
*/
public void setMerchantId(String MerchantId) {
this.MerchantId = MerchantId;
}
public DescribeCustomRulesRequest() {
}
/**
* 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 DescribeCustomRulesRequest(DescribeCustomRulesRequest source) {
if (source.Keyword != null) {
this.Keyword = new String(source.Keyword);
}
if (source.PageSize != null) {
this.PageSize = new Long(source.PageSize);
}
if (source.PageNumber != null) {
this.PageNumber = new Long(source.PageNumber);
}
if (source.CorpId != null) {
this.CorpId = new Long(source.CorpId);
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.MerchantId != null) {
this.MerchantId = new String(source.MerchantId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Keyword", this.Keyword);
this.setParamSimple(map, prefix + "PageSize", this.PageSize);
this.setParamSimple(map, prefix + "PageNumber", this.PageNumber);
this.setParamSimple(map, prefix + "CorpId", this.CorpId);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "MerchantId", this.MerchantId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy