class ResponseQuery extends Response {

    public static ResponseQuery from(Sc2Api.Response sc2ApiResponse) {
        if (!hasQueryResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have query response");
        }
        return new ResponseQuery(sc2ApiResponse.getQuery(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponseQuery(Query.ResponseQuery sc2ApiResponseQuery, Sc2Api.Status status, int id);

}