def from_dict(cls, obj: dict) -> ActiveLearningScoreTypesV2Data:
        """Create an instance of ActiveLearningScoreTypesV2Data from a dict"""
        if obj is None:
            return None

        if not isinstance(obj, dict):
            return ActiveLearningScoreTypesV2Data.parse_obj(obj)

        # raise errors for additional fields in the input
        for _key in obj.keys():
            if _key not in cls.__properties:
                raise ValueError("Error due to additional fields (not defined in ActiveLearningScoreTypesV2Data) in the input: " + str(obj))

        _obj = ActiveLearningScoreTypesV2Data.parse_obj({
            "id": obj.get("id"),
            "dataset_id": obj.get("datasetId"),
            "prediction_uuid_timestamp": obj.get("predictionUUIDTimestamp"),
            "task_name": obj.get("taskName"),
            "score_type": obj.get("scoreType"),
            "created_at": obj.get("createdAt")
        })
        return _obj
Create an instance of ActiveLearningScoreTypesV2Data from a dict
lightly/openapi_generated/swagger_client/models/active_learning_score_types_v2_data.py