class ResponseJoinGame extends Response {

    public static ResponseJoinGame from(Sc2Api.Response sc2ApiResponse) {
        if (!hasJoinGameResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have join game response");
        }

        return new ResponseJoinGame(sc2ApiResponse.getJoinGame(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponseJoinGame(Sc2Api.ResponseJoinGame sc2ApiResponseJoinGame, Sc2Api.Status sc2ApiStatus, int id);

}