Package org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.rev160613.qos.attributes.qos.policies
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-policyTo create instances of this class use
QosPolicyBuilder.- See Also:
QosPolicyBuilder,QosPolicyKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static booleanbindingEquals(@NonNull QosPolicy thisObj, Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull QosPolicy obj)Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull QosPolicy obj)Default implementation ofObject.toString()contract for this interface.@Nullable Map<BandwidthLimitRulesKey,BandwidthLimitRules>getBandwidthLimitRules()Return bandwidthLimitRules, ornullif it is not present.@Nullable Map<DscpmarkingRulesKey,DscpmarkingRules>getDscpmarkingRules()Return dscpmarkingRules, ornullif it is not present.@Nullable Map<MinimumbandwidthRulesKey,MinimumbandwidthRules>getMinimumbandwidthRules()Return minimumbandwidthRules, ornullif it is not present.default Class<QosPolicy>implementedInterface()QosPolicyKeykey()default @NonNull Map<BandwidthLimitRulesKey,BandwidthLimitRules>nonnullBandwidthLimitRules()Return bandwidthLimitRules, or an empty list if it is not present.default @NonNull Map<DscpmarkingRulesKey,DscpmarkingRules>nonnullDscpmarkingRules()Return dscpmarkingRules, or an empty list if it is not present.default @NonNull Map<MinimumbandwidthRulesKey,MinimumbandwidthRules>nonnullMinimumbandwidthRules()Return minimumbandwidthRules, or an empty list if it is not present.-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.attrs.rev150712.BaseAttributes
getName
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.attrs.rev150712.IdAttributes
getProjectId, getRevisionNumber, getTenantId, getUuid
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.rev160613.QosPolicyAttributes
getShared, isShared
-
-
-
-
Method Detail
-
implementedInterface
default Class<QosPolicy> implementedInterface()
- Specified by:
implementedInterfacein interfaceBaseAttributes- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceIdAttributes- Specified by:
implementedInterfacein interfaceQosPolicyAttributes
-
bindingHashCode
static int bindingHashCode(@NonNull QosPolicy obj)
Default implementation ofObject.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- ifobjis null
-
bindingEquals
static boolean bindingEquals(@NonNull QosPolicy thisObj, Object obj)
Default implementation ofObject.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 invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjis null
-
bindingToString
static String bindingToString(@NonNull QosPolicy obj)
Default implementation ofObject.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:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjis null
-
getBandwidthLimitRules
@Nullable Map<BandwidthLimitRulesKey,BandwidthLimitRules> getBandwidthLimitRules()
Return bandwidthLimitRules, ornullif it is not present.- Returns:
java.util.MapbandwidthLimitRules, ornullif it is not present.
-
nonnullBandwidthLimitRules
default @NonNull Map<BandwidthLimitRulesKey,BandwidthLimitRules> nonnullBandwidthLimitRules()
Return bandwidthLimitRules, or an empty list if it is not present.- Returns:
java.util.MapbandwidthLimitRules, or an empty list if it is not present.
-
getDscpmarkingRules
@Nullable Map<DscpmarkingRulesKey,DscpmarkingRules> getDscpmarkingRules()
Return dscpmarkingRules, ornullif it is not present.- Returns:
java.util.MapdscpmarkingRules, ornullif it is not present.
-
nonnullDscpmarkingRules
default @NonNull Map<DscpmarkingRulesKey,DscpmarkingRules> nonnullDscpmarkingRules()
Return dscpmarkingRules, or an empty list if it is not present.- Returns:
java.util.MapdscpmarkingRules, or an empty list if it is not present.
-
getMinimumbandwidthRules
@Nullable Map<MinimumbandwidthRulesKey,MinimumbandwidthRules> getMinimumbandwidthRules()
Return minimumbandwidthRules, ornullif it is not present.- Returns:
java.util.MapminimumbandwidthRules, ornullif it is not present.
-
nonnullMinimumbandwidthRules
default @NonNull Map<MinimumbandwidthRulesKey,MinimumbandwidthRules> nonnullMinimumbandwidthRules()
Return minimumbandwidthRules, or an empty list if it is not present.- Returns:
java.util.MapminimumbandwidthRules, or an empty list if it is not present.
-
key
QosPolicyKey key()
- Specified by:
keyin interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<QosPolicyKey>
-
-