All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
MeterBandHeader

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

This class represents the following YANG schema fragment defined in module opendaylight-meter-types

 grouping band-type {
   choice band-type {
     case drop {
       leaf drop-rate {
         type uint32;
       }
       leaf drop-burst-size {
         type uint32;
       }
     }
     case dscp-remark {
       leaf dscp-remark-rate {
         type uint32;
       }
       leaf dscp-remark-burst-size {
         type uint32;
       }
       leaf prec_level {
         type uint8;
       }
     }
     case experimenter {
       leaf experimenter-type {
         type meter-band-type;
       }
       leaf experimenter-rate {
         type uint32;
       }
       leaf experimenter-burst-size {
         type uint32;
       }
       leaf experimenter {
         type uint32;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return bandType, or null if it is not present.
    Class<? extends BandType>
     
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends BandType> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getBandType

      BandType getBandType()
      Return bandType, or null if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.band.type.BandType bandType, or null if it is not present.