Class ApiUsagePlan
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.ApiUsagePlan
-
public class ApiUsagePlan extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ApiUsagePlan()ApiUsagePlan(ApiUsagePlan source)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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiId()Get API 唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。StringgetApiName()Get API 名称。 注意:此字段可能返回 null,表示取不到有效值。StringgetCreatedTime()Get 使用计划创建时间。 注意:此字段可能返回 null,表示取不到有效值。StringgetEnvironment()Get 使用计划绑定的服务环境。 注意:此字段可能返回 null,表示取不到有效值。LonggetInUseRequestNum()Get 已经使用的配额。 注意:此字段可能返回 null,表示取不到有效值。LonggetMaxRequestNum()Get 请求配额总量,-1表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。LonggetMaxRequestNumPreSec()Get 请求 QPS 上限,-1 表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。StringgetMethod()Get API 方法。 注意:此字段可能返回 null,表示取不到有效值。StringgetModifiedTime()Get 使用计划最后修改时间。 注意:此字段可能返回 null,表示取不到有效值。StringgetPath()Get API 路径。 注意:此字段可能返回 null,表示取不到有效值。StringgetServiceId()Get 服务唯一ID。 注意:此字段可能返回 null,表示取不到有效值。StringgetServiceName()Get 服务名称。 注意:此字段可能返回 null,表示取不到有效值。StringgetUsagePlanDesc()Get 使用计划的描述。 注意:此字段可能返回 null,表示取不到有效值。StringgetUsagePlanId()Get 使用计划的唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。StringgetUsagePlanName()Get 使用计划的名称。 注意:此字段可能返回 null,表示取不到有效值。voidsetApiId(String ApiId)Set API 唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。voidsetApiName(String ApiName)Set API 名称。 注意:此字段可能返回 null,表示取不到有效值。voidsetCreatedTime(String CreatedTime)Set 使用计划创建时间。 注意:此字段可能返回 null,表示取不到有效值。voidsetEnvironment(String Environment)Set 使用计划绑定的服务环境。 注意:此字段可能返回 null,表示取不到有效值。voidsetInUseRequestNum(Long InUseRequestNum)Set 已经使用的配额。 注意:此字段可能返回 null,表示取不到有效值。voidsetMaxRequestNum(Long MaxRequestNum)Set 请求配额总量,-1表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。voidsetMaxRequestNumPreSec(Long MaxRequestNumPreSec)Set 请求 QPS 上限,-1 表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。voidsetMethod(String Method)Set API 方法。 注意:此字段可能返回 null,表示取不到有效值。voidsetModifiedTime(String ModifiedTime)Set 使用计划最后修改时间。 注意:此字段可能返回 null,表示取不到有效值。voidsetPath(String Path)Set API 路径。 注意:此字段可能返回 null,表示取不到有效值。voidsetServiceId(String ServiceId)Set 服务唯一ID。 注意:此字段可能返回 null,表示取不到有效值。voidsetServiceName(String ServiceName)Set 服务名称。 注意:此字段可能返回 null,表示取不到有效值。voidsetUsagePlanDesc(String UsagePlanDesc)Set 使用计划的描述。 注意:此字段可能返回 null,表示取不到有效值。voidsetUsagePlanId(String UsagePlanId)Set 使用计划的唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。voidsetUsagePlanName(String UsagePlanName)Set 使用计划的名称。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ApiUsagePlan
public ApiUsagePlan()
-
ApiUsagePlan
public ApiUsagePlan(ApiUsagePlan source)
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.
-
-
Method Detail
-
getServiceId
public String getServiceId()
Get 服务唯一ID。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ServiceId 服务唯一ID。 注意:此字段可能返回 null,表示取不到有效值。
-
setServiceId
public void setServiceId(String ServiceId)
Set 服务唯一ID。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ServiceId- 服务唯一ID。 注意:此字段可能返回 null,表示取不到有效值。
-
getApiId
public String getApiId()
Get API 唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ApiId API 唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。
-
setApiId
public void setApiId(String ApiId)
Set API 唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ApiId- API 唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。
-
getApiName
public String getApiName()
Get API 名称。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ApiName API 名称。 注意:此字段可能返回 null,表示取不到有效值。
-
setApiName
public void setApiName(String ApiName)
Set API 名称。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ApiName- API 名称。 注意:此字段可能返回 null,表示取不到有效值。
-
getPath
public String getPath()
Get API 路径。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Path API 路径。 注意:此字段可能返回 null,表示取不到有效值。
-
setPath
public void setPath(String Path)
Set API 路径。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Path- API 路径。 注意:此字段可能返回 null,表示取不到有效值。
-
getMethod
public String getMethod()
Get API 方法。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Method API 方法。 注意:此字段可能返回 null,表示取不到有效值。
-
setMethod
public void setMethod(String Method)
Set API 方法。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Method- API 方法。 注意:此字段可能返回 null,表示取不到有效值。
-
getUsagePlanId
public String getUsagePlanId()
Get 使用计划的唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UsagePlanId 使用计划的唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。
-
setUsagePlanId
public void setUsagePlanId(String UsagePlanId)
Set 使用计划的唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UsagePlanId- 使用计划的唯一 ID。 注意:此字段可能返回 null,表示取不到有效值。
-
getUsagePlanName
public String getUsagePlanName()
Get 使用计划的名称。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UsagePlanName 使用计划的名称。 注意:此字段可能返回 null,表示取不到有效值。
-
setUsagePlanName
public void setUsagePlanName(String UsagePlanName)
Set 使用计划的名称。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UsagePlanName- 使用计划的名称。 注意:此字段可能返回 null,表示取不到有效值。
-
getUsagePlanDesc
public String getUsagePlanDesc()
Get 使用计划的描述。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UsagePlanDesc 使用计划的描述。 注意:此字段可能返回 null,表示取不到有效值。
-
setUsagePlanDesc
public void setUsagePlanDesc(String UsagePlanDesc)
Set 使用计划的描述。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UsagePlanDesc- 使用计划的描述。 注意:此字段可能返回 null,表示取不到有效值。
-
getEnvironment
public String getEnvironment()
Get 使用计划绑定的服务环境。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Environment 使用计划绑定的服务环境。 注意:此字段可能返回 null,表示取不到有效值。
-
setEnvironment
public void setEnvironment(String Environment)
Set 使用计划绑定的服务环境。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Environment- 使用计划绑定的服务环境。 注意:此字段可能返回 null,表示取不到有效值。
-
getInUseRequestNum
public Long getInUseRequestNum()
Get 已经使用的配额。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- InUseRequestNum 已经使用的配额。 注意:此字段可能返回 null,表示取不到有效值。
-
setInUseRequestNum
public void setInUseRequestNum(Long InUseRequestNum)
Set 已经使用的配额。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
InUseRequestNum- 已经使用的配额。 注意:此字段可能返回 null,表示取不到有效值。
-
getMaxRequestNum
public Long getMaxRequestNum()
Get 请求配额总量,-1表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaxRequestNum 请求配额总量,-1表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。
-
setMaxRequestNum
public void setMaxRequestNum(Long MaxRequestNum)
Set 请求配额总量,-1表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaxRequestNum- 请求配额总量,-1表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。
-
getMaxRequestNumPreSec
public Long getMaxRequestNumPreSec()
Get 请求 QPS 上限,-1 表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaxRequestNumPreSec 请求 QPS 上限,-1 表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。
-
setMaxRequestNumPreSec
public void setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
Set 请求 QPS 上限,-1 表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaxRequestNumPreSec- 请求 QPS 上限,-1 表示没有限制。 注意:此字段可能返回 null,表示取不到有效值。
-
getCreatedTime
public String getCreatedTime()
Get 使用计划创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CreatedTime 使用计划创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setCreatedTime
public void setCreatedTime(String CreatedTime)
Set 使用计划创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CreatedTime- 使用计划创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
getModifiedTime
public String getModifiedTime()
Get 使用计划最后修改时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ModifiedTime 使用计划最后修改时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setModifiedTime
public void setModifiedTime(String ModifiedTime)
Set 使用计划最后修改时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ModifiedTime- 使用计划最后修改时间。 注意:此字段可能返回 null,表示取不到有效值。
-
getServiceName
public String getServiceName()
Get 服务名称。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ServiceName 服务名称。 注意:此字段可能返回 null,表示取不到有效值。
-
setServiceName
public void setServiceName(String ServiceName)
Set 服务名称。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ServiceName- 服务名称。 注意:此字段可能返回 null,表示取不到有效值。
-
-