Skip to content

Commit b48d04c

Browse files
Merge pull request #168 from regulaforensics/5c5bb0e2
Commit: 5c5bb0e2
2 parents 1244834 + 7f338d0 commit b48d04c

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

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

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,11 @@ public class ProcessParams {
321321
@SerializedName(SERIALIZED_NAME_DO_BARCODES)
322322
private List<InputBarcodeType> doBarcodes = null;
323323

324+
public static final String SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY = "strictDLCategoryExpiry";
325+
326+
@SerializedName(SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY)
327+
private Boolean strictDLCategoryExpiry;
328+
324329
public ProcessParams withGenerateDTCVC(Boolean generateDTCVC) {
325330
this.generateDTCVC = generateDTCVC;
326331
return this;
@@ -1575,6 +1580,27 @@ public void setDoBarcodes(List<InputBarcodeType> doBarcodes) {
15751580
this.doBarcodes = doBarcodes;
15761581
}
15771582

1583+
public ProcessParams withStrictDLCategoryExpiry(Boolean strictDLCategoryExpiry) {
1584+
this.strictDLCategoryExpiry = strictDLCategoryExpiry;
1585+
return this;
1586+
}
1587+
1588+
/**
1589+
* Set to force DL categories expiry date to affect the overall status or not. As documents
1590+
* usually have their own date of expiry, which might be less or greater than category expiry
1591+
* date, this might be handy for specific cases.
1592+
*
1593+
* @return strictDLCategoryExpiry
1594+
*/
1595+
@javax.annotation.Nullable
1596+
public Boolean getStrictDLCategoryExpiry() {
1597+
return strictDLCategoryExpiry;
1598+
}
1599+
1600+
public void setStrictDLCategoryExpiry(Boolean strictDLCategoryExpiry) {
1601+
this.strictDLCategoryExpiry = strictDLCategoryExpiry;
1602+
}
1603+
15781604
@Override
15791605
public boolean equals(java.lang.Object o) {
15801606
if (this == o) {
@@ -1645,7 +1671,8 @@ public boolean equals(java.lang.Object o) {
16451671
this.strictBarcodeDigitalSignatureCheck,
16461672
processParams.strictBarcodeDigitalSignatureCheck)
16471673
&& Objects.equals(this.selectLongestNames, processParams.selectLongestNames)
1648-
&& Objects.equals(this.doBarcodes, processParams.doBarcodes);
1674+
&& Objects.equals(this.doBarcodes, processParams.doBarcodes)
1675+
&& Objects.equals(this.strictDLCategoryExpiry, processParams.strictDLCategoryExpiry);
16491676
}
16501677

16511678
@Override
@@ -1709,7 +1736,8 @@ public int hashCode() {
17091736
generateNumericCodes,
17101737
strictBarcodeDigitalSignatureCheck,
17111738
selectLongestNames,
1712-
doBarcodes);
1739+
doBarcodes,
1740+
strictDLCategoryExpiry);
17131741
}
17141742

17151743
@Override
@@ -1805,6 +1833,9 @@ public String toString() {
18051833
.append("\n");
18061834
sb.append(" selectLongestNames: ").append(toIndentedString(selectLongestNames)).append("\n");
18071835
sb.append(" doBarcodes: ").append(toIndentedString(doBarcodes)).append("\n");
1836+
sb.append(" strictDLCategoryExpiry: ")
1837+
.append(toIndentedString(strictDLCategoryExpiry))
1838+
.append("\n");
18081839
sb.append("}");
18091840
return sb.toString();
18101841
}

client/src/main/java/com/regula/documentreader/webclient/api/DocumentReaderApi.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public Healthcheck health(String xRequestID) throws ApiException {
8080
return healthcheckApi.healthz(xRequestID);
8181
}
8282

83-
8483
/**
8584
* Reads list of documents and return extracted data
8685
*

0 commit comments

Comments
 (0)