com.acrolinx.sidebar.pojo.document.CheckedDocumentPartFromJSON Maven / Gradle / Ivy
/* Copyright (c) 2018 Acrolinx GmbH */
package com.acrolinx.sidebar.pojo.document;
class CheckedDocumentPartFromJSON {
private String checkId;
private int[] range;
public CheckedDocumentPartFromJSON() {}
public CheckedDocumentPart getAsCheckResult() {
return new CheckedDocumentPart(checkId, new IntRange(range[0], range[1]));
}
}