From 09fe22c50fd3025c2f1da7a37218d6cbfc8a04d9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 8 Aug 2025 04:02:50 +0000 Subject: [PATCH 01/13] chore: increase max gradle JVM heap to 8GB --- gradle.properties | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index ff76593..6680f9c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,12 +4,13 @@ org.gradle.parallel=true org.gradle.daemon=false # These options improve our compilation and test performance. They are inherited by the Kotlin daemon. org.gradle.jvmargs=\ - -Xms1g \ - -Xmx4g \ + -Xms2g \ + -Xmx8g \ -XX:+UseParallelGC \ -XX:InitialCodeCacheSize=256m \ -XX:ReservedCodeCacheSize=1G \ - -XX:MetaspaceSize=256m \ + -XX:MetaspaceSize=512m \ + -XX:MaxMetaspaceSize=2G \ -XX:TieredStopAtLevel=1 \ -XX:GCTimeRatio=4 \ -XX:CICompilerCount=4 \ From 3f2a043a8a41078b57b5d2afa8052824b60d6a43 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 05:44:39 +0000 Subject: [PATCH 02/13] chore: update @stainless-api/prism-cli to v5.15.0 --- scripts/mock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mock b/scripts/mock index d2814ae..0b28f6e 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then - npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" &> .prism.log & + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & # Wait for server to come online echo -n "Waiting for server" @@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" fi From d037c17a5b778fc55c8e30534bfd50f23f4d0984 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 05:55:30 +0000 Subject: [PATCH 03/13] chore(internal): update comment in script --- scripts/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test b/scripts/test index 6b750a7..2177cb8 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! prism_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the prism command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock path/to/your.openapi.yml${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}" echo exit 1 From fcda4f9e3cadf6574f110689ddb80fda9fe3e87b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 02:22:21 +0000 Subject: [PATCH 04/13] chore(internal): codegen related update --- .../kotlin/org/onebusaway/core/Timeout.kt | 8 +- .../org/onebusaway/models/References.kt | 295 ++++++++++++++---- .../org/onebusaway/models/ResponseWrapper.kt | 13 +- .../AgenciesWithCoverageListParams.kt | 6 +- .../AgenciesWithCoverageListResponse.kt | 40 ++- .../models/agency/AgencyRetrieveParams.kt | 7 +- .../models/agency/AgencyRetrieveResponse.kt | 57 +++- .../ArrivalAndDepartureListParams.kt | 18 +- .../ArrivalAndDepartureListResponse.kt | 197 ++++++++++-- .../ArrivalAndDepartureRetrieveParams.kt | 22 +- .../ArrivalAndDepartureRetrieveResponse.kt | 187 +++++++++-- .../models/block/BlockRetrieveParams.kt | 7 +- .../models/block/BlockRetrieveResponse.kt | 103 ++++-- .../models/config/ConfigRetrieveParams.kt | 6 +- .../models/config/ConfigRetrieveResponse.kt | 93 +++++- .../currenttime/CurrentTimeRetrieveParams.kt | 6 +- .../CurrentTimeRetrieveResponse.kt | 32 +- .../ReportProblemWithStopRetrieveParams.kt | 24 +- .../ReportProblemWithTripRetrieveParams.kt | 34 +- .../models/route/RouteRetrieveParams.kt | 7 +- .../models/route/RouteRetrieveResponse.kt | 52 ++- .../RouteIdsForAgencyListParams.kt | 7 +- .../RouteIdsForAgencyListResponse.kt | 26 +- .../RoutesForAgencyListParams.kt | 7 +- .../RoutesForAgencyListResponse.kt | 57 +++- .../RoutesForLocationListParams.kt | 22 +- .../RoutesForLocationListResponse.kt | 58 +++- .../ScheduleForRouteRetrieveParams.kt | 9 +- .../ScheduleForRouteRetrieveResponse.kt | 168 ++++++++-- .../ScheduleForStopRetrieveParams.kt | 9 +- .../ScheduleForStopRetrieveResponse.kt | 109 +++++-- .../SearchForRouteListParams.kt | 9 +- .../SearchForRouteListResponse.kt | 58 +++- .../searchforstop/SearchForStopListParams.kt | 9 +- .../SearchForStopListResponse.kt | 60 +++- .../models/shape/ShapeRetrieveParams.kt | 7 +- .../models/shape/ShapeRetrieveResponse.kt | 33 +- .../models/stop/StopRetrieveParams.kt | 7 +- .../models/stop/StopRetrieveResponse.kt | 54 +++- .../StopIdsForAgencyListParams.kt | 7 +- .../StopIdsForAgencyListResponse.kt | 26 +- .../StopsForAgencyListParams.kt | 7 +- .../StopsForAgencyListResponse.kt | 60 +++- .../StopsForLocationListParams.kt | 22 +- .../StopsForLocationListResponse.kt | 60 +++- .../stopsforroute/StopsForRouteListParams.kt | 10 +- .../StopsForRouteListResponse.kt | 83 +++-- .../models/trip/TripRetrieveParams.kt | 7 +- .../models/trip/TripRetrieveResponse.kt | 54 +++- .../tripdetails/TripDetailRetrieveParams.kt | 22 +- .../tripdetails/TripDetailRetrieveResponse.kt | 175 +++++++++-- .../TripForVehicleRetrieveParams.kt | 20 +- .../TripForVehicleRetrieveResponse.kt | 175 +++++++++-- .../TripsForLocationListParams.kt | 24 +- .../TripsForLocationListResponse.kt | 181 +++++++++-- .../tripsforroute/TripsForRouteListParams.kt | 18 +- .../TripsForRouteListResponse.kt | 180 +++++++++-- .../VehiclesForAgencyListParams.kt | 9 +- .../VehiclesForAgencyListResponse.kt | 153 +++++++-- 59 files changed, 2597 insertions(+), 619 deletions(-) diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/Timeout.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/Timeout.kt index db8d478..8511d1f 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/Timeout.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/Timeout.kt @@ -157,10 +157,14 @@ private constructor( return true } - return /* spotless:off */ other is Timeout && connect == other.connect && read == other.read && write == other.write && request == other.request /* spotless:on */ + return other is Timeout && + connect == other.connect && + read == other.read && + write == other.write && + request == other.request } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(connect, read, write, request) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(connect, read, write, request) override fun toString() = "Timeout{connect=$connect, read=$read, write=$write, request=$request}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/References.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/References.kt index 9bbb9ed..22e7594 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/References.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/References.kt @@ -868,12 +868,35 @@ private constructor( return true } - return /* spotless:off */ other is Agency && 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 */ + return other is Agency && + 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:off */ - private val hashCode: Int by lazy { Objects.hash(id, name, timezone, url, disclaimer, email, fareUrl, lang, phone, privateService, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + name, + timezone, + url, + disclaimer, + email, + fareUrl, + lang, + phone, + privateService, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1343,12 +1366,35 @@ private constructor( return true } - return /* spotless:off */ other is Route && id == other.id && agencyId == other.agencyId && type == other.type && color == other.color && description == other.description && longName == other.longName && nullSafeShortName == other.nullSafeShortName && shortName == other.shortName && textColor == other.textColor && url == other.url && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Route && + id == other.id && + agencyId == other.agencyId && + type == other.type && + color == other.color && + description == other.description && + longName == other.longName && + nullSafeShortName == other.nullSafeShortName && + shortName == other.shortName && + textColor == other.textColor && + url == other.url && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, agencyId, type, color, description, longName, nullSafeShortName, shortName, textColor, url, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + agencyId, + type, + color, + description, + longName, + nullSafeShortName, + shortName, + textColor, + url, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2136,12 +2182,13 @@ private constructor( return true } - return /* spotless:off */ other is ActiveWindow && from == other.from && to == other.to && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ActiveWindow && + from == other.from && + to == other.to && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(from, to, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -2477,12 +2524,27 @@ private constructor( return true } - return /* spotless:off */ other is AllAffect && agencyId == other.agencyId && applicationId == other.applicationId && directionId == other.directionId && routeId == other.routeId && stopId == other.stopId && tripId == other.tripId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AllAffect && + agencyId == other.agencyId && + applicationId == other.applicationId && + directionId == other.directionId && + routeId == other.routeId && + stopId == other.stopId && + tripId == other.tripId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(agencyId, applicationId, directionId, routeId, stopId, tripId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + agencyId, + applicationId, + directionId, + routeId, + stopId, + tripId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3075,12 +3137,16 @@ private constructor( return true } - return /* spotless:off */ other is DiversionPath && length == other.length && levels == other.levels && points == other.points && additionalProperties == other.additionalProperties /* spotless:on */ + return other is DiversionPath && + length == other.length && + levels == other.levels && + points == other.points && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(length, levels, points, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(length, levels, points, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3093,12 +3159,15 @@ private constructor( return true } - return /* spotless:off */ other is ConditionDetails && diversionPath == other.diversionPath && diversionStopIds == other.diversionStopIds && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ConditionDetails && + diversionPath == other.diversionPath && + diversionStopIds == other.diversionStopIds && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(diversionPath, diversionStopIds, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(diversionPath, diversionStopIds, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3111,12 +3180,15 @@ private constructor( return true } - return /* spotless:off */ other is Consequence && condition == other.condition && conditionDetails == other.conditionDetails && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Consequence && + condition == other.condition && + conditionDetails == other.conditionDetails && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(condition, conditionDetails, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(condition, conditionDetails, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3289,12 +3361,13 @@ private constructor( return true } - return /* spotless:off */ other is Description && lang == other.lang && value == other.value && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Description && + lang == other.lang && + value == other.value && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(lang, value, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -3489,12 +3562,13 @@ private constructor( return true } - return /* spotless:off */ other is PublicationWindow && from == other.from && to == other.to && additionalProperties == other.additionalProperties /* spotless:on */ + return other is PublicationWindow && + from == other.from && + to == other.to && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(from, to, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -3642,7 +3716,7 @@ private constructor( return true } - return /* spotless:off */ other is Reason && value == other.value /* spotless:on */ + return other is Reason && value == other.value } override fun hashCode() = value.hashCode() @@ -3814,12 +3888,13 @@ private constructor( return true } - return /* spotless:off */ other is Summary && lang == other.lang && value == other.value && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Summary && + lang == other.lang && + value == other.value && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(lang, value, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -3991,12 +4066,13 @@ private constructor( return true } - return /* spotless:off */ other is Url && lang == other.lang && value == other.value && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Url && + lang == other.lang && + value == other.value && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(lang, value, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -4009,12 +4085,39 @@ private constructor( return true } - return /* spotless:off */ other is Situation && id == other.id && creationTime == other.creationTime && activeWindows == other.activeWindows && allAffects == other.allAffects && consequenceMessage == other.consequenceMessage && consequences == other.consequences && description == other.description && publicationWindows == other.publicationWindows && reason == other.reason && severity == other.severity && summary == other.summary && url == other.url && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Situation && + id == other.id && + creationTime == other.creationTime && + activeWindows == other.activeWindows && + allAffects == other.allAffects && + consequenceMessage == other.consequenceMessage && + consequences == other.consequences && + description == other.description && + publicationWindows == other.publicationWindows && + reason == other.reason && + severity == other.severity && + summary == other.summary && + url == other.url && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, creationTime, activeWindows, allAffects, consequenceMessage, consequences, description, publicationWindows, reason, severity, summary, url, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + creationTime, + activeWindows, + allAffects, + consequenceMessage, + consequences, + description, + publicationWindows, + reason, + severity, + summary, + url, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4559,12 +4662,37 @@ private constructor( return true } - return /* spotless:off */ other is Stop && id == other.id && lat == other.lat && locationType == other.locationType && lon == other.lon && name == other.name && parent == other.parent && routeIds == other.routeIds && staticRouteIds == other.staticRouteIds && code == other.code && direction == other.direction && wheelchairBoarding == other.wheelchairBoarding && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Stop && + id == other.id && + lat == other.lat && + locationType == other.locationType && + lon == other.lon && + name == other.name && + parent == other.parent && + routeIds == other.routeIds && + staticRouteIds == other.staticRouteIds && + code == other.code && + direction == other.direction && + wheelchairBoarding == other.wheelchairBoarding && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, code, direction, wheelchairBoarding, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + lat, + locationType, + lon, + name, + parent, + routeIds, + staticRouteIds, + code, + direction, + wheelchairBoarding, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4901,12 +5029,27 @@ private constructor( return true } - return /* spotless:off */ other is StopTime && arrivalTime == other.arrivalTime && departureTime == other.departureTime && distanceAlongTrip == other.distanceAlongTrip && historicalOccupancy == other.historicalOccupancy && stopHeadsign == other.stopHeadsign && stopId == other.stopId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTime && + arrivalTime == other.arrivalTime && + departureTime == other.departureTime && + distanceAlongTrip == other.distanceAlongTrip && + historicalOccupancy == other.historicalOccupancy && + stopHeadsign == other.stopHeadsign && + stopId == other.stopId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalTime, + departureTime, + distanceAlongTrip, + historicalOccupancy, + stopHeadsign, + stopId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -5421,12 +5564,37 @@ private constructor( return true } - return /* spotless:off */ other is Trip && id == other.id && routeId == other.routeId && serviceId == other.serviceId && blockId == other.blockId && directionId == other.directionId && peakOffpeak == other.peakOffpeak && routeShortName == other.routeShortName && shapeId == other.shapeId && timeZone == other.timeZone && tripHeadsign == other.tripHeadsign && tripShortName == other.tripShortName && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Trip && + id == other.id && + routeId == other.routeId && + serviceId == other.serviceId && + blockId == other.blockId && + directionId == other.directionId && + peakOffpeak == other.peakOffpeak && + routeShortName == other.routeShortName && + shapeId == other.shapeId && + timeZone == other.timeZone && + tripHeadsign == other.tripHeadsign && + tripShortName == other.tripShortName && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, routeId, serviceId, blockId, directionId, peakOffpeak, routeShortName, shapeId, timeZone, tripHeadsign, tripShortName, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + routeId, + serviceId, + blockId, + directionId, + peakOffpeak, + routeShortName, + shapeId, + timeZone, + tripHeadsign, + tripShortName, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -5439,12 +5607,19 @@ private constructor( return true } - return /* spotless:off */ other is References && agencies == other.agencies && routes == other.routes && situations == other.situations && stops == other.stops && stopTimes == other.stopTimes && trips == other.trips && additionalProperties == other.additionalProperties /* spotless:on */ + return other is References && + agencies == other.agencies && + routes == other.routes && + situations == other.situations && + stops == other.stops && + stopTimes == other.stopTimes && + trips == other.trips && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(agencies, routes, situations, stops, stopTimes, trips, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(agencies, routes, situations, stops, stopTimes, trips, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ResponseWrapper.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ResponseWrapper.kt index 2ac9738..d1ec3f8 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ResponseWrapper.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ResponseWrapper.kt @@ -256,12 +256,17 @@ private constructor( return true } - return /* spotless:off */ other is ResponseWrapper && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ResponseWrapper && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListParams.kt index 44641a9..1346d08 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListParams.kt @@ -164,10 +164,12 @@ private constructor( return true } - return /* spotless:off */ other is AgenciesWithCoverageListParams && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AgenciesWithCoverageListParams && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(additionalHeaders, additionalQueryParams) override fun toString() = "AgenciesWithCoverageListParams{additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListResponse.kt index a0ae167..e39ecc2 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agencieswithcoverage/AgenciesWithCoverageListResponse.kt @@ -826,12 +826,18 @@ private constructor( return true } - 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 */ + return other is List && + agencyId == other.agencyId && + lat == other.lat && + latSpan == other.latSpan && + lon == other.lon && + lonSpan == other.lonSpan && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(agencyId, lat, latSpan, lon, lonSpan, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(agencyId, lat, latSpan, lon, lonSpan, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -844,12 +850,16 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -862,12 +872,18 @@ private constructor( return true } - 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 */ + return other is AgenciesWithCoverageListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveParams.kt index ff34e69..c1b03ca 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveParams.kt @@ -176,10 +176,13 @@ private constructor( return true } - return /* spotless:off */ other is AgencyRetrieveParams && agencyId == other.agencyId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AgencyRetrieveParams && + agencyId == other.agencyId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(agencyId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(agencyId, additionalHeaders, additionalQueryParams) override fun toString() = "AgencyRetrieveParams{agencyId=$agencyId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveResponse.kt index 7211fe4..740fbb1 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/agency/AgencyRetrieveResponse.kt @@ -981,12 +981,35 @@ private constructor( return true } - 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 */ + return 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:off */ - private val hashCode: Int by lazy { Objects.hash(id, name, timezone, url, disclaimer, email, fareUrl, lang, phone, privateService, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + name, + timezone, + url, + disclaimer, + email, + fareUrl, + lang, + phone, + privateService, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -999,12 +1022,16 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && limitExceeded == other.limitExceeded && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + limitExceeded == other.limitExceeded && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(entry, limitExceeded, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(entry, limitExceeded, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1017,12 +1044,18 @@ private constructor( return true } - 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 */ + return other is AgencyRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListParams.kt index 7d5bc77..d8a5888 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListParams.kt @@ -246,10 +246,24 @@ private constructor( return true } - 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 */ + return other is ArrivalAndDepartureListParams && + stopId == other.stopId && + minutesAfter == other.minutesAfter && + minutesBefore == other.minutesBefore && + time == other.time && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(stopId, minutesAfter, minutesBefore, time, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + stopId, + minutesAfter, + minutesBefore, + time, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "ArrivalAndDepartureListParams{stopId=$stopId, minutesAfter=$minutesAfter, minutesBefore=$minutesBefore, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListResponse.kt index 7ffbe8f..e8a6722 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureListResponse.kt @@ -3878,12 +3878,15 @@ private constructor( return true } - return /* spotless:off */ other is LastKnownLocation && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LastKnownLocation && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -4070,12 +4073,15 @@ private constructor( return true } - return /* spotless:off */ other is Position && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Position && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -4088,12 +4094,69 @@ private constructor( return true } - return /* spotless:off */ other is TripStatus && activeTripId == other.activeTripId && blockTripSequence == other.blockTripSequence && closestStop == other.closestStop && distanceAlongTrip == other.distanceAlongTrip && lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && predicted == other.predicted && scheduleDeviation == other.scheduleDeviation && serviceDate == other.serviceDate && status == other.status && totalDistanceAlongTrip == other.totalDistanceAlongTrip && closestStopTimeOffset == other.closestStopTimeOffset && frequency == other.frequency && lastKnownLocation == other.lastKnownLocation && lastKnownOrientation == other.lastKnownOrientation && nextStop == other.nextStop && nextStopTimeOffset == other.nextStopTimeOffset && orientation == other.orientation && position == other.position && scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && situationIds == other.situationIds && vehicleId == other.vehicleId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripStatus && + activeTripId == other.activeTripId && + blockTripSequence == other.blockTripSequence && + closestStop == other.closestStop && + distanceAlongTrip == other.distanceAlongTrip && + lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + predicted == other.predicted && + scheduleDeviation == other.scheduleDeviation && + serviceDate == other.serviceDate && + status == other.status && + totalDistanceAlongTrip == other.totalDistanceAlongTrip && + closestStopTimeOffset == other.closestStopTimeOffset && + frequency == other.frequency && + lastKnownLocation == other.lastKnownLocation && + lastKnownOrientation == other.lastKnownOrientation && + nextStop == other.nextStop && + nextStopTimeOffset == other.nextStopTimeOffset && + orientation == other.orientation && + position == other.position && + scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && + situationIds == other.situationIds && + vehicleId == other.vehicleId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeTripId, blockTripSequence, closestStop, distanceAlongTrip, lastKnownDistanceAlongTrip, lastLocationUpdateTime, lastUpdateTime, occupancyCapacity, occupancyCount, occupancyStatus, phase, predicted, scheduleDeviation, serviceDate, status, totalDistanceAlongTrip, closestStopTimeOffset, frequency, lastKnownLocation, lastKnownOrientation, nextStop, nextStopTimeOffset, orientation, position, scheduledDistanceAlongTrip, situationIds, vehicleId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + activeTripId, + blockTripSequence, + closestStop, + distanceAlongTrip, + lastKnownDistanceAlongTrip, + lastLocationUpdateTime, + lastUpdateTime, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + predicted, + scheduleDeviation, + serviceDate, + status, + totalDistanceAlongTrip, + closestStopTimeOffset, + frequency, + lastKnownLocation, + lastKnownOrientation, + nextStop, + nextStopTimeOffset, + orientation, + position, + scheduledDistanceAlongTrip, + situationIds, + vehicleId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4106,12 +4169,83 @@ private constructor( return true } - return /* spotless:off */ other is ArrivalsAndDeparture && arrivalEnabled == other.arrivalEnabled && blockTripSequence == other.blockTripSequence && departureEnabled == other.departureEnabled && numberOfStopsAway == other.numberOfStopsAway && predictedArrivalTime == other.predictedArrivalTime && predictedDepartureTime == other.predictedDepartureTime && routeId == other.routeId && scheduledArrivalTime == other.scheduledArrivalTime && scheduledDepartureTime == other.scheduledDepartureTime && serviceDate == other.serviceDate && stopId == other.stopId && stopSequence == other.stopSequence && totalStopsInTrip == other.totalStopsInTrip && tripHeadsign == other.tripHeadsign && tripId == other.tripId && vehicleId == other.vehicleId && actualTrack == other.actualTrack && distanceFromStop == other.distanceFromStop && frequency == other.frequency && historicalOccupancy == other.historicalOccupancy && lastUpdateTime == other.lastUpdateTime && occupancyStatus == other.occupancyStatus && predicted == other.predicted && predictedArrivalInterval == other.predictedArrivalInterval && predictedDepartureInterval == other.predictedDepartureInterval && predictedOccupancy == other.predictedOccupancy && routeLongName == other.routeLongName && routeShortName == other.routeShortName && scheduledArrivalInterval == other.scheduledArrivalInterval && scheduledDepartureInterval == other.scheduledDepartureInterval && scheduledTrack == other.scheduledTrack && situationIds == other.situationIds && status == other.status && tripStatus == other.tripStatus && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ArrivalsAndDeparture && + arrivalEnabled == other.arrivalEnabled && + blockTripSequence == other.blockTripSequence && + departureEnabled == other.departureEnabled && + numberOfStopsAway == other.numberOfStopsAway && + predictedArrivalTime == other.predictedArrivalTime && + predictedDepartureTime == other.predictedDepartureTime && + routeId == other.routeId && + scheduledArrivalTime == other.scheduledArrivalTime && + scheduledDepartureTime == other.scheduledDepartureTime && + serviceDate == other.serviceDate && + stopId == other.stopId && + stopSequence == other.stopSequence && + totalStopsInTrip == other.totalStopsInTrip && + tripHeadsign == other.tripHeadsign && + tripId == other.tripId && + vehicleId == other.vehicleId && + actualTrack == other.actualTrack && + distanceFromStop == other.distanceFromStop && + frequency == other.frequency && + historicalOccupancy == other.historicalOccupancy && + lastUpdateTime == other.lastUpdateTime && + occupancyStatus == other.occupancyStatus && + predicted == other.predicted && + predictedArrivalInterval == other.predictedArrivalInterval && + predictedDepartureInterval == other.predictedDepartureInterval && + predictedOccupancy == other.predictedOccupancy && + routeLongName == other.routeLongName && + routeShortName == other.routeShortName && + scheduledArrivalInterval == other.scheduledArrivalInterval && + scheduledDepartureInterval == other.scheduledDepartureInterval && + scheduledTrack == other.scheduledTrack && + situationIds == other.situationIds && + status == other.status && + tripStatus == other.tripStatus && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalEnabled, blockTripSequence, departureEnabled, numberOfStopsAway, predictedArrivalTime, predictedDepartureTime, routeId, scheduledArrivalTime, scheduledDepartureTime, serviceDate, stopId, stopSequence, totalStopsInTrip, tripHeadsign, tripId, vehicleId, actualTrack, distanceFromStop, frequency, historicalOccupancy, lastUpdateTime, occupancyStatus, predicted, predictedArrivalInterval, predictedDepartureInterval, predictedOccupancy, routeLongName, routeShortName, scheduledArrivalInterval, scheduledDepartureInterval, scheduledTrack, situationIds, status, tripStatus, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalEnabled, + blockTripSequence, + departureEnabled, + numberOfStopsAway, + predictedArrivalTime, + predictedDepartureTime, + routeId, + scheduledArrivalTime, + scheduledDepartureTime, + serviceDate, + stopId, + stopSequence, + totalStopsInTrip, + tripHeadsign, + tripId, + vehicleId, + actualTrack, + distanceFromStop, + frequency, + historicalOccupancy, + lastUpdateTime, + occupancyStatus, + predicted, + predictedArrivalInterval, + predictedDepartureInterval, + predictedOccupancy, + routeLongName, + routeShortName, + scheduledArrivalInterval, + scheduledDepartureInterval, + scheduledTrack, + situationIds, + status, + tripStatus, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4124,12 +4258,14 @@ private constructor( return true } - return /* spotless:off */ other is Entry && arrivalsAndDepartures == other.arrivalsAndDepartures && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + arrivalsAndDepartures == other.arrivalsAndDepartures && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalsAndDepartures, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(arrivalsAndDepartures, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -4142,12 +4278,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -4160,12 +4297,18 @@ private constructor( return true } - return /* spotless:off */ other is ArrivalAndDepartureListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ArrivalAndDepartureListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveParams.kt index f4c3e78..7d61e9d 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveParams.kt @@ -271,10 +271,28 @@ private constructor( return true } - return /* spotless:off */ other is ArrivalAndDepartureRetrieveParams && stopId == other.stopId && serviceDate == other.serviceDate && tripId == other.tripId && stopSequence == other.stopSequence && time == other.time && vehicleId == other.vehicleId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ArrivalAndDepartureRetrieveParams && + stopId == other.stopId && + serviceDate == other.serviceDate && + tripId == other.tripId && + stopSequence == other.stopSequence && + time == other.time && + vehicleId == other.vehicleId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(stopId, serviceDate, tripId, stopSequence, time, vehicleId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + stopId, + serviceDate, + tripId, + stopSequence, + time, + vehicleId, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "ArrivalAndDepartureRetrieveParams{stopId=$stopId, serviceDate=$serviceDate, tripId=$tripId, stopSequence=$stopSequence, time=$time, vehicleId=$vehicleId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveResponse.kt index 2a83e0a..0ff1d79 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/arrivalanddeparture/ArrivalAndDepartureRetrieveResponse.kt @@ -3649,12 +3649,15 @@ private constructor( return true } - return /* spotless:off */ other is LastKnownLocation && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LastKnownLocation && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3836,12 +3839,15 @@ private constructor( return true } - return /* spotless:off */ other is Position && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Position && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3854,12 +3860,69 @@ private constructor( return true } - return /* spotless:off */ other is TripStatus && activeTripId == other.activeTripId && blockTripSequence == other.blockTripSequence && closestStop == other.closestStop && distanceAlongTrip == other.distanceAlongTrip && lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && predicted == other.predicted && scheduleDeviation == other.scheduleDeviation && serviceDate == other.serviceDate && status == other.status && totalDistanceAlongTrip == other.totalDistanceAlongTrip && closestStopTimeOffset == other.closestStopTimeOffset && frequency == other.frequency && lastKnownLocation == other.lastKnownLocation && lastKnownOrientation == other.lastKnownOrientation && nextStop == other.nextStop && nextStopTimeOffset == other.nextStopTimeOffset && orientation == other.orientation && position == other.position && scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && situationIds == other.situationIds && vehicleId == other.vehicleId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripStatus && + activeTripId == other.activeTripId && + blockTripSequence == other.blockTripSequence && + closestStop == other.closestStop && + distanceAlongTrip == other.distanceAlongTrip && + lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + predicted == other.predicted && + scheduleDeviation == other.scheduleDeviation && + serviceDate == other.serviceDate && + status == other.status && + totalDistanceAlongTrip == other.totalDistanceAlongTrip && + closestStopTimeOffset == other.closestStopTimeOffset && + frequency == other.frequency && + lastKnownLocation == other.lastKnownLocation && + lastKnownOrientation == other.lastKnownOrientation && + nextStop == other.nextStop && + nextStopTimeOffset == other.nextStopTimeOffset && + orientation == other.orientation && + position == other.position && + scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && + situationIds == other.situationIds && + vehicleId == other.vehicleId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeTripId, blockTripSequence, closestStop, distanceAlongTrip, lastKnownDistanceAlongTrip, lastLocationUpdateTime, lastUpdateTime, occupancyCapacity, occupancyCount, occupancyStatus, phase, predicted, scheduleDeviation, serviceDate, status, totalDistanceAlongTrip, closestStopTimeOffset, frequency, lastKnownLocation, lastKnownOrientation, nextStop, nextStopTimeOffset, orientation, position, scheduledDistanceAlongTrip, situationIds, vehicleId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + activeTripId, + blockTripSequence, + closestStop, + distanceAlongTrip, + lastKnownDistanceAlongTrip, + lastLocationUpdateTime, + lastUpdateTime, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + predicted, + scheduleDeviation, + serviceDate, + status, + totalDistanceAlongTrip, + closestStopTimeOffset, + frequency, + lastKnownLocation, + lastKnownOrientation, + nextStop, + nextStopTimeOffset, + orientation, + position, + scheduledDistanceAlongTrip, + situationIds, + vehicleId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3872,12 +3935,83 @@ private constructor( return true } - return /* spotless:off */ other is Entry && arrivalEnabled == other.arrivalEnabled && blockTripSequence == other.blockTripSequence && departureEnabled == other.departureEnabled && numberOfStopsAway == other.numberOfStopsAway && predictedArrivalTime == other.predictedArrivalTime && predictedDepartureTime == other.predictedDepartureTime && routeId == other.routeId && scheduledArrivalTime == other.scheduledArrivalTime && scheduledDepartureTime == other.scheduledDepartureTime && serviceDate == other.serviceDate && stopId == other.stopId && stopSequence == other.stopSequence && totalStopsInTrip == other.totalStopsInTrip && tripHeadsign == other.tripHeadsign && tripId == other.tripId && vehicleId == other.vehicleId && actualTrack == other.actualTrack && distanceFromStop == other.distanceFromStop && frequency == other.frequency && historicalOccupancy == other.historicalOccupancy && lastUpdateTime == other.lastUpdateTime && occupancyStatus == other.occupancyStatus && predicted == other.predicted && predictedArrivalInterval == other.predictedArrivalInterval && predictedDepartureInterval == other.predictedDepartureInterval && predictedOccupancy == other.predictedOccupancy && routeLongName == other.routeLongName && routeShortName == other.routeShortName && scheduledArrivalInterval == other.scheduledArrivalInterval && scheduledDepartureInterval == other.scheduledDepartureInterval && scheduledTrack == other.scheduledTrack && situationIds == other.situationIds && status == other.status && tripStatus == other.tripStatus && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + arrivalEnabled == other.arrivalEnabled && + blockTripSequence == other.blockTripSequence && + departureEnabled == other.departureEnabled && + numberOfStopsAway == other.numberOfStopsAway && + predictedArrivalTime == other.predictedArrivalTime && + predictedDepartureTime == other.predictedDepartureTime && + routeId == other.routeId && + scheduledArrivalTime == other.scheduledArrivalTime && + scheduledDepartureTime == other.scheduledDepartureTime && + serviceDate == other.serviceDate && + stopId == other.stopId && + stopSequence == other.stopSequence && + totalStopsInTrip == other.totalStopsInTrip && + tripHeadsign == other.tripHeadsign && + tripId == other.tripId && + vehicleId == other.vehicleId && + actualTrack == other.actualTrack && + distanceFromStop == other.distanceFromStop && + frequency == other.frequency && + historicalOccupancy == other.historicalOccupancy && + lastUpdateTime == other.lastUpdateTime && + occupancyStatus == other.occupancyStatus && + predicted == other.predicted && + predictedArrivalInterval == other.predictedArrivalInterval && + predictedDepartureInterval == other.predictedDepartureInterval && + predictedOccupancy == other.predictedOccupancy && + routeLongName == other.routeLongName && + routeShortName == other.routeShortName && + scheduledArrivalInterval == other.scheduledArrivalInterval && + scheduledDepartureInterval == other.scheduledDepartureInterval && + scheduledTrack == other.scheduledTrack && + situationIds == other.situationIds && + status == other.status && + tripStatus == other.tripStatus && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalEnabled, blockTripSequence, departureEnabled, numberOfStopsAway, predictedArrivalTime, predictedDepartureTime, routeId, scheduledArrivalTime, scheduledDepartureTime, serviceDate, stopId, stopSequence, totalStopsInTrip, tripHeadsign, tripId, vehicleId, actualTrack, distanceFromStop, frequency, historicalOccupancy, lastUpdateTime, occupancyStatus, predicted, predictedArrivalInterval, predictedDepartureInterval, predictedOccupancy, routeLongName, routeShortName, scheduledArrivalInterval, scheduledDepartureInterval, scheduledTrack, situationIds, status, tripStatus, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalEnabled, + blockTripSequence, + departureEnabled, + numberOfStopsAway, + predictedArrivalTime, + predictedDepartureTime, + routeId, + scheduledArrivalTime, + scheduledDepartureTime, + serviceDate, + stopId, + stopSequence, + totalStopsInTrip, + tripHeadsign, + tripId, + vehicleId, + actualTrack, + distanceFromStop, + frequency, + historicalOccupancy, + lastUpdateTime, + occupancyStatus, + predicted, + predictedArrivalInterval, + predictedDepartureInterval, + predictedOccupancy, + routeLongName, + routeShortName, + scheduledArrivalInterval, + scheduledDepartureInterval, + scheduledTrack, + situationIds, + status, + tripStatus, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3890,12 +4024,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -3908,12 +4043,18 @@ private constructor( return true } - return /* spotless:off */ other is ArrivalAndDepartureRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ArrivalAndDepartureRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveParams.kt index ec206f7..5f0e88d 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveParams.kt @@ -176,10 +176,13 @@ private constructor( return true } - return /* spotless:off */ other is BlockRetrieveParams && blockId == other.blockId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is BlockRetrieveParams && + blockId == other.blockId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(blockId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(blockId, additionalHeaders, additionalQueryParams) override fun toString() = "BlockRetrieveParams{blockId=$blockId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveResponse.kt index e7dfe35..f505261 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/block/BlockRetrieveResponse.kt @@ -1863,12 +1863,25 @@ private constructor( return true } - return /* spotless:off */ other is StopTime && arrivalTime == other.arrivalTime && departureTime == other.departureTime && stopId == other.stopId && dropOffType == other.dropOffType && pickupType == other.pickupType && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTime && + arrivalTime == other.arrivalTime && + departureTime == other.departureTime && + stopId == other.stopId && + dropOffType == other.dropOffType && + pickupType == other.pickupType && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalTime, departureTime, stopId, dropOffType, pickupType, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalTime, + departureTime, + stopId, + dropOffType, + pickupType, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1881,12 +1894,23 @@ private constructor( return true } - return /* spotless:off */ other is BlockStopTime && accumulatedSlackTime == other.accumulatedSlackTime && blockSequence == other.blockSequence && distanceAlongBlock == other.distanceAlongBlock && stopTime == other.stopTime && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BlockStopTime && + accumulatedSlackTime == other.accumulatedSlackTime && + blockSequence == other.blockSequence && + distanceAlongBlock == other.distanceAlongBlock && + stopTime == other.stopTime && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accumulatedSlackTime, blockSequence, distanceAlongBlock, stopTime, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + accumulatedSlackTime, + blockSequence, + distanceAlongBlock, + stopTime, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1899,12 +1923,23 @@ private constructor( return true } - return /* spotless:off */ other is Trip && accumulatedSlackTime == other.accumulatedSlackTime && blockStopTimes == other.blockStopTimes && distanceAlongBlock == other.distanceAlongBlock && tripId == other.tripId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Trip && + accumulatedSlackTime == other.accumulatedSlackTime && + blockStopTimes == other.blockStopTimes && + distanceAlongBlock == other.distanceAlongBlock && + tripId == other.tripId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accumulatedSlackTime, blockStopTimes, distanceAlongBlock, tripId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + accumulatedSlackTime, + blockStopTimes, + distanceAlongBlock, + tripId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1917,12 +1952,16 @@ private constructor( return true } - return /* spotless:off */ other is Configuration && activeServiceIds == other.activeServiceIds && trips == other.trips && inactiveServiceIds == other.inactiveServiceIds && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Configuration && + activeServiceIds == other.activeServiceIds && + trips == other.trips && + inactiveServiceIds == other.inactiveServiceIds && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeServiceIds, trips, inactiveServiceIds, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(activeServiceIds, trips, inactiveServiceIds, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1935,12 +1974,15 @@ private constructor( return true } - return /* spotless:off */ other is Entry && id == other.id && configurations == other.configurations && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + id == other.id && + configurations == other.configurations && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, configurations, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(id, configurations, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1953,12 +1995,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -1971,12 +2014,18 @@ private constructor( return true } - return /* spotless:off */ other is BlockRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BlockRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveParams.kt index 5ba636f..a57ceb1 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveParams.kt @@ -158,10 +158,12 @@ private constructor( return true } - return /* spotless:off */ other is ConfigRetrieveParams && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ConfigRetrieveParams && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(additionalHeaders, additionalQueryParams) override fun toString() = "ConfigRetrieveParams{additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveResponse.kt index ab640a3..ff00298 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/config/ConfigRetrieveResponse.kt @@ -1663,12 +1663,55 @@ private constructor( return true } - return /* spotless:off */ other is GitProperties && gitBranch == other.gitBranch && gitBuildHost == other.gitBuildHost && gitBuildTime == other.gitBuildTime && gitBuildUserEmail == other.gitBuildUserEmail && gitBuildUserName == other.gitBuildUserName && gitBuildVersion == other.gitBuildVersion && gitClosestTagCommitCount == other.gitClosestTagCommitCount && gitClosestTagName == other.gitClosestTagName && gitCommitId == other.gitCommitId && gitCommitIdAbbrev == other.gitCommitIdAbbrev && gitCommitIdDescribe == other.gitCommitIdDescribe && gitCommitIdDescribeShort == other.gitCommitIdDescribeShort && gitCommitMessageFull == other.gitCommitMessageFull && gitCommitMessageShort == other.gitCommitMessageShort && gitCommitTime == other.gitCommitTime && gitCommitUserEmail == other.gitCommitUserEmail && gitCommitUserName == other.gitCommitUserName && gitDirty == other.gitDirty && gitRemoteOriginUrl == other.gitRemoteOriginUrl && gitTags == other.gitTags && additionalProperties == other.additionalProperties /* spotless:on */ + return other is GitProperties && + gitBranch == other.gitBranch && + gitBuildHost == other.gitBuildHost && + gitBuildTime == other.gitBuildTime && + gitBuildUserEmail == other.gitBuildUserEmail && + gitBuildUserName == other.gitBuildUserName && + gitBuildVersion == other.gitBuildVersion && + gitClosestTagCommitCount == other.gitClosestTagCommitCount && + gitClosestTagName == other.gitClosestTagName && + gitCommitId == other.gitCommitId && + gitCommitIdAbbrev == other.gitCommitIdAbbrev && + gitCommitIdDescribe == other.gitCommitIdDescribe && + gitCommitIdDescribeShort == other.gitCommitIdDescribeShort && + gitCommitMessageFull == other.gitCommitMessageFull && + gitCommitMessageShort == other.gitCommitMessageShort && + gitCommitTime == other.gitCommitTime && + gitCommitUserEmail == other.gitCommitUserEmail && + gitCommitUserName == other.gitCommitUserName && + gitDirty == other.gitDirty && + gitRemoteOriginUrl == other.gitRemoteOriginUrl && + gitTags == other.gitTags && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(gitBranch, gitBuildHost, gitBuildTime, gitBuildUserEmail, gitBuildUserName, gitBuildVersion, gitClosestTagCommitCount, gitClosestTagName, gitCommitId, gitCommitIdAbbrev, gitCommitIdDescribe, gitCommitIdDescribeShort, gitCommitMessageFull, gitCommitMessageShort, gitCommitTime, gitCommitUserEmail, gitCommitUserName, gitDirty, gitRemoteOriginUrl, gitTags, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + gitBranch, + gitBuildHost, + gitBuildTime, + gitBuildUserEmail, + gitBuildUserName, + gitBuildVersion, + gitClosestTagCommitCount, + gitClosestTagName, + gitCommitId, + gitCommitIdAbbrev, + gitCommitIdDescribe, + gitCommitIdDescribeShort, + gitCommitMessageFull, + gitCommitMessageShort, + gitCommitTime, + gitCommitUserEmail, + gitCommitUserName, + gitDirty, + gitRemoteOriginUrl, + gitTags, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1681,12 +1724,25 @@ private constructor( return true } - return /* spotless:off */ other is Entry && id == other.id && gitProperties == other.gitProperties && name == other.name && serviceDateFrom == other.serviceDateFrom && serviceDateTo == other.serviceDateTo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + id == other.id && + gitProperties == other.gitProperties && + name == other.name && + serviceDateFrom == other.serviceDateFrom && + serviceDateTo == other.serviceDateTo && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, gitProperties, name, serviceDateFrom, serviceDateTo, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + gitProperties, + name, + serviceDateFrom, + serviceDateTo, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1699,12 +1755,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -1717,12 +1774,18 @@ private constructor( return true } - return /* spotless:off */ other is ConfigRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ConfigRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveParams.kt index 3b6c608..92dcc27 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveParams.kt @@ -160,10 +160,12 @@ private constructor( return true } - return /* spotless:off */ other is CurrentTimeRetrieveParams && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CurrentTimeRetrieveParams && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(additionalHeaders, additionalQueryParams) override fun toString() = "CurrentTimeRetrieveParams{additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveResponse.kt index c95fdac..f5949dd 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/currenttime/CurrentTimeRetrieveResponse.kt @@ -639,12 +639,15 @@ private constructor( return true } - return /* spotless:off */ other is Entry && readableTime == other.readableTime && time == other.time && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + readableTime == other.readableTime && + time == other.time && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(readableTime, time, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(readableTime, time, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -657,12 +660,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -675,12 +679,18 @@ private constructor( return true } - return /* spotless:off */ other is CurrentTimeRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CurrentTimeRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithstop/ReportProblemWithStopRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithstop/ReportProblemWithStopRetrieveParams.kt index ee6cfa0..e312c7c 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithstop/ReportProblemWithStopRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithstop/ReportProblemWithStopRetrieveParams.kt @@ -426,7 +426,7 @@ private constructor( return true } - return /* spotless:off */ other is Code && value == other.value /* spotless:on */ + return other is Code && value == other.value } override fun hashCode() = value.hashCode() @@ -439,10 +439,28 @@ private constructor( return true } - return /* spotless:off */ other is ReportProblemWithStopRetrieveParams && stopId == other.stopId && code == other.code && userComment == other.userComment && userLat == other.userLat && userLocationAccuracy == other.userLocationAccuracy && userLon == other.userLon && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ReportProblemWithStopRetrieveParams && + stopId == other.stopId && + code == other.code && + userComment == other.userComment && + userLat == other.userLat && + userLocationAccuracy == other.userLocationAccuracy && + userLon == other.userLon && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(stopId, code, userComment, userLat, userLocationAccuracy, userLon, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + stopId, + code, + userComment, + userLat, + userLocationAccuracy, + userLon, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "ReportProblemWithStopRetrieveParams{stopId=$stopId, code=$code, userComment=$userComment, userLat=$userLat, userLocationAccuracy=$userLocationAccuracy, userLon=$userLon, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithtrip/ReportProblemWithTripRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithtrip/ReportProblemWithTripRetrieveParams.kt index 26806c5..8ced8bf 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithtrip/ReportProblemWithTripRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/reportproblemwithtrip/ReportProblemWithTripRetrieveParams.kt @@ -520,7 +520,7 @@ private constructor( return true } - return /* spotless:off */ other is Code && value == other.value /* spotless:on */ + return other is Code && value == other.value } override fun hashCode() = value.hashCode() @@ -533,10 +533,38 @@ private constructor( return true } - return /* spotless:off */ other is ReportProblemWithTripRetrieveParams && tripId == other.tripId && code == other.code && serviceDate == other.serviceDate && stopId == other.stopId && userComment == other.userComment && userLat == other.userLat && userLocationAccuracy == other.userLocationAccuracy && userLon == other.userLon && userOnVehicle == other.userOnVehicle && userVehicleNumber == other.userVehicleNumber && vehicleId == other.vehicleId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ReportProblemWithTripRetrieveParams && + tripId == other.tripId && + code == other.code && + serviceDate == other.serviceDate && + stopId == other.stopId && + userComment == other.userComment && + userLat == other.userLat && + userLocationAccuracy == other.userLocationAccuracy && + userLon == other.userLon && + userOnVehicle == other.userOnVehicle && + userVehicleNumber == other.userVehicleNumber && + vehicleId == other.vehicleId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(tripId, code, serviceDate, stopId, userComment, userLat, userLocationAccuracy, userLon, userOnVehicle, userVehicleNumber, vehicleId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + tripId, + code, + serviceDate, + stopId, + userComment, + userLat, + userLocationAccuracy, + userLon, + userOnVehicle, + userVehicleNumber, + vehicleId, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "ReportProblemWithTripRetrieveParams{tripId=$tripId, code=$code, serviceDate=$serviceDate, stopId=$stopId, userComment=$userComment, userLat=$userLat, userLocationAccuracy=$userLocationAccuracy, userLon=$userLon, userOnVehicle=$userOnVehicle, userVehicleNumber=$userVehicleNumber, vehicleId=$vehicleId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveParams.kt index 58089cc..96f1996 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveParams.kt @@ -176,10 +176,13 @@ private constructor( return true } - return /* spotless:off */ other is RouteRetrieveParams && routeId == other.routeId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is RouteRetrieveParams && + routeId == other.routeId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(routeId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(routeId, additionalHeaders, additionalQueryParams) override fun toString() = "RouteRetrieveParams{routeId=$routeId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveResponse.kt index 6a07eea..bb269dd 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/route/RouteRetrieveResponse.kt @@ -950,12 +950,35 @@ private constructor( return true } - return /* spotless:off */ other is Entry && id == other.id && agencyId == other.agencyId && type == other.type && color == other.color && description == other.description && longName == other.longName && nullSafeShortName == other.nullSafeShortName && shortName == other.shortName && textColor == other.textColor && url == other.url && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + id == other.id && + agencyId == other.agencyId && + type == other.type && + color == other.color && + description == other.description && + longName == other.longName && + nullSafeShortName == other.nullSafeShortName && + shortName == other.shortName && + textColor == other.textColor && + url == other.url && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, agencyId, type, color, description, longName, nullSafeShortName, shortName, textColor, url, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + agencyId, + type, + color, + description, + longName, + nullSafeShortName, + shortName, + textColor, + url, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -968,12 +991,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -986,12 +1010,18 @@ private constructor( return true } - return /* spotless:off */ other is RouteRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RouteRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListParams.kt index cf47099..064ef6d 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListParams.kt @@ -182,10 +182,13 @@ private constructor( return true } - return /* spotless:off */ other is RouteIdsForAgencyListParams && agencyId == other.agencyId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is RouteIdsForAgencyListParams && + agencyId == other.agencyId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(agencyId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(agencyId, additionalHeaders, additionalQueryParams) override fun toString() = "RouteIdsForAgencyListParams{agencyId=$agencyId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListResponse.kt index f1077e5..c2430ae 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routeidsforagency/RouteIdsForAgencyListResponse.kt @@ -534,12 +534,16 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -552,12 +556,18 @@ private constructor( return true } - return /* spotless:off */ other is RouteIdsForAgencyListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RouteIdsForAgencyListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListParams.kt index 1378f96..54f2a5a 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListParams.kt @@ -182,10 +182,13 @@ private constructor( return true } - return /* spotless:off */ other is RoutesForAgencyListParams && agencyId == other.agencyId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is RoutesForAgencyListParams && + agencyId == other.agencyId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(agencyId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(agencyId, additionalHeaders, additionalQueryParams) override fun toString() = "RoutesForAgencyListParams{agencyId=$agencyId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListResponse.kt index ff092f7..95ffc88 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforagency/RoutesForAgencyListResponse.kt @@ -1010,12 +1010,35 @@ private constructor( return true } - return /* spotless:off */ other is List && id == other.id && agencyId == other.agencyId && type == other.type && color == other.color && description == other.description && longName == other.longName && nullSafeShortName == other.nullSafeShortName && shortName == other.shortName && textColor == other.textColor && url == other.url && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + id == other.id && + agencyId == other.agencyId && + type == other.type && + color == other.color && + description == other.description && + longName == other.longName && + nullSafeShortName == other.nullSafeShortName && + shortName == other.shortName && + textColor == other.textColor && + url == other.url && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, agencyId, type, color, description, longName, nullSafeShortName, shortName, textColor, url, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + agencyId, + type, + color, + description, + longName, + nullSafeShortName, + shortName, + textColor, + url, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1028,12 +1051,16 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1046,12 +1073,18 @@ private constructor( return true } - return /* spotless:off */ other is RoutesForAgencyListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RoutesForAgencyListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListParams.kt index b0bfb81..c4b1ee9 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListParams.kt @@ -270,10 +270,28 @@ private constructor( return true } - return /* spotless:off */ other is RoutesForLocationListParams && lat == other.lat && lon == other.lon && latSpan == other.latSpan && lonSpan == other.lonSpan && query == other.query && radius == other.radius && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is RoutesForLocationListParams && + lat == other.lat && + lon == other.lon && + latSpan == other.latSpan && + lonSpan == other.lonSpan && + query == other.query && + radius == other.radius && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(lat, lon, latSpan, lonSpan, query, radius, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + lat, + lon, + latSpan, + lonSpan, + query, + radius, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "RoutesForLocationListParams{lat=$lat, lon=$lon, latSpan=$latSpan, lonSpan=$lonSpan, query=$query, radius=$radius, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListResponse.kt index 3aab1b2..1ceedd9 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/routesforlocation/RoutesForLocationListResponse.kt @@ -1048,12 +1048,35 @@ private constructor( return true } - return /* spotless:off */ other is List && id == other.id && agencyId == other.agencyId && type == other.type && color == other.color && description == other.description && longName == other.longName && nullSafeShortName == other.nullSafeShortName && shortName == other.shortName && textColor == other.textColor && url == other.url && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + id == other.id && + agencyId == other.agencyId && + type == other.type && + color == other.color && + description == other.description && + longName == other.longName && + nullSafeShortName == other.nullSafeShortName && + shortName == other.shortName && + textColor == other.textColor && + url == other.url && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, agencyId, type, color, description, longName, nullSafeShortName, shortName, textColor, url, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + agencyId, + type, + color, + description, + longName, + nullSafeShortName, + shortName, + textColor, + url, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1066,12 +1089,17 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && outOfRange == other.outOfRange && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + outOfRange == other.outOfRange && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1084,12 +1112,18 @@ private constructor( return true } - return /* spotless:off */ other is RoutesForLocationListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RoutesForLocationListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveParams.kt index 94344a7..eafeb3d 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveParams.kt @@ -209,10 +209,15 @@ private constructor( return true } - return /* spotless:off */ other is ScheduleForRouteRetrieveParams && routeId == other.routeId && date == other.date && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ScheduleForRouteRetrieveParams && + routeId == other.routeId && + date == other.date && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(routeId, date, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(routeId, date, additionalHeaders, additionalQueryParams) override fun toString() = "ScheduleForRouteRetrieveParams{routeId=$routeId, date=$date, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveResponse.kt index 85a3f93..7ad6090 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforroute/ScheduleForRouteRetrieveResponse.kt @@ -1404,12 +1404,37 @@ private constructor( return true } - return /* spotless:off */ other is Stop && id == other.id && lat == other.lat && locationType == other.locationType && lon == other.lon && name == other.name && parent == other.parent && routeIds == other.routeIds && staticRouteIds == other.staticRouteIds && code == other.code && direction == other.direction && wheelchairBoarding == other.wheelchairBoarding && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Stop && + id == other.id && + lat == other.lat && + locationType == other.locationType && + lon == other.lon && + name == other.name && + parent == other.parent && + routeIds == other.routeIds && + staticRouteIds == other.staticRouteIds && + code == other.code && + direction == other.direction && + wheelchairBoarding == other.wheelchairBoarding && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, code, direction, wheelchairBoarding, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + lat, + locationType, + lon, + name, + parent, + routeIds, + staticRouteIds, + code, + direction, + wheelchairBoarding, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2449,12 +2474,31 @@ private constructor( return true } - return /* spotless:off */ other is StopTime && arrivalEnabled == other.arrivalEnabled && arrivalTime == other.arrivalTime && departureEnabled == other.departureEnabled && departureTime == other.departureTime && stopId == other.stopId && tripId == other.tripId && serviceId == other.serviceId && stopHeadsign == other.stopHeadsign && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTime && + arrivalEnabled == other.arrivalEnabled && + arrivalTime == other.arrivalTime && + departureEnabled == other.departureEnabled && + departureTime == other.departureTime && + stopId == other.stopId && + tripId == other.tripId && + serviceId == other.serviceId && + stopHeadsign == other.stopHeadsign && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalEnabled, arrivalTime, departureEnabled, departureTime, stopId, tripId, serviceId, stopHeadsign, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalEnabled, + arrivalTime, + departureEnabled, + departureTime, + stopId, + tripId, + serviceId, + stopHeadsign, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2467,12 +2511,15 @@ private constructor( return true } - return /* spotless:off */ other is TripsWithStopTime && stopTimes == other.stopTimes && tripId == other.tripId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripsWithStopTime && + stopTimes == other.stopTimes && + tripId == other.tripId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(stopTimes, tripId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(stopTimes, tripId, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2485,12 +2532,25 @@ private constructor( return true } - return /* spotless:off */ other is StopTripGrouping && directionId == other.directionId && stopIds == other.stopIds && tripHeadsigns == other.tripHeadsigns && tripIds == other.tripIds && tripsWithStopTimes == other.tripsWithStopTimes && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTripGrouping && + directionId == other.directionId && + stopIds == other.stopIds && + tripHeadsigns == other.tripHeadsigns && + tripIds == other.tripIds && + tripsWithStopTimes == other.tripsWithStopTimes && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(directionId, stopIds, tripHeadsigns, tripIds, tripsWithStopTimes, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + directionId, + stopIds, + tripHeadsigns, + tripIds, + tripsWithStopTimes, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3035,12 +3095,37 @@ private constructor( return true } - return /* spotless:off */ other is Trip && id == other.id && routeId == other.routeId && serviceId == other.serviceId && blockId == other.blockId && directionId == other.directionId && peakOffpeak == other.peakOffpeak && routeShortName == other.routeShortName && shapeId == other.shapeId && timeZone == other.timeZone && tripHeadsign == other.tripHeadsign && tripShortName == other.tripShortName && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Trip && + id == other.id && + routeId == other.routeId && + serviceId == other.serviceId && + blockId == other.blockId && + directionId == other.directionId && + peakOffpeak == other.peakOffpeak && + routeShortName == other.routeShortName && + shapeId == other.shapeId && + timeZone == other.timeZone && + tripHeadsign == other.tripHeadsign && + tripShortName == other.tripShortName && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, routeId, serviceId, blockId, directionId, peakOffpeak, routeShortName, shapeId, timeZone, tripHeadsign, tripShortName, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + routeId, + serviceId, + blockId, + directionId, + peakOffpeak, + routeShortName, + shapeId, + timeZone, + tripHeadsign, + tripShortName, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3053,12 +3138,27 @@ private constructor( return true } - return /* spotless:off */ other is Entry && routeId == other.routeId && scheduleDate == other.scheduleDate && serviceIds == other.serviceIds && stops == other.stops && stopTripGroupings == other.stopTripGroupings && trips == other.trips && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + routeId == other.routeId && + scheduleDate == other.scheduleDate && + serviceIds == other.serviceIds && + stops == other.stops && + stopTripGroupings == other.stopTripGroupings && + trips == other.trips && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(routeId, scheduleDate, serviceIds, stops, stopTripGroupings, trips, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + routeId, + scheduleDate, + serviceIds, + stops, + stopTripGroupings, + trips, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3071,12 +3171,12 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -3088,12 +3188,18 @@ private constructor( return true } - return /* spotless:off */ other is ScheduleForRouteRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ScheduleForRouteRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveParams.kt index 45264f2..89b107b 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveParams.kt @@ -209,10 +209,15 @@ private constructor( return true } - return /* spotless:off */ other is ScheduleForStopRetrieveParams && stopId == other.stopId && date == other.date && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ScheduleForStopRetrieveParams && + stopId == other.stopId && + date == other.date && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(stopId, date, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(stopId, date, additionalHeaders, additionalQueryParams) override fun toString() = "ScheduleForStopRetrieveParams{stopId=$stopId, date=$date, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveResponse.kt index d9e6767..db47c43 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/scheduleforstop/ScheduleForStopRetrieveResponse.kt @@ -1638,12 +1638,29 @@ private constructor( return true } - return /* spotless:off */ other is ScheduleStopTime && arrivalEnabled == other.arrivalEnabled && arrivalTime == other.arrivalTime && departureEnabled == other.departureEnabled && departureTime == other.departureTime && serviceId == other.serviceId && tripId == other.tripId && stopHeadsign == other.stopHeadsign && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ScheduleStopTime && + arrivalEnabled == other.arrivalEnabled && + arrivalTime == other.arrivalTime && + departureEnabled == other.departureEnabled && + departureTime == other.departureTime && + serviceId == other.serviceId && + tripId == other.tripId && + stopHeadsign == other.stopHeadsign && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalEnabled, arrivalTime, departureEnabled, departureTime, serviceId, tripId, stopHeadsign, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalEnabled, + arrivalTime, + departureEnabled, + departureTime, + serviceId, + tripId, + stopHeadsign, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2018,12 +2035,27 @@ private constructor( return true } - return /* spotless:off */ other is ScheduleFrequency && endTime == other.endTime && headway == other.headway && serviceDate == other.serviceDate && serviceId == other.serviceId && startTime == other.startTime && tripId == other.tripId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ScheduleFrequency && + endTime == other.endTime && + headway == other.headway && + serviceDate == other.serviceDate && + serviceId == other.serviceId && + startTime == other.startTime && + tripId == other.tripId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(endTime, headway, serviceDate, serviceId, startTime, tripId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + endTime, + headway, + serviceDate, + serviceId, + startTime, + tripId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2036,12 +2068,21 @@ private constructor( return true } - return /* spotless:off */ other is StopRouteDirectionSchedule && scheduleStopTimes == other.scheduleStopTimes && tripHeadsign == other.tripHeadsign && scheduleFrequencies == other.scheduleFrequencies && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopRouteDirectionSchedule && + scheduleStopTimes == other.scheduleStopTimes && + tripHeadsign == other.tripHeadsign && + scheduleFrequencies == other.scheduleFrequencies && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(scheduleStopTimes, tripHeadsign, scheduleFrequencies, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + scheduleStopTimes, + tripHeadsign, + scheduleFrequencies, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2054,12 +2095,15 @@ private constructor( return true } - return /* spotless:off */ other is StopRouteSchedule && routeId == other.routeId && stopRouteDirectionSchedules == other.stopRouteDirectionSchedules && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopRouteSchedule && + routeId == other.routeId && + stopRouteDirectionSchedules == other.stopRouteDirectionSchedules && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(routeId, stopRouteDirectionSchedules, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(routeId, stopRouteDirectionSchedules, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2072,12 +2116,16 @@ private constructor( return true } - return /* spotless:off */ other is Entry && date == other.date && stopId == other.stopId && stopRouteSchedules == other.stopRouteSchedules && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + date == other.date && + stopId == other.stopId && + stopRouteSchedules == other.stopRouteSchedules && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(date, stopId, stopRouteSchedules, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(date, stopId, stopRouteSchedules, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2090,12 +2138,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -2108,12 +2157,18 @@ private constructor( return true } - return /* spotless:off */ other is ScheduleForStopRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ScheduleForStopRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListParams.kt index fd98a3d..be82be5 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListParams.kt @@ -213,10 +213,15 @@ private constructor( return true } - return /* spotless:off */ other is SearchForRouteListParams && input == other.input && maxCount == other.maxCount && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is SearchForRouteListParams && + input == other.input && + maxCount == other.maxCount && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(input, maxCount, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(input, maxCount, additionalHeaders, additionalQueryParams) override fun toString() = "SearchForRouteListParams{input=$input, maxCount=$maxCount, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListResponse.kt index 36fe683..82901f2 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforroute/SearchForRouteListResponse.kt @@ -1045,12 +1045,35 @@ private constructor( return true } - return /* spotless:off */ other is List && id == other.id && agencyId == other.agencyId && type == other.type && color == other.color && description == other.description && longName == other.longName && nullSafeShortName == other.nullSafeShortName && shortName == other.shortName && textColor == other.textColor && url == other.url && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + id == other.id && + agencyId == other.agencyId && + type == other.type && + color == other.color && + description == other.description && + longName == other.longName && + nullSafeShortName == other.nullSafeShortName && + shortName == other.shortName && + textColor == other.textColor && + url == other.url && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, agencyId, type, color, description, longName, nullSafeShortName, shortName, textColor, url, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + agencyId, + type, + color, + description, + longName, + nullSafeShortName, + shortName, + textColor, + url, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1063,12 +1086,17 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && outOfRange == other.outOfRange && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + outOfRange == other.outOfRange && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1081,12 +1109,18 @@ private constructor( return true } - return /* spotless:off */ other is SearchForRouteListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SearchForRouteListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListParams.kt index 3cb5849..e0cf2ee 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListParams.kt @@ -213,10 +213,15 @@ private constructor( return true } - return /* spotless:off */ other is SearchForStopListParams && input == other.input && maxCount == other.maxCount && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is SearchForStopListParams && + input == other.input && + maxCount == other.maxCount && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(input, maxCount, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(input, maxCount, additionalHeaders, additionalQueryParams) override fun toString() = "SearchForStopListParams{input=$input, maxCount=$maxCount, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListResponse.kt index 946d49e..9d2eaca 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/searchforstop/SearchForStopListResponse.kt @@ -1125,12 +1125,37 @@ private constructor( return true } - return /* spotless:off */ other is List && id == other.id && lat == other.lat && locationType == other.locationType && lon == other.lon && name == other.name && parent == other.parent && routeIds == other.routeIds && staticRouteIds == other.staticRouteIds && code == other.code && direction == other.direction && wheelchairBoarding == other.wheelchairBoarding && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + id == other.id && + lat == other.lat && + locationType == other.locationType && + lon == other.lon && + name == other.name && + parent == other.parent && + routeIds == other.routeIds && + staticRouteIds == other.staticRouteIds && + code == other.code && + direction == other.direction && + wheelchairBoarding == other.wheelchairBoarding && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, code, direction, wheelchairBoarding, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + lat, + locationType, + lon, + name, + parent, + routeIds, + staticRouteIds, + code, + direction, + wheelchairBoarding, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1143,12 +1168,17 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && outOfRange == other.outOfRange && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + outOfRange == other.outOfRange && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1161,12 +1191,18 @@ private constructor( return true } - return /* spotless:off */ other is SearchForStopListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SearchForStopListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveParams.kt index 83cec42..de4c38a 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveParams.kt @@ -176,10 +176,13 @@ private constructor( return true } - return /* spotless:off */ other is ShapeRetrieveParams && shapeId == other.shapeId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ShapeRetrieveParams && + shapeId == other.shapeId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(shapeId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(shapeId, additionalHeaders, additionalQueryParams) override fun toString() = "ShapeRetrieveParams{shapeId=$shapeId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveResponse.kt index 66447f0..9c860db 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/shape/ShapeRetrieveResponse.kt @@ -691,12 +691,16 @@ private constructor( return true } - return /* spotless:off */ other is Entry && length == other.length && points == other.points && levels == other.levels && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + length == other.length && + points == other.points && + levels == other.levels && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(length, points, levels, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(length, points, levels, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -709,12 +713,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -727,12 +732,18 @@ private constructor( return true } - return /* spotless:off */ other is ShapeRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ShapeRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveParams.kt index e56807a..2f6cb9a 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveParams.kt @@ -176,10 +176,13 @@ private constructor( return true } - return /* spotless:off */ other is StopRetrieveParams && stopId == other.stopId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is StopRetrieveParams && + stopId == other.stopId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(stopId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(stopId, additionalHeaders, additionalQueryParams) override fun toString() = "StopRetrieveParams{stopId=$stopId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveResponse.kt index 559d930..c83dfc0 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stop/StopRetrieveResponse.kt @@ -1029,12 +1029,37 @@ private constructor( return true } - return /* spotless:off */ other is Entry && id == other.id && lat == other.lat && locationType == other.locationType && lon == other.lon && name == other.name && parent == other.parent && routeIds == other.routeIds && staticRouteIds == other.staticRouteIds && code == other.code && direction == other.direction && wheelchairBoarding == other.wheelchairBoarding && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + id == other.id && + lat == other.lat && + locationType == other.locationType && + lon == other.lon && + name == other.name && + parent == other.parent && + routeIds == other.routeIds && + staticRouteIds == other.staticRouteIds && + code == other.code && + direction == other.direction && + wheelchairBoarding == other.wheelchairBoarding && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, code, direction, wheelchairBoarding, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + lat, + locationType, + lon, + name, + parent, + routeIds, + staticRouteIds, + code, + direction, + wheelchairBoarding, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1047,12 +1072,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -1065,12 +1091,18 @@ private constructor( return true } - return /* spotless:off */ other is StopRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListParams.kt index f28c344..ff5456d 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListParams.kt @@ -182,10 +182,13 @@ private constructor( return true } - return /* spotless:off */ other is StopIdsForAgencyListParams && agencyId == other.agencyId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is StopIdsForAgencyListParams && + agencyId == other.agencyId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(agencyId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(agencyId, additionalHeaders, additionalQueryParams) override fun toString() = "StopIdsForAgencyListParams{agencyId=$agencyId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListResponse.kt index 75f6f06..a2cf95e 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopidsforagency/StopIdsForAgencyListResponse.kt @@ -533,12 +533,16 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -551,12 +555,18 @@ private constructor( return true } - return /* spotless:off */ other is StopIdsForAgencyListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopIdsForAgencyListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListParams.kt index f2f8e70..fbbd1c1 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListParams.kt @@ -180,10 +180,13 @@ private constructor( return true } - return /* spotless:off */ other is StopsForAgencyListParams && agencyId == other.agencyId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is StopsForAgencyListParams && + agencyId == other.agencyId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(agencyId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(agencyId, additionalHeaders, additionalQueryParams) override fun toString() = "StopsForAgencyListParams{agencyId=$agencyId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListResponse.kt index 8e3f66e..766f386 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforagency/StopsForAgencyListResponse.kt @@ -973,12 +973,37 @@ private constructor( return true } - return /* spotless:off */ other is List && id == other.id && lat == other.lat && locationType == other.locationType && lon == other.lon && name == other.name && parent == other.parent && routeIds == other.routeIds && staticRouteIds == other.staticRouteIds && code == other.code && direction == other.direction && wheelchairBoarding == other.wheelchairBoarding && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + id == other.id && + lat == other.lat && + locationType == other.locationType && + lon == other.lon && + name == other.name && + parent == other.parent && + routeIds == other.routeIds && + staticRouteIds == other.staticRouteIds && + code == other.code && + direction == other.direction && + wheelchairBoarding == other.wheelchairBoarding && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, code, direction, wheelchairBoarding, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + lat, + locationType, + lon, + name, + parent, + routeIds, + staticRouteIds, + code, + direction, + wheelchairBoarding, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -991,12 +1016,31 @@ private constructor( return true } - return /* spotless:off */ other is StopsForAgencyListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && limitExceeded == other.limitExceeded && list == other.list && references == other.references && outOfRange == other.outOfRange && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopsForAgencyListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + outOfRange == other.outOfRange && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, limitExceeded, list, references, outOfRange, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + code, + currentTime, + text, + version, + limitExceeded, + list, + references, + outOfRange, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListParams.kt index 5104953..d153274 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListParams.kt @@ -278,10 +278,28 @@ private constructor( return true } - return /* spotless:off */ other is StopsForLocationListParams && lat == other.lat && lon == other.lon && latSpan == other.latSpan && lonSpan == other.lonSpan && query == other.query && radius == other.radius && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is StopsForLocationListParams && + lat == other.lat && + lon == other.lon && + latSpan == other.latSpan && + lonSpan == other.lonSpan && + query == other.query && + radius == other.radius && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(lat, lon, latSpan, lonSpan, query, radius, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + lat, + lon, + latSpan, + lonSpan, + query, + radius, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "StopsForLocationListParams{lat=$lat, lon=$lon, latSpan=$latSpan, lonSpan=$lonSpan, query=$query, radius=$radius, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListResponse.kt index 3d00f7a..75b5dbf 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforlocation/StopsForLocationListResponse.kt @@ -1125,12 +1125,37 @@ private constructor( return true } - return /* spotless:off */ other is List && id == other.id && lat == other.lat && locationType == other.locationType && lon == other.lon && name == other.name && parent == other.parent && routeIds == other.routeIds && staticRouteIds == other.staticRouteIds && code == other.code && direction == other.direction && wheelchairBoarding == other.wheelchairBoarding && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + id == other.id && + lat == other.lat && + locationType == other.locationType && + lon == other.lon && + name == other.name && + parent == other.parent && + routeIds == other.routeIds && + staticRouteIds == other.staticRouteIds && + code == other.code && + direction == other.direction && + wheelchairBoarding == other.wheelchairBoarding && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, code, direction, wheelchairBoarding, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + lat, + locationType, + lon, + name, + parent, + routeIds, + staticRouteIds, + code, + direction, + wheelchairBoarding, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1143,12 +1168,17 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && outOfRange == other.outOfRange && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + outOfRange == other.outOfRange && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, outOfRange, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, outOfRange, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1161,12 +1191,18 @@ private constructor( return true } - return /* spotless:off */ other is StopsForLocationListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopsForLocationListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListParams.kt index 6a58c9f..482ccd5 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListParams.kt @@ -224,10 +224,16 @@ private constructor( return true } - return /* spotless:off */ other is StopsForRouteListParams && routeId == other.routeId && includePolylines == other.includePolylines && time == other.time && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is StopsForRouteListParams && + routeId == other.routeId && + includePolylines == other.includePolylines && + time == other.time && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(routeId, includePolylines, time, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(routeId, includePolylines, time, additionalHeaders, additionalQueryParams) override fun toString() = "StopsForRouteListParams{routeId=$routeId, includePolylines=$includePolylines, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListResponse.kt index 8dbd809..e99d6a5 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/stopsforroute/StopsForRouteListResponse.kt @@ -955,12 +955,16 @@ private constructor( return true } - return /* spotless:off */ other is Polyline && length == other.length && levels == other.levels && points == other.points && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Polyline && + length == other.length && + levels == other.levels && + points == other.points && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(length, levels, points, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(length, levels, points, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1450,12 +1454,16 @@ private constructor( return true } - return /* spotless:off */ other is Name && name == other.name && names == other.names && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Name && + name == other.name && + names == other.names && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(name, names, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(name, names, type, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1667,12 +1675,16 @@ private constructor( return true } - return /* spotless:off */ other is Polyline && length == other.length && levels == other.levels && points == other.points && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Polyline && + length == other.length && + levels == other.levels && + points == other.points && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(length, levels, points, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(length, levels, points, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1685,12 +1697,17 @@ private constructor( return true } - return /* spotless:off */ other is StopGrouping && id == other.id && name == other.name && polylines == other.polylines && stopIds == other.stopIds && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopGrouping && + id == other.id && + name == other.name && + polylines == other.polylines && + stopIds == other.stopIds && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, name, polylines, stopIds, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(id, name, polylines, stopIds, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1703,12 +1720,17 @@ private constructor( return true } - return /* spotless:off */ other is Entry && polylines == other.polylines && routeId == other.routeId && stopGroupings == other.stopGroupings && stopIds == other.stopIds && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + polylines == other.polylines && + routeId == other.routeId && + stopGroupings == other.stopGroupings && + stopIds == other.stopIds && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(polylines, routeId, stopGroupings, stopIds, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(polylines, routeId, stopGroupings, stopIds, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1721,12 +1743,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -1739,12 +1762,18 @@ private constructor( return true } - return /* spotless:off */ other is StopsForRouteListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopsForRouteListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveParams.kt index d9357e6..81a8519 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveParams.kt @@ -176,10 +176,13 @@ private constructor( return true } - return /* spotless:off */ other is TripRetrieveParams && tripId == other.tripId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is TripRetrieveParams && + tripId == other.tripId && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(tripId, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(tripId, additionalHeaders, additionalQueryParams) override fun toString() = "TripRetrieveParams{tripId=$tripId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveResponse.kt index f264aa5..d54d25f 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/trip/TripRetrieveResponse.kt @@ -1001,12 +1001,37 @@ private constructor( return true } - return /* spotless:off */ other is Entry && id == other.id && routeId == other.routeId && serviceId == other.serviceId && blockId == other.blockId && directionId == other.directionId && peakOffpeak == other.peakOffpeak && routeShortName == other.routeShortName && shapeId == other.shapeId && timeZone == other.timeZone && tripHeadsign == other.tripHeadsign && tripShortName == other.tripShortName && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + id == other.id && + routeId == other.routeId && + serviceId == other.serviceId && + blockId == other.blockId && + directionId == other.directionId && + peakOffpeak == other.peakOffpeak && + routeShortName == other.routeShortName && + shapeId == other.shapeId && + timeZone == other.timeZone && + tripHeadsign == other.tripHeadsign && + tripShortName == other.tripShortName && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, routeId, serviceId, blockId, directionId, peakOffpeak, routeShortName, shapeId, timeZone, tripHeadsign, tripShortName, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + id, + routeId, + serviceId, + blockId, + directionId, + peakOffpeak, + routeShortName, + shapeId, + timeZone, + tripHeadsign, + tripShortName, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1019,12 +1044,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -1037,12 +1063,18 @@ private constructor( return true } - return /* spotless:off */ other is TripRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveParams.kt index d7ea489..069b4d4 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveParams.kt @@ -303,10 +303,28 @@ private constructor( return true } - return /* spotless:off */ other is TripDetailRetrieveParams && tripId == other.tripId && includeSchedule == other.includeSchedule && includeStatus == other.includeStatus && includeTrip == other.includeTrip && serviceDate == other.serviceDate && time == other.time && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is TripDetailRetrieveParams && + tripId == other.tripId && + includeSchedule == other.includeSchedule && + includeStatus == other.includeStatus && + includeTrip == other.includeTrip && + serviceDate == other.serviceDate && + time == other.time && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(tripId, includeSchedule, includeStatus, includeTrip, serviceDate, time, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + tripId, + includeSchedule, + includeStatus, + includeTrip, + serviceDate, + time, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "TripDetailRetrieveParams{tripId=$tripId, includeSchedule=$includeSchedule, includeStatus=$includeStatus, includeTrip=$includeTrip, serviceDate=$serviceDate, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveResponse.kt index 06ec303..abc2964 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripdetails/TripDetailRetrieveResponse.kt @@ -1483,12 +1483,27 @@ private constructor( return true } - return /* spotless:off */ other is StopTime && arrivalTime == other.arrivalTime && departureTime == other.departureTime && distanceAlongTrip == other.distanceAlongTrip && historicalOccupancy == other.historicalOccupancy && stopHeadsign == other.stopHeadsign && stopId == other.stopId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTime && + arrivalTime == other.arrivalTime && + departureTime == other.departureTime && + distanceAlongTrip == other.distanceAlongTrip && + historicalOccupancy == other.historicalOccupancy && + stopHeadsign == other.stopHeadsign && + stopId == other.stopId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalTime, + departureTime, + distanceAlongTrip, + historicalOccupancy, + stopHeadsign, + stopId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1501,12 +1516,25 @@ private constructor( return true } - return /* spotless:off */ other is Schedule && nextTripId == other.nextTripId && previousTripId == other.previousTripId && stopTimes == other.stopTimes && timeZone == other.timeZone && frequency == other.frequency && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Schedule && + nextTripId == other.nextTripId && + previousTripId == other.previousTripId && + stopTimes == other.stopTimes && + timeZone == other.timeZone && + frequency == other.frequency && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(nextTripId, previousTripId, stopTimes, timeZone, frequency, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + nextTripId, + previousTripId, + stopTimes, + timeZone, + frequency, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3044,12 +3072,15 @@ private constructor( return true } - return /* spotless:off */ other is LastKnownLocation && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LastKnownLocation && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3231,12 +3262,15 @@ private constructor( return true } - return /* spotless:off */ other is Position && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Position && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3249,12 +3283,69 @@ private constructor( return true } - return /* spotless:off */ other is Status && activeTripId == other.activeTripId && blockTripSequence == other.blockTripSequence && closestStop == other.closestStop && distanceAlongTrip == other.distanceAlongTrip && lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && predicted == other.predicted && scheduleDeviation == other.scheduleDeviation && serviceDate == other.serviceDate && status == other.status && totalDistanceAlongTrip == other.totalDistanceAlongTrip && closestStopTimeOffset == other.closestStopTimeOffset && frequency == other.frequency && lastKnownLocation == other.lastKnownLocation && lastKnownOrientation == other.lastKnownOrientation && nextStop == other.nextStop && nextStopTimeOffset == other.nextStopTimeOffset && orientation == other.orientation && position == other.position && scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && situationIds == other.situationIds && vehicleId == other.vehicleId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Status && + activeTripId == other.activeTripId && + blockTripSequence == other.blockTripSequence && + closestStop == other.closestStop && + distanceAlongTrip == other.distanceAlongTrip && + lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + predicted == other.predicted && + scheduleDeviation == other.scheduleDeviation && + serviceDate == other.serviceDate && + status == other.status && + totalDistanceAlongTrip == other.totalDistanceAlongTrip && + closestStopTimeOffset == other.closestStopTimeOffset && + frequency == other.frequency && + lastKnownLocation == other.lastKnownLocation && + lastKnownOrientation == other.lastKnownOrientation && + nextStop == other.nextStop && + nextStopTimeOffset == other.nextStopTimeOffset && + orientation == other.orientation && + position == other.position && + scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && + situationIds == other.situationIds && + vehicleId == other.vehicleId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeTripId, blockTripSequence, closestStop, distanceAlongTrip, lastKnownDistanceAlongTrip, lastLocationUpdateTime, lastUpdateTime, occupancyCapacity, occupancyCount, occupancyStatus, phase, predicted, scheduleDeviation, serviceDate, status, totalDistanceAlongTrip, closestStopTimeOffset, frequency, lastKnownLocation, lastKnownOrientation, nextStop, nextStopTimeOffset, orientation, position, scheduledDistanceAlongTrip, situationIds, vehicleId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + activeTripId, + blockTripSequence, + closestStop, + distanceAlongTrip, + lastKnownDistanceAlongTrip, + lastLocationUpdateTime, + lastUpdateTime, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + predicted, + scheduleDeviation, + serviceDate, + status, + totalDistanceAlongTrip, + closestStopTimeOffset, + frequency, + lastKnownLocation, + lastKnownOrientation, + nextStop, + nextStopTimeOffset, + orientation, + position, + scheduledDistanceAlongTrip, + situationIds, + vehicleId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3267,12 +3358,27 @@ private constructor( return true } - return /* spotless:off */ other is Entry && tripId == other.tripId && frequency == other.frequency && schedule == other.schedule && serviceDate == other.serviceDate && situationIds == other.situationIds && status == other.status && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + tripId == other.tripId && + frequency == other.frequency && + schedule == other.schedule && + serviceDate == other.serviceDate && + situationIds == other.situationIds && + status == other.status && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(tripId, frequency, schedule, serviceDate, situationIds, status, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + tripId, + frequency, + schedule, + serviceDate, + situationIds, + status, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3285,12 +3391,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -3303,12 +3410,18 @@ private constructor( return true } - return /* spotless:off */ other is TripDetailRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripDetailRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveParams.kt index bf7e813..7491319 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveParams.kt @@ -293,10 +293,26 @@ private constructor( return true } - return /* spotless:off */ other is TripForVehicleRetrieveParams && vehicleId == other.vehicleId && includeSchedule == other.includeSchedule && includeStatus == other.includeStatus && includeTrip == other.includeTrip && time == other.time && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is TripForVehicleRetrieveParams && + vehicleId == other.vehicleId && + includeSchedule == other.includeSchedule && + includeStatus == other.includeStatus && + includeTrip == other.includeTrip && + time == other.time && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(vehicleId, includeSchedule, includeStatus, includeTrip, time, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + vehicleId, + includeSchedule, + includeStatus, + includeTrip, + time, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "TripForVehicleRetrieveParams{vehicleId=$vehicleId, includeSchedule=$includeSchedule, includeStatus=$includeStatus, includeTrip=$includeTrip, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveResponse.kt index 62e25fa..5f9d5c2 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripforvehicle/TripForVehicleRetrieveResponse.kt @@ -1485,12 +1485,27 @@ private constructor( return true } - return /* spotless:off */ other is StopTime && arrivalTime == other.arrivalTime && departureTime == other.departureTime && distanceAlongTrip == other.distanceAlongTrip && historicalOccupancy == other.historicalOccupancy && stopHeadsign == other.stopHeadsign && stopId == other.stopId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTime && + arrivalTime == other.arrivalTime && + departureTime == other.departureTime && + distanceAlongTrip == other.distanceAlongTrip && + historicalOccupancy == other.historicalOccupancy && + stopHeadsign == other.stopHeadsign && + stopId == other.stopId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalTime, + departureTime, + distanceAlongTrip, + historicalOccupancy, + stopHeadsign, + stopId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1503,12 +1518,25 @@ private constructor( return true } - return /* spotless:off */ other is Schedule && nextTripId == other.nextTripId && previousTripId == other.previousTripId && stopTimes == other.stopTimes && timeZone == other.timeZone && frequency == other.frequency && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Schedule && + nextTripId == other.nextTripId && + previousTripId == other.previousTripId && + stopTimes == other.stopTimes && + timeZone == other.timeZone && + frequency == other.frequency && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(nextTripId, previousTripId, stopTimes, timeZone, frequency, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + nextTripId, + previousTripId, + stopTimes, + timeZone, + frequency, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3046,12 +3074,15 @@ private constructor( return true } - return /* spotless:off */ other is LastKnownLocation && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LastKnownLocation && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3233,12 +3264,15 @@ private constructor( return true } - return /* spotless:off */ other is Position && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Position && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3251,12 +3285,69 @@ private constructor( return true } - return /* spotless:off */ other is Status && activeTripId == other.activeTripId && blockTripSequence == other.blockTripSequence && closestStop == other.closestStop && distanceAlongTrip == other.distanceAlongTrip && lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && predicted == other.predicted && scheduleDeviation == other.scheduleDeviation && serviceDate == other.serviceDate && status == other.status && totalDistanceAlongTrip == other.totalDistanceAlongTrip && closestStopTimeOffset == other.closestStopTimeOffset && frequency == other.frequency && lastKnownLocation == other.lastKnownLocation && lastKnownOrientation == other.lastKnownOrientation && nextStop == other.nextStop && nextStopTimeOffset == other.nextStopTimeOffset && orientation == other.orientation && position == other.position && scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && situationIds == other.situationIds && vehicleId == other.vehicleId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Status && + activeTripId == other.activeTripId && + blockTripSequence == other.blockTripSequence && + closestStop == other.closestStop && + distanceAlongTrip == other.distanceAlongTrip && + lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + predicted == other.predicted && + scheduleDeviation == other.scheduleDeviation && + serviceDate == other.serviceDate && + status == other.status && + totalDistanceAlongTrip == other.totalDistanceAlongTrip && + closestStopTimeOffset == other.closestStopTimeOffset && + frequency == other.frequency && + lastKnownLocation == other.lastKnownLocation && + lastKnownOrientation == other.lastKnownOrientation && + nextStop == other.nextStop && + nextStopTimeOffset == other.nextStopTimeOffset && + orientation == other.orientation && + position == other.position && + scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && + situationIds == other.situationIds && + vehicleId == other.vehicleId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeTripId, blockTripSequence, closestStop, distanceAlongTrip, lastKnownDistanceAlongTrip, lastLocationUpdateTime, lastUpdateTime, occupancyCapacity, occupancyCount, occupancyStatus, phase, predicted, scheduleDeviation, serviceDate, status, totalDistanceAlongTrip, closestStopTimeOffset, frequency, lastKnownLocation, lastKnownOrientation, nextStop, nextStopTimeOffset, orientation, position, scheduledDistanceAlongTrip, situationIds, vehicleId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + activeTripId, + blockTripSequence, + closestStop, + distanceAlongTrip, + lastKnownDistanceAlongTrip, + lastLocationUpdateTime, + lastUpdateTime, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + predicted, + scheduleDeviation, + serviceDate, + status, + totalDistanceAlongTrip, + closestStopTimeOffset, + frequency, + lastKnownLocation, + lastKnownOrientation, + nextStop, + nextStopTimeOffset, + orientation, + position, + scheduledDistanceAlongTrip, + situationIds, + vehicleId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3269,12 +3360,27 @@ private constructor( return true } - return /* spotless:off */ other is Entry && tripId == other.tripId && frequency == other.frequency && schedule == other.schedule && serviceDate == other.serviceDate && situationIds == other.situationIds && status == other.status && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Entry && + tripId == other.tripId && + frequency == other.frequency && + schedule == other.schedule && + serviceDate == other.serviceDate && + situationIds == other.situationIds && + status == other.status && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(tripId, frequency, schedule, serviceDate, situationIds, status, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + tripId, + frequency, + schedule, + serviceDate, + situationIds, + status, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3287,12 +3393,13 @@ private constructor( return true } - return /* spotless:off */ other is Data && entry == other.entry && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + entry == other.entry && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(entry, references, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -3305,12 +3412,18 @@ private constructor( return true } - return /* spotless:off */ other is TripForVehicleRetrieveResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripForVehicleRetrieveResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListParams.kt index c2d8faa..0b4a6fd 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListParams.kt @@ -299,10 +299,30 @@ private constructor( return true } - return /* spotless:off */ other is TripsForLocationListParams && lat == other.lat && latSpan == other.latSpan && lon == other.lon && lonSpan == other.lonSpan && includeSchedule == other.includeSchedule && includeTrip == other.includeTrip && time == other.time && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is TripsForLocationListParams && + lat == other.lat && + latSpan == other.latSpan && + lon == other.lon && + lonSpan == other.lonSpan && + includeSchedule == other.includeSchedule && + includeTrip == other.includeTrip && + time == other.time && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(lat, latSpan, lon, lonSpan, includeSchedule, includeTrip, time, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + lat, + latSpan, + lon, + lonSpan, + includeSchedule, + includeTrip, + time, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "TripsForLocationListParams{lat=$lat, latSpan=$latSpan, lon=$lon, lonSpan=$lonSpan, includeSchedule=$includeSchedule, includeTrip=$includeTrip, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListResponse.kt index ca490ce..8f36323 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforlocation/TripsForLocationListResponse.kt @@ -1593,12 +1593,27 @@ private constructor( return true } - return /* spotless:off */ other is StopTime && arrivalTime == other.arrivalTime && departureTime == other.departureTime && distanceAlongTrip == other.distanceAlongTrip && historicalOccupancy == other.historicalOccupancy && stopHeadsign == other.stopHeadsign && stopId == other.stopId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTime && + arrivalTime == other.arrivalTime && + departureTime == other.departureTime && + distanceAlongTrip == other.distanceAlongTrip && + historicalOccupancy == other.historicalOccupancy && + stopHeadsign == other.stopHeadsign && + stopId == other.stopId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalTime, + departureTime, + distanceAlongTrip, + historicalOccupancy, + stopHeadsign, + stopId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1611,12 +1626,25 @@ private constructor( return true } - return /* spotless:off */ other is Schedule && nextTripId == other.nextTripId && previousTripId == other.previousTripId && stopTimes == other.stopTimes && timeZone == other.timeZone && frequency == other.frequency && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Schedule && + nextTripId == other.nextTripId && + previousTripId == other.previousTripId && + stopTimes == other.stopTimes && + timeZone == other.timeZone && + frequency == other.frequency && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(nextTripId, previousTripId, stopTimes, timeZone, frequency, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + nextTripId, + previousTripId, + stopTimes, + timeZone, + frequency, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3155,12 +3183,15 @@ private constructor( return true } - return /* spotless:off */ other is LastKnownLocation && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LastKnownLocation && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3342,12 +3373,15 @@ private constructor( return true } - return /* spotless:off */ other is Position && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Position && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3360,12 +3394,69 @@ private constructor( return true } - return /* spotless:off */ other is Status && activeTripId == other.activeTripId && blockTripSequence == other.blockTripSequence && closestStop == other.closestStop && distanceAlongTrip == other.distanceAlongTrip && lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && predicted == other.predicted && scheduleDeviation == other.scheduleDeviation && serviceDate == other.serviceDate && status == other.status && totalDistanceAlongTrip == other.totalDistanceAlongTrip && closestStopTimeOffset == other.closestStopTimeOffset && frequency == other.frequency && lastKnownLocation == other.lastKnownLocation && lastKnownOrientation == other.lastKnownOrientation && nextStop == other.nextStop && nextStopTimeOffset == other.nextStopTimeOffset && orientation == other.orientation && position == other.position && scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && situationIds == other.situationIds && vehicleId == other.vehicleId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Status && + activeTripId == other.activeTripId && + blockTripSequence == other.blockTripSequence && + closestStop == other.closestStop && + distanceAlongTrip == other.distanceAlongTrip && + lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + predicted == other.predicted && + scheduleDeviation == other.scheduleDeviation && + serviceDate == other.serviceDate && + status == other.status && + totalDistanceAlongTrip == other.totalDistanceAlongTrip && + closestStopTimeOffset == other.closestStopTimeOffset && + frequency == other.frequency && + lastKnownLocation == other.lastKnownLocation && + lastKnownOrientation == other.lastKnownOrientation && + nextStop == other.nextStop && + nextStopTimeOffset == other.nextStopTimeOffset && + orientation == other.orientation && + position == other.position && + scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && + situationIds == other.situationIds && + vehicleId == other.vehicleId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeTripId, blockTripSequence, closestStop, distanceAlongTrip, lastKnownDistanceAlongTrip, lastLocationUpdateTime, lastUpdateTime, occupancyCapacity, occupancyCount, occupancyStatus, phase, predicted, scheduleDeviation, serviceDate, status, totalDistanceAlongTrip, closestStopTimeOffset, frequency, lastKnownLocation, lastKnownOrientation, nextStop, nextStopTimeOffset, orientation, position, scheduledDistanceAlongTrip, situationIds, vehicleId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + activeTripId, + blockTripSequence, + closestStop, + distanceAlongTrip, + lastKnownDistanceAlongTrip, + lastLocationUpdateTime, + lastUpdateTime, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + predicted, + scheduleDeviation, + serviceDate, + status, + totalDistanceAlongTrip, + closestStopTimeOffset, + frequency, + lastKnownLocation, + lastKnownOrientation, + nextStop, + nextStopTimeOffset, + orientation, + position, + scheduledDistanceAlongTrip, + situationIds, + vehicleId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3378,12 +3469,27 @@ private constructor( return true } - return /* spotless:off */ other is List && schedule == other.schedule && status == other.status && tripId == other.tripId && frequency == other.frequency && serviceDate == other.serviceDate && situationIds == other.situationIds && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + schedule == other.schedule && + status == other.status && + tripId == other.tripId && + frequency == other.frequency && + serviceDate == other.serviceDate && + situationIds == other.situationIds && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(schedule, status, tripId, frequency, serviceDate, situationIds, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + schedule, + status, + tripId, + frequency, + serviceDate, + situationIds, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3396,12 +3502,17 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && outOfRange == other.outOfRange && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + outOfRange == other.outOfRange && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, outOfRange, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, outOfRange, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3414,12 +3525,18 @@ private constructor( return true } - return /* spotless:off */ other is TripsForLocationListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripsForLocationListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListParams.kt index 4f67912..c07879e 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListParams.kt @@ -258,10 +258,24 @@ private constructor( return true } - return /* spotless:off */ other is TripsForRouteListParams && routeId == other.routeId && includeSchedule == other.includeSchedule && includeStatus == other.includeStatus && time == other.time && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is TripsForRouteListParams && + routeId == other.routeId && + includeSchedule == other.includeSchedule && + includeStatus == other.includeStatus && + time == other.time && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(routeId, includeSchedule, includeStatus, time, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + routeId, + includeSchedule, + includeStatus, + time, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "TripsForRouteListParams{routeId=$routeId, includeSchedule=$includeSchedule, includeStatus=$includeStatus, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListResponse.kt index 7dcf7a4..5198d07 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/tripsforroute/TripsForRouteListResponse.kt @@ -1552,12 +1552,27 @@ private constructor( return true } - return /* spotless:off */ other is StopTime && arrivalTime == other.arrivalTime && departureTime == other.departureTime && distanceAlongTrip == other.distanceAlongTrip && historicalOccupancy == other.historicalOccupancy && stopHeadsign == other.stopHeadsign && stopId == other.stopId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StopTime && + arrivalTime == other.arrivalTime && + departureTime == other.departureTime && + distanceAlongTrip == other.distanceAlongTrip && + historicalOccupancy == other.historicalOccupancy && + stopHeadsign == other.stopHeadsign && + stopId == other.stopId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + arrivalTime, + departureTime, + distanceAlongTrip, + historicalOccupancy, + stopHeadsign, + stopId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1570,12 +1585,25 @@ private constructor( return true } - return /* spotless:off */ other is Schedule && nextTripId == other.nextTripId && previousTripId == other.previousTripId && stopTimes == other.stopTimes && timeZone == other.timeZone && frequency == other.frequency && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Schedule && + nextTripId == other.nextTripId && + previousTripId == other.previousTripId && + stopTimes == other.stopTimes && + timeZone == other.timeZone && + frequency == other.frequency && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(nextTripId, previousTripId, stopTimes, timeZone, frequency, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + nextTripId, + previousTripId, + stopTimes, + timeZone, + frequency, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3114,12 +3142,15 @@ private constructor( return true } - return /* spotless:off */ other is LastKnownLocation && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LastKnownLocation && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3301,12 +3332,15 @@ private constructor( return true } - return /* spotless:off */ other is Position && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Position && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3319,12 +3353,69 @@ private constructor( return true } - return /* spotless:off */ other is Status && activeTripId == other.activeTripId && blockTripSequence == other.blockTripSequence && closestStop == other.closestStop && distanceAlongTrip == other.distanceAlongTrip && lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && predicted == other.predicted && scheduleDeviation == other.scheduleDeviation && serviceDate == other.serviceDate && status == other.status && totalDistanceAlongTrip == other.totalDistanceAlongTrip && closestStopTimeOffset == other.closestStopTimeOffset && frequency == other.frequency && lastKnownLocation == other.lastKnownLocation && lastKnownOrientation == other.lastKnownOrientation && nextStop == other.nextStop && nextStopTimeOffset == other.nextStopTimeOffset && orientation == other.orientation && position == other.position && scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && situationIds == other.situationIds && vehicleId == other.vehicleId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Status && + activeTripId == other.activeTripId && + blockTripSequence == other.blockTripSequence && + closestStop == other.closestStop && + distanceAlongTrip == other.distanceAlongTrip && + lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + predicted == other.predicted && + scheduleDeviation == other.scheduleDeviation && + serviceDate == other.serviceDate && + status == other.status && + totalDistanceAlongTrip == other.totalDistanceAlongTrip && + closestStopTimeOffset == other.closestStopTimeOffset && + frequency == other.frequency && + lastKnownLocation == other.lastKnownLocation && + lastKnownOrientation == other.lastKnownOrientation && + nextStop == other.nextStop && + nextStopTimeOffset == other.nextStopTimeOffset && + orientation == other.orientation && + position == other.position && + scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && + situationIds == other.situationIds && + vehicleId == other.vehicleId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeTripId, blockTripSequence, closestStop, distanceAlongTrip, lastKnownDistanceAlongTrip, lastLocationUpdateTime, lastUpdateTime, occupancyCapacity, occupancyCount, occupancyStatus, phase, predicted, scheduleDeviation, serviceDate, status, totalDistanceAlongTrip, closestStopTimeOffset, frequency, lastKnownLocation, lastKnownOrientation, nextStop, nextStopTimeOffset, orientation, position, scheduledDistanceAlongTrip, situationIds, vehicleId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + activeTripId, + blockTripSequence, + closestStop, + distanceAlongTrip, + lastKnownDistanceAlongTrip, + lastLocationUpdateTime, + lastUpdateTime, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + predicted, + scheduleDeviation, + serviceDate, + status, + totalDistanceAlongTrip, + closestStopTimeOffset, + frequency, + lastKnownLocation, + lastKnownOrientation, + nextStop, + nextStopTimeOffset, + orientation, + position, + scheduledDistanceAlongTrip, + situationIds, + vehicleId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3337,12 +3428,27 @@ private constructor( return true } - return /* spotless:off */ other is List && schedule == other.schedule && status == other.status && tripId == other.tripId && frequency == other.frequency && serviceDate == other.serviceDate && situationIds == other.situationIds && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + schedule == other.schedule && + status == other.status && + tripId == other.tripId && + frequency == other.frequency && + serviceDate == other.serviceDate && + situationIds == other.situationIds && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(schedule, status, tripId, frequency, serviceDate, situationIds, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + schedule, + status, + tripId, + frequency, + serviceDate, + situationIds, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3355,12 +3461,16 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3373,12 +3483,18 @@ private constructor( return true } - return /* spotless:off */ other is TripsForRouteListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripsForRouteListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListParams.kt index 14e5d19..e516d46 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListParams.kt @@ -201,10 +201,15 @@ private constructor( return true } - return /* spotless:off */ other is VehiclesForAgencyListParams && agencyId == other.agencyId && time == other.time && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is VehiclesForAgencyListParams && + agencyId == other.agencyId && + time == other.time && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(agencyId, time, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(agencyId, time, additionalHeaders, additionalQueryParams) override fun toString() = "VehiclesForAgencyListParams{agencyId=$agencyId, time=$time, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListResponse.kt index 1b3af09..4002ce0 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/vehiclesforagency/VehiclesForAgencyListResponse.kt @@ -1235,12 +1235,13 @@ private constructor( return true } - return /* spotless:off */ other is Location && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Location && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -2779,12 +2780,15 @@ private constructor( return true } - return /* spotless:off */ other is LastKnownLocation && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LastKnownLocation && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2966,12 +2970,15 @@ private constructor( return true } - return /* spotless:off */ other is Position && lat == other.lat && lon == other.lon && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Position && + lat == other.lat && + lon == other.lon && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lat, lon, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(lat, lon, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2984,12 +2991,69 @@ private constructor( return true } - return /* spotless:off */ other is TripStatus && activeTripId == other.activeTripId && blockTripSequence == other.blockTripSequence && closestStop == other.closestStop && distanceAlongTrip == other.distanceAlongTrip && lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && predicted == other.predicted && scheduleDeviation == other.scheduleDeviation && serviceDate == other.serviceDate && status == other.status && totalDistanceAlongTrip == other.totalDistanceAlongTrip && closestStopTimeOffset == other.closestStopTimeOffset && frequency == other.frequency && lastKnownLocation == other.lastKnownLocation && lastKnownOrientation == other.lastKnownOrientation && nextStop == other.nextStop && nextStopTimeOffset == other.nextStopTimeOffset && orientation == other.orientation && position == other.position && scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && situationIds == other.situationIds && vehicleId == other.vehicleId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TripStatus && + activeTripId == other.activeTripId && + blockTripSequence == other.blockTripSequence && + closestStop == other.closestStop && + distanceAlongTrip == other.distanceAlongTrip && + lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + predicted == other.predicted && + scheduleDeviation == other.scheduleDeviation && + serviceDate == other.serviceDate && + status == other.status && + totalDistanceAlongTrip == other.totalDistanceAlongTrip && + closestStopTimeOffset == other.closestStopTimeOffset && + frequency == other.frequency && + lastKnownLocation == other.lastKnownLocation && + lastKnownOrientation == other.lastKnownOrientation && + nextStop == other.nextStop && + nextStopTimeOffset == other.nextStopTimeOffset && + orientation == other.orientation && + position == other.position && + scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && + situationIds == other.situationIds && + vehicleId == other.vehicleId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(activeTripId, blockTripSequence, closestStop, distanceAlongTrip, lastKnownDistanceAlongTrip, lastLocationUpdateTime, lastUpdateTime, occupancyCapacity, occupancyCount, occupancyStatus, phase, predicted, scheduleDeviation, serviceDate, status, totalDistanceAlongTrip, closestStopTimeOffset, frequency, lastKnownLocation, lastKnownOrientation, nextStop, nextStopTimeOffset, orientation, position, scheduledDistanceAlongTrip, situationIds, vehicleId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + activeTripId, + blockTripSequence, + closestStop, + distanceAlongTrip, + lastKnownDistanceAlongTrip, + lastLocationUpdateTime, + lastUpdateTime, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + predicted, + scheduleDeviation, + serviceDate, + status, + totalDistanceAlongTrip, + closestStopTimeOffset, + frequency, + lastKnownLocation, + lastKnownOrientation, + nextStop, + nextStopTimeOffset, + orientation, + position, + scheduledDistanceAlongTrip, + situationIds, + vehicleId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3002,12 +3066,37 @@ private constructor( return true } - return /* spotless:off */ other is List && lastLocationUpdateTime == other.lastLocationUpdateTime && lastUpdateTime == other.lastUpdateTime && location == other.location && tripId == other.tripId && tripStatus == other.tripStatus && vehicleId == other.vehicleId && occupancyCapacity == other.occupancyCapacity && occupancyCount == other.occupancyCount && occupancyStatus == other.occupancyStatus && phase == other.phase && status == other.status && additionalProperties == other.additionalProperties /* spotless:on */ + return other is List && + lastLocationUpdateTime == other.lastLocationUpdateTime && + lastUpdateTime == other.lastUpdateTime && + location == other.location && + tripId == other.tripId && + tripStatus == other.tripStatus && + vehicleId == other.vehicleId && + occupancyCapacity == other.occupancyCapacity && + occupancyCount == other.occupancyCount && + occupancyStatus == other.occupancyStatus && + phase == other.phase && + status == other.status && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lastLocationUpdateTime, lastUpdateTime, location, tripId, tripStatus, vehicleId, occupancyCapacity, occupancyCount, occupancyStatus, phase, status, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + lastLocationUpdateTime, + lastUpdateTime, + location, + tripId, + tripStatus, + vehicleId, + occupancyCapacity, + occupancyCount, + occupancyStatus, + phase, + status, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3020,12 +3109,16 @@ private constructor( return true } - return /* spotless:off */ other is Data && limitExceeded == other.limitExceeded && list == other.list && references == other.references && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Data && + limitExceeded == other.limitExceeded && + list == other.list && + references == other.references && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(limitExceeded, list, references, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(limitExceeded, list, references, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3038,12 +3131,18 @@ private constructor( return true } - return /* spotless:off */ other is VehiclesForAgencyListResponse && code == other.code && currentTime == other.currentTime && text == other.text && version == other.version && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is VehiclesForAgencyListResponse && + code == other.code && + currentTime == other.currentTime && + text == other.text && + version == other.version && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(code, currentTime, text, version, data, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(code, currentTime, text, version, data, additionalProperties) + } override fun hashCode(): Int = hashCode From 87d4c56d8a6f24de52544ade996e83dd65bedbe0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 05:11:08 +0000 Subject: [PATCH 05/13] chore(internal): dynamically determine included projects --- settings.gradle.kts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 5b65802..dbf4d3e 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,7 +1,14 @@ rootProject.name = "onebusaway-sdk-java-root" -include("onebusaway-sdk-java") -include("onebusaway-sdk-java-client-okhttp") -include("onebusaway-sdk-java-core") -include("onebusaway-sdk-java-proguard-test") -include("onebusaway-sdk-java-example") +val projectNames = rootDir.listFiles() + ?.asSequence() + .orEmpty() + .filter { file -> + file.isDirectory && + file.name.startsWith("onebusaway-sdk-java") && + file.listFiles()?.asSequence().orEmpty().any { it.name == "build.gradle.kts" } + } + .map { it.name } + .toList() +println("projects: $projectNames") +projectNames.forEach { include(it) } From 7bad9c0a8741e9ffd6432856434a48a9d76af7af Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 05:29:39 +0000 Subject: [PATCH 06/13] chore(internal): support passing arguments to test script --- scripts/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test b/scripts/test index 2177cb8..047bc1d 100755 --- a/scripts/test +++ b/scripts/test @@ -53,4 +53,4 @@ else fi echo "==> Running tests" -./gradlew test +./gradlew test "$@" From 99fbd78f052b7bd28679a4e4ca63e5486909b40c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 05:56:25 +0000 Subject: [PATCH 07/13] perf(internal): make formatting faster Running the formatter through Spotless is slow because Spotless synchronously runs the formatter on each file. Running the formatter directly parallelizes the formatting across cores. --- .gitignore | 2 +- build.gradle.kts | 13 +++ buildSrc/build.gradle.kts | 1 - .../kotlin/onebusaway-sdk.java.gradle.kts | 94 ++++++++++++++++--- .../kotlin/onebusaway-sdk.kotlin.gradle.kts | 82 ++++++++++++++-- scripts/build | 8 ++ scripts/format | 4 +- scripts/lint | 4 +- 8 files changed, 183 insertions(+), 25 deletions(-) create mode 100755 scripts/build diff --git a/.gitignore b/.gitignore index 4e81838..b1346e6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,6 @@ .gradle .idea .kotlin -build +build/ codegen.log kls_database.db diff --git a/build.gradle.kts b/build.gradle.kts index 0cacca5..2c9f411 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,6 +11,19 @@ allprojects { version = "0.1.0-alpha.36" // x-release-please-version } +subprojects { + // These are populated with dependencies by `buildSrc` scripts. + tasks.register("format") { + group = "Verification" + description = "Formats all source files." + } + tasks.register("lint") { + group = "Verification" + description = "Verifies all source files are formatted." + } + apply(plugin = "org.jetbrains.dokka") +} + subprojects { apply(plugin = "org.jetbrains.dokka") } diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 778c89d..c6dc92e 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -10,7 +10,6 @@ repositories { } dependencies { - implementation("com.diffplug.spotless:spotless-plugin-gradle:7.0.2") implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20") implementation("com.vanniktech:gradle-maven-publish-plugin:0.28.0") } diff --git a/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts b/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts index dfbacb8..70fc33f 100644 --- a/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts +++ b/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts @@ -1,24 +1,13 @@ -import com.diffplug.gradle.spotless.SpotlessExtension import org.gradle.api.tasks.testing.logging.TestExceptionFormat plugins { `java-library` - id("com.diffplug.spotless") } repositories { mavenCentral() } -configure { - java { - importOrder() - removeUnusedImports() - palantirJavaFormat() - toggleOffOn() - } -} - java { toolchain { languageVersion.set(JavaLanguageVersion.of(21)) @@ -53,3 +42,86 @@ tasks.withType().configureEach { exceptionFormat = TestExceptionFormat.FULL } } + +val palantir by configurations.creating +dependencies { + palantir("com.palantir.javaformat:palantir-java-format:2.73.0") +} + +fun registerPalantir( + name: String, + description: String, +) { + val javaName = "${name}Java" + tasks.register(javaName) { + group = "Verification" + this.description = description + + classpath = palantir + mainClass = "com.palantir.javaformat.java.Main" + + // Avoid an `IllegalAccessError` on Java 9+. + jvmArgs( + "--add-exports", "jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED", + "--add-exports", "jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED", + "--add-exports", "jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED", + "--add-exports", "jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED", + "--add-exports", "jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", + ) + + // Use paths relative to the current module. + val argumentFile = + project.layout.buildDirectory.file("palantir-$name-args.txt").get().asFile + val lastRunTimeFile = + project.layout.buildDirectory.file("palantir-$name-last-run.txt").get().asFile + + // Read the time when this task was last executed for this module (if ever). + val lastRunTime = lastRunTimeFile.takeIf { it.exists() }?.readText()?.toLongOrNull() ?: 0L + + // Use a `fileTree` relative to the module's source directory. + val javaFiles = project.fileTree("src") { include("**/*.java") } + + // Determine if any files need to be formatted or linted and continue only if there is at least + // one file. + onlyIf { javaFiles.any { it.lastModified() > lastRunTime } } + + inputs.files(javaFiles) + + doFirst { + // Create the argument file and set the preferred formatting style. + argumentFile.parentFile.mkdirs() + argumentFile.writeText("--palantir\n") + + if (name == "lint") { + // For lint, do a dry run, so no files are modified. Set the exit code to 1 (instead of + // the default 0) if any files need to be formatted, indicating that linting has failed. + argumentFile.appendText("--dry-run\n") + argumentFile.appendText("--set-exit-if-changed\n") + } else { + // `--dry-run` and `--replace` (for in-place formatting) are mutually exclusive. + argumentFile.appendText("--replace\n") + } + + // Write the modified files to the argument file. + javaFiles.filter { it.lastModified() > lastRunTime } + .forEach { argumentFile.appendText("${it.absolutePath}\n") } + } + + doLast { + // Record the last execution time for later up-to-date checking. + lastRunTimeFile.writeText(System.currentTimeMillis().toString()) + } + + // Pass the argument file using the @ symbol + args = listOf("@${argumentFile.absolutePath}") + + outputs.upToDateWhen { javaFiles.none { it.lastModified() > lastRunTime } } + } + + tasks.named(name) { + dependsOn(tasks.named(javaName)) + } +} + +registerPalantir(name = "format", description = "Formats all Java source files.") +registerPalantir(name = "lint", description = "Verifies all Java source files are formatted.") diff --git a/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts b/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts index be0b5d4..5fab5a6 100644 --- a/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts +++ b/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts @@ -1,4 +1,3 @@ -import com.diffplug.gradle.spotless.SpotlessExtension import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrains.kotlin.gradle.dsl.KotlinVersion @@ -7,6 +6,10 @@ plugins { kotlin("jvm") } +repositories { + mavenCentral() +} + kotlin { jvmToolchain { languageVersion.set(JavaLanguageVersion.of(21)) @@ -27,14 +30,77 @@ kotlin { } } -configure { - kotlin { - ktfmt().kotlinlangStyle() - toggleOffOn() - } -} - tasks.withType().configureEach { systemProperty("junit.jupiter.execution.parallel.enabled", true) systemProperty("junit.jupiter.execution.parallel.mode.default", "concurrent") } + +val ktfmt by configurations.creating +dependencies { + ktfmt("com.facebook:ktfmt:0.56") +} + +fun registerKtfmt( + name: String, + description: String, +) { + val kotlinName = "${name}Kotlin" + tasks.register(kotlinName) { + group = "Verification" + this.description = description + + classpath = ktfmt + mainClass = "com.facebook.ktfmt.cli.Main" + + // Use paths relative to the current module. + val argumentFile = project.layout.buildDirectory.file("ktfmt-$name-args.txt").get().asFile + val lastRunTimeFile = + project.layout.buildDirectory.file("ktfmt-$name-last-run.txt").get().asFile + + // Read the time when this task was last executed for this module (if ever). + val lastRunTime = lastRunTimeFile.takeIf { it.exists() }?.readText()?.toLongOrNull() ?: 0L + + // Use a `fileTree` relative to the module's source directory. + val kotlinFiles = project.fileTree("src") { include("**/*.kt") } + + // Determine if any files need to be formatted or linted and continue only if there is at least + // one file (otherwise Ktfmt will fail). + onlyIf { kotlinFiles.any { it.lastModified() > lastRunTime } } + + inputs.files(kotlinFiles) + + doFirst { + // Create the argument file and set the preferred formatting style. + argumentFile.parentFile.mkdirs() + argumentFile.writeText("--kotlinlang-style\n") + + if (name == "lint") { + // For lint, do a dry run, so no files are modified. Set the exit code to 1 (instead of + // the default 0) if any files need to be formatted, indicating that linting has failed. + argumentFile.appendText("--dry-run\n") + argumentFile.appendText("--set-exit-if-changed\n") + } + + // Write the modified files to the argument file. + kotlinFiles.filter { it.lastModified() > lastRunTime } + .forEach { argumentFile.appendText("${it.absolutePath}\n") } + } + + doLast { + // Record the last execution time for later up-to-date checking. + lastRunTimeFile.writeText(System.currentTimeMillis().toString()) + } + + // Pass the argument file using the @ symbol + args = listOf("@${argumentFile.absolutePath}") + + outputs.upToDateWhen { kotlinFiles.none { it.lastModified() > lastRunTime } } + } + + tasks.named(name) { + dependsOn(tasks.named(kotlinName)) + } +} + +registerKtfmt(name = "format", description = "Formats all Kotlin source files.") +registerKtfmt(name = "lint", description = "Verifies all Kotlin source files are formatted.") diff --git a/scripts/build b/scripts/build new file mode 100755 index 0000000..f406348 --- /dev/null +++ b/scripts/build @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -e + +cd "$(dirname "$0")/.." + +echo "==> Building classes" +./gradlew build testClasses -x test diff --git a/scripts/format b/scripts/format index 456a69d..7c0be4d 100755 --- a/scripts/format +++ b/scripts/format @@ -4,5 +4,5 @@ set -e cd "$(dirname "$0")/.." -echo "==> Running spotlessApply" -./gradlew spotlessApply +echo "==> Running formatters" +./gradlew format diff --git a/scripts/lint b/scripts/lint index e3a5f5e..aea8af7 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,5 +4,5 @@ set -e cd "$(dirname "$0")/.." -echo "==> Build classes" -./gradlew build testClasses -x test +echo "==> Running lints" +./gradlew lint From e9a4334ed4def5ff07ef7ad9fc959d86531423d4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 03:36:09 +0000 Subject: [PATCH 08/13] chore(ci): add build job --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30a531a..98af588 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,31 @@ jobs: - name: Run lints run: ./scripts/lint + + build: + timeout-minutes: 15 + name: build + runs-on: ${{ github.repository == 'stainless-sdks/open-transit-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork + + steps: + - uses: actions/checkout@v4 + + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: | + 8 + 21 + cache: gradle + + - name: Set up Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Build SDK + run: ./scripts/build + test: timeout-minutes: 15 name: test From 1a3f6c59f0a6215188bbce3d1117f1008b7e4008 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 21 Aug 2025 06:50:53 +0000 Subject: [PATCH 09/13] chore(client): refactor closing / shutdown --- .../client/OnebusawaySdkClientAsyncImpl.kt | 2 +- .../client/OnebusawaySdkClientImpl.kt | 2 +- .../org/onebusaway/core/ClientOptions.kt | 18 ++++++ .../core/PhantomReachableExecutorService.kt | 58 +++++++++++++++++++ 4 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/PhantomReachableExecutorService.kt diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientAsyncImpl.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientAsyncImpl.kt index 0b67cc5..78327e2 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientAsyncImpl.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientAsyncImpl.kt @@ -251,7 +251,7 @@ class OnebusawaySdkClientAsyncImpl(private val clientOptions: ClientOptions) : override fun shape(): ShapeServiceAsync = shape - override fun close() = clientOptions.httpClient.close() + override fun close() = clientOptions.close() class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) : OnebusawaySdkClientAsync.WithRawResponse { diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientImpl.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientImpl.kt index e3cde43..d4e4146 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientImpl.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientImpl.kt @@ -242,7 +242,7 @@ class OnebusawaySdkClientImpl(private val clientOptions: ClientOptions) : Onebus override fun shape(): ShapeService = shape - override fun close() = clientOptions.httpClient.close() + override fun close() = clientOptions.close() class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) : OnebusawaySdkClient.WithRawResponse { diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/ClientOptions.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/ClientOptions.kt index 82cf0b0..e8bda34 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/ClientOptions.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/ClientOptions.kt @@ -21,6 +21,8 @@ private constructor( * The HTTP client to use in the SDK. * * Use the one published in `onebusaway-sdk-java-client-okhttp` or implement your own. + * + * This class takes ownership of the client and closes it when closed. */ @get:JvmName("httpClient") val httpClient: HttpClient, /** @@ -156,6 +158,8 @@ private constructor( * The HTTP client to use in the SDK. * * Use the one published in `onebusaway-sdk-java-client-okhttp` or implement your own. + * + * This class takes ownership of the client and closes it when closed. */ fun httpClient(httpClient: HttpClient) = apply { this.httpClient = PhantomReachableClosingHttpClient(httpClient) @@ -402,4 +406,18 @@ private constructor( ) } } + + /** + * Closes these client options, relinquishing any underlying resources. + * + * This is purposefully not inherited from [AutoCloseable] because the client options are + * long-lived and usually should not be synchronously closed via try-with-resources. + * + * It's also usually not necessary to call this method at all. the default client automatically + * releases threads and connections if they remain idle, but if you are writing an application + * that needs to aggressively release unused resources, then you may call this method. + */ + fun close() { + httpClient.close() + } } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/PhantomReachableExecutorService.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/PhantomReachableExecutorService.kt new file mode 100644 index 0000000..55e1c63 --- /dev/null +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/PhantomReachableExecutorService.kt @@ -0,0 +1,58 @@ +package org.onebusaway.core + +import java.util.concurrent.Callable +import java.util.concurrent.ExecutorService +import java.util.concurrent.Future +import java.util.concurrent.TimeUnit + +/** + * A delegating wrapper around an [ExecutorService] that shuts it down once it's only phantom + * reachable. + * + * This class ensures the [ExecutorService] is shut down even if the user forgets to do it. + */ +internal class PhantomReachableExecutorService(private val executorService: ExecutorService) : + ExecutorService { + init { + closeWhenPhantomReachable(this) { executorService.shutdown() } + } + + override fun execute(command: Runnable) = executorService.execute(command) + + override fun shutdown() = executorService.shutdown() + + override fun shutdownNow(): MutableList = executorService.shutdownNow() + + override fun isShutdown(): Boolean = executorService.isShutdown + + override fun isTerminated(): Boolean = executorService.isTerminated + + override fun awaitTermination(timeout: Long, unit: TimeUnit): Boolean = + executorService.awaitTermination(timeout, unit) + + override fun submit(task: Callable): Future = executorService.submit(task) + + override fun submit(task: Runnable, result: T): Future = + executorService.submit(task, result) + + override fun submit(task: Runnable): Future<*> = executorService.submit(task) + + override fun invokeAll( + tasks: MutableCollection> + ): MutableList> = executorService.invokeAll(tasks) + + override fun invokeAll( + tasks: MutableCollection>, + timeout: Long, + unit: TimeUnit, + ): MutableList> = executorService.invokeAll(tasks, timeout, unit) + + override fun invokeAny(tasks: MutableCollection>): T = + executorService.invokeAny(tasks) + + override fun invokeAny( + tasks: MutableCollection>, + timeout: Long, + unit: TimeUnit, + ): T = executorService.invokeAny(tasks, timeout, unit) +} From bd33d83283a843365951f3b6f7de65367ae7bcd7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 21 Aug 2025 06:57:51 +0000 Subject: [PATCH 10/13] chore(internal): support running formatters directly --- scripts/format | 17 +++++++++++++++-- scripts/java-format | 7 +++++++ scripts/kotlin-format | 7 +++++++ scripts/lint | 17 ++++++++++++++++- 4 files changed, 45 insertions(+), 3 deletions(-) create mode 100755 scripts/java-format create mode 100755 scripts/kotlin-format diff --git a/scripts/format b/scripts/format index 7c0be4d..65db176 100755 --- a/scripts/format +++ b/scripts/format @@ -4,5 +4,18 @@ set -e cd "$(dirname "$0")/.." -echo "==> Running formatters" -./gradlew format +if command -v ktfmt &> /dev/null; then + echo "==> Running ktfmt" + ./scripts/kotlin-format +else + echo "==> Running gradlew formatKotlin" + ./gradlew formatKotlin +fi + +if command -v palantir-java-format &> /dev/null; then + echo "==> Running palantir-java-format" + ./scripts/java-format +else + echo "==> Running gradlew formatJava" + ./gradlew formatJava +fi diff --git a/scripts/java-format b/scripts/java-format new file mode 100755 index 0000000..ad5febc --- /dev/null +++ b/scripts/java-format @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -e + +cd "$(dirname "$0")/.." + +find . -name "*.java" -not -path "./buildSrc/build/*" -print0 | xargs -0 -r palantir-java-format --palantir --replace "$@" diff --git a/scripts/kotlin-format b/scripts/kotlin-format new file mode 100755 index 0000000..3b8be9e --- /dev/null +++ b/scripts/kotlin-format @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -e + +cd "$(dirname "$0")/.." + +find . -name "*.kt" -not -path "./buildSrc/build/*" -print0 | xargs -0 -r ktfmt --kotlinlang-style "$@" diff --git a/scripts/lint b/scripts/lint index aea8af7..dbc8f77 100755 --- a/scripts/lint +++ b/scripts/lint @@ -5,4 +5,19 @@ set -e cd "$(dirname "$0")/.." echo "==> Running lints" -./gradlew lint + +if command -v ktfmt &> /dev/null; then + echo "==> Checking ktfmt" + ./scripts/kotlin-format --dry-run --set-exit-if-changed +else + echo "==> Running gradlew lintKotlin" + ./gradlew lintKotlin +fi + +if command -v palantir-java-format &> /dev/null; then + echo "==> Checking palantir-java-format" + ./scripts/java-format --dry-run --set-exit-if-changed +else + echo "==> Running gradlew lintJava" + ./gradlew lintJava +fi From 9710ffe8cbce1fbc8870aa4de279524e40ea4153 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 22 Aug 2025 07:43:21 +0000 Subject: [PATCH 11/13] chore: remove memory upper bound from publishing step --- .github/workflows/publish-sonatype.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-sonatype.yml b/.github/workflows/publish-sonatype.yml index 483de7b..742b7f8 100644 --- a/.github/workflows/publish-sonatype.yml +++ b/.github/workflows/publish-sonatype.yml @@ -33,7 +33,7 @@ jobs: export -- GPG_SIGNING_KEY_ID printenv -- GPG_SIGNING_KEY | gpg --batch --passphrase-fd 3 --import 3<<< "$GPG_SIGNING_PASSWORD" GPG_SIGNING_KEY_ID="$(gpg --with-colons --list-keys | awk -F : -- '/^pub:/ { getline; print "0x" substr($10, length($10) - 7) }')" - ./gradlew publishAndReleaseToMavenCentral -Dorg.gradle.jvmargs="-Xmx8g" --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache + ./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache env: SONATYPE_USERNAME: ${{ secrets.ONEBUSAWAY_SDK_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.ONEBUSAWAY_SDK_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }} From a44cd60b985c90043721fdd5e59913bbee7001ef Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 22 Aug 2025 08:03:53 +0000 Subject: [PATCH 12/13] chore(ci): reduce log noise --- onebusaway-sdk-java-proguard-test/build.gradle.kts | 2 -- onebusaway-sdk-java-proguard-test/test.pro | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/onebusaway-sdk-java-proguard-test/build.gradle.kts b/onebusaway-sdk-java-proguard-test/build.gradle.kts index 7611c8e..8d4f83f 100644 --- a/onebusaway-sdk-java-proguard-test/build.gradle.kts +++ b/onebusaway-sdk-java-proguard-test/build.gradle.kts @@ -37,8 +37,6 @@ val proguardJar by tasks.registering(proguard.gradle.ProGuardTask::class) { outjars(proguardJarPath) printmapping("${layout.buildDirectory.get()}/proguard-mapping.txt") - dontwarn() - val javaHome = System.getProperty("java.home") if (System.getProperty("java.version").startsWith("1.")) { // Before Java 9, the runtime classes were packaged in a single jar file. diff --git a/onebusaway-sdk-java-proguard-test/test.pro b/onebusaway-sdk-java-proguard-test/test.pro index ba9a988..2ad38fe 100644 --- a/onebusaway-sdk-java-proguard-test/test.pro +++ b/onebusaway-sdk-java-proguard-test/test.pro @@ -5,4 +5,5 @@ -keep class org.junit.** { *; } # Many warnings don't apply for our testing purposes. +-dontnote -dontwarn \ No newline at end of file From 9d060cbab6281191976735a9680eddaaa50e4b32 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 31 Aug 2025 02:25:38 +0000 Subject: [PATCH 13/13] release: 0.1.0-alpha.37 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 23 +++++++++++++++++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 30 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a696b6a..154a697 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.36" + ".": "0.1.0-alpha.37" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 58882d3..fd4a1a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 0.1.0-alpha.37 (2025-08-31) + +Full Changelog: [v0.1.0-alpha.36...v0.1.0-alpha.37](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.36...v0.1.0-alpha.37) + +### Performance Improvements + +* **internal:** make formatting faster ([99fbd78](https://github.com/OneBusAway/java-sdk/commit/99fbd78f052b7bd28679a4e4ca63e5486909b40c)) + + +### Chores + +* **ci:** add build job ([e9a4334](https://github.com/OneBusAway/java-sdk/commit/e9a4334ed4def5ff07ef7ad9fc959d86531423d4)) +* **ci:** reduce log noise ([a44cd60](https://github.com/OneBusAway/java-sdk/commit/a44cd60b985c90043721fdd5e59913bbee7001ef)) +* **client:** refactor closing / shutdown ([1a3f6c5](https://github.com/OneBusAway/java-sdk/commit/1a3f6c59f0a6215188bbce3d1117f1008b7e4008)) +* increase max gradle JVM heap to 8GB ([09fe22c](https://github.com/OneBusAway/java-sdk/commit/09fe22c50fd3025c2f1da7a37218d6cbfc8a04d9)) +* **internal:** codegen related update ([fcda4f9](https://github.com/OneBusAway/java-sdk/commit/fcda4f9e3cadf6574f110689ddb80fda9fe3e87b)) +* **internal:** dynamically determine included projects ([87d4c56](https://github.com/OneBusAway/java-sdk/commit/87d4c56d8a6f24de52544ade996e83dd65bedbe0)) +* **internal:** support passing arguments to test script ([7bad9c0](https://github.com/OneBusAway/java-sdk/commit/7bad9c0a8741e9ffd6432856434a48a9d76af7af)) +* **internal:** support running formatters directly ([bd33d83](https://github.com/OneBusAway/java-sdk/commit/bd33d83283a843365951f3b6f7de65367ae7bcd7)) +* **internal:** update comment in script ([d037c17](https://github.com/OneBusAway/java-sdk/commit/d037c17a5b778fc55c8e30534bfd50f23f4d0984)) +* remove memory upper bound from publishing step ([9710ffe](https://github.com/OneBusAway/java-sdk/commit/9710ffe8cbce1fbc8870aa4de279524e40ea4153)) +* update @stainless-api/prism-cli to v5.15.0 ([3f2a043](https://github.com/OneBusAway/java-sdk/commit/3f2a043a8a41078b57b5d2afa8052824b60d6a43)) + ## 0.1.0-alpha.36 (2025-08-06) Full Changelog: [v0.1.0-alpha.35...v0.1.0-alpha.36](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.35...v0.1.0-alpha.36) diff --git a/README.md b/README.md index 43b1d4b..566dc77 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.36) -[![javadoc](https://javadoc.io/badge2/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.36/javadoc.svg)](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.36) +[![Maven Central](https://img.shields.io/maven-central/v/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.37) +[![javadoc](https://javadoc.io/badge2/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.37/javadoc.svg)](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.37) @@ -15,7 +15,7 @@ It is generated with [Stainless](https://www.stainless.com/). -The REST API documentation can be found on [developer.onebusaway.org](https://developer.onebusaway.org). Javadocs are available on [javadoc.io](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.36). +The REST API documentation can be found on [developer.onebusaway.org](https://developer.onebusaway.org). Javadocs are available on [javadoc.io](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.37). @@ -26,7 +26,7 @@ The REST API documentation can be found on [developer.onebusaway.org](https://de ### Gradle ```kotlin -implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.36") +implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.37") ``` ### Maven @@ -35,7 +35,7 @@ implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.36") org.onebusaway onebusaway-sdk-java - 0.1.0-alpha.36 + 0.1.0-alpha.37 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 2c9f411..427e6a9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "org.onebusaway" - version = "0.1.0-alpha.36" // x-release-please-version + version = "0.1.0-alpha.37" // x-release-please-version } subprojects {