com.tencentcloudapi.trp.v20210515.models.DescribeCorpQuotasRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-trp Show documentation
Show all versions of tencentcloud-sdk-java-trp Show documentation
Tencent Cloud Open API SDK for Java
/*
* 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 DescribeCorpQuotasRequest extends AbstractModel{
/**
* 渠道商ID,不要传
*/
@SerializedName("AgentId")
@Expose
private Long AgentId;
/**
* 页数
*/
@SerializedName("PageNumber")
@Expose
private Long PageNumber;
/**
* 每页数量
*/
@SerializedName("PageSize")
@Expose
private Long PageSize;
/**
* 搜索企业ID
*/
@SerializedName("Keyword")
@Expose
private String Keyword;
/**
* Get 渠道商ID,不要传
* @return AgentId 渠道商ID,不要传
*/
public Long getAgentId() {
return this.AgentId;
}
/**
* Set 渠道商ID,不要传
* @param AgentId 渠道商ID,不要传
*/
public void setAgentId(Long AgentId) {
this.AgentId = AgentId;
}
/**
* Get 页数
* @return PageNumber 页数
*/
public Long getPageNumber() {
return this.PageNumber;
}
/**
* Set 页数
* @param PageNumber 页数
*/
public void setPageNumber(Long PageNumber) {
this.PageNumber = PageNumber;
}
/**
* Get 每页数量
* @return PageSize 每页数量
*/
public Long getPageSize() {
return this.PageSize;
}
/**
* Set 每页数量
* @param PageSize 每页数量
*/
public void setPageSize(Long PageSize) {
this.PageSize = PageSize;
}
/**
* Get 搜索企业ID
* @return Keyword 搜索企业ID
*/
public String getKeyword() {
return this.Keyword;
}
/**
* Set 搜索企业ID
* @param Keyword 搜索企业ID
*/
public void setKeyword(String Keyword) {
this.Keyword = Keyword;
}
public DescribeCorpQuotasRequest() {
}
/**
* 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 DescribeCorpQuotasRequest(DescribeCorpQuotasRequest source) {
if (source.AgentId != null) {
this.AgentId = new Long(source.AgentId);
}
if (source.PageNumber != null) {
this.PageNumber = new Long(source.PageNumber);
}
if (source.PageSize != null) {
this.PageSize = new Long(source.PageSize);
}
if (source.Keyword != null) {
this.Keyword = new String(source.Keyword);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "AgentId", this.AgentId);
this.setParamSimple(map, prefix + "PageNumber", this.PageNumber);
this.setParamSimple(map, prefix + "PageSize", this.PageSize);
this.setParamSimple(map, prefix + "Keyword", this.Keyword);
}
}