in src/main/java/org/openvasp/client/model/EncryptionType.java [29:40]
public static EncryptionType fromId(int id) {
for (val item : EncryptionType.values()) {
if (item.id == id) {
return item;
}
}
throw new NoSuchElementException(String.format(
"%s with id = %d does not exist",
EncryptionType.class.getName(),
id));
}