def to_dict(self, by_alias: bool = False):
        """Returns the dictionary representation of the model"""
        _dict = self.dict(by_alias=by_alias,
                          exclude={
                          },
                          exclude_none=True)
        # override the default output from pydantic by calling `to_dict()` of image_classification
        if self.image_classification:
            _dict['imageClassification' if by_alias else 'image_classification'] = self.image_classification.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of object_detection
        if self.object_detection:
            _dict['objectDetection' if by_alias else 'object_detection'] = self.object_detection.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of semantic_segmentation
        if self.semantic_segmentation:
            _dict['semanticSegmentation' if by_alias else 'semantic_segmentation'] = self.semantic_segmentation.to_dict(by_alias=by_alias)
        return _dict
Returns the dictionary representation of the model
lightly/openapi_generated/swagger_client/models/annotation_savings.py