@@ -60,16 +60,6 @@ public class NewPet {
6060 @ javax .annotation .Nullable
6161 private Long id ;
6262
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-
7363 public static final String SERIALIZED_NAME_CATEGORY_INLINE_ALLOF = "category_inline_allof" ;
7464 @ SerializedName (SERIALIZED_NAME_CATEGORY_INLINE_ALLOF )
7565 @ javax .annotation .Nullable
@@ -193,44 +183,6 @@ public void setId(@javax.annotation.Nullable Long id) {
193183 }
194184
195185
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-
234186 public NewPet categoryInlineAllof (@ javax .annotation .Nullable NewPetCategoryInlineAllof categoryInlineAllof ) {
235187 this .categoryInlineAllof = categoryInlineAllof ;
236188 return this ;
@@ -446,8 +398,6 @@ public boolean equals(Object o) {
446398 }
447399 NewPet newPet = (NewPet ) o ;
448400 return Objects .equals (this .id , newPet .id ) &&
449- Objects .equals (this .categoryRefToInlineAllofString , newPet .categoryRefToInlineAllofString ) &&
450- Objects .equals (this .categoryInlineAllofString , newPet .categoryInlineAllofString ) &&
451401 Objects .equals (this .categoryInlineAllof , newPet .categoryInlineAllof ) &&
452402 Objects .equals (this .categoryAllOfRef , newPet .categoryAllOfRef ) &&
453403 Objects .equals (this .categoryAllOfRefDescription , newPet .categoryAllOfRefDescription ) &&
@@ -461,16 +411,14 @@ public boolean equals(Object o) {
461411
462412 @ Override
463413 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 );
465415 }
466416
467417 @ Override
468418 public String toString () {
469419 StringBuilder sb = new StringBuilder ();
470420 sb .append ("class NewPet {\n " );
471421 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 " );
474422 sb .append (" categoryInlineAllof: " ).append (toIndentedString (categoryInlineAllof )).append ("\n " );
475423 sb .append (" categoryAllOfRef: " ).append (toIndentedString (categoryAllOfRef )).append ("\n " );
476424 sb .append (" categoryAllOfRefDescription: " ).append (toIndentedString (categoryAllOfRefDescription )).append ("\n " );
@@ -503,8 +451,6 @@ private String toIndentedString(Object o) {
503451 // a set of all properties/fields (JSON key names)
504452 openapiFields = new HashSet <String >();
505453 openapiFields .add ("id" );
506- openapiFields .add ("category_ref_to_inline_allof_string" );
507- openapiFields .add ("category_inline_allof_string" );
508454 openapiFields .add ("category_inline_allof" );
509455 openapiFields .add ("category_allOf_ref" );
510456 openapiFields .add ("category_allOf_ref_description" );
@@ -540,12 +486,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
540486 }
541487 }
542488 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- }
549489 // validate the optional field `category_inline_allof`
550490 if (jsonObj .get ("category_inline_allof" ) != null && !jsonObj .get ("category_inline_allof" ).isJsonNull ()) {
551491 NewPetCategoryInlineAllof .validateJsonElement (jsonObj .get ("category_inline_allof" ));
0 commit comments