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

        if not isinstance(obj, dict):
            return DockerRunArtifactData.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 DockerRunArtifactData) in the input: " + str(obj))

        _obj = DockerRunArtifactData.parse_obj({
            "id": obj.get("id"),
            "type": obj.get("type"),
            "file_name": obj.get("fileName"),
            "storage_location": obj.get("storageLocation"),
            "created_at": obj.get("createdAt")
        })
        return _obj
Create an instance of DockerRunArtifactData from a dict
lightly/openapi_generated/swagger_client/models/docker_run_artifact_data.py