class ResponseRestartGame extends Response {

    public static ResponseRestartGame from(Sc2Api.Response sc2ApiResponse) {
        if (!hasRestartGameResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have restart game response");
        }
        return new ResponseRestartGame(
                sc2ApiResponse.getRestartGame(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponseRestartGame(
            Sc2Api.ResponseRestartGame sc2ApiResponseRestartGame, Sc2Api.Status sc2ApiStatus, int id);

}