public class SubscriptionThrottlePolicyDTO extends ThrottlePolicyDTO
| Constructor and Description |
|---|
SubscriptionThrottlePolicyDTO() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBillingPlan()
define whether this is Paid or a Free plan.
|
List<CustomAttributeDTO> |
getCustomAttributes()
Custom attributes added to the Subscription Throttling Policy\n
|
ThrottleLimitDTO |
getDefaultLimit() |
Integer |
getRateLimitCount()
Burst control request count
|
String |
getRateLimitTimeUnit()
Burst control time unit
|
Boolean |
getStopOnQuotaReach()
This indicates the action to be taken when a user goes beyond the allocated quota.
|
void |
setBillingPlan(String billingPlan) |
void |
setCustomAttributes(List<CustomAttributeDTO> customAttributes) |
void |
setDefaultLimit(ThrottleLimitDTO defaultLimit) |
void |
setRateLimitCount(Integer rateLimitCount) |
void |
setRateLimitTimeUnit(String rateLimitTimeUnit) |
void |
setStopOnQuotaReach(Boolean stopOnQuotaReach) |
getDescription, getDisplayName, getIsDeployed, getPolicyId, getPolicyName, setDescription, setDisplayName, setIsDeployed, setPolicyId, setPolicyNamepublic ThrottleLimitDTO getDefaultLimit()
public void setDefaultLimit(ThrottleLimitDTO defaultLimit)
public Integer getRateLimitCount()
public void setRateLimitCount(Integer rateLimitCount)
public String getRateLimitTimeUnit()
public void setRateLimitTimeUnit(String rateLimitTimeUnit)
public List<CustomAttributeDTO> getCustomAttributes()
public void setCustomAttributes(List<CustomAttributeDTO> customAttributes)
public Boolean getStopOnQuotaReach()
public void setStopOnQuotaReach(Boolean stopOnQuotaReach)
public String getBillingPlan()
public void setBillingPlan(String billingPlan)
Copyright © 2019 WSO2. All rights reserved.