public static enum ThrottlingPolicyDTO.PolicyLevelEnum extends Enum<ThrottlingPolicyDTO.PolicyLevelEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
ThrottlingPolicyDTO.PolicyLevelEnum.Adapter |
| Enum Constant and Description |
|---|
APPLICATION |
SUBSCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
static ThrottlingPolicyDTO.PolicyLevelEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ThrottlingPolicyDTO.PolicyLevelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrottlingPolicyDTO.PolicyLevelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThrottlingPolicyDTO.PolicyLevelEnum APPLICATION
public static final ThrottlingPolicyDTO.PolicyLevelEnum SUBSCRIPTION
public static ThrottlingPolicyDTO.PolicyLevelEnum[] values()
for (ThrottlingPolicyDTO.PolicyLevelEnum c : ThrottlingPolicyDTO.PolicyLevelEnum.values()) System.out.println(c);
public static ThrottlingPolicyDTO.PolicyLevelEnum 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.PolicyLevelEnum>public static ThrottlingPolicyDTO.PolicyLevelEnum fromValue(String text)
Copyright © 2020 WSO2 Inc. All rights reserved.