Interface Duration
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
FlowAndStatisticsMap
,FlowAndStatisticsMapList
,FlowCapableNodeConnectorQueueStatistics
,FlowCapableNodeConnectorStatistics
,FlowStatistics
,GenericQueueStatistics
,GenericStatistics
,GetNodeConnectorStatisticsOutput
,NodeConnectorStatistics
,NodeConnectorStatisticsAndPortNumberMap
,QueueIdAndStatisticsMap
@Generated("mdsal-binding-generator")
public interface Duration
extends org.opendaylight.yangtools.yang.binding.DataObject
Duration, contains seconds and nanoseconds.
This class represents the following YANG schema fragment defined in module opendaylight-statistics-types
grouping duration { container duration { leaf second { type yang:counter32; } leaf nanosecond { type yang:counter32; } } }
-
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 TypeMethodDescriptionReturn duration, ornull
if it is not present.@NonNull Duration
Return duration, or an empty instance if it is not present.
-
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
-
getDuration
Duration getDuration()Return duration, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.model.statistics.types.rev130925.duration.Duration
duration, ornull
if it is not present.
-
nonnullDuration
@NonNull Duration nonnullDuration()Return duration, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.model.statistics.types.rev130925.duration.Duration
duration, or an empty instance if it is not present.
-