Interface QosPolicy

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<QosPolicy>, BaseAttributes, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<QosPolicies>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, IdAttributes, org.opendaylight.yangtools.yang.binding.Identifiable<QosPolicyKey>, QosPolicyAttributes

    @Generated("mdsal-binding-generator")
    public interface QosPolicy
    extends org.opendaylight.yangtools.yang.binding.ChildOf<QosPolicies>, org.opendaylight.yangtools.yang.binding.Augmentable<QosPolicy>, BaseAttributes, QosPolicyAttributes, org.opendaylight.yangtools.yang.binding.Identifiable<QosPolicyKey>

    This class represents the following YANG schema fragment defined in module neutron-qos

     list qos-policy {
       key uuid;
       uses attrs:base-attributes;
       uses qos-policy-attributes;
       list bandwidth-limit-rules {
         key uuid;
         uses attrs:id-attributes;
         uses bandwidthlimit-rule-attributes;
       }
       list dscpmarking-rules {
         key uuid;
         uses attrs:id-attributes;
         uses dscpmarking-rule-attributes;
       }
       list minimumbandwidth-rules {
         key uuid;
         uses attrs:id-attributes;
         uses minimumbandwidth-rule-attributes;
       }
     }
     
    The schema path to identify an instance is neutron-qos/qos-attributes/qos-policies/qos-policy

    To create instances of this class use QosPolicyBuilder.

    See Also:
    QosPolicyBuilder, QosPolicyKey
    • Field Detail

      • QNAME

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

      • bindingHashCode

        static int bindingHashCode​(@NonNull QosPolicy 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 QosPolicy 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 QosPolicy 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
      • key

        QosPolicyKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<QosPolicyKey>
      • getBandwidthLimitRules

        @Nullable Map<BandwidthLimitRulesKey,​BandwidthLimitRules> getBandwidthLimitRules()
        Return bandwidthLimitRules, or null if it is not present.
        Returns:
        Map<BandwidthLimitRulesKey, BandwidthLimitRules> bandwidthLimitRules, or null if it is not present.
      • nonnullBandwidthLimitRules

        default @NonNull Map<BandwidthLimitRulesKey,​BandwidthLimitRules> nonnullBandwidthLimitRules()
        Return bandwidthLimitRules, or an empty list if it is not present.
        Returns:
        Map<BandwidthLimitRulesKey, BandwidthLimitRules> bandwidthLimitRules, or an empty list if it is not present.
      • getDscpmarkingRules

        @Nullable Map<DscpmarkingRulesKey,​DscpmarkingRules> getDscpmarkingRules()
        Return dscpmarkingRules, or null if it is not present.
        Returns:
        Map<DscpmarkingRulesKey, DscpmarkingRules> dscpmarkingRules, or null if it is not present.
      • nonnullDscpmarkingRules

        default @NonNull Map<DscpmarkingRulesKey,​DscpmarkingRules> nonnullDscpmarkingRules()
        Return dscpmarkingRules, or an empty list if it is not present.
        Returns:
        Map<DscpmarkingRulesKey, DscpmarkingRules> dscpmarkingRules, or an empty list if it is not present.
      • getMinimumbandwidthRules

        @Nullable Map<MinimumbandwidthRulesKey,​MinimumbandwidthRules> getMinimumbandwidthRules()
        Return minimumbandwidthRules, or null if it is not present.
        Returns:
        Map<MinimumbandwidthRulesKey, MinimumbandwidthRules> minimumbandwidthRules, or null if it is not present.
      • nonnullMinimumbandwidthRules

        default @NonNull Map<MinimumbandwidthRulesKey,​MinimumbandwidthRules> nonnullMinimumbandwidthRules()
        Return minimumbandwidthRules, or an empty list if it is not present.
        Returns:
        Map<MinimumbandwidthRulesKey, MinimumbandwidthRules> minimumbandwidthRules, or an empty list if it is not present.