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
All Known Subinterfaces:
TeLspAttributes

@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 Type
    Method
    Description
    Return metricObject, or null if it is not present.
    @NonNull MetricObject
    Return 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, or null if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.metric.object.MetricObject metricObject, or null if 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.MetricObject metricObject, or an empty instance if it is not present.