Skip to content

Commit fcda4f9

Browse files
chore(internal): codegen related update
1 parent d037c17 commit fcda4f9

File tree

59 files changed

+2597
-619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2597
-619
lines changed

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/Timeout.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,14 @@ private constructor(
157157
return true
158158
}
159159

160-
return /* spotless:off */ other is Timeout && connect == other.connect && read == other.read && write == other.write && request == other.request /* spotless:on */
160+
return other is Timeout &&
161+
connect == other.connect &&
162+
read == other.read &&
163+
write == other.write &&
164+
request == other.request
161165
}
162166

163-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(connect, read, write, request) /* spotless:on */
167+
override fun hashCode(): Int = Objects.hash(connect, read, write, request)
164168

165169
override fun toString() =
166170
"Timeout{connect=$connect, read=$read, write=$write, request=$request}"

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/References.kt

Lines changed: 235 additions & 60 deletions
Large diffs are not rendered by default.

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ResponseWrapper.kt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,17 @@ private constructor(
256256
return true
257257
}
258258

259-
return /* spotless:off */ other is ResponseWrapper && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && additionalProperties == other.additionalProperties /* spotless:on */
259+
return other is ResponseWrapper &&
260+
code == other.code &&
261+
currentTime == other.currentTime &&
262+
text == other.text &&
263+
version == other.version &&
264+
additionalProperties == other.additionalProperties
260265
}
261266

262-
/* spotless:off */
263-
private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, additionalProperties) }
264-
/* spotless:on */
267+
private val hashCode: Int by lazy {
268+
Objects.hash(code, currentTime, text, version, additionalProperties)
269+
}
265270

266271
override fun hashCode(): Int = hashCode
267272

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListParams.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,12 @@ private constructor(
164164
return true
165165
}
166166

167-
return /* spotless:off */ other is AgenciesWithCoverageListParams && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */
167+
return other is AgenciesWithCoverageListParams &&
168+
additionalHeaders == other.additionalHeaders &&
169+
additionalQueryParams == other.additionalQueryParams
168170
}
169171

170-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(additionalHeaders, additionalQueryParams) /* spotless:on */
172+
override fun hashCode(): Int = Objects.hash(additionalHeaders, additionalQueryParams)
171173

172174
override fun toString() =
173175
"AgenciesWithCoverageListParams{additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListResponse.kt

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -826,12 +826,18 @@ private constructor(
826826
return true
827827
}
828828

829-
return /* spotless:off */ other is List && agencyId == other.agencyId && lat == other.lat && latSpan == other.latSpan && lon == other.lon && lonSpan == other.lonSpan && additionalProperties == other.additionalProperties /* spotless:on */
829+
return other is List &&
830+
agencyId == other.agencyId &&
831+
lat == other.lat &&
832+
latSpan == other.latSpan &&
833+
lon == other.lon &&
834+
lonSpan == other.lonSpan &&
835+
additionalProperties == other.additionalProperties
830836
}
831837

832-
/* spotless:off */
833-
private val hashCode: Int by lazy { Objects.hash(agencyId, lat, latSpan, lon, lonSpan, additionalProperties) }
834-
/* spotless:on */
838+
private val hashCode: Int by lazy {
839+
Objects.hash(agencyId, lat, latSpan, lon, lonSpan, additionalProperties)
840+
}
835841

836842
override fun hashCode(): Int = hashCode
837843

@@ -844,12 +850,16 @@ private constructor(
844850
return true
845851
}
846852

847-
return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */
853+
return other is Data &&
854+
limitExceeded == other.limitExceeded &&
855+
list == other.list &&
856+
references == other.references &&
857+
additionalProperties == other.additionalProperties
848858
}
849859

850-
/* spotless:off */
851-
private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, additionalProperties) }
852-
/* spotless:on */
860+
private val hashCode: Int by lazy {
861+
Objects.hash(limitExceeded, list, references, additionalProperties)
862+
}
853863

854864
override fun hashCode(): Int = hashCode
855865

@@ -862,12 +872,18 @@ private constructor(
862872
return true
863873
}
864874

865-
return /* spotless:off */ other is AgenciesWithCoverageListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */
875+
return other is AgenciesWithCoverageListResponse &&
876+
code == other.code &&
877+
currentTime == other.currentTime &&
878+
text == other.text &&
879+
version == other.version &&
880+
data == other.data &&
881+
additionalProperties == other.additionalProperties
866882
}
867883

868-
/* spotless:off */
869-
private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) }
870-
/* spotless:on */
884+
private val hashCode: Int by lazy {
885+
Objects.hash(code, currentTime, text, version, data, additionalProperties)
886+
}
871887

872888
override fun hashCode(): Int = hashCode
873889

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveParams.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,13 @@ private constructor(
176176
return true
177177
}
178178

