class ResponseData extends Response {

    public static ResponseData from(Sc2Api.Response sc2ApiResponse) {
        if (!hasDataResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have data response");
        }
        return new ResponseData(sc2ApiResponse.getData(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponseData(Sc2Api.ResponseData sc2ApiResponseData, Sc2Api.Status status, int id);

}