public class ApiUsagePlan extends AbstractModel
| Constructor and 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getApiId()
Get Unique API ID. 
 | 
String | 
getApiName()
Get API name. 
 | 
String | 
getCreatedTime()
Get Usage plan creation time. 
 | 
String | 
getEnvironment()
Get Service environment bound to usage plan. 
 | 
Long | 
getInUseRequestNum()
Get Used quota. 
 | 
Long | 
getMaxRequestNum()
Get Total number of requests allowed. 
 | 
Long | 
getMaxRequestNumPreSec()
Get Request QPS upper limit. 
 | 
String | 
getMethod()
Get API method. 
 | 
String | 
getModifiedTime()
Get Last modified time of usage plan. 
 | 
String | 
getPath()
Get API path. 
 | 
String | 
getServiceId()
Get Unique service ID. 
 | 
String | 
getServiceName()
Get Service name. 
 | 
String | 
getUsagePlanDesc()
Get Usage plan description. 
 | 
String | 
getUsagePlanId()
Get Unique usage plan ID. 
 | 
String | 
getUsagePlanName()
Get Usage plan name. 
 | 
void | 
setApiId(String ApiId)
Set Unique API ID. 
 | 
void | 
setApiName(String ApiName)
Set API name. 
 | 
void | 
setCreatedTime(String CreatedTime)
Set Usage plan creation time. 
 | 
void | 
setEnvironment(String Environment)
Set Service environment bound to usage plan. 
 | 
void | 
setInUseRequestNum(Long InUseRequestNum)
Set Used quota. 
 | 
void | 
setMaxRequestNum(Long MaxRequestNum)
Set Total number of requests allowed. 
 | 
void | 
setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
Set Request QPS upper limit. 
 | 
void | 
setMethod(String Method)
Set API method. 
 | 
void | 
setModifiedTime(String ModifiedTime)
Set Last modified time of usage plan. 
 | 
void | 
setPath(String Path)
Set API path. 
 | 
void | 
setServiceId(String ServiceId)
Set Unique service ID. 
 | 
void | 
setServiceName(String ServiceName)
Set Service name. 
 | 
void | 
setUsagePlanDesc(String UsagePlanDesc)
Set Usage plan description. 
 | 
void | 
setUsagePlanId(String UsagePlanId)
Set Unique usage plan ID. 
 | 
void | 
setUsagePlanName(String UsagePlanName)
Set Usage plan name. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ApiUsagePlan()
public ApiUsagePlan(ApiUsagePlan source)
public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId - Unique service ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getApiId()
public void setApiId(String ApiId)
ApiId - Unique API ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getApiName()
public void setApiName(String ApiName)
ApiName - API name.
Note: this field may return null, indicating that no valid values can be obtained.public String getPath()
public void setPath(String Path)
Path - API path.
Note: this field may return null, indicating that no valid values can be obtained.public String getMethod()
public void setMethod(String Method)
Method - API method.
Note: this field may return null, indicating that no valid values can be obtained.public String getUsagePlanId()
public void setUsagePlanId(String UsagePlanId)
UsagePlanId - Unique usage plan ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getUsagePlanName()
public void setUsagePlanName(String UsagePlanName)
UsagePlanName - Usage plan name.
Note: this field may return null, indicating that no valid values can be obtained.public String getUsagePlanDesc()
public void setUsagePlanDesc(String UsagePlanDesc)
UsagePlanDesc - Usage plan description.
Note: this field may return null, indicating that no valid values can be obtained.public String getEnvironment()
public void setEnvironment(String Environment)
Environment - Service environment bound to usage plan.
Note: this field may return null, indicating that no valid values can be obtained.public Long getInUseRequestNum()
public void setInUseRequestNum(Long InUseRequestNum)
InUseRequestNum - Used quota.
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxRequestNum()
public void setMaxRequestNum(Long MaxRequestNum)
MaxRequestNum - Total number of requests allowed. `-1` indicates no limit.
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxRequestNumPreSec()
public void setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
MaxRequestNumPreSec - Request QPS upper limit. `-1` indicates no limit.
Note: this field may return null, indicating that no valid values can be obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Usage plan creation time.
Note: this field may return null, indicating that no valid values can be obtained.public String getModifiedTime()
public void setModifiedTime(String ModifiedTime)
ModifiedTime - Last modified time of usage plan.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceName()
public void setServiceName(String ServiceName)
ServiceName - Service name.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.