From 958832442e17ea1ef383ba7e60ba1d5e86cb743d Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Fri, 4 Oct 2024 13:09:31 +0000 Subject: [PATCH] chore(internal): codegen related update --- .../kotlin/onebusaway-sdk.java.gradle.kts | 1 + .../kotlin/onebusaway-sdk.kotlin.gradle.kts | 1 + .../onebusaway/errors/OnebusawaySdkError.kt | 5 +- .../models/AgenciesWithCoverageListParams.kt | 6 +- .../AgenciesWithCoverageListResponse.kt | 50 +-- .../onebusaway/models/AgencyRetrieveParams.kt | 11 +- .../models/AgencyRetrieveResponse.kt | 60 +--- .../models/ArrivalAndDepartureListParams.kt | 17 +- .../models/ArrivalAndDepartureListResponse.kt | 198 +---------- .../ArrivalAndDepartureRetrieveParams.kt | 21 +- .../ArrivalAndDepartureRetrieveResponse.kt | 192 +---------- .../onebusaway/models/BlockRetrieveParams.kt | 11 +- .../models/BlockRetrieveResponse.kt | 106 +----- .../onebusaway/models/ConfigRetrieveParams.kt | 6 +- .../models/ConfigRetrieveResponse.kt | 96 +----- .../models/CurrentTimeRetrieveParams.kt | 6 +- .../models/CurrentTimeRetrieveResponse.kt | 42 +-- .../org/onebusaway/models/References.kt | 308 ++---------------- .../ReportProblemWithStopRetrieveParams.kt | 23 +- .../ReportProblemWithTripRetrieveParams.kt | 33 +- .../org/onebusaway/models/ResponseWrapper.kt | 16 +- .../models/RouteIdsForAgencyListParams.kt | 11 +- .../models/RouteIdsForAgencyListResponse.kt | 32 +- .../onebusaway/models/RouteRetrieveParams.kt | 11 +- .../models/RouteRetrieveResponse.kt | 58 +--- .../models/RoutesForAgencyListParams.kt | 11 +- .../models/RoutesForAgencyListResponse.kt | 60 +--- .../models/RoutesForLocationListParams.kt | 21 +- .../models/RoutesForLocationListResponse.kt | 62 +--- .../models/ScheduleForRouteRetrieveParams.kt | 13 +- .../ScheduleForRouteRetrieveResponse.kt | 158 +-------- .../models/ScheduleForStopRetrieveParams.kt | 13 +- .../models/ScheduleForStopRetrieveResponse.kt | 112 +------ .../models/SearchForRouteListParams.kt | 13 +- .../models/SearchForRouteListResponse.kt | 62 +--- .../models/SearchForStopListParams.kt | 13 +- .../models/SearchForStopListResponse.kt | 64 +--- .../onebusaway/models/ShapeRetrieveParams.kt | 11 +- .../models/ShapeRetrieveResponse.kt | 44 +-- .../models/StopIdsForAgencyListParams.kt | 11 +- .../models/StopIdsForAgencyListResponse.kt | 32 +- .../onebusaway/models/StopRetrieveParams.kt | 11 +- .../onebusaway/models/StopRetrieveResponse.kt | 60 +--- .../models/StopsForLocationListParams.kt | 21 +- .../models/StopsForLocationListResponse.kt | 62 +--- .../models/StopsForRouteListParams.kt | 15 +- .../models/StopsForRouteListResponse.kt | 104 +----- .../models/TripDetailRetrieveParams.kt | 21 +- .../models/TripDetailRetrieveResponse.kt | 174 +--------- .../models/TripForVehicleRetrieveParams.kt | 19 +- .../models/TripForVehicleRetrieveResponse.kt | 174 +--------- .../onebusaway/models/TripRetrieveParams.kt | 11 +- .../onebusaway/models/TripRetrieveResponse.kt | 60 +--- .../models/TripsForLocationListParams.kt | 23 +- .../models/TripsForLocationListResponse.kt | 178 +--------- .../models/TripsForRouteListParams.kt | 17 +- .../models/TripsForRouteListResponse.kt | 176 +--------- .../models/VehiclesForAgencyListParams.kt | 13 +- .../models/VehiclesForAgencyListResponse.kt | 160 +-------- 59 files changed, 347 insertions(+), 2973 deletions(-) diff --git a/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts b/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts index 53e6330..32a150e 100644 --- a/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts +++ b/buildSrc/src/main/kotlin/onebusaway-sdk.java.gradle.kts @@ -19,6 +19,7 @@ configure { importOrder() removeUnusedImports() palantirJavaFormat() + toggleOffOn() } } diff --git a/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts b/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts index 111e4a5..6da1ac7 100644 --- a/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts +++ b/buildSrc/src/main/kotlin/onebusaway-sdk.kotlin.gradle.kts @@ -16,6 +16,7 @@ kotlin { configure { kotlin { ktfmt().kotlinlangStyle() + toggleOffOn() } } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/errors/OnebusawaySdkError.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/errors/OnebusawaySdkError.kt index ea9498c..971ca90 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/errors/OnebusawaySdkError.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/errors/OnebusawaySdkError.kt @@ -26,12 +26,11 @@ constructor( return true } - return other is OnebusawaySdkError && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is OnebusawaySdkError && this.additionalProperties == other.additionalProperties /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash(additionalProperties) + return /* spotless:off */ Objects.hash(additionalProperties) /* spotless:on */ } override fun toString() = "OnebusawaySdkError{additionalProperties=$additionalProperties}" diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListParams.kt index 2c4e7db..41391c1 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListParams.kt @@ -26,13 +26,11 @@ constructor( return true } - return other is AgenciesWithCoverageListParams && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is AgenciesWithCoverageListParams && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash(additionalQueryParams, additionalHeaders) + return /* spotless:off */ Objects.hash(additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListResponse.kt index c5665a4..fbf33e5 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgenciesWithCoverageListResponse.kt @@ -393,28 +393,14 @@ private constructor( return true } - return other is List && - this.agencyId == other.agencyId && - this.lat == other.lat && - this.latSpan == other.latSpan && - this.lon == other.lon && - this.lonSpan == other.lonSpan && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.agencyId == other.agencyId && this.lat == other.lat && this.latSpan == other.latSpan && this.lon == other.lon && this.lonSpan == other.lonSpan && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencyId, - lat, - latSpan, - lon, - lonSpan, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencyId, lat, latSpan, lon, lonSpan, additionalProperties) /* spotless:on */ } return hashCode } @@ -428,24 +414,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -459,28 +435,14 @@ private constructor( return true } - return other is AgenciesWithCoverageListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is AgenciesWithCoverageListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveParams.kt index ce16484..82bff13 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is AgencyRetrieveParams && - this.agencyId == other.agencyId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is AgencyRetrieveParams && this.agencyId == other.agencyId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - agencyId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(agencyId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveResponse.kt index c0a335d..d4a9806 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/AgencyRetrieveResponse.kt @@ -475,38 +475,14 @@ private constructor( return true } - return other is Entry && - this.disclaimer == other.disclaimer && - this.email == other.email && - this.fareUrl == other.fareUrl && - this.id == other.id && - this.lang == other.lang && - this.name == other.name && - this.phone == other.phone && - this.privateService == other.privateService && - this.timezone == other.timezone && - this.url == other.url && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.disclaimer == other.disclaimer && this.email == other.email && this.fareUrl == other.fareUrl && this.id == other.id && this.lang == other.lang && this.name == other.name && this.phone == other.phone && this.privateService == other.privateService && this.timezone == other.timezone && this.url == other.url && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - disclaimer, - email, - fareUrl, - id, - lang, - name, - phone, - privateService, - timezone, - url, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(disclaimer, email, fareUrl, id, lang, name, phone, privateService, timezone, url, additionalProperties) /* spotless:on */ } return hashCode } @@ -520,24 +496,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -551,28 +517,14 @@ private constructor( return true } - return other is AgencyRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is AgencyRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListParams.kt index e826e1d..b9ae80c 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListParams.kt @@ -58,24 +58,11 @@ constructor( return true } - return other is ArrivalAndDepartureListParams && - this.stopId == other.stopId && - this.minutesAfter == other.minutesAfter && - this.minutesBefore == other.minutesBefore && - this.time == other.time && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ArrivalAndDepartureListParams && this.stopId == other.stopId && this.minutesAfter == other.minutesAfter && this.minutesBefore == other.minutesBefore && this.time == other.time && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - stopId, - minutesAfter, - minutesBefore, - time, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(stopId, minutesAfter, minutesBefore, time, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListResponse.kt index 5eaa97c..37403a3 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureListResponse.kt @@ -2206,22 +2206,14 @@ private constructor( return true } - return other is LastKnownLocation && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is LastKnownLocation && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -2331,22 +2323,14 @@ private constructor( return true } - return other is Position && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Position && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -2360,72 +2344,14 @@ private constructor( return true } - return other is TripStatus && - this.activeTripId == other.activeTripId && - this.blockTripSequence == other.blockTripSequence && - this.closestStop == other.closestStop && - this.closestStopTimeOffset == other.closestStopTimeOffset && - this.distanceAlongTrip == other.distanceAlongTrip && - this.frequency == other.frequency && - this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && - this.lastKnownLocation == other.lastKnownLocation && - this.lastKnownOrientation == other.lastKnownOrientation && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.lastUpdateTime == other.lastUpdateTime && - this.nextStop == other.nextStop && - this.nextStopTimeOffset == other.nextStopTimeOffset && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.orientation == other.orientation && - this.phase == other.phase && - this.position == other.position && - this.predicted == other.predicted && - this.scheduleDeviation == other.scheduleDeviation && - this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripStatus && this.activeTripId == other.activeTripId && this.blockTripSequence == other.blockTripSequence && this.closestStop == other.closestStop && this.closestStopTimeOffset == other.closestStopTimeOffset && this.distanceAlongTrip == other.distanceAlongTrip && this.frequency == other.frequency && this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && this.lastKnownLocation == other.lastKnownLocation && this.lastKnownOrientation == other.lastKnownOrientation && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.lastUpdateTime == other.lastUpdateTime && this.nextStop == other.nextStop && this.nextStopTimeOffset == other.nextStopTimeOffset && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.orientation == other.orientation && this.phase == other.phase && this.position == other.position && this.predicted == other.predicted && this.scheduleDeviation == other.scheduleDeviation && this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeTripId, - blockTripSequence, - closestStop, - closestStopTimeOffset, - distanceAlongTrip, - frequency, - lastKnownDistanceAlongTrip, - lastKnownLocation, - lastKnownOrientation, - lastLocationUpdateTime, - lastUpdateTime, - nextStop, - nextStopTimeOffset, - occupancyCapacity, - occupancyCount, - occupancyStatus, - orientation, - phase, - position, - predicted, - scheduleDeviation, - scheduledDistanceAlongTrip, - serviceDate, - situationIds, - status, - totalDistanceAlongTrip, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeTripId, blockTripSequence, closestStop, closestStopTimeOffset, distanceAlongTrip, frequency, lastKnownDistanceAlongTrip, lastKnownLocation, lastKnownOrientation, lastLocationUpdateTime, lastUpdateTime, nextStop, nextStopTimeOffset, occupancyCapacity, occupancyCount, occupancyStatus, orientation, phase, position, predicted, scheduleDeviation, scheduledDistanceAlongTrip, serviceDate, situationIds, status, totalDistanceAlongTrip, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -2439,86 +2365,14 @@ private constructor( return true } - return other is ArrivalsAndDeparture && - this.actualTrack == other.actualTrack && - this.arrivalEnabled == other.arrivalEnabled && - this.blockTripSequence == other.blockTripSequence && - this.departureEnabled == other.departureEnabled && - this.distanceFromStop == other.distanceFromStop && - this.frequency == other.frequency && - this.historicalOccupancy == other.historicalOccupancy && - this.lastUpdateTime == other.lastUpdateTime && - this.numberOfStopsAway == other.numberOfStopsAway && - this.occupancyStatus == other.occupancyStatus && - this.predicted == other.predicted && - this.predictedArrivalInterval == other.predictedArrivalInterval && - this.predictedArrivalTime == other.predictedArrivalTime && - this.predictedDepartureInterval == other.predictedDepartureInterval && - this.predictedDepartureTime == other.predictedDepartureTime && - this.predictedOccupancy == other.predictedOccupancy && - this.routeId == other.routeId && - this.routeLongName == other.routeLongName && - this.routeShortName == other.routeShortName && - this.scheduledArrivalInterval == other.scheduledArrivalInterval && - this.scheduledArrivalTime == other.scheduledArrivalTime && - this.scheduledDepartureInterval == other.scheduledDepartureInterval && - this.scheduledDepartureTime == other.scheduledDepartureTime && - this.scheduledTrack == other.scheduledTrack && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.stopId == other.stopId && - this.stopSequence == other.stopSequence && - this.totalStopsInTrip == other.totalStopsInTrip && - this.tripHeadsign == other.tripHeadsign && - this.tripId == other.tripId && - this.tripStatus == other.tripStatus && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ArrivalsAndDeparture && this.actualTrack == other.actualTrack && this.arrivalEnabled == other.arrivalEnabled && this.blockTripSequence == other.blockTripSequence && this.departureEnabled == other.departureEnabled && this.distanceFromStop == other.distanceFromStop && this.frequency == other.frequency && this.historicalOccupancy == other.historicalOccupancy && this.lastUpdateTime == other.lastUpdateTime && this.numberOfStopsAway == other.numberOfStopsAway && this.occupancyStatus == other.occupancyStatus && this.predicted == other.predicted && this.predictedArrivalInterval == other.predictedArrivalInterval && this.predictedArrivalTime == other.predictedArrivalTime && this.predictedDepartureInterval == other.predictedDepartureInterval && this.predictedDepartureTime == other.predictedDepartureTime && this.predictedOccupancy == other.predictedOccupancy && this.routeId == other.routeId && this.routeLongName == other.routeLongName && this.routeShortName == other.routeShortName && this.scheduledArrivalInterval == other.scheduledArrivalInterval && this.scheduledArrivalTime == other.scheduledArrivalTime && this.scheduledDepartureInterval == other.scheduledDepartureInterval && this.scheduledDepartureTime == other.scheduledDepartureTime && this.scheduledTrack == other.scheduledTrack && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.stopId == other.stopId && this.stopSequence == other.stopSequence && this.totalStopsInTrip == other.totalStopsInTrip && this.tripHeadsign == other.tripHeadsign && this.tripId == other.tripId && this.tripStatus == other.tripStatus && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - actualTrack, - arrivalEnabled, - blockTripSequence, - departureEnabled, - distanceFromStop, - frequency, - historicalOccupancy, - lastUpdateTime, - numberOfStopsAway, - occupancyStatus, - predicted, - predictedArrivalInterval, - predictedArrivalTime, - predictedDepartureInterval, - predictedDepartureTime, - predictedOccupancy, - routeId, - routeLongName, - routeShortName, - scheduledArrivalInterval, - scheduledArrivalTime, - scheduledDepartureInterval, - scheduledDepartureTime, - scheduledTrack, - serviceDate, - situationIds, - status, - stopId, - stopSequence, - totalStopsInTrip, - tripHeadsign, - tripId, - tripStatus, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(actualTrack, arrivalEnabled, blockTripSequence, departureEnabled, distanceFromStop, frequency, historicalOccupancy, lastUpdateTime, numberOfStopsAway, occupancyStatus, predicted, predictedArrivalInterval, predictedArrivalTime, predictedDepartureInterval, predictedDepartureTime, predictedOccupancy, routeId, routeLongName, routeShortName, scheduledArrivalInterval, scheduledArrivalTime, scheduledDepartureInterval, scheduledDepartureTime, scheduledTrack, serviceDate, situationIds, status, stopId, stopSequence, totalStopsInTrip, tripHeadsign, tripId, tripStatus, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -2532,16 +2386,14 @@ private constructor( return true } - return other is Entry && - this.arrivalsAndDepartures == other.arrivalsAndDepartures && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.arrivalsAndDepartures == other.arrivalsAndDepartures && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = Objects.hash(arrivalsAndDepartures, additionalProperties) + hashCode = /* spotless:off */ Objects.hash(arrivalsAndDepartures, additionalProperties) /* spotless:on */ } return hashCode } @@ -2555,22 +2407,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -2584,28 +2428,14 @@ private constructor( return true } - return other is ArrivalAndDepartureListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ArrivalAndDepartureListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveParams.kt index 6452f17..2ffb017 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveParams.kt @@ -62,28 +62,11 @@ constructor( return true } - return other is ArrivalAndDepartureRetrieveParams && - this.stopId == other.stopId && - this.serviceDate == other.serviceDate && - this.tripId == other.tripId && - this.stopSequence == other.stopSequence && - this.time == other.time && - this.vehicleId == other.vehicleId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ArrivalAndDepartureRetrieveParams && this.stopId == other.stopId && this.serviceDate == other.serviceDate && this.tripId == other.tripId && this.stopSequence == other.stopSequence && this.time == other.time && this.vehicleId == other.vehicleId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - stopId, - serviceDate, - tripId, - stopSequence, - time, - vehicleId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(stopId, serviceDate, tripId, stopSequence, time, vehicleId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveResponse.kt index 7e914d3..d632963 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ArrivalAndDepartureRetrieveResponse.kt @@ -2053,22 +2053,14 @@ private constructor( return true } - return other is LastKnownLocation && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is LastKnownLocation && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -2178,22 +2170,14 @@ private constructor( return true } - return other is Position && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Position && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -2207,72 +2191,14 @@ private constructor( return true } - return other is TripStatus && - this.activeTripId == other.activeTripId && - this.blockTripSequence == other.blockTripSequence && - this.closestStop == other.closestStop && - this.closestStopTimeOffset == other.closestStopTimeOffset && - this.distanceAlongTrip == other.distanceAlongTrip && - this.frequency == other.frequency && - this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && - this.lastKnownLocation == other.lastKnownLocation && - this.lastKnownOrientation == other.lastKnownOrientation && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.lastUpdateTime == other.lastUpdateTime && - this.nextStop == other.nextStop && - this.nextStopTimeOffset == other.nextStopTimeOffset && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.orientation == other.orientation && - this.phase == other.phase && - this.position == other.position && - this.predicted == other.predicted && - this.scheduleDeviation == other.scheduleDeviation && - this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripStatus && this.activeTripId == other.activeTripId && this.blockTripSequence == other.blockTripSequence && this.closestStop == other.closestStop && this.closestStopTimeOffset == other.closestStopTimeOffset && this.distanceAlongTrip == other.distanceAlongTrip && this.frequency == other.frequency && this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && this.lastKnownLocation == other.lastKnownLocation && this.lastKnownOrientation == other.lastKnownOrientation && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.lastUpdateTime == other.lastUpdateTime && this.nextStop == other.nextStop && this.nextStopTimeOffset == other.nextStopTimeOffset && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.orientation == other.orientation && this.phase == other.phase && this.position == other.position && this.predicted == other.predicted && this.scheduleDeviation == other.scheduleDeviation && this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeTripId, - blockTripSequence, - closestStop, - closestStopTimeOffset, - distanceAlongTrip, - frequency, - lastKnownDistanceAlongTrip, - lastKnownLocation, - lastKnownOrientation, - lastLocationUpdateTime, - lastUpdateTime, - nextStop, - nextStopTimeOffset, - occupancyCapacity, - occupancyCount, - occupancyStatus, - orientation, - phase, - position, - predicted, - scheduleDeviation, - scheduledDistanceAlongTrip, - serviceDate, - situationIds, - status, - totalDistanceAlongTrip, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeTripId, blockTripSequence, closestStop, closestStopTimeOffset, distanceAlongTrip, frequency, lastKnownDistanceAlongTrip, lastKnownLocation, lastKnownOrientation, lastLocationUpdateTime, lastUpdateTime, nextStop, nextStopTimeOffset, occupancyCapacity, occupancyCount, occupancyStatus, orientation, phase, position, predicted, scheduleDeviation, scheduledDistanceAlongTrip, serviceDate, situationIds, status, totalDistanceAlongTrip, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -2286,86 +2212,14 @@ private constructor( return true } - return other is Entry && - this.actualTrack == other.actualTrack && - this.arrivalEnabled == other.arrivalEnabled && - this.blockTripSequence == other.blockTripSequence && - this.departureEnabled == other.departureEnabled && - this.distanceFromStop == other.distanceFromStop && - this.frequency == other.frequency && - this.historicalOccupancy == other.historicalOccupancy && - this.lastUpdateTime == other.lastUpdateTime && - this.numberOfStopsAway == other.numberOfStopsAway && - this.occupancyStatus == other.occupancyStatus && - this.predicted == other.predicted && - this.predictedArrivalInterval == other.predictedArrivalInterval && - this.predictedArrivalTime == other.predictedArrivalTime && - this.predictedDepartureInterval == other.predictedDepartureInterval && - this.predictedDepartureTime == other.predictedDepartureTime && - this.predictedOccupancy == other.predictedOccupancy && - this.routeId == other.routeId && - this.routeLongName == other.routeLongName && - this.routeShortName == other.routeShortName && - this.scheduledArrivalInterval == other.scheduledArrivalInterval && - this.scheduledArrivalTime == other.scheduledArrivalTime && - this.scheduledDepartureInterval == other.scheduledDepartureInterval && - this.scheduledDepartureTime == other.scheduledDepartureTime && - this.scheduledTrack == other.scheduledTrack && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.stopId == other.stopId && - this.stopSequence == other.stopSequence && - this.totalStopsInTrip == other.totalStopsInTrip && - this.tripHeadsign == other.tripHeadsign && - this.tripId == other.tripId && - this.tripStatus == other.tripStatus && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.actualTrack == other.actualTrack && this.arrivalEnabled == other.arrivalEnabled && this.blockTripSequence == other.blockTripSequence && this.departureEnabled == other.departureEnabled && this.distanceFromStop == other.distanceFromStop && this.frequency == other.frequency && this.historicalOccupancy == other.historicalOccupancy && this.lastUpdateTime == other.lastUpdateTime && this.numberOfStopsAway == other.numberOfStopsAway && this.occupancyStatus == other.occupancyStatus && this.predicted == other.predicted && this.predictedArrivalInterval == other.predictedArrivalInterval && this.predictedArrivalTime == other.predictedArrivalTime && this.predictedDepartureInterval == other.predictedDepartureInterval && this.predictedDepartureTime == other.predictedDepartureTime && this.predictedOccupancy == other.predictedOccupancy && this.routeId == other.routeId && this.routeLongName == other.routeLongName && this.routeShortName == other.routeShortName && this.scheduledArrivalInterval == other.scheduledArrivalInterval && this.scheduledArrivalTime == other.scheduledArrivalTime && this.scheduledDepartureInterval == other.scheduledDepartureInterval && this.scheduledDepartureTime == other.scheduledDepartureTime && this.scheduledTrack == other.scheduledTrack && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.stopId == other.stopId && this.stopSequence == other.stopSequence && this.totalStopsInTrip == other.totalStopsInTrip && this.tripHeadsign == other.tripHeadsign && this.tripId == other.tripId && this.tripStatus == other.tripStatus && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - actualTrack, - arrivalEnabled, - blockTripSequence, - departureEnabled, - distanceFromStop, - frequency, - historicalOccupancy, - lastUpdateTime, - numberOfStopsAway, - occupancyStatus, - predicted, - predictedArrivalInterval, - predictedArrivalTime, - predictedDepartureInterval, - predictedDepartureTime, - predictedOccupancy, - routeId, - routeLongName, - routeShortName, - scheduledArrivalInterval, - scheduledArrivalTime, - scheduledDepartureInterval, - scheduledDepartureTime, - scheduledTrack, - serviceDate, - situationIds, - status, - stopId, - stopSequence, - totalStopsInTrip, - tripHeadsign, - tripId, - tripStatus, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(actualTrack, arrivalEnabled, blockTripSequence, departureEnabled, distanceFromStop, frequency, historicalOccupancy, lastUpdateTime, numberOfStopsAway, occupancyStatus, predicted, predictedArrivalInterval, predictedArrivalTime, predictedDepartureInterval, predictedDepartureTime, predictedOccupancy, routeId, routeLongName, routeShortName, scheduledArrivalInterval, scheduledArrivalTime, scheduledDepartureInterval, scheduledDepartureTime, scheduledTrack, serviceDate, situationIds, status, stopId, stopSequence, totalStopsInTrip, tripHeadsign, tripId, tripStatus, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -2379,22 +2233,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -2408,28 +2254,14 @@ private constructor( return true } - return other is ArrivalAndDepartureRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ArrivalAndDepartureRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveParams.kt index 0fd55f6..5088d82 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is BlockRetrieveParams && - this.blockId == other.blockId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is BlockRetrieveParams && this.blockId == other.blockId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - blockId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(blockId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveResponse.kt index 34a9405..90735d1 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/BlockRetrieveResponse.kt @@ -878,28 +878,14 @@ private constructor( return true } - return other is StopTime && - this.stopId == other.stopId && - this.arrivalTime == other.arrivalTime && - this.departureTime == other.departureTime && - this.pickupType == other.pickupType && - this.dropOffType == other.dropOffType && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTime && this.stopId == other.stopId && this.arrivalTime == other.arrivalTime && this.departureTime == other.departureTime && this.pickupType == other.pickupType && this.dropOffType == other.dropOffType && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - stopId, - arrivalTime, - departureTime, - pickupType, - dropOffType, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(stopId, arrivalTime, departureTime, pickupType, dropOffType, additionalProperties) /* spotless:on */ } return hashCode } @@ -913,26 +899,14 @@ private constructor( return true } - return other is BlockStopTime && - this.blockSequence == other.blockSequence && - this.distanceAlongBlock == other.distanceAlongBlock && - this.accumulatedSlackTime == other.accumulatedSlackTime && - this.stopTime == other.stopTime && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is BlockStopTime && this.blockSequence == other.blockSequence && this.distanceAlongBlock == other.distanceAlongBlock && this.accumulatedSlackTime == other.accumulatedSlackTime && this.stopTime == other.stopTime && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - blockSequence, - distanceAlongBlock, - accumulatedSlackTime, - stopTime, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(blockSequence, distanceAlongBlock, accumulatedSlackTime, stopTime, additionalProperties) /* spotless:on */ } return hashCode } @@ -946,26 +920,14 @@ private constructor( return true } - return other is Trip && - this.tripId == other.tripId && - this.distanceAlongBlock == other.distanceAlongBlock && - this.accumulatedSlackTime == other.accumulatedSlackTime && - this.blockStopTimes == other.blockStopTimes && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Trip && this.tripId == other.tripId && this.distanceAlongBlock == other.distanceAlongBlock && this.accumulatedSlackTime == other.accumulatedSlackTime && this.blockStopTimes == other.blockStopTimes && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - tripId, - distanceAlongBlock, - accumulatedSlackTime, - blockStopTimes, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(tripId, distanceAlongBlock, accumulatedSlackTime, blockStopTimes, additionalProperties) /* spotless:on */ } return hashCode } @@ -979,24 +941,14 @@ private constructor( return true } - return other is Configuration && - this.activeServiceIds == other.activeServiceIds && - this.inactiveServiceIds == other.inactiveServiceIds && - this.trips == other.trips && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Configuration && this.activeServiceIds == other.activeServiceIds && this.inactiveServiceIds == other.inactiveServiceIds && this.trips == other.trips && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeServiceIds, - inactiveServiceIds, - trips, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeServiceIds, inactiveServiceIds, trips, additionalProperties) /* spotless:on */ } return hashCode } @@ -1010,22 +962,14 @@ private constructor( return true } - return other is Entry && - this.id == other.id && - this.configurations == other.configurations && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.id == other.id && this.configurations == other.configurations && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - id, - configurations, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(id, configurations, additionalProperties) /* spotless:on */ } return hashCode } @@ -1039,22 +983,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -1068,28 +1004,14 @@ private constructor( return true } - return other is BlockRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is BlockRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveParams.kt index 4607179..686688c 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveParams.kt @@ -26,13 +26,11 @@ constructor( return true } - return other is ConfigRetrieveParams && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ConfigRetrieveParams && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash(additionalQueryParams, additionalHeaders) + return /* spotless:off */ Objects.hash(additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveResponse.kt index e2256f4..14953cb 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ConfigRetrieveResponse.kt @@ -854,58 +854,14 @@ private constructor( return true } - return other is GitProperties && - this.gitBranch == other.gitBranch && - this.gitBuildHost == other.gitBuildHost && - this.gitBuildTime == other.gitBuildTime && - this.gitBuildUserEmail == other.gitBuildUserEmail && - this.gitBuildUserName == other.gitBuildUserName && - this.gitBuildVersion == other.gitBuildVersion && - this.gitClosestTagCommitCount == other.gitClosestTagCommitCount && - this.gitClosestTagName == other.gitClosestTagName && - this.gitCommitId == other.gitCommitId && - this.gitCommitIdAbbrev == other.gitCommitIdAbbrev && - this.gitCommitIdDescribe == other.gitCommitIdDescribe && - this.gitCommitIdDescribeShort == other.gitCommitIdDescribeShort && - this.gitCommitMessageFull == other.gitCommitMessageFull && - this.gitCommitMessageShort == other.gitCommitMessageShort && - this.gitCommitTime == other.gitCommitTime && - this.gitCommitUserEmail == other.gitCommitUserEmail && - this.gitCommitUserName == other.gitCommitUserName && - this.gitDirty == other.gitDirty && - this.gitRemoteOriginUrl == other.gitRemoteOriginUrl && - this.gitTags == other.gitTags && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is GitProperties && this.gitBranch == other.gitBranch && this.gitBuildHost == other.gitBuildHost && this.gitBuildTime == other.gitBuildTime && this.gitBuildUserEmail == other.gitBuildUserEmail && this.gitBuildUserName == other.gitBuildUserName && this.gitBuildVersion == other.gitBuildVersion && this.gitClosestTagCommitCount == other.gitClosestTagCommitCount && this.gitClosestTagName == other.gitClosestTagName && this.gitCommitId == other.gitCommitId && this.gitCommitIdAbbrev == other.gitCommitIdAbbrev && this.gitCommitIdDescribe == other.gitCommitIdDescribe && this.gitCommitIdDescribeShort == other.gitCommitIdDescribeShort && this.gitCommitMessageFull == other.gitCommitMessageFull && this.gitCommitMessageShort == other.gitCommitMessageShort && this.gitCommitTime == other.gitCommitTime && this.gitCommitUserEmail == other.gitCommitUserEmail && this.gitCommitUserName == other.gitCommitUserName && this.gitDirty == other.gitDirty && this.gitRemoteOriginUrl == other.gitRemoteOriginUrl && this.gitTags == other.gitTags && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - gitBranch, - gitBuildHost, - gitBuildTime, - gitBuildUserEmail, - gitBuildUserName, - gitBuildVersion, - gitClosestTagCommitCount, - gitClosestTagName, - gitCommitId, - gitCommitIdAbbrev, - gitCommitIdDescribe, - gitCommitIdDescribeShort, - gitCommitMessageFull, - gitCommitMessageShort, - gitCommitTime, - gitCommitUserEmail, - gitCommitUserName, - gitDirty, - gitRemoteOriginUrl, - gitTags, - additionalProperties, - ) + hashCode = /* spotless:off */ 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 */ } return hashCode } @@ -919,28 +875,14 @@ private constructor( return true } - return other is Entry && - this.gitProperties == other.gitProperties && - this.id == other.id && - this.name == other.name && - this.serviceDateFrom == other.serviceDateFrom && - this.serviceDateTo == other.serviceDateTo && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.gitProperties == other.gitProperties && this.id == other.id && this.name == other.name && this.serviceDateFrom == other.serviceDateFrom && this.serviceDateTo == other.serviceDateTo && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - gitProperties, - id, - name, - serviceDateFrom, - serviceDateTo, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(gitProperties, id, name, serviceDateFrom, serviceDateTo, additionalProperties) /* spotless:on */ } return hashCode } @@ -954,22 +896,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -983,28 +917,14 @@ private constructor( return true } - return other is ConfigRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ConfigRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveParams.kt index 846cd57..3ef4883 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveParams.kt @@ -26,13 +26,11 @@ constructor( return true } - return other is CurrentTimeRetrieveParams && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is CurrentTimeRetrieveParams && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash(additionalQueryParams, additionalHeaders) + return /* spotless:off */ Objects.hash(additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveResponse.kt index 578c052..37fd783 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/CurrentTimeRetrieveResponse.kt @@ -334,22 +334,14 @@ private constructor( return true } - return other is Entry && - this.readableTime == other.readableTime && - this.time == other.time && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.readableTime == other.readableTime && this.time == other.time && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - readableTime, - time, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(readableTime, time, additionalProperties) /* spotless:on */ } return hashCode } @@ -363,22 +355,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -392,28 +376,14 @@ private constructor( return true } - return other is CurrentTimeRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is CurrentTimeRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } 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 b721ae1..4fcfa02 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 @@ -380,38 +380,14 @@ private constructor( return true } - return other is Agency && - this.disclaimer == other.disclaimer && - this.email == other.email && - this.fareUrl == other.fareUrl && - this.id == other.id && - this.lang == other.lang && - this.name == other.name && - this.phone == other.phone && - this.privateService == other.privateService && - this.timezone == other.timezone && - this.url == other.url && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Agency && this.disclaimer == other.disclaimer && this.email == other.email && this.fareUrl == other.fareUrl && this.id == other.id && this.lang == other.lang && this.name == other.name && this.phone == other.phone && this.privateService == other.privateService && this.timezone == other.timezone && this.url == other.url && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - disclaimer, - email, - fareUrl, - id, - lang, - name, - phone, - privateService, - timezone, - url, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(disclaimer, email, fareUrl, id, lang, name, phone, privateService, timezone, url, additionalProperties) /* spotless:on */ } return hashCode } @@ -639,38 +615,14 @@ private constructor( return true } - return other is Route && - this.agencyId == other.agencyId && - this.color == other.color && - this.description == other.description && - this.id == other.id && - this.longName == other.longName && - this.nullSafeShortName == other.nullSafeShortName && - this.shortName == other.shortName && - this.textColor == other.textColor && - this.type == other.type && - this.url == other.url && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Route && this.agencyId == other.agencyId && this.color == other.color && this.description == other.description && this.id == other.id && this.longName == other.longName && this.nullSafeShortName == other.nullSafeShortName && this.shortName == other.shortName && this.textColor == other.textColor && this.type == other.type && this.url == other.url && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencyId, - color, - description, - id, - longName, - nullSafeShortName, - shortName, - textColor, - type, - url, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencyId, color, description, id, longName, nullSafeShortName, shortName, textColor, type, url, additionalProperties) /* spotless:on */ } return hashCode } @@ -1061,22 +1013,14 @@ private constructor( return true } - return other is ActiveWindow && - this.from == other.from && - this.to == other.to && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ActiveWindow && this.from == other.from && this.to == other.to && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - from, - to, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(from, to, additionalProperties) /* spotless:on */ } return hashCode } @@ -1267,30 +1211,14 @@ private constructor( return true } - return other is AllAffect && - this.agencyId == other.agencyId && - this.applicationId == other.applicationId && - this.directionId == other.directionId && - this.routeId == other.routeId && - this.stopId == other.stopId && - this.tripId == other.tripId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is AllAffect && this.agencyId == other.agencyId && this.applicationId == other.applicationId && this.directionId == other.directionId && this.routeId == other.routeId && this.stopId == other.stopId && this.tripId == other.tripId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencyId, - applicationId, - directionId, - routeId, - stopId, - tripId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencyId, applicationId, directionId, routeId, stopId, tripId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1613,24 +1541,14 @@ private constructor( return true } - return other is DiversionPath && - this.length == other.length && - this.levels == other.levels && - this.points == other.points && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is DiversionPath && this.length == other.length && this.levels == other.levels && this.points == other.points && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - length, - levels, - points, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(length, levels, points, additionalProperties) /* spotless:on */ } return hashCode } @@ -1644,22 +1562,14 @@ private constructor( return true } - return other is ConditionDetails && - this.diversionPath == other.diversionPath && - this.diversionStopIds == other.diversionStopIds && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ConditionDetails && this.diversionPath == other.diversionPath && this.diversionStopIds == other.diversionStopIds && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - diversionPath, - diversionStopIds, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(diversionPath, diversionStopIds, additionalProperties) /* spotless:on */ } return hashCode } @@ -1673,22 +1583,14 @@ private constructor( return true } - return other is Consequence && - this.condition == other.condition && - this.conditionDetails == other.conditionDetails && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Consequence && this.condition == other.condition && this.conditionDetails == other.conditionDetails && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - condition, - conditionDetails, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(condition, conditionDetails, additionalProperties) /* spotless:on */ } return hashCode } @@ -1796,22 +1698,14 @@ private constructor( return true } - return other is Description && - this.lang == other.lang && - this.value == other.value && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Description && this.lang == other.lang && this.value == other.value && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lang, - value, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lang, value, additionalProperties) /* spotless:on */ } return hashCode } @@ -1919,22 +1813,14 @@ private constructor( return true } - return other is PublicationWindow && - this.from == other.from && - this.to == other.to && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is PublicationWindow && this.from == other.from && this.to == other.to && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - from, - to, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(from, to, additionalProperties) /* spotless:on */ } return hashCode } @@ -1956,7 +1842,7 @@ private constructor( return true } - return other is Reason && this.value == other.value + return /* spotless:off */ other is Reason && this.value == other.value /* spotless:on */ } override fun hashCode() = value.hashCode() @@ -2117,22 +2003,14 @@ private constructor( return true } - return other is Summary && - this.lang == other.lang && - this.value == other.value && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Summary && this.lang == other.lang && this.value == other.value && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lang, - value, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lang, value, additionalProperties) /* spotless:on */ } return hashCode } @@ -2240,22 +2118,14 @@ private constructor( return true } - return other is Url && - this.lang == other.lang && - this.value == other.value && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Url && this.lang == other.lang && this.value == other.value && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lang, - value, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lang, value, additionalProperties) /* spotless:on */ } return hashCode } @@ -2269,42 +2139,14 @@ private constructor( return true } - return other is Situation && - this.id == other.id && - this.creationTime == other.creationTime && - this.reason == other.reason && - this.summary == other.summary && - this.description == other.description && - this.url == other.url && - this.activeWindows == other.activeWindows && - this.allAffects == other.allAffects && - this.consequences == other.consequences && - this.publicationWindows == other.publicationWindows && - this.severity == other.severity && - this.consequenceMessage == other.consequenceMessage && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Situation && this.id == other.id && this.creationTime == other.creationTime && this.reason == other.reason && this.summary == other.summary && this.description == other.description && this.url == other.url && this.activeWindows == other.activeWindows && this.allAffects == other.allAffects && this.consequences == other.consequences && this.publicationWindows == other.publicationWindows && this.severity == other.severity && this.consequenceMessage == other.consequenceMessage && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - id, - creationTime, - reason, - summary, - description, - url, - activeWindows, - allAffects, - consequences, - publicationWindows, - severity, - consequenceMessage, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(id, creationTime, reason, summary, description, url, activeWindows, allAffects, consequences, publicationWindows, severity, consequenceMessage, additionalProperties) /* spotless:on */ } return hashCode } @@ -2552,40 +2394,14 @@ private constructor( return true } - return other is Stop && - this.code == other.code && - this.direction == other.direction && - this.id == other.id && - this.lat == other.lat && - this.locationType == other.locationType && - this.lon == other.lon && - this.name == other.name && - this.parent == other.parent && - this.routeIds == other.routeIds && - this.staticRouteIds == other.staticRouteIds && - this.wheelchairBoarding == other.wheelchairBoarding && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Stop && this.code == other.code && this.direction == other.direction && this.id == other.id && this.lat == other.lat && this.locationType == other.locationType && this.lon == other.lon && this.name == other.name && this.parent == other.parent && this.routeIds == other.routeIds && this.staticRouteIds == other.staticRouteIds && this.wheelchairBoarding == other.wheelchairBoarding && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - direction, - id, - lat, - locationType, - lon, - name, - parent, - routeIds, - staticRouteIds, - wheelchairBoarding, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, direction, id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, wheelchairBoarding, additionalProperties) /* spotless:on */ } return hashCode } @@ -2763,30 +2579,14 @@ private constructor( return true } - return other is StopTime && - this.arrivalTime == other.arrivalTime && - this.departureTime == other.departureTime && - this.distanceAlongTrip == other.distanceAlongTrip && - this.historicalOccupancy == other.historicalOccupancy && - this.stopHeadsign == other.stopHeadsign && - this.stopId == other.stopId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTime && this.arrivalTime == other.arrivalTime && this.departureTime == other.departureTime && this.distanceAlongTrip == other.distanceAlongTrip && this.historicalOccupancy == other.historicalOccupancy && this.stopHeadsign == other.stopHeadsign && this.stopId == other.stopId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - arrivalTime, - departureTime, - distanceAlongTrip, - historicalOccupancy, - stopHeadsign, - stopId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) /* spotless:on */ } return hashCode } @@ -3034,40 +2834,14 @@ private constructor( return true } - return other is Trip && - this.blockId == other.blockId && - this.directionId == other.directionId && - this.id == other.id && - this.peakOffpeak == other.peakOffpeak && - this.routeId == other.routeId && - this.routeShortName == other.routeShortName && - this.serviceId == other.serviceId && - this.shapeId == other.shapeId && - this.timeZone == other.timeZone && - this.tripHeadsign == other.tripHeadsign && - this.tripShortName == other.tripShortName && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Trip && this.blockId == other.blockId && this.directionId == other.directionId && this.id == other.id && this.peakOffpeak == other.peakOffpeak && this.routeId == other.routeId && this.routeShortName == other.routeShortName && this.serviceId == other.serviceId && this.shapeId == other.shapeId && this.timeZone == other.timeZone && this.tripHeadsign == other.tripHeadsign && this.tripShortName == other.tripShortName && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - blockId, - directionId, - id, - peakOffpeak, - routeId, - routeShortName, - serviceId, - shapeId, - timeZone, - tripHeadsign, - tripShortName, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(blockId, directionId, id, peakOffpeak, routeId, routeShortName, serviceId, shapeId, timeZone, tripHeadsign, tripShortName, additionalProperties) /* spotless:on */ } return hashCode } @@ -3081,30 +2855,14 @@ private constructor( return true } - return other is References && - this.agencies == other.agencies && - this.routes == other.routes && - this.situations == other.situations && - this.stopTimes == other.stopTimes && - this.stops == other.stops && - this.trips == other.trips && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is References && this.agencies == other.agencies && this.routes == other.routes && this.situations == other.situations && this.stopTimes == other.stopTimes && this.stops == other.stops && this.trips == other.trips && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencies, - routes, - situations, - stopTimes, - stops, - trips, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencies, routes, situations, stopTimes, stops, trips, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithStopRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithStopRetrieveParams.kt index 99a2e5a..f61b5ac 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithStopRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithStopRetrieveParams.kt @@ -67,28 +67,11 @@ constructor( return true } - return other is ReportProblemWithStopRetrieveParams && - this.stopId == other.stopId && - this.code == other.code && - this.userComment == other.userComment && - this.userLat == other.userLat && - this.userLocationAccuracy == other.userLocationAccuracy && - this.userLon == other.userLon && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ReportProblemWithStopRetrieveParams && this.stopId == other.stopId && this.code == other.code && this.userComment == other.userComment && this.userLat == other.userLat && this.userLocationAccuracy == other.userLocationAccuracy && this.userLon == other.userLon && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - stopId, - code, - userComment, - userLat, - userLocationAccuracy, - userLon, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(stopId, code, userComment, userLat, userLocationAccuracy, userLon, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = @@ -212,7 +195,7 @@ constructor( return true } - return other is Code && this.value == other.value + return /* spotless:off */ other is Code && this.value == other.value /* spotless:on */ } override fun hashCode() = value.hashCode() diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithTripRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithTripRetrieveParams.kt index 9cfbce1..5f6bfca 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithTripRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ReportProblemWithTripRetrieveParams.kt @@ -87,38 +87,11 @@ constructor( return true } - return other is ReportProblemWithTripRetrieveParams && - this.tripId == other.tripId && - this.code == other.code && - this.serviceDate == other.serviceDate && - this.stopId == other.stopId && - this.userComment == other.userComment && - this.userLat == other.userLat && - this.userLocationAccuracy == other.userLocationAccuracy && - this.userLon == other.userLon && - this.userOnVehicle == other.userOnVehicle && - this.userVehicleNumber == other.userVehicleNumber && - this.vehicleId == other.vehicleId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ReportProblemWithTripRetrieveParams && this.tripId == other.tripId && this.code == other.code && this.serviceDate == other.serviceDate && this.stopId == other.stopId && this.userComment == other.userComment && this.userLat == other.userLat && this.userLocationAccuracy == other.userLocationAccuracy && this.userLon == other.userLon && this.userOnVehicle == other.userOnVehicle && this.userVehicleNumber == other.userVehicleNumber && this.vehicleId == other.vehicleId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - tripId, - code, - serviceDate, - stopId, - userComment, - userLat, - userLocationAccuracy, - userLon, - userOnVehicle, - userVehicleNumber, - vehicleId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(tripId, code, serviceDate, stopId, userComment, userLat, userLocationAccuracy, userLon, userOnVehicle, userVehicleNumber, vehicleId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = @@ -274,7 +247,7 @@ constructor( return true } - return other is Code && this.value == other.value + return /* spotless:off */ other is Code && this.value == other.value /* spotless:on */ } override fun hashCode() = value.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 e74aa5b..855234e 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 @@ -134,26 +134,14 @@ private constructor( return true } - return other is ResponseWrapper && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ResponseWrapper && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListParams.kt index 203c0cb..51ed0fe 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is RouteIdsForAgencyListParams && - this.agencyId == other.agencyId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is RouteIdsForAgencyListParams && this.agencyId == other.agencyId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - agencyId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(agencyId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListResponse.kt index 0e28862..c1420e5 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteIdsForAgencyListResponse.kt @@ -261,24 +261,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -292,28 +282,14 @@ private constructor( return true } - return other is RouteIdsForAgencyListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is RouteIdsForAgencyListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveParams.kt index 001476f..fc312f0 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is RouteRetrieveParams && - this.routeId == other.routeId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is RouteRetrieveParams && this.routeId == other.routeId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - routeId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(routeId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveResponse.kt index 1d1ee45..a07be64 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RouteRetrieveResponse.kt @@ -462,38 +462,14 @@ private constructor( return true } - return other is Entry && - this.agencyId == other.agencyId && - this.color == other.color && - this.description == other.description && - this.id == other.id && - this.longName == other.longName && - this.nullSafeShortName == other.nullSafeShortName && - this.shortName == other.shortName && - this.textColor == other.textColor && - this.type == other.type && - this.url == other.url && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.agencyId == other.agencyId && this.color == other.color && this.description == other.description && this.id == other.id && this.longName == other.longName && this.nullSafeShortName == other.nullSafeShortName && this.shortName == other.shortName && this.textColor == other.textColor && this.type == other.type && this.url == other.url && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencyId, - color, - description, - id, - longName, - nullSafeShortName, - shortName, - textColor, - type, - url, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencyId, color, description, id, longName, nullSafeShortName, shortName, textColor, type, url, additionalProperties) /* spotless:on */ } return hashCode } @@ -507,22 +483,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -536,28 +504,14 @@ private constructor( return true } - return other is RouteRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is RouteRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListParams.kt index 2eb9776..8c67ebf 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is RoutesForAgencyListParams && - this.agencyId == other.agencyId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is RoutesForAgencyListParams && this.agencyId == other.agencyId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - agencyId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(agencyId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListResponse.kt index c7d77cc..9bd81c1 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForAgencyListResponse.kt @@ -479,38 +479,14 @@ private constructor( return true } - return other is List && - this.agencyId == other.agencyId && - this.color == other.color && - this.description == other.description && - this.id == other.id && - this.longName == other.longName && - this.nullSafeShortName == other.nullSafeShortName && - this.shortName == other.shortName && - this.textColor == other.textColor && - this.type == other.type && - this.url == other.url && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.agencyId == other.agencyId && this.color == other.color && this.description == other.description && this.id == other.id && this.longName == other.longName && this.nullSafeShortName == other.nullSafeShortName && this.shortName == other.shortName && this.textColor == other.textColor && this.type == other.type && this.url == other.url && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencyId, - color, - description, - id, - longName, - nullSafeShortName, - shortName, - textColor, - type, - url, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencyId, color, description, id, longName, nullSafeShortName, shortName, textColor, type, url, additionalProperties) /* spotless:on */ } return hashCode } @@ -524,24 +500,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -555,28 +521,14 @@ private constructor( return true } - return other is RoutesForAgencyListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is RoutesForAgencyListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListParams.kt index 5d7f3e1..ca247f8 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListParams.kt @@ -56,28 +56,11 @@ constructor( return true } - return other is RoutesForLocationListParams && - this.lat == other.lat && - this.lon == other.lon && - this.latSpan == other.latSpan && - this.lonSpan == other.lonSpan && - this.query == other.query && - this.radius == other.radius && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is RoutesForLocationListParams && this.lat == other.lat && this.lon == other.lon && this.latSpan == other.latSpan && this.lonSpan == other.lonSpan && this.query == other.query && this.radius == other.radius && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - lat, - lon, - latSpan, - lonSpan, - query, - radius, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(lat, lon, latSpan, lonSpan, query, radius, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListResponse.kt index 70554a4..f94a844 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/RoutesForLocationListResponse.kt @@ -494,38 +494,14 @@ private constructor( return true } - return other is List && - this.agencyId == other.agencyId && - this.color == other.color && - this.description == other.description && - this.id == other.id && - this.longName == other.longName && - this.nullSafeShortName == other.nullSafeShortName && - this.shortName == other.shortName && - this.textColor == other.textColor && - this.type == other.type && - this.url == other.url && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.agencyId == other.agencyId && this.color == other.color && this.description == other.description && this.id == other.id && this.longName == other.longName && this.nullSafeShortName == other.nullSafeShortName && this.shortName == other.shortName && this.textColor == other.textColor && this.type == other.type && this.url == other.url && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencyId, - color, - description, - id, - longName, - nullSafeShortName, - shortName, - textColor, - type, - url, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencyId, color, description, id, longName, nullSafeShortName, shortName, textColor, type, url, additionalProperties) /* spotless:on */ } return hashCode } @@ -539,26 +515,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.outOfRange == other.outOfRange && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.outOfRange == other.outOfRange && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - outOfRange, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -572,28 +536,14 @@ private constructor( return true } - return other is RoutesForLocationListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is RoutesForLocationListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveParams.kt index 3496c12..21baa0b 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveParams.kt @@ -47,20 +47,11 @@ constructor( return true } - return other is ScheduleForRouteRetrieveParams && - this.routeId == other.routeId && - this.date == other.date && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ScheduleForRouteRetrieveParams && this.routeId == other.routeId && this.date == other.date && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - routeId, - date, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(routeId, date, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveResponse.kt index 0f0f6d8..29e9738 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForRouteRetrieveResponse.kt @@ -624,40 +624,14 @@ private constructor( return true } - return other is Stop && - this.code == other.code && - this.direction == other.direction && - this.id == other.id && - this.lat == other.lat && - this.locationType == other.locationType && - this.lon == other.lon && - this.name == other.name && - this.parent == other.parent && - this.routeIds == other.routeIds && - this.staticRouteIds == other.staticRouteIds && - this.wheelchairBoarding == other.wheelchairBoarding && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Stop && this.code == other.code && this.direction == other.direction && this.id == other.id && this.lat == other.lat && this.locationType == other.locationType && this.lon == other.lon && this.name == other.name && this.parent == other.parent && this.routeIds == other.routeIds && this.staticRouteIds == other.staticRouteIds && this.wheelchairBoarding == other.wheelchairBoarding && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - direction, - id, - lat, - locationType, - lon, - name, - parent, - routeIds, - staticRouteIds, - wheelchairBoarding, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, direction, id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, wheelchairBoarding, additionalProperties) /* spotless:on */ } return hashCode } @@ -1112,34 +1086,14 @@ private constructor( return true } - return other is StopTime && - this.arrivalEnabled == other.arrivalEnabled && - this.arrivalTime == other.arrivalTime && - this.departureEnabled == other.departureEnabled && - this.departureTime == other.departureTime && - this.serviceId == other.serviceId && - this.stopHeadsign == other.stopHeadsign && - this.stopId == other.stopId && - this.tripId == other.tripId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTime && this.arrivalEnabled == other.arrivalEnabled && this.arrivalTime == other.arrivalTime && this.departureEnabled == other.departureEnabled && this.departureTime == other.departureTime && this.serviceId == other.serviceId && this.stopHeadsign == other.stopHeadsign && this.stopId == other.stopId && this.tripId == other.tripId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - arrivalEnabled, - arrivalTime, - departureEnabled, - departureTime, - serviceId, - stopHeadsign, - stopId, - tripId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(arrivalEnabled, arrivalTime, departureEnabled, departureTime, serviceId, stopHeadsign, stopId, tripId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1153,22 +1107,14 @@ private constructor( return true } - return other is TripsWithStopTime && - this.tripId == other.tripId && - this.stopTimes == other.stopTimes && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripsWithStopTime && this.tripId == other.tripId && this.stopTimes == other.stopTimes && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - tripId, - stopTimes, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(tripId, stopTimes, additionalProperties) /* spotless:on */ } return hashCode } @@ -1182,28 +1128,14 @@ private constructor( return true } - return other is StopTripGrouping && - this.directionId == other.directionId && - this.stopIds == other.stopIds && - this.tripHeadsigns == other.tripHeadsigns && - this.tripIds == other.tripIds && - this.tripsWithStopTimes == other.tripsWithStopTimes && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTripGrouping && this.directionId == other.directionId && this.stopIds == other.stopIds && this.tripHeadsigns == other.tripHeadsigns && this.tripIds == other.tripIds && this.tripsWithStopTimes == other.tripsWithStopTimes && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - directionId, - stopIds, - tripHeadsigns, - tripIds, - tripsWithStopTimes, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(directionId, stopIds, tripHeadsigns, tripIds, tripsWithStopTimes, additionalProperties) /* spotless:on */ } return hashCode } @@ -1463,40 +1395,14 @@ private constructor( return true } - return other is Trip && - this.blockId == other.blockId && - this.directionId == other.directionId && - this.id == other.id && - this.peakOffpeak == other.peakOffpeak && - this.routeId == other.routeId && - this.routeShortName == other.routeShortName && - this.serviceId == other.serviceId && - this.shapeId == other.shapeId && - this.timeZone == other.timeZone && - this.tripHeadsign == other.tripHeadsign && - this.tripShortName == other.tripShortName && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Trip && this.blockId == other.blockId && this.directionId == other.directionId && this.id == other.id && this.peakOffpeak == other.peakOffpeak && this.routeId == other.routeId && this.routeShortName == other.routeShortName && this.serviceId == other.serviceId && this.shapeId == other.shapeId && this.timeZone == other.timeZone && this.tripHeadsign == other.tripHeadsign && this.tripShortName == other.tripShortName && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - blockId, - directionId, - id, - peakOffpeak, - routeId, - routeShortName, - serviceId, - shapeId, - timeZone, - tripHeadsign, - tripShortName, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(blockId, directionId, id, peakOffpeak, routeId, routeShortName, serviceId, shapeId, timeZone, tripHeadsign, tripShortName, additionalProperties) /* spotless:on */ } return hashCode } @@ -1510,30 +1416,14 @@ private constructor( return true } - return other is Entry && - this.routeId == other.routeId && - this.scheduleDate == other.scheduleDate && - this.serviceIds == other.serviceIds && - this.stopTripGroupings == other.stopTripGroupings && - this.stops == other.stops && - this.trips == other.trips && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.routeId == other.routeId && this.scheduleDate == other.scheduleDate && this.serviceIds == other.serviceIds && this.stopTripGroupings == other.stopTripGroupings && this.stops == other.stops && this.trips == other.trips && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - routeId, - scheduleDate, - serviceIds, - stopTripGroupings, - stops, - trips, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(routeId, scheduleDate, serviceIds, stopTripGroupings, stops, trips, additionalProperties) /* spotless:on */ } return hashCode } @@ -1547,16 +1437,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = Objects.hash(entry, additionalProperties) + hashCode = /* spotless:off */ Objects.hash(entry, additionalProperties) /* spotless:on */ } return hashCode } @@ -1569,28 +1457,14 @@ private constructor( return true } - return other is ScheduleForRouteRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ScheduleForRouteRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveParams.kt index b674724..b5c346d 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveParams.kt @@ -47,20 +47,11 @@ constructor( return true } - return other is ScheduleForStopRetrieveParams && - this.stopId == other.stopId && - this.date == other.date && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ScheduleForStopRetrieveParams && this.stopId == other.stopId && this.date == other.date && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - stopId, - date, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(stopId, date, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveResponse.kt index eaf6d33..cd8d5d2 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ScheduleForStopRetrieveResponse.kt @@ -767,32 +767,14 @@ private constructor( return true } - return other is ScheduleStopTime && - this.arrivalEnabled == other.arrivalEnabled && - this.arrivalTime == other.arrivalTime && - this.departureEnabled == other.departureEnabled && - this.departureTime == other.departureTime && - this.serviceId == other.serviceId && - this.stopHeadsign == other.stopHeadsign && - this.tripId == other.tripId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ScheduleStopTime && this.arrivalEnabled == other.arrivalEnabled && this.arrivalTime == other.arrivalTime && this.departureEnabled == other.departureEnabled && this.departureTime == other.departureTime && this.serviceId == other.serviceId && this.stopHeadsign == other.stopHeadsign && this.tripId == other.tripId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - arrivalEnabled, - arrivalTime, - departureEnabled, - departureTime, - serviceId, - stopHeadsign, - tripId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(arrivalEnabled, arrivalTime, departureEnabled, departureTime, serviceId, stopHeadsign, tripId, additionalProperties) /* spotless:on */ } return hashCode } @@ -962,30 +944,14 @@ private constructor( return true } - return other is ScheduleFrequency && - this.serviceDate == other.serviceDate && - this.startTime == other.startTime && - this.endTime == other.endTime && - this.headway == other.headway && - this.serviceId == other.serviceId && - this.tripId == other.tripId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ScheduleFrequency && this.serviceDate == other.serviceDate && this.startTime == other.startTime && this.endTime == other.endTime && this.headway == other.headway && this.serviceId == other.serviceId && this.tripId == other.tripId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - serviceDate, - startTime, - endTime, - headway, - serviceId, - tripId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(serviceDate, startTime, endTime, headway, serviceId, tripId, additionalProperties) /* spotless:on */ } return hashCode } @@ -999,24 +965,14 @@ private constructor( return true } - return other is StopRouteDirectionSchedule && - this.scheduleFrequencies == other.scheduleFrequencies && - this.scheduleStopTimes == other.scheduleStopTimes && - this.tripHeadsign == other.tripHeadsign && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopRouteDirectionSchedule && this.scheduleFrequencies == other.scheduleFrequencies && this.scheduleStopTimes == other.scheduleStopTimes && this.tripHeadsign == other.tripHeadsign && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - scheduleFrequencies, - scheduleStopTimes, - tripHeadsign, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(scheduleFrequencies, scheduleStopTimes, tripHeadsign, additionalProperties) /* spotless:on */ } return hashCode } @@ -1030,22 +986,14 @@ private constructor( return true } - return other is StopRouteSchedule && - this.routeId == other.routeId && - this.stopRouteDirectionSchedules == other.stopRouteDirectionSchedules && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopRouteSchedule && this.routeId == other.routeId && this.stopRouteDirectionSchedules == other.stopRouteDirectionSchedules && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - routeId, - stopRouteDirectionSchedules, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(routeId, stopRouteDirectionSchedules, additionalProperties) /* spotless:on */ } return hashCode } @@ -1059,24 +1007,14 @@ private constructor( return true } - return other is Entry && - this.date == other.date && - this.stopId == other.stopId && - this.stopRouteSchedules == other.stopRouteSchedules && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.date == other.date && this.stopId == other.stopId && this.stopRouteSchedules == other.stopRouteSchedules && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - date, - stopId, - stopRouteSchedules, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(date, stopId, stopRouteSchedules, additionalProperties) /* spotless:on */ } return hashCode } @@ -1090,22 +1028,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -1119,28 +1049,14 @@ private constructor( return true } - return other is ScheduleForStopRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ScheduleForStopRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListParams.kt index 486add8..1d3e59c 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListParams.kt @@ -40,20 +40,11 @@ constructor( return true } - return other is SearchForRouteListParams && - this.input == other.input && - this.maxCount == other.maxCount && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is SearchForRouteListParams && this.input == other.input && this.maxCount == other.maxCount && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - input, - maxCount, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(input, maxCount, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListResponse.kt index e8692bf..e474bd0 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForRouteListResponse.kt @@ -494,38 +494,14 @@ private constructor( return true } - return other is List && - this.agencyId == other.agencyId && - this.color == other.color && - this.description == other.description && - this.id == other.id && - this.longName == other.longName && - this.nullSafeShortName == other.nullSafeShortName && - this.shortName == other.shortName && - this.textColor == other.textColor && - this.type == other.type && - this.url == other.url && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.agencyId == other.agencyId && this.color == other.color && this.description == other.description && this.id == other.id && this.longName == other.longName && this.nullSafeShortName == other.nullSafeShortName && this.shortName == other.shortName && this.textColor == other.textColor && this.type == other.type && this.url == other.url && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - agencyId, - color, - description, - id, - longName, - nullSafeShortName, - shortName, - textColor, - type, - url, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(agencyId, color, description, id, longName, nullSafeShortName, shortName, textColor, type, url, additionalProperties) /* spotless:on */ } return hashCode } @@ -539,26 +515,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.outOfRange == other.outOfRange && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.outOfRange == other.outOfRange && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - outOfRange, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -572,28 +536,14 @@ private constructor( return true } - return other is SearchForRouteListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is SearchForRouteListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListParams.kt index 5e23b68..44e85da 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListParams.kt @@ -40,20 +40,11 @@ constructor( return true } - return other is SearchForStopListParams && - this.input == other.input && - this.maxCount == other.maxCount && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is SearchForStopListParams && this.input == other.input && this.maxCount == other.maxCount && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - input, - maxCount, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(input, maxCount, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListResponse.kt index f48c91a..6431b29 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/SearchForStopListResponse.kt @@ -513,40 +513,14 @@ private constructor( return true } - return other is List && - this.code == other.code && - this.direction == other.direction && - this.id == other.id && - this.lat == other.lat && - this.locationType == other.locationType && - this.lon == other.lon && - this.name == other.name && - this.parent == other.parent && - this.routeIds == other.routeIds && - this.staticRouteIds == other.staticRouteIds && - this.wheelchairBoarding == other.wheelchairBoarding && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.code == other.code && this.direction == other.direction && this.id == other.id && this.lat == other.lat && this.locationType == other.locationType && this.lon == other.lon && this.name == other.name && this.parent == other.parent && this.routeIds == other.routeIds && this.staticRouteIds == other.staticRouteIds && this.wheelchairBoarding == other.wheelchairBoarding && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - direction, - id, - lat, - locationType, - lon, - name, - parent, - routeIds, - staticRouteIds, - wheelchairBoarding, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, direction, id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, wheelchairBoarding, additionalProperties) /* spotless:on */ } return hashCode } @@ -560,26 +534,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.outOfRange == other.outOfRange && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.outOfRange == other.outOfRange && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - outOfRange, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -593,28 +555,14 @@ private constructor( return true } - return other is SearchForStopListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is SearchForStopListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveParams.kt index db77c61..b4f5357 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is ShapeRetrieveParams && - this.shapeId == other.shapeId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is ShapeRetrieveParams && this.shapeId == other.shapeId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - shapeId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(shapeId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveResponse.kt index beb878a..e5f2bdf 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/ShapeRetrieveResponse.kt @@ -350,24 +350,14 @@ private constructor( return true } - return other is Entry && - this.length == other.length && - this.levels == other.levels && - this.points == other.points && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.length == other.length && this.levels == other.levels && this.points == other.points && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - length, - levels, - points, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(length, levels, points, additionalProperties) /* spotless:on */ } return hashCode } @@ -381,22 +371,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -410,28 +392,14 @@ private constructor( return true } - return other is ShapeRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is ShapeRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListParams.kt index 69a7f25..a1d631c 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is StopIdsForAgencyListParams && - this.agencyId == other.agencyId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is StopIdsForAgencyListParams && this.agencyId == other.agencyId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - agencyId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(agencyId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListResponse.kt index 7c87b07..33b1844 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopIdsForAgencyListResponse.kt @@ -261,24 +261,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -292,28 +282,14 @@ private constructor( return true } - return other is StopIdsForAgencyListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopIdsForAgencyListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveParams.kt index d9bbe30..5d20f99 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is StopRetrieveParams && - this.stopId == other.stopId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is StopRetrieveParams && this.stopId == other.stopId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - stopId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(stopId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveResponse.kt index 8a60d23..b97672a 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopRetrieveResponse.kt @@ -481,40 +481,14 @@ private constructor( return true } - return other is Entry && - this.code == other.code && - this.direction == other.direction && - this.id == other.id && - this.lat == other.lat && - this.locationType == other.locationType && - this.lon == other.lon && - this.name == other.name && - this.parent == other.parent && - this.routeIds == other.routeIds && - this.staticRouteIds == other.staticRouteIds && - this.wheelchairBoarding == other.wheelchairBoarding && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.code == other.code && this.direction == other.direction && this.id == other.id && this.lat == other.lat && this.locationType == other.locationType && this.lon == other.lon && this.name == other.name && this.parent == other.parent && this.routeIds == other.routeIds && this.staticRouteIds == other.staticRouteIds && this.wheelchairBoarding == other.wheelchairBoarding && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - direction, - id, - lat, - locationType, - lon, - name, - parent, - routeIds, - staticRouteIds, - wheelchairBoarding, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, direction, id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, wheelchairBoarding, additionalProperties) /* spotless:on */ } return hashCode } @@ -528,22 +502,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -557,28 +523,14 @@ private constructor( return true } - return other is StopRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListParams.kt index cd8bcee..beba6d4 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListParams.kt @@ -56,28 +56,11 @@ constructor( return true } - return other is StopsForLocationListParams && - this.lat == other.lat && - this.lon == other.lon && - this.latSpan == other.latSpan && - this.lonSpan == other.lonSpan && - this.query == other.query && - this.radius == other.radius && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is StopsForLocationListParams && this.lat == other.lat && this.lon == other.lon && this.latSpan == other.latSpan && this.lonSpan == other.lonSpan && this.query == other.query && this.radius == other.radius && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - lat, - lon, - latSpan, - lonSpan, - query, - radius, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(lat, lon, latSpan, lonSpan, query, radius, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListResponse.kt index e6fb9e7..57b9011 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForLocationListResponse.kt @@ -496,40 +496,14 @@ private constructor( return true } - return other is List && - this.code == other.code && - this.direction == other.direction && - this.id == other.id && - this.lat == other.lat && - this.locationType == other.locationType && - this.lon == other.lon && - this.name == other.name && - this.parent == other.parent && - this.routeIds == other.routeIds && - this.staticRouteIds == other.staticRouteIds && - this.wheelchairBoarding == other.wheelchairBoarding && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.code == other.code && this.direction == other.direction && this.id == other.id && this.lat == other.lat && this.locationType == other.locationType && this.lon == other.lon && this.name == other.name && this.parent == other.parent && this.routeIds == other.routeIds && this.staticRouteIds == other.staticRouteIds && this.wheelchairBoarding == other.wheelchairBoarding && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - direction, - id, - lat, - locationType, - lon, - name, - parent, - routeIds, - staticRouteIds, - wheelchairBoarding, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, direction, id, lat, locationType, lon, name, parent, routeIds, staticRouteIds, wheelchairBoarding, additionalProperties) /* spotless:on */ } return hashCode } @@ -543,24 +517,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -574,28 +538,14 @@ private constructor( return true } - return other is StopsForLocationListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopsForLocationListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListParams.kt index 3b79810..b0f2d23 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListParams.kt @@ -50,22 +50,11 @@ constructor( return true } - return other is StopsForRouteListParams && - this.routeId == other.routeId && - this.includePolylines == other.includePolylines && - this.time == other.time && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is StopsForRouteListParams && this.routeId == other.routeId && this.includePolylines == other.includePolylines && this.time == other.time && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - routeId, - includePolylines, - time, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(routeId, includePolylines, time, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListResponse.kt index 7db6d57..807f818 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/StopsForRouteListResponse.kt @@ -470,24 +470,14 @@ private constructor( return true } - return other is Polyline && - this.length == other.length && - this.levels == other.levels && - this.points == other.points && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Polyline && this.length == other.length && this.levels == other.levels && this.points == other.points && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - length, - levels, - points, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(length, levels, points, additionalProperties) /* spotless:on */ } return hashCode } @@ -724,24 +714,14 @@ private constructor( return true } - return other is Name && - this.name == other.name && - this.names == other.names && - this.type == other.type && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Name && this.name == other.name && this.names == other.names && this.type == other.type && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - name, - names, - type, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(name, names, type, additionalProperties) /* spotless:on */ } return hashCode } @@ -859,24 +839,14 @@ private constructor( return true } - return other is Polyline && - this.length == other.length && - this.levels == other.levels && - this.points == other.points && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Polyline && this.length == other.length && this.levels == other.levels && this.points == other.points && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - length, - levels, - points, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(length, levels, points, additionalProperties) /* spotless:on */ } return hashCode } @@ -890,26 +860,14 @@ private constructor( return true } - return other is StopGrouping && - this.id == other.id && - this.name == other.name && - this.polylines == other.polylines && - this.stopIds == other.stopIds && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopGrouping && this.id == other.id && this.name == other.name && this.polylines == other.polylines && this.stopIds == other.stopIds && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - id, - name, - polylines, - stopIds, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(id, name, polylines, stopIds, additionalProperties) /* spotless:on */ } return hashCode } @@ -923,26 +881,14 @@ private constructor( return true } - return other is Entry && - this.polylines == other.polylines && - this.routeId == other.routeId && - this.stopGroupings == other.stopGroupings && - this.stopIds == other.stopIds && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.polylines == other.polylines && this.routeId == other.routeId && this.stopGroupings == other.stopGroupings && this.stopIds == other.stopIds && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - polylines, - routeId, - stopGroupings, - stopIds, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(polylines, routeId, stopGroupings, stopIds, additionalProperties) /* spotless:on */ } return hashCode } @@ -956,22 +902,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -985,28 +923,14 @@ private constructor( return true } - return other is StopsForRouteListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopsForRouteListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveParams.kt index d9ffd19..020bda3 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveParams.kt @@ -62,28 +62,11 @@ constructor( return true } - return other is TripDetailRetrieveParams && - this.tripId == other.tripId && - this.includeSchedule == other.includeSchedule && - this.includeStatus == other.includeStatus && - this.includeTrip == other.includeTrip && - this.serviceDate == other.serviceDate && - this.time == other.time && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is TripDetailRetrieveParams && this.tripId == other.tripId && this.includeSchedule == other.includeSchedule && this.includeStatus == other.includeStatus && this.includeTrip == other.includeTrip && this.serviceDate == other.serviceDate && this.time == other.time && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - tripId, - includeSchedule, - includeStatus, - includeTrip, - serviceDate, - time, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(tripId, includeSchedule, includeStatus, includeTrip, serviceDate, time, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveResponse.kt index f8a5d66..4942850 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripDetailRetrieveResponse.kt @@ -716,30 +716,14 @@ private constructor( return true } - return other is StopTime && - this.arrivalTime == other.arrivalTime && - this.departureTime == other.departureTime && - this.distanceAlongTrip == other.distanceAlongTrip && - this.historicalOccupancy == other.historicalOccupancy && - this.stopHeadsign == other.stopHeadsign && - this.stopId == other.stopId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTime && this.arrivalTime == other.arrivalTime && this.departureTime == other.departureTime && this.distanceAlongTrip == other.distanceAlongTrip && this.historicalOccupancy == other.historicalOccupancy && this.stopHeadsign == other.stopHeadsign && this.stopId == other.stopId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - arrivalTime, - departureTime, - distanceAlongTrip, - historicalOccupancy, - stopHeadsign, - stopId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) /* spotless:on */ } return hashCode } @@ -753,28 +737,14 @@ private constructor( return true } - return other is Schedule && - this.frequency == other.frequency && - this.nextTripId == other.nextTripId && - this.previousTripId == other.previousTripId && - this.stopTimes == other.stopTimes && - this.timeZone == other.timeZone && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Schedule && this.frequency == other.frequency && this.nextTripId == other.nextTripId && this.previousTripId == other.previousTripId && this.stopTimes == other.stopTimes && this.timeZone == other.timeZone && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - nextTripId, - previousTripId, - stopTimes, - timeZone, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, nextTripId, previousTripId, stopTimes, timeZone, additionalProperties) /* spotless:on */ } return hashCode } @@ -1658,22 +1628,14 @@ private constructor( return true } - return other is LastKnownLocation && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is LastKnownLocation && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1783,22 +1745,14 @@ private constructor( return true } - return other is Position && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Position && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1812,72 +1766,14 @@ private constructor( return true } - return other is Status && - this.activeTripId == other.activeTripId && - this.blockTripSequence == other.blockTripSequence && - this.closestStop == other.closestStop && - this.closestStopTimeOffset == other.closestStopTimeOffset && - this.distanceAlongTrip == other.distanceAlongTrip && - this.frequency == other.frequency && - this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && - this.lastKnownLocation == other.lastKnownLocation && - this.lastKnownOrientation == other.lastKnownOrientation && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.lastUpdateTime == other.lastUpdateTime && - this.nextStop == other.nextStop && - this.nextStopTimeOffset == other.nextStopTimeOffset && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.orientation == other.orientation && - this.phase == other.phase && - this.position == other.position && - this.predicted == other.predicted && - this.scheduleDeviation == other.scheduleDeviation && - this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Status && this.activeTripId == other.activeTripId && this.blockTripSequence == other.blockTripSequence && this.closestStop == other.closestStop && this.closestStopTimeOffset == other.closestStopTimeOffset && this.distanceAlongTrip == other.distanceAlongTrip && this.frequency == other.frequency && this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && this.lastKnownLocation == other.lastKnownLocation && this.lastKnownOrientation == other.lastKnownOrientation && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.lastUpdateTime == other.lastUpdateTime && this.nextStop == other.nextStop && this.nextStopTimeOffset == other.nextStopTimeOffset && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.orientation == other.orientation && this.phase == other.phase && this.position == other.position && this.predicted == other.predicted && this.scheduleDeviation == other.scheduleDeviation && this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeTripId, - blockTripSequence, - closestStop, - closestStopTimeOffset, - distanceAlongTrip, - frequency, - lastKnownDistanceAlongTrip, - lastKnownLocation, - lastKnownOrientation, - lastLocationUpdateTime, - lastUpdateTime, - nextStop, - nextStopTimeOffset, - occupancyCapacity, - occupancyCount, - occupancyStatus, - orientation, - phase, - position, - predicted, - scheduleDeviation, - scheduledDistanceAlongTrip, - serviceDate, - situationIds, - status, - totalDistanceAlongTrip, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeTripId, blockTripSequence, closestStop, closestStopTimeOffset, distanceAlongTrip, frequency, lastKnownDistanceAlongTrip, lastKnownLocation, lastKnownOrientation, lastLocationUpdateTime, lastUpdateTime, nextStop, nextStopTimeOffset, occupancyCapacity, occupancyCount, occupancyStatus, orientation, phase, position, predicted, scheduleDeviation, scheduledDistanceAlongTrip, serviceDate, situationIds, status, totalDistanceAlongTrip, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1891,30 +1787,14 @@ private constructor( return true } - return other is Entry && - this.frequency == other.frequency && - this.schedule == other.schedule && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.tripId == other.tripId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.frequency == other.frequency && this.schedule == other.schedule && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.tripId == other.tripId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - schedule, - serviceDate, - situationIds, - status, - tripId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, schedule, serviceDate, situationIds, status, tripId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1928,22 +1808,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -1957,28 +1829,14 @@ private constructor( return true } - return other is TripDetailRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripDetailRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveParams.kt index 2d25862..4a51aeb 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveParams.kt @@ -58,26 +58,11 @@ constructor( return true } - return other is TripForVehicleRetrieveParams && - this.vehicleId == other.vehicleId && - this.includeSchedule == other.includeSchedule && - this.includeStatus == other.includeStatus && - this.includeTrip == other.includeTrip && - this.time == other.time && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is TripForVehicleRetrieveParams && this.vehicleId == other.vehicleId && this.includeSchedule == other.includeSchedule && this.includeStatus == other.includeStatus && this.includeTrip == other.includeTrip && this.time == other.time && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - vehicleId, - includeSchedule, - includeStatus, - includeTrip, - time, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(vehicleId, includeSchedule, includeStatus, includeTrip, time, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveResponse.kt index 3d1404d..366d2ef 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripForVehicleRetrieveResponse.kt @@ -716,30 +716,14 @@ private constructor( return true } - return other is StopTime && - this.arrivalTime == other.arrivalTime && - this.departureTime == other.departureTime && - this.distanceAlongTrip == other.distanceAlongTrip && - this.historicalOccupancy == other.historicalOccupancy && - this.stopHeadsign == other.stopHeadsign && - this.stopId == other.stopId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTime && this.arrivalTime == other.arrivalTime && this.departureTime == other.departureTime && this.distanceAlongTrip == other.distanceAlongTrip && this.historicalOccupancy == other.historicalOccupancy && this.stopHeadsign == other.stopHeadsign && this.stopId == other.stopId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - arrivalTime, - departureTime, - distanceAlongTrip, - historicalOccupancy, - stopHeadsign, - stopId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) /* spotless:on */ } return hashCode } @@ -753,28 +737,14 @@ private constructor( return true } - return other is Schedule && - this.frequency == other.frequency && - this.nextTripId == other.nextTripId && - this.previousTripId == other.previousTripId && - this.stopTimes == other.stopTimes && - this.timeZone == other.timeZone && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Schedule && this.frequency == other.frequency && this.nextTripId == other.nextTripId && this.previousTripId == other.previousTripId && this.stopTimes == other.stopTimes && this.timeZone == other.timeZone && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - nextTripId, - previousTripId, - stopTimes, - timeZone, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, nextTripId, previousTripId, stopTimes, timeZone, additionalProperties) /* spotless:on */ } return hashCode } @@ -1658,22 +1628,14 @@ private constructor( return true } - return other is LastKnownLocation && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is LastKnownLocation && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1783,22 +1745,14 @@ private constructor( return true } - return other is Position && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Position && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1812,72 +1766,14 @@ private constructor( return true } - return other is Status && - this.activeTripId == other.activeTripId && - this.blockTripSequence == other.blockTripSequence && - this.closestStop == other.closestStop && - this.closestStopTimeOffset == other.closestStopTimeOffset && - this.distanceAlongTrip == other.distanceAlongTrip && - this.frequency == other.frequency && - this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && - this.lastKnownLocation == other.lastKnownLocation && - this.lastKnownOrientation == other.lastKnownOrientation && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.lastUpdateTime == other.lastUpdateTime && - this.nextStop == other.nextStop && - this.nextStopTimeOffset == other.nextStopTimeOffset && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.orientation == other.orientation && - this.phase == other.phase && - this.position == other.position && - this.predicted == other.predicted && - this.scheduleDeviation == other.scheduleDeviation && - this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Status && this.activeTripId == other.activeTripId && this.blockTripSequence == other.blockTripSequence && this.closestStop == other.closestStop && this.closestStopTimeOffset == other.closestStopTimeOffset && this.distanceAlongTrip == other.distanceAlongTrip && this.frequency == other.frequency && this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && this.lastKnownLocation == other.lastKnownLocation && this.lastKnownOrientation == other.lastKnownOrientation && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.lastUpdateTime == other.lastUpdateTime && this.nextStop == other.nextStop && this.nextStopTimeOffset == other.nextStopTimeOffset && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.orientation == other.orientation && this.phase == other.phase && this.position == other.position && this.predicted == other.predicted && this.scheduleDeviation == other.scheduleDeviation && this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeTripId, - blockTripSequence, - closestStop, - closestStopTimeOffset, - distanceAlongTrip, - frequency, - lastKnownDistanceAlongTrip, - lastKnownLocation, - lastKnownOrientation, - lastLocationUpdateTime, - lastUpdateTime, - nextStop, - nextStopTimeOffset, - occupancyCapacity, - occupancyCount, - occupancyStatus, - orientation, - phase, - position, - predicted, - scheduleDeviation, - scheduledDistanceAlongTrip, - serviceDate, - situationIds, - status, - totalDistanceAlongTrip, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeTripId, blockTripSequence, closestStop, closestStopTimeOffset, distanceAlongTrip, frequency, lastKnownDistanceAlongTrip, lastKnownLocation, lastKnownOrientation, lastLocationUpdateTime, lastUpdateTime, nextStop, nextStopTimeOffset, occupancyCapacity, occupancyCount, occupancyStatus, orientation, phase, position, predicted, scheduleDeviation, scheduledDistanceAlongTrip, serviceDate, situationIds, status, totalDistanceAlongTrip, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1891,30 +1787,14 @@ private constructor( return true } - return other is Entry && - this.frequency == other.frequency && - this.schedule == other.schedule && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.tripId == other.tripId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.frequency == other.frequency && this.schedule == other.schedule && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.tripId == other.tripId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - schedule, - serviceDate, - situationIds, - status, - tripId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, schedule, serviceDate, situationIds, status, tripId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1928,22 +1808,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -1957,28 +1829,14 @@ private constructor( return true } - return other is TripForVehicleRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripForVehicleRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveParams.kt index 4192c50..f14c0ef 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveParams.kt @@ -36,18 +36,11 @@ constructor( return true } - return other is TripRetrieveParams && - this.tripId == other.tripId && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is TripRetrieveParams && this.tripId == other.tripId && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - tripId, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(tripId, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveResponse.kt index 8d8d541..b6e21d7 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripRetrieveResponse.kt @@ -483,40 +483,14 @@ private constructor( return true } - return other is Entry && - this.blockId == other.blockId && - this.directionId == other.directionId && - this.id == other.id && - this.peakOffpeak == other.peakOffpeak && - this.routeId == other.routeId && - this.routeShortName == other.routeShortName && - this.serviceId == other.serviceId && - this.shapeId == other.shapeId && - this.timeZone == other.timeZone && - this.tripHeadsign == other.tripHeadsign && - this.tripShortName == other.tripShortName && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Entry && this.blockId == other.blockId && this.directionId == other.directionId && this.id == other.id && this.peakOffpeak == other.peakOffpeak && this.routeId == other.routeId && this.routeShortName == other.routeShortName && this.serviceId == other.serviceId && this.shapeId == other.shapeId && this.timeZone == other.timeZone && this.tripHeadsign == other.tripHeadsign && this.tripShortName == other.tripShortName && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - blockId, - directionId, - id, - peakOffpeak, - routeId, - routeShortName, - serviceId, - shapeId, - timeZone, - tripHeadsign, - tripShortName, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(blockId, directionId, id, peakOffpeak, routeId, routeShortName, serviceId, shapeId, timeZone, tripHeadsign, tripShortName, additionalProperties) /* spotless:on */ } return hashCode } @@ -530,22 +504,14 @@ private constructor( return true } - return other is Data && - this.entry == other.entry && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.entry == other.entry && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - entry, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(entry, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -559,28 +525,14 @@ private constructor( return true } - return other is TripRetrieveResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripRetrieveResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListParams.kt index 249ea48..3b3c84c 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListParams.kt @@ -60,30 +60,11 @@ constructor( return true } - return other is TripsForLocationListParams && - this.lat == other.lat && - this.latSpan == other.latSpan && - this.lon == other.lon && - this.lonSpan == other.lonSpan && - this.includeSchedule == other.includeSchedule && - this.includeTrip == other.includeTrip && - this.time == other.time && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is TripsForLocationListParams && this.lat == other.lat && this.latSpan == other.latSpan && this.lon == other.lon && this.lonSpan == other.lonSpan && this.includeSchedule == other.includeSchedule && this.includeTrip == other.includeTrip && this.time == other.time && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - lat, - latSpan, - lon, - lonSpan, - includeSchedule, - includeTrip, - time, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(lat, latSpan, lon, lonSpan, includeSchedule, includeTrip, time, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListResponse.kt index 2ad998a..f559b0c 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForLocationListResponse.kt @@ -756,30 +756,14 @@ private constructor( return true } - return other is StopTime && - this.arrivalTime == other.arrivalTime && - this.departureTime == other.departureTime && - this.distanceAlongTrip == other.distanceAlongTrip && - this.historicalOccupancy == other.historicalOccupancy && - this.stopHeadsign == other.stopHeadsign && - this.stopId == other.stopId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTime && this.arrivalTime == other.arrivalTime && this.departureTime == other.departureTime && this.distanceAlongTrip == other.distanceAlongTrip && this.historicalOccupancy == other.historicalOccupancy && this.stopHeadsign == other.stopHeadsign && this.stopId == other.stopId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - arrivalTime, - departureTime, - distanceAlongTrip, - historicalOccupancy, - stopHeadsign, - stopId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) /* spotless:on */ } return hashCode } @@ -793,28 +777,14 @@ private constructor( return true } - return other is Schedule && - this.frequency == other.frequency && - this.nextTripId == other.nextTripId && - this.previousTripId == other.previousTripId && - this.stopTimes == other.stopTimes && - this.timeZone == other.timeZone && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Schedule && this.frequency == other.frequency && this.nextTripId == other.nextTripId && this.previousTripId == other.previousTripId && this.stopTimes == other.stopTimes && this.timeZone == other.timeZone && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - nextTripId, - previousTripId, - stopTimes, - timeZone, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, nextTripId, previousTripId, stopTimes, timeZone, additionalProperties) /* spotless:on */ } return hashCode } @@ -1698,22 +1668,14 @@ private constructor( return true } - return other is LastKnownLocation && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is LastKnownLocation && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1823,22 +1785,14 @@ private constructor( return true } - return other is Position && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Position && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1852,72 +1806,14 @@ private constructor( return true } - return other is Status && - this.activeTripId == other.activeTripId && - this.blockTripSequence == other.blockTripSequence && - this.closestStop == other.closestStop && - this.closestStopTimeOffset == other.closestStopTimeOffset && - this.distanceAlongTrip == other.distanceAlongTrip && - this.frequency == other.frequency && - this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && - this.lastKnownLocation == other.lastKnownLocation && - this.lastKnownOrientation == other.lastKnownOrientation && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.lastUpdateTime == other.lastUpdateTime && - this.nextStop == other.nextStop && - this.nextStopTimeOffset == other.nextStopTimeOffset && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.orientation == other.orientation && - this.phase == other.phase && - this.position == other.position && - this.predicted == other.predicted && - this.scheduleDeviation == other.scheduleDeviation && - this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Status && this.activeTripId == other.activeTripId && this.blockTripSequence == other.blockTripSequence && this.closestStop == other.closestStop && this.closestStopTimeOffset == other.closestStopTimeOffset && this.distanceAlongTrip == other.distanceAlongTrip && this.frequency == other.frequency && this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && this.lastKnownLocation == other.lastKnownLocation && this.lastKnownOrientation == other.lastKnownOrientation && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.lastUpdateTime == other.lastUpdateTime && this.nextStop == other.nextStop && this.nextStopTimeOffset == other.nextStopTimeOffset && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.orientation == other.orientation && this.phase == other.phase && this.position == other.position && this.predicted == other.predicted && this.scheduleDeviation == other.scheduleDeviation && this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeTripId, - blockTripSequence, - closestStop, - closestStopTimeOffset, - distanceAlongTrip, - frequency, - lastKnownDistanceAlongTrip, - lastKnownLocation, - lastKnownOrientation, - lastLocationUpdateTime, - lastUpdateTime, - nextStop, - nextStopTimeOffset, - occupancyCapacity, - occupancyCount, - occupancyStatus, - orientation, - phase, - position, - predicted, - scheduleDeviation, - scheduledDistanceAlongTrip, - serviceDate, - situationIds, - status, - totalDistanceAlongTrip, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeTripId, blockTripSequence, closestStop, closestStopTimeOffset, distanceAlongTrip, frequency, lastKnownDistanceAlongTrip, lastKnownLocation, lastKnownOrientation, lastLocationUpdateTime, lastUpdateTime, nextStop, nextStopTimeOffset, occupancyCapacity, occupancyCount, occupancyStatus, orientation, phase, position, predicted, scheduleDeviation, scheduledDistanceAlongTrip, serviceDate, situationIds, status, totalDistanceAlongTrip, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1931,30 +1827,14 @@ private constructor( return true } - return other is List && - this.frequency == other.frequency && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.tripId == other.tripId && - this.schedule == other.schedule && - this.status == other.status && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.frequency == other.frequency && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.tripId == other.tripId && this.schedule == other.schedule && this.status == other.status && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - serviceDate, - situationIds, - tripId, - schedule, - status, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, serviceDate, situationIds, tripId, schedule, status, additionalProperties) /* spotless:on */ } return hashCode } @@ -1968,26 +1848,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.outOfRange == other.outOfRange && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.outOfRange == other.outOfRange && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - outOfRange, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, outOfRange, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -2001,28 +1869,14 @@ private constructor( return true } - return other is TripsForLocationListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripsForLocationListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListParams.kt index 51c2eb7..fe8383b 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListParams.kt @@ -54,24 +54,11 @@ constructor( return true } - return other is TripsForRouteListParams && - this.routeId == other.routeId && - this.includeSchedule == other.includeSchedule && - this.includeStatus == other.includeStatus && - this.time == other.time && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is TripsForRouteListParams && this.routeId == other.routeId && this.includeSchedule == other.includeSchedule && this.includeStatus == other.includeStatus && this.time == other.time && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - routeId, - includeSchedule, - includeStatus, - time, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(routeId, includeSchedule, includeStatus, time, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListResponse.kt index 09a9517..2e7f976 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/TripsForRouteListResponse.kt @@ -732,30 +732,14 @@ private constructor( return true } - return other is StopTime && - this.arrivalTime == other.arrivalTime && - this.departureTime == other.departureTime && - this.distanceAlongTrip == other.distanceAlongTrip && - this.historicalOccupancy == other.historicalOccupancy && - this.stopHeadsign == other.stopHeadsign && - this.stopId == other.stopId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is StopTime && this.arrivalTime == other.arrivalTime && this.departureTime == other.departureTime && this.distanceAlongTrip == other.distanceAlongTrip && this.historicalOccupancy == other.historicalOccupancy && this.stopHeadsign == other.stopHeadsign && this.stopId == other.stopId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - arrivalTime, - departureTime, - distanceAlongTrip, - historicalOccupancy, - stopHeadsign, - stopId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(arrivalTime, departureTime, distanceAlongTrip, historicalOccupancy, stopHeadsign, stopId, additionalProperties) /* spotless:on */ } return hashCode } @@ -769,28 +753,14 @@ private constructor( return true } - return other is Schedule && - this.frequency == other.frequency && - this.nextTripId == other.nextTripId && - this.previousTripId == other.previousTripId && - this.stopTimes == other.stopTimes && - this.timeZone == other.timeZone && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Schedule && this.frequency == other.frequency && this.nextTripId == other.nextTripId && this.previousTripId == other.previousTripId && this.stopTimes == other.stopTimes && this.timeZone == other.timeZone && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - nextTripId, - previousTripId, - stopTimes, - timeZone, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, nextTripId, previousTripId, stopTimes, timeZone, additionalProperties) /* spotless:on */ } return hashCode } @@ -1674,22 +1644,14 @@ private constructor( return true } - return other is LastKnownLocation && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is LastKnownLocation && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1799,22 +1761,14 @@ private constructor( return true } - return other is Position && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Position && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1828,72 +1782,14 @@ private constructor( return true } - return other is Status && - this.activeTripId == other.activeTripId && - this.blockTripSequence == other.blockTripSequence && - this.closestStop == other.closestStop && - this.closestStopTimeOffset == other.closestStopTimeOffset && - this.distanceAlongTrip == other.distanceAlongTrip && - this.frequency == other.frequency && - this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && - this.lastKnownLocation == other.lastKnownLocation && - this.lastKnownOrientation == other.lastKnownOrientation && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.lastUpdateTime == other.lastUpdateTime && - this.nextStop == other.nextStop && - this.nextStopTimeOffset == other.nextStopTimeOffset && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.orientation == other.orientation && - this.phase == other.phase && - this.position == other.position && - this.predicted == other.predicted && - this.scheduleDeviation == other.scheduleDeviation && - this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Status && this.activeTripId == other.activeTripId && this.blockTripSequence == other.blockTripSequence && this.closestStop == other.closestStop && this.closestStopTimeOffset == other.closestStopTimeOffset && this.distanceAlongTrip == other.distanceAlongTrip && this.frequency == other.frequency && this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && this.lastKnownLocation == other.lastKnownLocation && this.lastKnownOrientation == other.lastKnownOrientation && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.lastUpdateTime == other.lastUpdateTime && this.nextStop == other.nextStop && this.nextStopTimeOffset == other.nextStopTimeOffset && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.orientation == other.orientation && this.phase == other.phase && this.position == other.position && this.predicted == other.predicted && this.scheduleDeviation == other.scheduleDeviation && this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeTripId, - blockTripSequence, - closestStop, - closestStopTimeOffset, - distanceAlongTrip, - frequency, - lastKnownDistanceAlongTrip, - lastKnownLocation, - lastKnownOrientation, - lastLocationUpdateTime, - lastUpdateTime, - nextStop, - nextStopTimeOffset, - occupancyCapacity, - occupancyCount, - occupancyStatus, - orientation, - phase, - position, - predicted, - scheduleDeviation, - scheduledDistanceAlongTrip, - serviceDate, - situationIds, - status, - totalDistanceAlongTrip, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeTripId, blockTripSequence, closestStop, closestStopTimeOffset, distanceAlongTrip, frequency, lastKnownDistanceAlongTrip, lastKnownLocation, lastKnownOrientation, lastLocationUpdateTime, lastUpdateTime, nextStop, nextStopTimeOffset, occupancyCapacity, occupancyCount, occupancyStatus, orientation, phase, position, predicted, scheduleDeviation, scheduledDistanceAlongTrip, serviceDate, situationIds, status, totalDistanceAlongTrip, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1907,30 +1803,14 @@ private constructor( return true } - return other is List && - this.frequency == other.frequency && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.tripId == other.tripId && - this.schedule == other.schedule && - this.status == other.status && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.frequency == other.frequency && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.tripId == other.tripId && this.schedule == other.schedule && this.status == other.status && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - frequency, - serviceDate, - situationIds, - tripId, - schedule, - status, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(frequency, serviceDate, situationIds, tripId, schedule, status, additionalProperties) /* spotless:on */ } return hashCode } @@ -1944,24 +1824,14 @@ private constructor( return true } - return other is Data && - this.limitExceeded == other.limitExceeded && - this.list == other.list && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.limitExceeded == other.limitExceeded && this.list == other.list && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - limitExceeded, - list, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(limitExceeded, list, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -1975,28 +1845,14 @@ private constructor( return true } - return other is TripsForRouteListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripsForRouteListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode } diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListParams.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListParams.kt index dd8c509..df9a693 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListParams.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListParams.kt @@ -46,20 +46,11 @@ constructor( return true } - return other is VehiclesForAgencyListParams && - this.agencyId == other.agencyId && - this.time == other.time && - this.additionalQueryParams == other.additionalQueryParams && - this.additionalHeaders == other.additionalHeaders + return /* spotless:off */ other is VehiclesForAgencyListParams && this.agencyId == other.agencyId && this.time == other.time && this.additionalQueryParams == other.additionalQueryParams && this.additionalHeaders == other.additionalHeaders /* spotless:on */ } override fun hashCode(): Int { - return Objects.hash( - agencyId, - time, - additionalQueryParams, - additionalHeaders, - ) + return /* spotless:off */ Objects.hash(agencyId, time, additionalQueryParams, additionalHeaders) /* spotless:on */ } override fun toString() = diff --git a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListResponse.kt b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListResponse.kt index 18873cf..99100cf 100644 --- a/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListResponse.kt +++ b/onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/VehiclesForAgencyListResponse.kt @@ -596,22 +596,14 @@ private constructor( return true } - return other is Location && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Location && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1495,22 +1487,14 @@ private constructor( return true } - return other is LastKnownLocation && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is LastKnownLocation && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1620,22 +1604,14 @@ private constructor( return true } - return other is Position && - this.lat == other.lat && - this.lon == other.lon && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Position && this.lat == other.lat && this.lon == other.lon && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - lat, - lon, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(lat, lon, additionalProperties) /* spotless:on */ } return hashCode } @@ -1649,72 +1625,14 @@ private constructor( return true } - return other is TripStatus && - this.activeTripId == other.activeTripId && - this.blockTripSequence == other.blockTripSequence && - this.closestStop == other.closestStop && - this.closestStopTimeOffset == other.closestStopTimeOffset && - this.distanceAlongTrip == other.distanceAlongTrip && - this.frequency == other.frequency && - this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && - this.lastKnownLocation == other.lastKnownLocation && - this.lastKnownOrientation == other.lastKnownOrientation && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.lastUpdateTime == other.lastUpdateTime && - this.nextStop == other.nextStop && - this.nextStopTimeOffset == other.nextStopTimeOffset && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.orientation == other.orientation && - this.phase == other.phase && - this.position == other.position && - this.predicted == other.predicted && - this.scheduleDeviation == other.scheduleDeviation && - this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && - this.serviceDate == other.serviceDate && - this.situationIds == other.situationIds && - this.status == other.status && - this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && - this.vehicleId == other.vehicleId && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is TripStatus && this.activeTripId == other.activeTripId && this.blockTripSequence == other.blockTripSequence && this.closestStop == other.closestStop && this.closestStopTimeOffset == other.closestStopTimeOffset && this.distanceAlongTrip == other.distanceAlongTrip && this.frequency == other.frequency && this.lastKnownDistanceAlongTrip == other.lastKnownDistanceAlongTrip && this.lastKnownLocation == other.lastKnownLocation && this.lastKnownOrientation == other.lastKnownOrientation && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.lastUpdateTime == other.lastUpdateTime && this.nextStop == other.nextStop && this.nextStopTimeOffset == other.nextStopTimeOffset && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.orientation == other.orientation && this.phase == other.phase && this.position == other.position && this.predicted == other.predicted && this.scheduleDeviation == other.scheduleDeviation && this.scheduledDistanceAlongTrip == other.scheduledDistanceAlongTrip && this.serviceDate == other.serviceDate && this.situationIds == other.situationIds && this.status == other.status && this.totalDistanceAlongTrip == other.totalDistanceAlongTrip && this.vehicleId == other.vehicleId && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - activeTripId, - blockTripSequence, - closestStop, - closestStopTimeOffset, - distanceAlongTrip, - frequency, - lastKnownDistanceAlongTrip, - lastKnownLocation, - lastKnownOrientation, - lastLocationUpdateTime, - lastUpdateTime, - nextStop, - nextStopTimeOffset, - occupancyCapacity, - occupancyCount, - occupancyStatus, - orientation, - phase, - position, - predicted, - scheduleDeviation, - scheduledDistanceAlongTrip, - serviceDate, - situationIds, - status, - totalDistanceAlongTrip, - vehicleId, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(activeTripId, blockTripSequence, closestStop, closestStopTimeOffset, distanceAlongTrip, frequency, lastKnownDistanceAlongTrip, lastKnownLocation, lastKnownOrientation, lastLocationUpdateTime, lastUpdateTime, nextStop, nextStopTimeOffset, occupancyCapacity, occupancyCount, occupancyStatus, orientation, phase, position, predicted, scheduleDeviation, scheduledDistanceAlongTrip, serviceDate, situationIds, status, totalDistanceAlongTrip, vehicleId, additionalProperties) /* spotless:on */ } return hashCode } @@ -1728,40 +1646,14 @@ private constructor( return true } - return other is List && - this.vehicleId == other.vehicleId && - this.lastUpdateTime == other.lastUpdateTime && - this.lastLocationUpdateTime == other.lastLocationUpdateTime && - this.location == other.location && - this.tripId == other.tripId && - this.tripStatus == other.tripStatus && - this.occupancyCapacity == other.occupancyCapacity && - this.occupancyCount == other.occupancyCount && - this.occupancyStatus == other.occupancyStatus && - this.phase == other.phase && - this.status == other.status && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is List && this.vehicleId == other.vehicleId && this.lastUpdateTime == other.lastUpdateTime && this.lastLocationUpdateTime == other.lastLocationUpdateTime && this.location == other.location && this.tripId == other.tripId && this.tripStatus == other.tripStatus && this.occupancyCapacity == other.occupancyCapacity && this.occupancyCount == other.occupancyCount && this.occupancyStatus == other.occupancyStatus && this.phase == other.phase && this.status == other.status && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - vehicleId, - lastUpdateTime, - lastLocationUpdateTime, - location, - tripId, - tripStatus, - occupancyCapacity, - occupancyCount, - occupancyStatus, - phase, - status, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(vehicleId, lastUpdateTime, lastLocationUpdateTime, location, tripId, tripStatus, occupancyCapacity, occupancyCount, occupancyStatus, phase, status, additionalProperties) /* spotless:on */ } return hashCode } @@ -1775,24 +1667,14 @@ private constructor( return true } - return other is Data && - this.list == other.list && - this.limitExceeded == other.limitExceeded && - this.references == other.references && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is Data && this.list == other.list && this.limitExceeded == other.limitExceeded && this.references == other.references && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - list, - limitExceeded, - references, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(list, limitExceeded, references, additionalProperties) /* spotless:on */ } return hashCode } @@ -1806,28 +1688,14 @@ private constructor( return true } - return other is VehiclesForAgencyListResponse && - this.code == other.code && - this.currentTime == other.currentTime && - this.text == other.text && - this.version == other.version && - this.data == other.data && - this.additionalProperties == other.additionalProperties + return /* spotless:off */ other is VehiclesForAgencyListResponse && this.code == other.code && this.currentTime == other.currentTime && this.text == other.text && this.version == other.version && this.data == other.data && this.additionalProperties == other.additionalProperties /* spotless:on */ } private var hashCode: Int = 0 override fun hashCode(): Int { if (hashCode == 0) { - hashCode = - Objects.hash( - code, - currentTime, - text, - version, - data, - additionalProperties, - ) + hashCode = /* spotless:off */ Objects.hash(code, currentTime, text, version, data, additionalProperties) /* spotless:on */ } return hashCode }