Interface MeterMod

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
    All Known Subinterfaces:
    MeterModInput

    public interface MeterMod
    extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader

    This class represents the following YANG schema fragment defined in module openflow-protocol

     grouping meter-mod {
       uses ofHeader;
       leaf command {
         type oft:meter-mod-command;
       }
       leaf flags {
         type oft:meter-flags;
       }
       leaf meter-id {
         type oft:meter-id;
       }
       list bands {
         uses meter-band-header;
       }
     }
     
    The schema path to identify an instance is openflow-protocol/meter-mod
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends MeterMod> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface OfHeader
      • getCommand

        MeterModCommand getCommand()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MeterModCommand command, or null if not present
      • getFlags

        MeterFlags getFlags()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MeterFlags flags, or null if not present
      • getMeterId

        MeterId getMeterId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MeterId meterId, or null if not present
      • getBands

        @Nullable List<Bands> getBands()
        Returns:
        java.util.List bands, or null if not present
      • nonnullBands

        default @NonNull List<Bands> nonnullBands()
        Returns:
        java.util.List bands, or an empty list if it is not present