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:
Metric, Metric, Metrics

@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 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;
     }
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return metric, or null if it is not present.
    @NonNull Metric
    Return metric, or an empty instance if it is not present.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • getMetric

      Metric getMetric()
      Return metric, or null if it is not present.
      Returns:
      Metric metric, or null if it is not present.
    • nonnullMetric

      @NonNull Metric nonnullMetric()
      Return metric, or an empty instance if it is not present.
      Returns:
      Metric metric, or an empty instance if it is not present.