reverted getters/setters for id,name,type and added explicitly required properties to interface