Interface QosEntries
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<QosEntries>
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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> 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> Return qosOtherConfig, ornull
if it is not present.Return qosType, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return qosUuid, ornull
if it is not present.@Nullable Map<QueueListKey,
QueueList> Return queueList, ornull
if it is not present.default Class<QosEntries>
key()
default @NonNull Map<QosExternalIdsKey,
QosExternalIds> Return qosExternalIds, or an empty list if it is not present.default @NonNull Map<QosOtherConfigKey,
QosOtherConfig> Return qosOtherConfig, or an empty list if it is not present.default @NonNull Map<QueueListKey,
QueueList> 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
Return qosId, guaranteed to be non-null.default @NonNull QosTypeBase
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
Return qosUuid, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
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
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
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
QosTypeBase getQosType()Return qosType, ornull
if it is not present.- Returns:
QosTypeBase
qosType, ornull
if it is not present.
-
requireQosType
Return qosType, guaranteed to be non-null.- Returns:
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
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
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
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.
-