Class Dscp

  • All Implemented Interfaces:
    Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject

    public class Dscp
    extends Object
    implements org.opendaylight.yangtools.yang.binding.TypeObject, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Dscp

        @Deprecated(forRemoval=true)
        public Dscp​(Short _value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use {#link Dscp(Uint8)} instead.
        Utility migration constructor.
        Parameters:
        _value - value in legacy Java type
      • Dscp

        public Dscp​(Dscp source)
        Creates a copy from Source Object.
        Parameters:
        source - Source object
    • Method Detail

      • getDefaultInstance

        public static Dscp getDefaultInstance​(String defaultValue)
      • getValue

        public org.opendaylight.yangtools.yang.common.Uint8 getValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object