Class TimeQuotaType
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.v960.TimeQuotaType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class TimeQuotaType extends Object implements Serializable, Enumerated
Java class to represent the TimeQuotaType enumerated type. Documentation from the relevant specification: The Time-Quota-Type AVP (AVP code 1271) is of type Enumerated. It is used to indicate which time quota consumption mechanism shall be used for the associated Rating Group.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_CONTINUOUS_TIME_PERIOD
static int
_DISCRETE_TIME_PERIOD
static TimeQuotaType
CONTINUOUS_TIME_PERIOD
static TimeQuotaType
DISCRETE_TIME_PERIOD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeQuotaType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_DISCRETE_TIME_PERIOD
public static final int _DISCRETE_TIME_PERIOD
- See Also:
- Constant Field Values
-
_CONTINUOUS_TIME_PERIOD
public static final int _CONTINUOUS_TIME_PERIOD
- See Also:
- Constant Field Values
-
DISCRETE_TIME_PERIOD
public static final TimeQuotaType DISCRETE_TIME_PERIOD
-
CONTINUOUS_TIME_PERIOD
public static final TimeQuotaType CONTINUOUS_TIME_PERIOD
-
-
Method Detail
-
fromInt
public static TimeQuotaType fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:Enumerated
Return the value of this instance of this enumerated type.- Specified by:
getValue
in interfaceEnumerated
- Returns:
- value
-
-