Interface MetricObject
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface MetricObject
extends org.opendaylight.yangtools.binding.Grouping
METRIC Object
This class represents the following YANG schema fragment defined in module rsvp
grouping metric-object {
container metric-object {
uses rsvp-te-object;
leaf metric-type {
type uint8;
}
leaf bound {
type boolean;
default false;
}
leaf computed {
type boolean;
default false;
}
leaf value {
type ieee754:float32;
}
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn metricObject, ornullif it is not present.@NonNull MetricObjectReturn metricObject, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getMetricObject
MetricObject getMetricObject()Return metricObject, ornullif it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.metric.object.MetricObjectmetricObject, ornullif it is not present.
-
nonnullMetricObject
@NonNull MetricObject nonnullMetricObject()Return metricObject, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.metric.object.MetricObjectmetricObject, or an empty instance if it is not present.
-