response class cannot contain write only fields