Class ModifyUsagePlanRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.ModifyUsagePlanRequest
-
public class ModifyUsagePlanRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyUsagePlanRequest()
ModifyUsagePlanRequest(ModifyUsagePlanRequest 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 Long
getMaxRequestNum()
Get 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。Long
getMaxRequestNumPreSec()
Get 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。String
getUsagePlanDesc()
Get 修改后的用户自定义的使用计划描述。String
getUsagePlanId()
Get 使用计划唯一 ID。String
getUsagePlanName()
Get 修改后的用户自定义的使用计划名称。void
setMaxRequestNum(Long MaxRequestNum)
Set 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。void
setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
Set 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。void
setUsagePlanDesc(String UsagePlanDesc)
Set 修改后的用户自定义的使用计划描述。void
setUsagePlanId(String UsagePlanId)
Set 使用计划唯一 ID。void
setUsagePlanName(String UsagePlanName)
Set 修改后的用户自定义的使用计划名称。void
toMap(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
-
ModifyUsagePlanRequest
public ModifyUsagePlanRequest()
-
ModifyUsagePlanRequest
public ModifyUsagePlanRequest(ModifyUsagePlanRequest 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
-
getUsagePlanId
public String getUsagePlanId()
Get 使用计划唯一 ID。- Returns:
- UsagePlanId 使用计划唯一 ID。
-
setUsagePlanId
public void setUsagePlanId(String UsagePlanId)
Set 使用计划唯一 ID。- Parameters:
UsagePlanId
- 使用计划唯一 ID。
-
getUsagePlanName
public String getUsagePlanName()
Get 修改后的用户自定义的使用计划名称。- Returns:
- UsagePlanName 修改后的用户自定义的使用计划名称。
-
setUsagePlanName
public void setUsagePlanName(String UsagePlanName)
Set 修改后的用户自定义的使用计划名称。- Parameters:
UsagePlanName
- 修改后的用户自定义的使用计划名称。
-
getUsagePlanDesc
public String getUsagePlanDesc()
Get 修改后的用户自定义的使用计划描述。- Returns:
- UsagePlanDesc 修改后的用户自定义的使用计划描述。
-
setUsagePlanDesc
public void setUsagePlanDesc(String UsagePlanDesc)
Set 修改后的用户自定义的使用计划描述。- Parameters:
UsagePlanDesc
- 修改后的用户自定义的使用计划描述。
-
getMaxRequestNum
public Long getMaxRequestNum()
Get 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。- Returns:
- MaxRequestNum 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。
-
setMaxRequestNum
public void setMaxRequestNum(Long MaxRequestNum)
Set 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。- Parameters:
MaxRequestNum
- 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。
-
getMaxRequestNumPreSec
public Long getMaxRequestNumPreSec()
Get 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。- Returns:
- MaxRequestNumPreSec 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。
-
setMaxRequestNumPreSec
public void setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
Set 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。- Parameters:
MaxRequestNumPreSec
- 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。
-
-