179-
return /* spotless:off */ other is AgencyRetrieveParams && agencyId == other.agencyId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */
179+
return other is AgencyRetrieveParams &&
180+
agencyId == other.agencyId &&
181+
additionalHeaders == other.additionalHeaders &&
182+
additionalQueryParams == other.additionalQueryParams
180183
}
181184

182-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(agencyId, additionalHeaders, additionalQueryParams) /* spotless:on */
185+
override fun hashCode(): Int = Objects.hash(agencyId, additionalHeaders, additionalQueryParams)
183186

184187
override fun toString() =
185188
"AgencyRetrieveParams{agencyId=$agencyId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveResponse.kt

Lines changed: 45 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -981,12 +981,35 @@ private constructor(
981981
return true
982982
}
983983

984-
return /* spotless:off */ other is Entry && id == other.id && name == other.name && timezone == other.timezone && url == other.url && disclaimer == other.disclaimer && email == other.email && fareUrl == other.fareUrl && lang == other.lang && phone == other.phone && privateService == other.privateService && additionalProperties == other.additionalProperties /* spotless:on */
984+
return other is Entry &&
985+
id == other.id &&
986+
name == other.name &&
987+
timezone == other.timezone &&
988+
url == other.url &&
989+
disclaimer == other.disclaimer &&
990+
email == other.email &&
991+
fareUrl == other.fareUrl &&
992+
lang == other.lang &&
993+
phone == other.phone &&
994+
privateService == other.privateService &&
995+
additionalProperties == other.additionalProperties
985996
}
986997

987-
/* spotless:off */
988-
private val hashCode: Int by lazy { Objects.hash(id, name, timezone, url, disclaimer, email, fareUrl, lang, phone, privateService, additionalProperties) }
989-
/* spotless:on */
998+
private val hashCode: Int by lazy {
999+
Objects.hash(
1000+
id,
1001+
name,
1002+
timezone,
1003+
url,
1004+
disclaimer,
1005+
email,
1006+
fareUrl,
1007+
lang,
1008+
phone,
1009+
privateService,
1010+
additionalProperties,
1011+
)
1012+
}
9901013

9911014
override fun hashCode(): Int = hashCode
9921015

@@ -999,12 +1022,16 @@ private constructor(
9991022
return true
10001023
}
10011024

1002-
return /* spotless:off */ other is Data && entry == other.entry && limitExceeded == other.limitExceeded && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */
1025+
return other is Data &&
1026+
entry == other.entry &&
1027+
limitExceeded == other.limitExceeded &&
1028+
references == other.references &&
1029+
additionalProperties == other.additionalProperties
10031030
}
10041031

1005-
/* spotless:off */
1006-
private val hashCode: Int by lazy { Objects.hash(entry, limitExceeded, references, additionalProperties) }
1007-
/* spotless:on */
1032+
private val hashCode: Int by lazy {
1033+
Objects.hash(entry, limitExceeded, references, additionalProperties)
1034+
}
10081035

10091036
override fun hashCode(): Int = hashCode
10101037

@@ -1017,12 +1044,18 @@ private constructor(
10171044
return true
10181045
}
10191046

1020-
return /* spotless:off */ other is AgencyRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */
1047+
return other is AgencyRetrieveResponse &&
1048+
code == other.code &&
1049+
currentTime == other.currentTime &&
1050+
text == other.text &&
1051+
version == other.version &&
1052+
data == other.data &&
1053+
additionalProperties == other.additionalProperties
10211054
}
10221055

1023-
/* spotless:off */
1024-
private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) }
1025-
/* spotless:on */
1056+
private val hashCode: Int by lazy {
1057+
Objects.hash(code, currentTime, text, version, data, additionalProperties)
1058+
}
10261059

10271060
override fun hashCode(): Int = hashCode
10281061

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListParams.kt

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,24 @@ private constructor(
246246
return true
247247
}
248248

249-
return /* spotless:off */ other is ArrivalAndDepartureListParams && stopId == other.stopId && minutesAfter == other.minutesAfter && minutesBefore == other.minutesBefore && time == other.time && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */
249+
return other is ArrivalAndDepartureListParams &&
250+
stopId == other.stopId &&
251+
minutesAfter == other.minutesAfter &&
252+
minutesBefore == other.minutesBefore &&
253+
time == other.time &&
254+
additionalHeaders == other.additionalHeaders &&
255+
additionalQueryParams == other.additionalQueryParams
250256
}
251257

252-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(stopId, minutesAfter, minutesBefore, time, additionalHeaders, additionalQueryParams) /* spotless:on */
258+
override fun hashCode(): Int =
259+
Objects.hash(
260+
stopId,
261+
minutesAfter,
262+
minutesBefore,
263+
time,
264+
additionalHeaders,
265+
additionalQueryParams,
266+
)
253267

254268
override fun toString() =
255269
"ArrivalAndDepartureListParams{stopId=$stopId, minutesAfter=$minutesAfter, minutesBefore=$minutesBefore, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"

0 commit comments

Comments
 (0)