Interface LicensesTop

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    License

    @Generated("mdsal-binding-generator")
    public interface LicensesTop
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Top-level grouping for licenses.

    This class represents the following YANG schema fragment defined in module openconfig-license

     grouping licenses-top {
       container licenses {
         list license {
           key license-id;
           leaf license-id {
             type leafref {
               path ../config/license-id;
             }
           }
           container config {
             uses license-config;
           }
           container state {
             config false;
             uses license-config;
             uses license-state;
           }
         }
       }
     }
     
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Licenses getLicenses()
        Return licenses, or null if it is not present.
             
                 Enclosing container for list of licenses
             
         
        Returns:
        Licenses licenses, or null if it is not present.