class AlarmTargetTypeInfo {

    private String id;

    private String name;


    public static AlarmTargetTypeInfo of(AlarmTarget type) {<FILL_FUNCTION_BODY>}
}


        AlarmTargetTypeInfo info = new AlarmTargetTypeInfo();

        info.setId(type.getType());
        info.setName(type.getName());

        return info;

    
<no_super_class>