Interface YangModelNameVersion

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

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

    This class represents the following YANG schema fragment defined in module gnmi-yang-storage

     grouping yang-model-name-version {
       leaf name {
         type string;
       }
       leaf version {
         type module-version-type;
       }
     }
     
    The schema path to identify an instance is gnmi-yang-storage/yang-model-name-version
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        String getName()
        Return name, or null if it is not present.
             
                 Name of the yang model
             
         
        Returns:
        java.lang.String name, or null if it is not present.
      • getVersion

        ModuleVersionType getVersion()
        Return version, or null if it is not present.
             
                 Version of the yang model
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.lighty.gnmi.yang.storage.rev210331.ModuleVersionType version, or null if it is not present.