Interface NumericOneByteValue

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Codes, NextHeaders, ProtocolIps, Types

    public interface NumericOneByteValue
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping numeric-one-byte-value {
       leaf op {
         type numeric-operand;
       }
       leaf value {
         type uint8;
       }
     }
     
    The schema path to identify an instance is bgp-flowspec/numeric-one-byte-value
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends NumericOneByteValue> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getOp

        NumericOperand getOp()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.NumericOperand op, or null if not present
      • getValue

        org.opendaylight.yangtools.yang.common.Uint8 getValue()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 value, or null if not present