Interface MetricObject
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface MetricObject extends org.opendaylight.yangtools.yang.binding.DataObject
METRIC ObjectThis class represents the following YANG schema fragment defined in module pcep-types
grouping metric-object { container metric { uses object; leaf metric-type { type uint8; } leaf bound { type boolean; default false; } leaf computed { type boolean; default false; } leaf value { type ieee754:float32; } } }
The schema path to identify an instance is pcep-types/metric-object
-
-
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 Modifier and Type Method Description @Nullable Metric
getMetric()
Class<? extends MetricObject>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends MetricObject> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMetric
@Nullable Metric getMetric()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.metric.object.Metric
metric
, ornull
if not present
-
-