Class SubsReqType
- java.lang.Object
-
- org.jainslee.resources.diameter.sh.types.va10.SubsReqType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class SubsReqType extends Object implements Serializable, Enumerated
Java class to represent the SubsReqType enumerated type. Documentation from the relevant specification: The Subs-Req-Type AVP is of type Enumerated, and indicates the type of the subscription-to-notifications request.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_SUBSCRIBE
static int
_UNSUBSCRIBE
static SubsReqType
SUBSCRIBE
This value is used by an AS to subscribe to notifications of changes in data.static SubsReqType
UNSUBSCRIBE
This value is used by an AS to unsubscribe to notifications of changes in data.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubsReqType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_SUBSCRIBE
public static final int _SUBSCRIBE
- See Also:
- Constant Field Values
-
_UNSUBSCRIBE
public static final int _UNSUBSCRIBE
- See Also:
- Constant Field Values
-
SUBSCRIBE
public static final SubsReqType SUBSCRIBE
This value is used by an AS to subscribe to notifications of changes in data.
-
UNSUBSCRIBE
public static final SubsReqType UNSUBSCRIBE
This value is used by an AS to unsubscribe to notifications of changes in data.
-
-
Method Detail
-
fromInt
public static SubsReqType 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
-
-