public static enum ThrottlingPolicyDTO.TierPlanEnum extends Enum<ThrottlingPolicyDTO.TierPlanEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
ThrottlingPolicyDTO.TierPlanEnum.Adapter |
| Enum Constant and Description |
|---|
COMMERCIAL |
FREE |
| Modifier and Type | Method and Description |
|---|---|
static ThrottlingPolicyDTO.TierPlanEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static ThrottlingPolicyDTO.TierPlanEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrottlingPolicyDTO.TierPlanEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThrottlingPolicyDTO.TierPlanEnum FREE
public static final ThrottlingPolicyDTO.TierPlanEnum COMMERCIAL
public static ThrottlingPolicyDTO.TierPlanEnum[] values()
for (ThrottlingPolicyDTO.TierPlanEnum c : ThrottlingPolicyDTO.TierPlanEnum.values()) System.out.println(c);
public static ThrottlingPolicyDTO.TierPlanEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<ThrottlingPolicyDTO.TierPlanEnum>public static ThrottlingPolicyDTO.TierPlanEnum fromValue(String value)
Copyright © 2021 WSO2 Inc. All rights reserved.