@@ -28,8 +28,6 @@ private constructor(
2828
2929 private var validated: Boolean = false
3030
31- private var hashCode: Int = 0
32-
3331 fun code (): Long = code.getRequired(" code" )
3432
3533 fun currentTime (): Long = currentTime.getRequired(" currentTime" )
@@ -75,38 +73,6 @@ private constructor(
7573
7674 fun toBuilder () = Builder ().from(this )
7775
78- override fun equals (other : Any? ): Boolean {
79- if (this == = other) {
80- return true
81- }
82-
83- return other is AgenciesWithCoverageListResponse &&
84- this .code == other.code &&
85- this .currentTime == other.currentTime &&
86- this .text == other.text &&
87- this .version == other.version &&
88- this .data == other.data &&
89- this .additionalProperties == other.additionalProperties
90- }
91-
92- override fun hashCode (): Int {
93- if (hashCode == 0 ) {
94- hashCode =
95- Objects .hash(
96- code,
97- currentTime,
98- text,
99- version,
100- data,
101- additionalProperties,
102- )
103- }
104- return hashCode
105- }
106-
107- override fun toString () =
108- " AgenciesWithCoverageListResponse{code=$code , currentTime=$currentTime , text=$text , version=$version , data=$data , additionalProperties=$additionalProperties }"
109-
11076 companion object {
11177
11278 @JvmStatic fun builder () = Builder ()
@@ -199,8 +165,6 @@ private constructor(
199165
200166 private var validated: Boolean = false
201167
202- private var hashCode: Int = 0
203-
204168 fun limitExceeded (): Boolean = limitExceeded.getRequired(" limitExceeded" )
205169
206170 fun list (): kotlin.collections.List <List > = list.getRequired(" list" )
@@ -228,34 +192,6 @@ private constructor(
228192
229193 fun toBuilder () = Builder ().from(this )
230194
231- override fun equals (other : Any? ): Boolean {
232- if (this == = other) {
233- return true
234- }
235-
236- return other is Data &&
237- this .limitExceeded == other.limitExceeded &&
238- this .list == other.list &&
239- this .references == other.references &&
240- this .additionalProperties == other.additionalProperties
241- }
242-
243- override fun hashCode (): Int {
244- if (hashCode == 0 ) {
245- hashCode =
246- Objects .hash(
247- limitExceeded,
248- list,
249- references,
250- additionalProperties,
251- )
252- }
253- return hashCode
254- }
255-
256- override fun toString () =
257- " Data{limitExceeded=$limitExceeded , list=$list , references=$references , additionalProperties=$additionalProperties }"
258-
259195 companion object {
260196
261197 @JvmStatic fun builder () = Builder ()
@@ -335,8 +271,6 @@ private constructor(
335271
336272 private var validated: Boolean = false
337273
338- private var hashCode: Int = 0
339-
340274 fun agencyId (): String = agencyId.getRequired(" agencyId" )
341275
342276 fun lat (): Double = lat.getRequired(" lat" )
@@ -374,38 +308,6 @@ private constructor(
374308
375309 fun toBuilder () = Builder ().from(this )
376310
377- override fun equals (other : Any? ): Boolean {
378- if (this == = other) {
379- return true
380- }
381-
382- return other is List &&
383- this .agencyId == other.agencyId &&
384- this .lat == other.lat &&
385- this .latSpan == other.latSpan &&
386- this .lon == other.lon &&
387- this .lonSpan == other.lonSpan &&
388- this .additionalProperties == other.additionalProperties
389- }
390-
391- override fun hashCode (): Int {
392- if (hashCode == 0 ) {
393- hashCode =
394- Objects .hash(
395- agencyId,
396- lat,
397- latSpan,
398- lon,
399- lonSpan,
400- additionalProperties,
401- )
402- }
403- return hashCode
404- }
405-
406- override fun toString () =
407- " List{agencyId=$agencyId , lat=$lat , latSpan=$latSpan , lon=$lon , lonSpan=$lonSpan , additionalProperties=$additionalProperties }"
408-
409311 companion object {
410312
411313 @JvmStatic fun builder () = Builder ()
@@ -485,6 +387,104 @@ private constructor(
485387 additionalProperties.toUnmodifiable(),
486388 )
487389 }
390+
391+ override fun equals (other : Any? ): Boolean {
392+ if (this == = other) {
393+ return true
394+ }
395+
396+ return other is List &&
397+ this .agencyId == other.agencyId &&
398+ this .lat == other.lat &&
399+ this .latSpan == other.latSpan &&
400+ this .lon == other.lon &&
401+ this .lonSpan == other.lonSpan &&
402+ this .additionalProperties == other.additionalProperties
403+ }
404+
405+ private var hashCode: Int = 0
406+
407+ override fun hashCode (): Int {
408+ if (hashCode == 0 ) {
409+ hashCode =
410+ Objects .hash(
411+ agencyId,
412+ lat,
413+ latSpan,
414+ lon,
415+ lonSpan,
416+ additionalProperties,
417+ )
418+ }
419+ return hashCode
420+ }
421+
422+ override fun toString () =
423+ " List{agencyId=$agencyId , lat=$lat , latSpan=$latSpan , lon=$lon , lonSpan=$lonSpan , additionalProperties=$additionalProperties }"
424+ }
425+
426+ override fun equals (other : Any? ): Boolean {
427+ if (this == = other) {
428+ return true
429+ }
430+
431+ return other is Data &&
432+ this .limitExceeded == other.limitExceeded &&
433+ this .list == other.list &&
434+ this .references == other.references &&
435+ this .additionalProperties == other.additionalProperties
436+ }
437+
438+ private var hashCode: Int = 0
439+
440+ override fun hashCode (): Int {
441+ if (hashCode == 0 ) {
442+ hashCode =
443+ Objects .hash(
444+ limitExceeded,
445+ list,
446+ references,
447+ additionalProperties,
448+ )
449+ }
450+ return hashCode
488451 }
452+
453+ override fun toString () =
454+ " Data{limitExceeded=$limitExceeded , list=$list , references=$references , additionalProperties=$additionalProperties }"
489455 }
456+
457+ override fun equals (other : Any? ): Boolean {
458+ if (this == = other) {
459+ return true
460+ }
461+
462+ return other is AgenciesWithCoverageListResponse &&
463+ this .code == other.code &&
464+ this .currentTime == other.currentTime &&
465+ this .text == other.text &&
466+ this .version == other.version &&
467+ this .data == other.data &&
468+ this .additionalProperties == other.additionalProperties
469+ }
470+
471+ private var hashCode: Int = 0
472+
473+ override fun hashCode (): Int {
474+ if (hashCode == 0 ) {
475+ hashCode =
476+ Objects .hash(
477+ code,
478+ currentTime,
479+ text,
480+ version,
481+ data,
482+ additionalProperties,
483+ )
484+ }
485+ return hashCode
486+ }
487+
488+ override fun toString () =
489+ " AgenciesWithCoverageListResponse{code=$code , currentTime=$currentTime , text=$text , version=$version , data=$data , additionalProperties=$additionalProperties }"
490490}
0 commit comments