Generate setters and getters for canon model