From 6a7b119541a9f288c62a053f0864f429cb2716eb Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 18 Jul 2025 14:24:55 +0000 Subject: [PATCH] Commit: f3c3252a --- .../webclient/model/RFIDPKDResourceType.java | 8 +++++++- .../webclient/model/RfidSessionData.java | 15 ++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java index 19923cb..53b43e1 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java @@ -45,7 +45,13 @@ public enum RFIDPKDResourceType { DEVL(6), /** Black List (.bl, .bls) */ - BL(7); + BL(7), + + /** LDIF file contents for TA */ + LDIF_TA(8), + + /** Master List with CV certificates for TA */ + ML_TA(9); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java index f90764e..1d77042 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java @@ -42,7 +42,7 @@ public class RfidSessionData { @SerializedName(SERIALIZED_NAME_VIRTUAL_MODE) @javax.annotation.Nullable - private String virtualMode; + private Boolean virtualMode; public static final String SERIALIZED_NAME_SD_K_VERSION = "SDKVersion"; @@ -142,7 +142,7 @@ public class RfidSessionData { public RfidSessionData() {} - public RfidSessionData virtualMode(@javax.annotation.Nullable String virtualMode) { + public RfidSessionData virtualMode(@javax.annotation.Nullable Boolean virtualMode) { this.virtualMode = virtualMode; return this; } @@ -154,11 +154,11 @@ public RfidSessionData virtualMode(@javax.annotation.Nullable String virtualMode * @return virtualMode */ @javax.annotation.Nullable - public String getVirtualMode() { + public Boolean getVirtualMode() { return virtualMode; } - public void setVirtualMode(@javax.annotation.Nullable String virtualMode) { + public void setVirtualMode(@javax.annotation.Nullable Boolean virtualMode) { this.virtualMode = virtualMode; } @@ -660,13 +660,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("VirtualMode") != null && !jsonObj.get("VirtualMode").isJsonNull()) - && !jsonObj.get("VirtualMode").isJsonPrimitive()) { - throw new IllegalArgumentException( - String.format( - "Expected the field `VirtualMode` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("VirtualMode").toString())); - } if ((jsonObj.get("SDKVersion") != null && !jsonObj.get("SDKVersion").isJsonNull()) && !jsonObj.get("SDKVersion").isJsonPrimitive()) { throw new IllegalArgumentException(