Interface QosPolicyAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
QosPolicy
@Generated("mdsal-binding-generator") public interface QosPolicyAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-qos
grouping qos-policy-attributes { leaf shared { type boolean; } }
The schema path to identify an instance is neutron-qos/qos-policy-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Boolean
getShared()
Return shared, ornull
if it is not present.Class<? extends QosPolicyAttributes>
implementedInterface()
default @NonNull Boolean
requireShared()
Return shared, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends QosPolicyAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getShared
Boolean getShared()
Return shared, ornull
if it is not present.Whether the policy is shared or not
- Returns:
Boolean
shared, ornull
if it is not present.
-
requireShared
default @NonNull Boolean requireShared()
Return shared, guaranteed to be non-null.Whether the policy is shared or not
- Returns:
Boolean
shared, guaranteed to be non-null.- Throws:
NoSuchElementException
- if shared is not present
-
-