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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull QosEntries thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull QosEntries obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull QosEntries obj)
Default implementation ofObject.toString()
contract for this interface.@Nullable Map<QosExternalIdsKey,QosExternalIds>
getQosExternalIds()
Return qosExternalIds, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
getQosId()
Return qosId, ornull
if it is not present.@Nullable Map<QosOtherConfigKey,QosOtherConfig>
getQosOtherConfig()
Return qosOtherConfig, ornull
if it is not present.Class<? extends QosTypeBase>
getQosType()
Return qosType, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getQosUuid()
Return qosUuid, ornull
if it is not present.@Nullable Map<QueueListKey,QueueList>
getQueueList()
Return queueList, ornull
if it is not present.default Class<QosEntries>
implementedInterface()
QosEntriesKey
key()
default @NonNull Map<QosExternalIdsKey,QosExternalIds>
nonnullQosExternalIds()
Return qosExternalIds, or an empty list if it is not present.default @NonNull Map<QosOtherConfigKey,QosOtherConfig>
nonnullQosOtherConfig()
Return qosOtherConfig, or an empty list if it is not present.default @NonNull Map<QueueListKey,QueueList>
nonnullQueueList()
Return queueList, or an empty list if it is not present.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.default @NonNull Class<? extends QosTypeBase>
requireQosType()
Return qosType, guaranteed to be non-null.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.
-
-
-
Method Detail
-
implementedInterface
default Class<QosEntries> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull QosEntries 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
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull QosEntries 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
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull QosEntries 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:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
key
QosEntriesKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<QosEntriesKey>
-
getQosId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getQosId()
Return qosId, ornull
if it is not present.An identifier used for QoS entries in the MD-SAL.
- Returns:
Uri
qosId, ornull
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, ornull
if it is not present.The unique identifier of the QoS.
- Returns:
Uuid
qosUuid, ornull
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, ornull
if it is not present.- Returns:
Class<? extends QosTypeBase>
qosType, ornull
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, ornull
if it is not present.The list of queues used by the QoS
- Returns:
Map<QueueListKey, QueueList>
queueList, ornull
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, ornull
if it is not present.- Returns:
Map<QosExternalIdsKey, QosExternalIds>
qosExternalIds, ornull
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, ornull
if it is not present.other_config : max-rate optional string, containing an integer.
- Returns:
Map<QosOtherConfigKey, QosOtherConfig>
qosOtherConfig, ornull
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.
-
-