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:
SessionConfig

@Generated("mdsal-binding-generator") public interface PcepSessionTimers extends org.opendaylight.yangtools.yang.binding.DataObject

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;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint8
    Return deadTimerValue, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return keepAliveTimerValue, or null 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.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends PcepSessionTimers> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getDeadTimerValue

      org.opendaylight.yangtools.yang.common.Uint8 getDeadTimerValue()
      Return deadTimerValue, or null if it is not present.
      Returns:
      Uint8 deadTimerValue, or null 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, or null if it is not present.
      Returns:
      Uint8 keepAliveTimerValue, or null 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