Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.ietf.stateful.rev200720
Interface OperAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@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; } }The schema path to identify an instance is odl-pcep-ietf-statefuloper-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OperationalStatusgetOperationalStatus()Return operationalStatus, ornullif it is not present.Class<? extends OperAttributes>implementedInterface()default @NonNull OperationalStatusrequireOperationalStatus()Return operationalStatus, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends OperAttributes> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getOperationalStatus
OperationalStatus getOperationalStatus()
Return operationalStatus, ornullif it is not present.- Returns:
OperationalStatusoperationalStatus, ornullif it is not present.
-
requireOperationalStatus
default @NonNull OperationalStatus requireOperationalStatus()
Return operationalStatus, guaranteed to be non-null.- Returns:
OperationalStatusoperationalStatus, guaranteed to be non-null.- Throws:
NoSuchElementException- if operationalStatus is not present
-
-