Interface TryLockInput

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<TryLockInput>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.RpcInput

    public interface TryLockInput
    extends org.opendaylight.yangtools.yang.binding.RpcInput, org.opendaylight.yangtools.yang.binding.Augmentable<TryLockInput>

    This class represents the following YANG schema fragment defined in module lock-manager

     input input {
       leaf lock-name {
         type string;
       }
       leaf time {
         type uint32;
       }
       leaf time-unit {
         type time-units;
       }
     }
     
    The schema path to identify an instance is lock-manager/try-lock/input

    To create instances of this class use TryLockInputBuilder.

    See Also:
    TryLockInputBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<TryLockInput> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.RpcInput
      • getLockName

        @Nullable java.lang.String getLockName()
        Returns:
        java.lang.String lockName, or null if not present
      • getTime

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getTime()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 time, or null if not present
      • getTimeUnit

        @Nullable TimeUnits getTimeUnit()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.lockmanager.rev160413.TimeUnits timeUnit, or null if not present