Enum ThrottlingPolicyDTO.PolicyLevelEnum
- java.lang.Object
-
- java.lang.Enum<ThrottlingPolicyDTO.PolicyLevelEnum>
-
- org.wso2.am.integration.clients.store.api.v1.dto.ThrottlingPolicyDTO.PolicyLevelEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ThrottlingPolicyDTO.PolicyLevelEnum>
- Enclosing class:
- ThrottlingPolicyDTO
public static enum ThrottlingPolicyDTO.PolicyLevelEnum extends Enum<ThrottlingPolicyDTO.PolicyLevelEnum>
Gets or Sets policyLevel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThrottlingPolicyDTO.PolicyLevelEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATIONSUBSCRIPTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThrottlingPolicyDTO.PolicyLevelEnumfromValue(String value)StringgetValue()StringtoString()static ThrottlingPolicyDTO.PolicyLevelEnumvalueOf(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.
-
-
-
Enum Constant Detail
-
APPLICATION
public static final ThrottlingPolicyDTO.PolicyLevelEnum APPLICATION
-
SUBSCRIPTION
public static final ThrottlingPolicyDTO.PolicyLevelEnum SUBSCRIPTION
-
-
Method Detail
-
values
public static ThrottlingPolicyDTO.PolicyLevelEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ThrottlingPolicyDTO.PolicyLevelEnum c : ThrottlingPolicyDTO.PolicyLevelEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThrottlingPolicyDTO.PolicyLevelEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ThrottlingPolicyDTO.PolicyLevelEnum>
-
fromValue
public static ThrottlingPolicyDTO.PolicyLevelEnum fromValue(String value)
-
-