Skip to content

Commit 8d30a22

Browse files
committed
Commit: d381ecb9
1 parent 051d735 commit 8d30a22

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ public class DatabaseDocument {
4444
@javax.annotation.Nonnull
4545
private String country;
4646

47-
public static final String SERIALIZED_NAME_CREATEAD = "createad";
47+
public static final String SERIALIZED_NAME_CREATED = "created";
4848

49-
@SerializedName(SERIALIZED_NAME_CREATEAD)
49+
@SerializedName(SERIALIZED_NAME_CREATED)
5050
@javax.annotation.Nonnull
51-
private String createad;
51+
private String created;
5252

5353
public static final String SERIALIZED_NAME_DOC_TYPE = "doc_type";
5454

@@ -174,23 +174,23 @@ public void setCountry(@javax.annotation.Nonnull String country) {
174174
this.country = country;
175175
}
176176

177-
public DatabaseDocument createad(@javax.annotation.Nonnull String createad) {
178-
this.createad = createad;
177+
public DatabaseDocument created(@javax.annotation.Nonnull String created) {
178+
this.created = created;
179179
return this;
180180
}
181181

182182
/**
183183
* Date when the document description was created in the database.
184184
*
185-
* @return createad
185+
* @return created
186186
*/
187187
@javax.annotation.Nonnull
188-
public String getCreatead() {
189-
return createad;
188+
public String getCreated() {
189+
return created;
190190
}
191191

192-
public void setCreatead(@javax.annotation.Nonnull String createad) {
193-
this.createad = createad;
192+
public void setCreated(@javax.annotation.Nonnull String created) {
193+
this.created = created;
194194
}
195195

196196
public DatabaseDocument docType(@javax.annotation.Nonnull DocumentType docType) {
@@ -470,7 +470,7 @@ public boolean equals(Object o) {
470470
DatabaseDocument databaseDocument = (DatabaseDocument) o;
471471
return Objects.equals(this.barcodeFields, databaseDocument.barcodeFields)
472472
&& Objects.equals(this.country, databaseDocument.country)
473-
&& Objects.equals(this.createad, databaseDocument.createad)
473+
&& Objects.equals(this.created, databaseDocument.created)
474474
&& Objects.equals(this.docType, databaseDocument.docType)
475475
&& Objects.equals(this.document, databaseDocument.document)
476476
&& Objects.equals(this.graphicFields, databaseDocument.graphicFields)
@@ -492,7 +492,7 @@ public int hashCode() {
492492
return Objects.hash(
493493
barcodeFields,
494494
country,
495-
createad,
495+
created,
496496
docType,
497497
document,
498498
graphicFields,
@@ -515,7 +515,7 @@ public String toString() {
515515
sb.append("class DatabaseDocument {\n");
516516
sb.append(" barcodeFields: ").append(toIndentedString(barcodeFields)).append("\n");
517517
sb.append(" country: ").append(toIndentedString(country)).append("\n");
518-
sb.append(" createad: ").append(toIndentedString(createad)).append("\n");
518+
sb.append(" created: ").append(toIndentedString(created)).append("\n");
519519
sb.append(" docType: ").append(toIndentedString(docType)).append("\n");
520520
sb.append(" document: ").append(toIndentedString(document)).append("\n");
521521
sb.append(" graphicFields: ").append(toIndentedString(graphicFields)).append("\n");
@@ -554,7 +554,7 @@ private String toIndentedString(Object o) {
554554
Arrays.asList(
555555
"barcode_fields",
556556
"country",
557-
"createad",
557+
"created",
558558
"doc_type",
559559
"document",
560560
"graphic_fields",
@@ -576,7 +576,7 @@ private String toIndentedString(Object o) {
576576
Arrays.asList(
577577
"barcode_fields",
578578
"country",
579-
"createad",
579+
"created",
580580
"doc_type",
581581
"document",
582582
"graphic_fields",
@@ -620,11 +620,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
620620
"Expected the field `country` to be a primitive type in the JSON string but got `%s`",
621621
jsonObj.get("country").toString()));
622622
}
623-
if (!jsonObj.get("createad").isJsonPrimitive()) {
623+
if (!jsonObj.get("created").isJsonPrimitive()) {
624624
System.err.println(
625625
String.format(
626-
"Expected the field `createad` to be a primitive type in the JSON string but got `%s`",
627-
jsonObj.get("createad").toString()));
626+
"Expected the field `created` to be a primitive type in the JSON string but got `%s`",
627+
jsonObj.get("created").toString()));
628628
}
629629
// validate the required field `doc_type`
630630
DocumentType.validateJsonElement(jsonObj.get("doc_type"));

0 commit comments

Comments
 (0)