Skip to content

Commit 39c8101

Browse files
actions-userhleb-albau
authored andcommitted
image quality de-ser bug
1 parent c39a14f commit 39c8101

File tree

1 file changed

+12
-4
lines changed
  • client/src/main/generated/com/regula/documentreader/webclient/model

1 file changed

+12
-4
lines changed

client/src/main/generated/com/regula/documentreader/webclient/model/AreaArray.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class AreaArray {
2727
public static final String SERIALIZED_NAME_POINTS = "Points";
2828

2929
@SerializedName(SERIALIZED_NAME_POINTS)
30-
private PointArray points;
30+
private List<PointArray> points = null;
3131

3232
public AreaArray withList(List<RectangleCoordinates> list) {
3333
this.list = list;
@@ -56,22 +56,30 @@ public void setList(List<RectangleCoordinates> list) {
5656
this.list = list;
5757
}
5858

59-
public AreaArray withPoints(PointArray points) {
59+
public AreaArray withPoints(List<PointArray> points) {
6060
this.points = points;
6161
return this;
6262
}
6363

64+
public AreaArray addPointsItem(PointArray pointsItem) {
65+
if (this.points == null) {
66+
this.points = new ArrayList<PointArray>();
67+
}
68+
this.points.add(pointsItem);
69+
return this;
70+
}
71+
6472
/**
6573
* Get points
6674
*
6775
* @return points
6876
*/
6977
@javax.annotation.Nullable
70-
public PointArray getPoints() {
78+
public List<PointArray> getPoints() {
7179
return points;
7280
}
7381

74-
public void setPoints(PointArray points) {
82+
public void setPoints(List<PointArray> points) {
7583
this.points = points;
7684
}
7785

0 commit comments

Comments
 (0)