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

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

        _obj = DockerRunCreateRequest.parse_obj({
            "docker_version": obj.get("dockerVersion"),
            "dataset_id": obj.get("datasetId"),
            "scheduled_id": obj.get("scheduledId"),
            "config_id": obj.get("configId"),
            "message": obj.get("message"),
            "creator": obj.get("creator")
        })
        return _obj
Create an instance of DockerRunCreateRequest from a dict
lightly/openapi_generated/swagger_client/models/docker_run_create_request.py