Class 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 Detail

      • 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 interface Enumerated
        Returns:
        value