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:
Bandwidth1, Bandwidth2, BandwidthUsage

@Generated("mdsal-binding-generator") public interface BwSamples extends org.opendaylight.yangtools.binding.Grouping

This class represents the following YANG schema fragment defined in module odl-pcep-auto-bandwidth

 grouping bw-samples {
   leaf-list bw-sample {
     type netc:bandwidth;
     ordered-by user;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable List<Bandwidth>
    Return bwSample, or null if it is not present.
    default @NonNull List<Bandwidth>
    Return bwSample, guaranteed to be non-null.

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

    implementedInterface
  • Method Details

    • getBwSample

      @Nullable List<Bandwidth> getBwSample()
      Return bwSample, or null if it is not present.
      Returns:
      List<Bandwidth> bwSample, or null if it is not present.
    • requireBwSample

      default @NonNull List<Bandwidth> requireBwSample()
      Return bwSample, guaranteed to be non-null.
      Returns:
      List<Bandwidth> bwSample, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if bwSample is not present