@@ -60,16 +60,6 @@ public class NewPet {
60
60
@ javax .annotation .Nullable
61
61
private Long id ;
62
62
63
- public static final String SERIALIZED_NAME_CATEGORY_REF_TO_INLINE_ALLOF_STRING = "category_ref_to_inline_allof_string" ;
64
- @ SerializedName (SERIALIZED_NAME_CATEGORY_REF_TO_INLINE_ALLOF_STRING )
65
- @ javax .annotation .Nullable
66
- private String categoryRefToInlineAllofString ;
67
-
68
- public static final String SERIALIZED_NAME_CATEGORY_INLINE_ALLOF_STRING = "category_inline_allof_string" ;
69
- @ SerializedName (SERIALIZED_NAME_CATEGORY_INLINE_ALLOF_STRING )
70
- @ javax .annotation .Nullable
71
- private String categoryInlineAllofString ;
72
-
73
63
public static final String SERIALIZED_NAME_CATEGORY_INLINE_ALLOF = "category_inline_allof" ;
74
64
@ SerializedName (SERIALIZED_NAME_CATEGORY_INLINE_ALLOF )
75
65
@ javax .annotation .Nullable
@@ -193,44 +183,6 @@ public void setId(@javax.annotation.Nullable Long id) {
193
183
}
194
184
195
185
196
- public NewPet categoryRefToInlineAllofString (@ javax .annotation .Nullable String categoryRefToInlineAllofString ) {
197
- this .categoryRefToInlineAllofString = categoryRefToInlineAllofString ;
198
- return this ;
199
- }
200
-
201
- /**
202
- * testing allOf with a ref to string
203
- * @return categoryRefToInlineAllofString
204
- */
205
- @ javax .annotation .Nullable
206
- public String getCategoryRefToInlineAllofString () {
207
- return categoryRefToInlineAllofString ;
208
- }
209
-
210
- public void setCategoryRefToInlineAllofString (@ javax .annotation .Nullable String categoryRefToInlineAllofString ) {
211
- this .categoryRefToInlineAllofString = categoryRefToInlineAllofString ;
212
- }
213
-
214
-
215
- public NewPet categoryInlineAllofString (@ javax .annotation .Nullable String categoryInlineAllofString ) {
216
- this .categoryInlineAllofString = categoryInlineAllofString ;
217
- return this ;
218
- }
219
-
220
- /**
221
- * testing allOf with a ref to string
222
- * @return categoryInlineAllofString
223
- */
224
- @ javax .annotation .Nullable
225
- public String getCategoryInlineAllofString () {
226
- return categoryInlineAllofString ;
227
- }
228
-
229
- public void setCategoryInlineAllofString (@ javax .annotation .Nullable String categoryInlineAllofString ) {
230
- this .categoryInlineAllofString = categoryInlineAllofString ;
231
- }
232
-
233
-
234
186
public NewPet categoryInlineAllof (@ javax .annotation .Nullable NewPetCategoryInlineAllof categoryInlineAllof ) {
235
187
this .categoryInlineAllof = categoryInlineAllof ;
236
188
return this ;
@@ -446,8 +398,6 @@ public boolean equals(Object o) {
446
398
}
447
399
NewPet newPet = (NewPet ) o ;
448
400
return Objects .equals (this .id , newPet .id ) &&
449
- Objects .equals (this .categoryRefToInlineAllofString , newPet .categoryRefToInlineAllofString ) &&
450
- Objects .equals (this .categoryInlineAllofString , newPet .categoryInlineAllofString ) &&
451
401
Objects .equals (this .categoryInlineAllof , newPet .categoryInlineAllof ) &&
452
402
Objects .equals (this .categoryAllOfRef , newPet .categoryAllOfRef ) &&
453
403
Objects .equals (this .categoryAllOfRefDescription , newPet .categoryAllOfRefDescription ) &&
@@ -461,16 +411,14 @@ public boolean equals(Object o) {
461
411
462
412
@ Override
463
413
public int hashCode () {
464
- return Objects .hash (id , categoryRefToInlineAllofString , categoryInlineAllofString , categoryInlineAllof , categoryAllOfRef , categoryAllOfRefDescription , categoryAllOfRefDescriptionReadonly , name , photoUrls , tags , status , additionalProperties );
414
+ return Objects .hash (id , categoryInlineAllof , categoryAllOfRef , categoryAllOfRefDescription , categoryAllOfRefDescriptionReadonly , name , photoUrls , tags , status , additionalProperties );
465
415
}
466
416
467
417
@ Override
468
418
public String toString () {
469
419
StringBuilder sb = new StringBuilder ();
470
420
sb .append ("class NewPet {\n " );
471
421
sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
472
- sb .append (" categoryRefToInlineAllofString: " ).append (toIndentedString (categoryRefToInlineAllofString )).append ("\n " );
473
- sb .append (" categoryInlineAllofString: " ).append (toIndentedString (categoryInlineAllofString )).append ("\n " );
474
422
sb .append (" categoryInlineAllof: " ).append (toIndentedString (categoryInlineAllof )).append ("\n " );
475
423
sb .append (" categoryAllOfRef: " ).append (toIndentedString (categoryAllOfRef )).append ("\n " );
476
424
sb .append (" categoryAllOfRefDescription: " ).append (toIndentedString (categoryAllOfRefDescription )).append ("\n " );
@@ -503,8 +451,6 @@ private String toIndentedString(Object o) {
503
451
// a set of all properties/fields (JSON key names)
504
452
openapiFields = new HashSet <String >();
505
453
openapiFields .add ("id" );
506
- openapiFields .add ("category_ref_to_inline_allof_string" );
507
- openapiFields .add ("category_inline_allof_string" );
508
454
openapiFields .add ("category_inline_allof" );
509
455
openapiFields .add ("category_allOf_ref" );
510
456
openapiFields .add ("category_allOf_ref_description" );
@@ -540,12 +486,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
540
486
}
541
487
}
542
488
JsonObject jsonObj = jsonElement .getAsJsonObject ();
543
- if ((jsonObj .get ("category_ref_to_inline_allof_string" ) != null && !jsonObj .get ("category_ref_to_inline_allof_string" ).isJsonNull ()) && !jsonObj .get ("category_ref_to_inline_allof_string" ).isJsonPrimitive ()) {
544
- throw new IllegalArgumentException (String .format ("Expected the field `category_ref_to_inline_allof_string` to be a primitive type in the JSON string but got `%s`" , jsonObj .get ("category_ref_to_inline_allof_string" ).toString ()));
545
- }
546
- if ((jsonObj .get ("category_inline_allof_string" ) != null && !jsonObj .get ("category_inline_allof_string" ).isJsonNull ()) && !jsonObj .get ("category_inline_allof_string" ).isJsonPrimitive ()) {
547
- throw new IllegalArgumentException (String .format ("Expected the field `category_inline_allof_string` to be a primitive type in the JSON string but got `%s`" , jsonObj .get ("category_inline_allof_string" ).toString ()));
548
- }
549
489
// validate the optional field `category_inline_allof`
550
490
if (jsonObj .get ("category_inline_allof" ) != null && !jsonObj .get ("category_inline_allof" ).isJsonNull ()) {
551
491
NewPetCategoryInlineAllof .validateJsonElement (jsonObj .get ("category_inline_allof" ));
0 commit comments