Interface Result

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Result>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Output>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Result
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Output>, org.opendaylight.yangtools.yang.binding.Augmentable<Result>

    This class represents the following YANG schema fragment defined in module odl-bgp-app-peer-benchmark

     container result {
       leaf count {
         type uint32;
       }
       leaf duration {
         type uint32;
         units seconds;
       }
       leaf rate {
         type uint32;
         units per-second;
       }
     }
     
    The schema path to identify an instance is odl-bgp-app-peer-benchmark/output/result

    To create instances of this class use ResultBuilder.

    See Also:
    ResultBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Result> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getCount

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getCount()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 count, or null if not present
      • getDuration

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getDuration()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 duration, or null if not present
      • getRate

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getRate()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 rate, or null if not present