class ResponseCreateGame extends Response {

    public static ResponseCreateGame from(Sc2Api.Response sc2ApiResponse) {
        if (!hasCreateGameResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have create game response");
        }
        return new ResponseCreateGame(
                sc2ApiResponse.getCreateGame(),
                sc2ApiResponse.getStatus(),
                sc2ApiResponse.getId());
    }

    private  ResponseCreateGame(Sc2Api.ResponseCreateGame sc2ApiResponseCreateGame, Sc2Api.Status status, int id);

}