Interface BwSamples

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Bandwidth1, Bandwidth2, BandwidthUsage

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

    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;
       }
     }
     
    The schema path to identify an instance is odl-pcep-auto-bandwidthbw-samples
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends BwSamples> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • 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