Interface PcepSessionTimers
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
SessionConfig
@Generated("mdsal-binding-generator")
public interface PcepSessionTimers
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module pcep-config
grouping pcep-session-timers { leaf dead-timer-value { type uint8; default 120; units seconds; } leaf keep-alive-timer-value { type uint8; default 30; units seconds; } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint8
Return deadTimerValue, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return keepAliveTimerValue, ornull
if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return deadTimerValue, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return keepAliveTimerValue, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getDeadTimerValue
org.opendaylight.yangtools.yang.common.Uint8 getDeadTimerValue()Return deadTimerValue, ornull
if it is not present.- Returns:
Uint8
deadTimerValue, ornull
if it is not present.
-
requireDeadTimerValue
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireDeadTimerValue()Return deadTimerValue, guaranteed to be non-null.- Returns:
Uint8
deadTimerValue, guaranteed to be non-null.- Throws:
NoSuchElementException
- if deadTimerValue is not present
-
getKeepAliveTimerValue
org.opendaylight.yangtools.yang.common.Uint8 getKeepAliveTimerValue()Return keepAliveTimerValue, ornull
if it is not present.- Returns:
Uint8
keepAliveTimerValue, ornull
if it is not present.
-
requireKeepAliveTimerValue
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireKeepAliveTimerValue()Return keepAliveTimerValue, guaranteed to be non-null.- Returns:
Uint8
keepAliveTimerValue, guaranteed to be non-null.- Throws:
NoSuchElementException
- if keepAliveTimerValue is not present
-