class ResponsePing extends Response {

    public static ResponsePing from(Sc2Api.Response sc2ApiResponse) {
        if (!hasPingResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have ping response");
        }
        return new ResponsePing(sc2ApiResponse.getPing(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponsePing(Sc2Api.ResponsePing sc2ApiResponsePing, Sc2Api.Status sc2ApiStatus, int id);

}