code: public static final MetadataServiceListVersion valueOf(final int majorVersion, final int minorVersion) {
      if (majorVersion == 1 && minorVersion == 0) {
        return MetadataServiceListVersion.VERSION_10;
      }
  
      return new MetadataServiceListVersion(majorVersion, minorVersion);
    }
docs: Gets the version given the major and minor version number.
  
  @param majorVersion
  major version number
  @param minorVersion
  minor version number
  
  @return the version