Interface MeteringLabelAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
MeteringLabel
@Generated("mdsal-binding-generator") public interface MeteringLabelAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
OpenStack Layer3 Metering label information.This class represents the following YANG schema fragment defined in module neutron-metering
grouping metering-label-attributes { leaf shared { type boolean; default false; } }
The schema path to identify an instance is neutron-metering/metering-label-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 MeteringLabelAttributes>
implementedInterface()
default @NonNull Boolean
requireShared()
Return shared, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends MeteringLabelAttributes> 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.Indicates whether this metering label is shared across all tenants.
- Returns:
Boolean
shared, ornull
if it is not present.
-
requireShared
default @NonNull Boolean requireShared()
Return shared, guaranteed to be non-null.Indicates whether this metering label is shared across all tenants.
- Returns:
Boolean
shared, guaranteed to be non-null.- Throws:
NoSuchElementException
- if shared is not present
-
-