class ResponseReplayInfo extends Response {

    public static ResponseReplayInfo from(Sc2Api.Response sc2ApiResponse) {
        if (!hasReplayInfoResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have replay info response");
        }
        return new ResponseReplayInfo(
                sc2ApiResponse.getReplayInfo(),
                sc2ApiResponse.getStatus(),
                sc2ApiResponse.getId());
    }

    private  ResponseReplayInfo(
            Sc2Api.ResponseReplayInfo sc2ApiResponseReplayInfo, Sc2Api.Status sc2ApiStatus, int id);

}