class ResponseGameInfo extends Response {

    public static ResponseGameInfo from(Sc2Api.Response sc2ApiResponse) {
        if (!hasGameInfoResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have game info response");
        }
        return new ResponseGameInfo(sc2ApiResponse.getGameInfo(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponseGameInfo(Sc2Api.ResponseGameInfo sc2ApiResponseGameInfo, Sc2Api.Status status, int id);

}