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

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

        _obj = DockerRunScheduledCreateRequest.parse_obj({
            "config_id": obj.get("configId"),
            "priority": obj.get("priority"),
            "runs_on": obj.get("runsOn"),
            "creator": obj.get("creator")
        })
        return _obj
Create an instance of DockerRunScheduledCreateRequest from a dict
lightly/openapi_generated/swagger_client/models/docker_run_scheduled_create_request.py