Added mandatory to object field

Added property mandatory to ApiObjectField to be able to make this visiable in the documentation.