public static TransferType fromId()

in src/main/java/org/openvasp/client/model/TransferRequest.java [87:98]


        public static TransferType fromId(int id) {
            for (val item : TransferType.values()) {
                if (item.id == id) {
                    return item;
                }
            }

            throw new NoSuchElementException(String.format(
                    "%s with id = %d does not exist",
                    TransferType.class.getName(),
                    id));
        }