Class TimeQuotaType
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vb80.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_PERIODstatic int_DISCRETE_TIME_PERIODstatic TimeQuotaTypeCONTINUOUS_TIME_PERIODstatic TimeQuotaTypeDISCRETE_TIME_PERIOD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeQuotaTypefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-