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

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

This class represents the following YANG schema fragment defined in module flow-node-inventory

 grouping queue {
   leaf queue-id {
     type uint32;
   }
   container properties {
     leaf minimum-rate {
       type uint32;
     }
     leaf maximum-rate {
       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 properties, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return queueId, or null if it is not present.
    Class<? extends Queue>
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return queueId, guaranteed to be non-null.
  • 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 Queue> 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
    • getQueueId

      org.opendaylight.yangtools.yang.common.Uint32 getQueueId()
      Return queueId, or null if it is not present.
           
               id for the specific queue
           
       
      Returns:
      Uint32 queueId, or null if it is not present.
    • requireQueueId

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireQueueId()
      Return queueId, guaranteed to be non-null.
           
               id for the specific queue
           
       
      Returns:
      Uint32 queueId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if queueId is not present
    • getProperties

      Properties getProperties()
      Return properties, or null if it is not present.
      Returns:
      Properties properties, or null if it is not present.