Interface QosEntries

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<QosEntries>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbNodeAttributes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<QosEntriesKey>

    @Generated("mdsal-binding-generator")
    public interface QosEntries
    extends org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbNodeAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<QosEntries>, org.opendaylight.yangtools.yang.binding.Identifiable<QosEntriesKey>

    This class represents the following YANG schema fragment defined in module ovsdb

     list qos-entries {
       key qos-id;
       leaf qos-id {
         type inet:uri;
       }
       leaf qos-uuid {
         type yang:uuid;
       }
       leaf qos-type {
         type identityref {
           base qos-type-base;
         }
       }
       list queue-list {
         key queue-number;
         leaf queue-number {
           type uint32;
         }
         leaf queue-ref {
           type ovsdb-queue-ref;
         }
       }
       list qos-external-ids {
         key qos-external-id-key;
         leaf qos-external-id-key {
           type string;
         }
         leaf qos-external-id-value {
           type string;
         }
       }
       list qos-other-config {
         key other-config-key;
         leaf other-config-key {
           type string;
         }
         leaf other-config-value {
           type string;
         }
       }
     }
     

    To create instances of this class use QosEntriesBuilder.

    See Also:
    QosEntriesBuilder, QosEntriesKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<QosEntries> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • bindingHashCode

        static int bindingHashCode​(@NonNull QosEntries obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull QosEntries thisObj,
                                     Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull QosEntries obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • getQosId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getQosId()
        Return qosId, or null if it is not present.
             
                 An identifier used for QoS entries in the MD-SAL.
             
         
        Returns:
        Uri qosId, or null if it is not present.
      • requireQosId

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri requireQosId()
        Return qosId, guaranteed to be non-null.
             
                 An identifier used for QoS entries in the MD-SAL.
             
         
        Returns:
        Uri qosId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if qosId is not present
      • getQosUuid

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getQosUuid()
        Return qosUuid, or null if it is not present.
             
                 The unique identifier of the QoS.
             
         
        Returns:
        Uuid qosUuid, or null if it is not present.
      • requireQosUuid

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireQosUuid()
        Return qosUuid, guaranteed to be non-null.
             
                 The unique identifier of the QoS.
             
         
        Returns:
        Uuid qosUuid, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if qosUuid is not present
      • getQosType

        Class<? extends QosTypeBase> getQosType()
        Return qosType, or null if it is not present.
        Returns:
        Class<? extends QosTypeBase> qosType, or null if it is not present.
      • requireQosType

        default @NonNull Class<? extends QosTypeBase> requireQosType()
        Return qosType, guaranteed to be non-null.
        Returns:
        Class<? extends QosTypeBase> qosType, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if qosType is not present
      • getQueueList

        @Nullable Map<QueueListKey,​QueueList> getQueueList()
        Return queueList, or null if it is not present.
             
                 The list of queues used by the QoS
             
         
        Returns:
        Map<QueueListKey, QueueList> queueList, or null if it is not present.
      • nonnullQueueList

        default @NonNull Map<QueueListKey,​QueueList> nonnullQueueList()
        Return queueList, or an empty list if it is not present.
        Returns:
        Map<QueueListKey, QueueList> queueList, or an empty list if it is not present.
      • getQosExternalIds

        @Nullable Map<QosExternalIdsKey,​QosExternalIds> getQosExternalIds()
        Return qosExternalIds, or null if it is not present.
        Returns:
        Map<QosExternalIdsKey, QosExternalIds> qosExternalIds, or null if it is not present.
      • nonnullQosExternalIds

        default @NonNull Map<QosExternalIdsKey,​QosExternalIds> nonnullQosExternalIds()
        Return qosExternalIds, or an empty list if it is not present.
        Returns:
        Map<QosExternalIdsKey, QosExternalIds> qosExternalIds, or an empty list if it is not present.
      • getQosOtherConfig

        @Nullable Map<QosOtherConfigKey,​QosOtherConfig> getQosOtherConfig()
        Return qosOtherConfig, or null if it is not present.
             
                  other_config : max-rate optional string, containing an integer.
             
         
        Returns:
        Map<QosOtherConfigKey, QosOtherConfig> qosOtherConfig, or null if it is not present.
      • nonnullQosOtherConfig

        default @NonNull Map<QosOtherConfigKey,​QosOtherConfig> nonnullQosOtherConfig()
        Return qosOtherConfig, or an empty list if it is not present.
        Returns:
        Map<QosOtherConfigKey, QosOtherConfig> qosOtherConfig, or an empty list if it is not present.