Skip to content

Commit 1b2cde5

Browse files
Merge pull request #202 from regulaforensics/f3c3252a
2 parents 560be04 + 6a7b119 commit 1b2cde5

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ public enum RFIDPKDResourceType {
4545
DEVL(6),
4646

4747
/** Black List (.bl, .bls) */
48-
BL(7);
48+
BL(7),
49+
50+
/** LDIF file contents for TA */
51+
LDIF_TA(8),
52+
53+
/** Master List with CV certificates for TA */
54+
ML_TA(9);
4955

5056
private Integer value;
5157

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

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class RfidSessionData {
4242

4343
@SerializedName(SERIALIZED_NAME_VIRTUAL_MODE)
4444
@javax.annotation.Nullable
45-
private String virtualMode;
45+
private Boolean virtualMode;
4646

4747
public static final String SERIALIZED_NAME_SD_K_VERSION = "SDKVersion";
4848

@@ -142,7 +142,7 @@ public class RfidSessionData {
142142

143143
public RfidSessionData() {}
144144

145-
public RfidSessionData virtualMode(@javax.annotation.Nullable String virtualMode) {
145+
public RfidSessionData virtualMode(@javax.annotation.Nullable Boolean virtualMode) {
146146
this.virtualMode = virtualMode;
147147
return this;
148148
}
@@ -154,11 +154,11 @@ public RfidSessionData virtualMode(@javax.annotation.Nullable String virtualMode
154154
* @return virtualMode
155155
*/
156156
@javax.annotation.Nullable
157-
public String getVirtualMode() {
157+
public Boolean getVirtualMode() {
158158
return virtualMode;
159159
}
160160

161-
public void setVirtualMode(@javax.annotation.Nullable String virtualMode) {
161+
public void setVirtualMode(@javax.annotation.Nullable Boolean virtualMode) {
162162
this.virtualMode = virtualMode;
163163
}
164164

@@ -660,13 +660,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
660660
}
661661
}
662662
JsonObject jsonObj = jsonElement.getAsJsonObject();
663-
if ((jsonObj.get("VirtualMode") != null && !jsonObj.get("VirtualMode").isJsonNull())
664-
&& !jsonObj.get("VirtualMode").isJsonPrimitive()) {
665-
throw new IllegalArgumentException(
666-
String.format(
667-
"Expected the field `VirtualMode` to be a primitive type in the JSON string but got `%s`",
668-
jsonObj.get("VirtualMode").toString()));
669-
}
670663
if ((jsonObj.get("SDKVersion") != null && !jsonObj.get("SDKVersion").isJsonNull())
671664
&& !jsonObj.get("SDKVersion").isJsonPrimitive()) {
672665
throw new IllegalArgumentException(

0 commit comments

Comments
 (0)