2121import com .google .gson .stream .JsonReader ;
2222import com .google .gson .stream .JsonWriter ;
2323import com .onfido .model .DeviceIntelligenceBreakdownDevice ;
24- import com .onfido .model .DeviceIntelligenceBreakdownProperties ;
2524import java .io .IOException ;
2625import java .util .Arrays ;
2726
@@ -59,12 +58,6 @@ public class DeviceIntelligenceBreakdown {
5958 @ javax .annotation .Nullable
6059 private DeviceIntelligenceBreakdownDevice device ;
6160
62- public static final String SERIALIZED_NAME_PROPERTIES = "properties" ;
63- @ Deprecated
64- @ SerializedName (SERIALIZED_NAME_PROPERTIES )
65- @ javax .annotation .Nullable
66- private DeviceIntelligenceBreakdownProperties properties ;
67-
6861 public DeviceIntelligenceBreakdown () {
6962 }
7063
@@ -86,29 +79,6 @@ public void setDevice(@javax.annotation.Nullable DeviceIntelligenceBreakdownDevi
8679 this .device = device ;
8780 }
8881
89-
90- @ Deprecated
91- public DeviceIntelligenceBreakdown properties (@ javax .annotation .Nullable DeviceIntelligenceBreakdownProperties properties ) {
92- this .properties = properties ;
93- return this ;
94- }
95-
96- /**
97- * Get properties
98- * @return properties
99- * @deprecated
100- */
101- @ Deprecated
102- @ javax .annotation .Nullable
103- public DeviceIntelligenceBreakdownProperties getProperties () {
104- return properties ;
105- }
106-
107- @ Deprecated
108- public void setProperties (@ javax .annotation .Nullable DeviceIntelligenceBreakdownProperties properties ) {
109- this .properties = properties ;
110- }
111-
11282 /**
11383 * A container for additional, undeclared properties.
11484 * This is a holder for any undeclared properties as specified with
@@ -164,22 +134,20 @@ public boolean equals(Object o) {
164134 return false ;
165135 }
166136 DeviceIntelligenceBreakdown deviceIntelligenceBreakdown = (DeviceIntelligenceBreakdown ) o ;
167- return Objects .equals (this .device , deviceIntelligenceBreakdown .device ) &&
168- Objects .equals (this .properties , deviceIntelligenceBreakdown .properties )&&
137+ return Objects .equals (this .device , deviceIntelligenceBreakdown .device )&&
169138 Objects .equals (this .additionalProperties , deviceIntelligenceBreakdown .additionalProperties );
170139 }
171140
172141 @ Override
173142 public int hashCode () {
174- return Objects .hash (device , properties , additionalProperties );
143+ return Objects .hash (device , additionalProperties );
175144 }
176145
177146 @ Override
178147 public String toString () {
179148 StringBuilder sb = new StringBuilder ();
180149 sb .append ("class DeviceIntelligenceBreakdown {\n " );
181150 sb .append (" device: " ).append (toIndentedString (device )).append ("\n " );
182- sb .append (" properties: " ).append (toIndentedString (properties )).append ("\n " );
183151 sb .append (" additionalProperties: " ).append (toIndentedString (additionalProperties )).append ("\n " );
184152 sb .append ("}" );
185153 return sb .toString ();
@@ -202,7 +170,7 @@ private String toIndentedString(Object o) {
202170
203171 static {
204172 // a set of all properties/fields (JSON key names)
205- openapiFields = new HashSet <String >(Arrays .asList ("device" , "properties" ));
173+ openapiFields = new HashSet <String >(Arrays .asList ("device" ));
206174
207175 // a set of required properties/fields (JSON key names)
208176 openapiRequiredFields = new HashSet <String >(0 );
@@ -225,10 +193,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
225193 if (jsonObj .get ("device" ) != null && !jsonObj .get ("device" ).isJsonNull ()) {
226194 DeviceIntelligenceBreakdownDevice .validateJsonElement (jsonObj .get ("device" ));
227195 }
228- // validate the optional field `properties`
229- if (jsonObj .get ("properties" ) != null && !jsonObj .get ("properties" ).isJsonNull ()) {
230- DeviceIntelligenceBreakdownProperties .validateJsonElement (jsonObj .get ("properties" ));
231- }
232196 }
233197
234198 public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
0 commit comments