@@ -128,6 +128,18 @@ public class AuthParams {
128128 @ javax .annotation .Nullable
129129 private Boolean checkSecurityText ;
130130
131+ public static final String SERIALIZED_NAME_CHECK_PROPERTIES = "checkProperties" ;
132+
133+ @ SerializedName (SERIALIZED_NAME_CHECK_PROPERTIES )
134+ @ javax .annotation .Nullable
135+ private Boolean checkProperties ;
136+
137+ public static final String SERIALIZED_NAME_PROPERTIES_PARAMS = "propertiesParams" ;
138+
139+ @ SerializedName (SERIALIZED_NAME_PROPERTIES_PARAMS )
140+ @ javax .annotation .Nullable
141+ private PropertiesParams propertiesParams ;
142+
131143 public AuthParams () {}
132144
133145 public AuthParams checkLiveness (@ javax .annotation .Nullable Boolean checkLiveness ) {
@@ -436,6 +448,45 @@ public void setCheckSecurityText(@javax.annotation.Nullable Boolean checkSecurit
436448 this .checkSecurityText = checkSecurityText ;
437449 }
438450
451+ public AuthParams checkProperties (@ javax .annotation .Nullable Boolean checkProperties ) {
452+ this .checkProperties = checkProperties ;
453+ return this ;
454+ }
455+
456+ /**
457+ * Set to true to enable detection of the document properties, such as holder's signature and
458+ * other attributes.
459+ *
460+ * @return checkProperties
461+ */
462+ @ javax .annotation .Nullable
463+ public Boolean getCheckProperties () {
464+ return checkProperties ;
465+ }
466+
467+ public void setCheckProperties (@ javax .annotation .Nullable Boolean checkProperties ) {
468+ this .checkProperties = checkProperties ;
469+ }
470+
471+ public AuthParams propertiesParams (@ javax .annotation .Nullable PropertiesParams propertiesParams ) {
472+ this .propertiesParams = propertiesParams ;
473+ return this ;
474+ }
475+
476+ /**
477+ * Get propertiesParams
478+ *
479+ * @return propertiesParams
480+ */
481+ @ javax .annotation .Nullable
482+ public PropertiesParams getPropertiesParams () {
483+ return propertiesParams ;
484+ }
485+
486+ public void setPropertiesParams (@ javax .annotation .Nullable PropertiesParams propertiesParams ) {
487+ this .propertiesParams = propertiesParams ;
488+ }
489+
439490 @ Override
440491 public boolean equals (Object o ) {
441492 if (this == o ) {
@@ -460,7 +511,9 @@ public boolean equals(Object o) {
460511 && Objects .equals (this .checkPhotoEmbedding , authParams .checkPhotoEmbedding )
461512 && Objects .equals (this .checkPhotoComparison , authParams .checkPhotoComparison )
462513 && Objects .equals (this .checkLetterScreen , authParams .checkLetterScreen )
463- && Objects .equals (this .checkSecurityText , authParams .checkSecurityText );
514+ && Objects .equals (this .checkSecurityText , authParams .checkSecurityText )
515+ && Objects .equals (this .checkProperties , authParams .checkProperties )
516+ && Objects .equals (this .propertiesParams , authParams .propertiesParams );
464517 }
465518
466519 @ Override
@@ -481,7 +534,9 @@ public int hashCode() {
481534 checkPhotoEmbedding ,
482535 checkPhotoComparison ,
483536 checkLetterScreen ,
484- checkSecurityText );
537+ checkSecurityText ,
538+ checkProperties ,
539+ propertiesParams );
485540 }
486541
487542 @ Override
@@ -510,6 +565,8 @@ public String toString() {
510565 .append ("\n " );
511566 sb .append (" checkLetterScreen: " ).append (toIndentedString (checkLetterScreen )).append ("\n " );
512567 sb .append (" checkSecurityText: " ).append (toIndentedString (checkSecurityText )).append ("\n " );
568+ sb .append (" checkProperties: " ).append (toIndentedString (checkProperties )).append ("\n " );
569+ sb .append (" propertiesParams: " ).append (toIndentedString (propertiesParams )).append ("\n " );
513570 sb .append ("}" );
514571 return sb .toString ();
515572 }
@@ -547,7 +604,9 @@ private String toIndentedString(Object o) {
547604 "checkPhotoEmbedding" ,
548605 "checkPhotoComparison" ,
549606 "checkLetterScreen" ,
550- "checkSecurityText" ));
607+ "checkSecurityText" ,
608+ "checkProperties" ,
609+ "propertiesParams" ));
551610
552611 // a set of required properties/fields (JSON key names)
553612 openapiRequiredFields = new HashSet <String >(0 );
@@ -575,6 +634,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
575634 if (jsonObj .get ("livenessParams" ) != null && !jsonObj .get ("livenessParams" ).isJsonNull ()) {
576635 LivenessParams .validateJsonElement (jsonObj .get ("livenessParams" ));
577636 }
637+ // validate the optional field `propertiesParams`
638+ if (jsonObj .get ("propertiesParams" ) != null && !jsonObj .get ("propertiesParams" ).isJsonNull ()) {
639+ PropertiesParams .validateJsonElement (jsonObj .get ("propertiesParams" ));
640+ }
578641 }
579642
580643 public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
0 commit comments