Class UsageMonitoringLevel
- java.lang.Object
-
- org.jainslee.resources.diameter.gx.types.va10.UsageMonitoringLevel
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class UsageMonitoringLevel extends Object implements Serializable, Enumerated
Java class to represent the UsageMonitoringLevel enumerated type. Documentation from the relevant specification: The Usage-Monitoring-Level AVP (AVP code 1068) is of type Enumerated and is used by the PCRF to indicate whether the usage monitoring instance applies to the IP-CAN session or to one or more PCC rules. If Usage-Monitoring-Level AVP is not provided, its absence shall indicate the value PCC_RULE_LEVEL (1).- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_PCC_RULE_LEVEL
static int
_SESSION_LEVEL
static UsageMonitoringLevel
PCC_RULE_LEVEL
static UsageMonitoringLevel
SESSION_LEVEL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageMonitoringLevel
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_SESSION_LEVEL
public static final int _SESSION_LEVEL
- See Also:
- Constant Field Values
-
_PCC_RULE_LEVEL
public static final int _PCC_RULE_LEVEL
- See Also:
- Constant Field Values
-
SESSION_LEVEL
public static final UsageMonitoringLevel SESSION_LEVEL
-
PCC_RULE_LEVEL
public static final UsageMonitoringLevel PCC_RULE_LEVEL
-
-
Method Detail
-
fromInt
public static UsageMonitoringLevel 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
-
-