Class MediaInitiatorFlag
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.v960.MediaInitiatorFlag
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class MediaInitiatorFlag extends Object implements Serializable, Enumerated
Java class to represent the MediaInitiatorFlag enumerated type. Documentation from the relevant specification: The Media-Initiator-Flag AVP (AVP code 882) is of type Enumerated and indicates which party has requested the session modification. The default value is '0' indicating the called party initiated the modification.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_CALLED_PARTY
static int
_CALLING_PARTY
static int
_UNKNOWN
static MediaInitiatorFlag
CALLED_PARTY
static MediaInitiatorFlag
CALLING_PARTY
static MediaInitiatorFlag
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaInitiatorFlag
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_CALLED_PARTY
public static final int _CALLED_PARTY
- See Also:
- Constant Field Values
-
_CALLING_PARTY
public static final int _CALLING_PARTY
- See Also:
- Constant Field Values
-
_UNKNOWN
public static final int _UNKNOWN
- See Also:
- Constant Field Values
-
CALLED_PARTY
public static final MediaInitiatorFlag CALLED_PARTY
-
CALLING_PARTY
public static final MediaInitiatorFlag CALLING_PARTY
-
UNKNOWN
public static final MediaInitiatorFlag UNKNOWN
-
-
Method Detail
-
fromInt
public static MediaInitiatorFlag 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
-
-