Interface OperAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Link1, Paths1

    @Generated("mdsal-binding-generator")
    public interface OperAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module odl-pcep-ietf-stateful

     grouping oper-attributes {
       leaf operational-status {
         type operational-status;
         config false;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        OperationalStatus getOperationalStatus()
        Return operationalStatus, or null if it is not present.
        Returns:
        OperationalStatus operationalStatus, or null if it is not present.
      • requireOperationalStatus

        default @NonNull OperationalStatus requireOperationalStatus()
        Return operationalStatus, guaranteed to be non-null.
        Returns:
        OperationalStatus operationalStatus, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if operationalStatus is not present