Enum MaxTpsDTO.SandboxTimeUnitEnum
- java.lang.Object
-
- java.lang.Enum<MaxTpsDTO.SandboxTimeUnitEnum>
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.MaxTpsDTO.SandboxTimeUnitEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MaxTpsDTO.SandboxTimeUnitEnum>
- Enclosing class:
- MaxTpsDTO
public static enum MaxTpsDTO.SandboxTimeUnitEnum extends Enum<MaxTpsDTO.SandboxTimeUnitEnum>
Time unit for the sandbox.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaxTpsDTO.SandboxTimeUnitEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaxTpsDTO.SandboxTimeUnitEnumfromValue(String value)StringgetValue()StringtoString()static MaxTpsDTO.SandboxTimeUnitEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MaxTpsDTO.SandboxTimeUnitEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECOND
public static final MaxTpsDTO.SandboxTimeUnitEnum SECOND
-
MINUTE
public static final MaxTpsDTO.SandboxTimeUnitEnum MINUTE
-
HOUR
public static final MaxTpsDTO.SandboxTimeUnitEnum HOUR
-
-
Method Detail
-
values
public static MaxTpsDTO.SandboxTimeUnitEnum[] 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 (MaxTpsDTO.SandboxTimeUnitEnum c : MaxTpsDTO.SandboxTimeUnitEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaxTpsDTO.SandboxTimeUnitEnum 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<MaxTpsDTO.SandboxTimeUnitEnum>
-
fromValue
public static MaxTpsDTO.SandboxTimeUnitEnum fromValue(String value)
-
-