Class UsagePlan
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.UsagePlan
-
public class UsagePlan extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedTime()Get 使用计划时间。StringgetEnvironment()Get 环境名称。LonggetMaxRequestNumPreSec()Get 使用计划qps,-1表示没有限制。StringgetModifiedTime()Get 使用计划修改时间。StringgetUsagePlanDesc()Get 使用计划描述。 注意:此字段可能返回 null,表示取不到有效值。StringgetUsagePlanId()Get 使用计划唯一ID。StringgetUsagePlanName()Get 使用计划名称。voidsetCreatedTime(String CreatedTime)Set 使用计划时间。voidsetEnvironment(String Environment)Set 环境名称。voidsetMaxRequestNumPreSec(Long MaxRequestNumPreSec)Set 使用计划qps,-1表示没有限制。voidsetModifiedTime(String ModifiedTime)Set 使用计划修改时间。voidsetUsagePlanDesc(String UsagePlanDesc)Set 使用计划描述。 注意:此字段可能返回 null,表示取不到有效值。voidsetUsagePlanId(String UsagePlanId)Set 使用计划唯一ID。voidsetUsagePlanName(String UsagePlanName)Set 使用计划名称。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
-
UsagePlan
public UsagePlan()
-
UsagePlan
public UsagePlan(UsagePlan 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
-
getEnvironment
public String getEnvironment()
Get 环境名称。- Returns:
- Environment 环境名称。
-
setEnvironment
public void setEnvironment(String Environment)
Set 环境名称。- Parameters:
Environment- 环境名称。
-
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 使用计划描述。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UsagePlanDesc 使用计划描述。 注意:此字段可能返回 null,表示取不到有效值。
-
setUsagePlanDesc
public void setUsagePlanDesc(String UsagePlanDesc)
Set 使用计划描述。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UsagePlanDesc- 使用计划描述。 注意:此字段可能返回 null,表示取不到有效值。
-
getMaxRequestNumPreSec
public Long getMaxRequestNumPreSec()
Get 使用计划qps,-1表示没有限制。- Returns:
- MaxRequestNumPreSec 使用计划qps,-1表示没有限制。
-
setMaxRequestNumPreSec
public void setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
Set 使用计划qps,-1表示没有限制。- Parameters:
MaxRequestNumPreSec- 使用计划qps,-1表示没有限制。
-
getCreatedTime
public String getCreatedTime()
Get 使用计划时间。- Returns:
- CreatedTime 使用计划时间。
-
setCreatedTime
public void setCreatedTime(String CreatedTime)
Set 使用计划时间。- Parameters:
CreatedTime- 使用计划时间。
-
getModifiedTime
public String getModifiedTime()
Get 使用计划修改时间。- Returns:
- ModifiedTime 使用计划修改时间。
-
setModifiedTime
public void setModifiedTime(String ModifiedTime)
Set 使用计划修改时间。- Parameters:
ModifiedTime- 使用计划修改时间。
-
-