Class SubscriptionPolicyAllOfDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.SubscriptionPolicyAllOfDTO
- Direct Known Subclasses:
SubscriptionPolicyDTO
SubscriptionPolicyAllOfDTO
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbillingPlan(String billingPlan) customAttributes(List<CustomAttributeDTO> customAttributes) defaultLimit(ThrottleLimitDTO defaultLimit) description(String description) displayName(String displayName) booleandefine whether this is Paid or a Free plan.Custom attributes added to the Subscription Throttling PolicyGet defaultLimitDescription of the policyDisplay name of the policyGet permissionsId of policyName of policyBurst control request countBurst control time unitNumber of subscriptions allowedThrottling policy tenant domainThrottling policy tenant domain idgetUuid()policy uuidinthashCode()isDeployed(Boolean isDeployed) Indicates whether the policy is deployed successfully or not.This indicates the action to be taken when a user goes beyond the allocated quota.permissions(SubscriptionThrottlePolicyPermissionDTO permissions) policyName(String policyName) rateLimitCount(Integer rateLimitCount) rateLimitTimeUnit(String rateLimitTimeUnit) voidsetBillingPlan(String billingPlan) voidsetCustomAttributes(List<CustomAttributeDTO> customAttributes) voidsetDefaultLimit(ThrottleLimitDTO defaultLimit) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetIsDeployed(Boolean isDeployed) voidsetPermissions(SubscriptionThrottlePolicyPermissionDTO permissions) voidsetPolicyId(Integer policyId) voidsetPolicyName(String policyName) voidsetRateLimitCount(Integer rateLimitCount) voidsetRateLimitTimeUnit(String rateLimitTimeUnit) voidsetStopOnQuotaReach(Boolean stopOnQuotaReach) voidsetSubscriberCount(Integer subscriberCount) voidsetTenantDomain(String tenantDomain) voidsetTenantId(Integer tenantId) voidstopOnQuotaReach(Boolean stopOnQuotaReach) subscriberCount(Integer subscriberCount) tenantDomain(String tenantDomain) toString()
-
Field Details
-
SERIALIZED_NAME_POLICY_ID
- See Also:
-
SERIALIZED_NAME_UUID
- See Also:
-
SERIALIZED_NAME_POLICY_NAME
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_IS_DEPLOYED
- See Also:
-
SERIALIZED_NAME_TENANT_ID
- See Also:
-
SERIALIZED_NAME_TENANT_DOMAIN
- See Also:
-
SERIALIZED_NAME_DEFAULT_LIMIT
- See Also:
-
SERIALIZED_NAME_RATE_LIMIT_COUNT
- See Also:
-
SERIALIZED_NAME_RATE_LIMIT_TIME_UNIT
- See Also:
-
SERIALIZED_NAME_SUBSCRIBER_COUNT
- See Also:
-
SERIALIZED_NAME_CUSTOM_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_STOP_ON_QUOTA_REACH
- See Also:
-
SERIALIZED_NAME_BILLING_PLAN
- See Also:
-
SERIALIZED_NAME_PERMISSIONS
- See Also:
-
-
Constructor Details
-
SubscriptionPolicyAllOfDTO
public SubscriptionPolicyAllOfDTO()
-
-
Method Details
-
policyId
-
getPolicyId
Id of policy- Returns:
- policyId
-
setPolicyId
-
uuid
-
getUuid
policy uuid- Returns:
- uuid
-
setUuid
-
policyName
-
getPolicyName
Name of policy- Returns:
- policyName
-
setPolicyName
-
displayName
-
getDisplayName
Display name of the policy- Returns:
- displayName
-
setDisplayName
-
description
-
getDescription
Description of the policy- Returns:
- description
-
setDescription
-
isDeployed
-
isIsDeployed
Indicates whether the policy is deployed successfully or not.- Returns:
- isDeployed
-
setIsDeployed
-
tenantId
-
getTenantId
Throttling policy tenant domain id- Returns:
- tenantId
-
setTenantId
-
tenantDomain
-
getTenantDomain
Throttling policy tenant domain- Returns:
- tenantDomain
-
setTenantDomain
-
defaultLimit
-
getDefaultLimit
Get defaultLimit- Returns:
- defaultLimit
-
setDefaultLimit
-
rateLimitCount
-
getRateLimitCount
Burst control request count- Returns:
- rateLimitCount
-
setRateLimitCount
-
rateLimitTimeUnit
-
getRateLimitTimeUnit
Burst control time unit- Returns:
- rateLimitTimeUnit
-
setRateLimitTimeUnit
-
subscriberCount
-
getSubscriberCount
Number of subscriptions allowed- Returns:
- subscriberCount
-
setSubscriberCount
-
customAttributes
-
getCustomAttributes
Custom attributes added to the Subscription Throttling Policy- Returns:
- customAttributes
-
setCustomAttributes
-
stopOnQuotaReach
-
isStopOnQuotaReach
This indicates the action to be taken when a user goes beyond the allocated quota. If checked, the user's requests will be dropped. If unchecked, the requests will be allowed to pass through.- Returns:
- stopOnQuotaReach
-
setStopOnQuotaReach
-
billingPlan
-
getBillingPlan
define whether this is Paid or a Free plan. Allowed values are FREE or COMMERCIAL.- Returns:
- billingPlan
-
setBillingPlan
-
permissions
-
getPermissions
Get permissions- Returns:
- permissions
-
setPermissions
-
equals
-
hashCode
public int hashCode() -
toString
-