All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
Dscps

@Generated("mdsal-binding-generator") public interface DscpValue extends org.opendaylight.yangtools.binding.Grouping

This class represents the following YANG schema fragment defined in module bgp-flowspec

 grouping dscp-value {
   leaf op {
     type numeric-operand;
   }
   leaf value {
     type dscp;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return op, or null if it is not present.
    Return value, or null if it is not present.
    default @NonNull NumericOperand
    Return op, guaranteed to be non-null.
    default @NonNull Dscp
    Return value, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • getOp

      Return op, or null if it is not present.
      Returns:
      NumericOperand op, or null if it is not present.
    • requireOp

      default @NonNull NumericOperand requireOp()
      Return op, guaranteed to be non-null.
      Returns:
      NumericOperand op, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if op is not present
    • getValue

      Dscp getValue()
      Return value, or null if it is not present.
      Returns:
      Dscp value, or null if it is not present.
    • requireValue

      default @NonNull Dscp requireValue()
      Return value, guaranteed to be non-null.
      Returns:
      Dscp value, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if value is not present