Added mandatory to object field

Added property mandatory to ApiObjectField.