Skip to content

Commit 437baa4

Browse files
feat(api): api update
1 parent 1cad394 commit 437baa4

6 files changed

Lines changed: 22 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-b625345de7b9c51744ddc6c75b8c37a159a536204481404cca91d7d6a859149d.yml
3-
openapi_spec_hash: 9bf1e5bf00ef9936a9181ebd0956d5b8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-4a35fd1e705bc2b75f44e2fd82144b95eeb56f329e4e05bbede7e6bc8adc479e.yml
3+
openapi_spec_hash: bc73be5518578c9ad8e878b82c540691
44
config_hash: c28ddf5b7754155603d9fd1c5fcaeeff

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,8 @@ private constructor(
558558
fun situationIds(): Optional<List<String>> = situationIds.getOptional("situationIds")
559559

560560
/**
561+
* Trip-specific status for the arriving transit vehicle.
562+
*
561563
* @throws OnebusawaySdkInvalidDataException if the JSON field has an unexpected type
562564
* (e.g. if the server responded with an unexpected value).
563565
*/
@@ -739,6 +741,7 @@ private constructor(
739741
}
740742
}
741743

744+
/** Trip-specific status for the arriving transit vehicle. */
742745
fun status(status: Status) = status(JsonField.of(status))
743746

744747
/**
@@ -1594,6 +1597,7 @@ private constructor(
15941597
"Schedule{nextTripId=$nextTripId, previousTripId=$previousTripId, stopTimes=$stopTimes, timeZone=$timeZone, frequency=$frequency, additionalProperties=$additionalProperties}"
15951598
}
15961599

1600+
/** Trip-specific status for the arriving transit vehicle. */
15971601
class Status
15981602
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
15991603
private constructor(

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ private constructor(
560560
fun situationIds(): Optional<List<String>> = situationIds.getOptional("situationIds")
561561

562562
/**
563+
* Trip-specific status for the arriving transit vehicle.
564+
*
563565
* @throws OnebusawaySdkInvalidDataException if the JSON field has an unexpected type
564566
* (e.g. if the server responded with an unexpected value).
565567
*/
@@ -741,6 +743,7 @@ private constructor(
741743
}
742744
}
743745

746+
/** Trip-specific status for the arriving transit vehicle. */
744747
fun status(status: Status) = status(JsonField.of(status))
745748

746749
/**
@@ -1596,6 +1599,7 @@ private constructor(
15961599
"Schedule{nextTripId=$nextTripId, previousTripId=$previousTripId, stopTimes=$stopTimes, timeZone=$timeZone, frequency=$frequency, additionalProperties=$additionalProperties}"
15971600
}
15981601

1602+
/** Trip-specific status for the arriving transit vehicle. */
15991603
class Status
16001604
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
16011605
private constructor(

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ private constructor(
633633
fun schedule(): Schedule = schedule.getRequired("schedule")
634634

635635
/**
636+
* Trip-specific status for the arriving transit vehicle.
637+
*
636638
* @throws OnebusawaySdkInvalidDataException if the JSON field has an unexpected type or
637639
* is unexpectedly missing or null (e.g. if the server responded with an unexpected
638640
* value).
@@ -779,6 +781,7 @@ private constructor(
779781
*/
780782
fun schedule(schedule: JsonField<Schedule>) = apply { this.schedule = schedule }
781783

784+
/** Trip-specific status for the arriving transit vehicle. */
782785
fun status(status: Status) = status(JsonField.of(status))
783786

784787
/**
@@ -1702,6 +1705,7 @@ private constructor(
17021705
"Schedule{nextTripId=$nextTripId, previousTripId=$previousTripId, stopTimes=$stopTimes, timeZone=$timeZone, frequency=$frequency, additionalProperties=$additionalProperties}"
17031706
}
17041707

1708+
/** Trip-specific status for the arriving transit vehicle. */
17051709
class Status
17061710
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
17071711
private constructor(

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,8 @@ private constructor(
592592
fun schedule(): Schedule = schedule.getRequired("schedule")
593593

594594
/**
595+
* Trip-specific status for the arriving transit vehicle.
596+
*
595597
* @throws OnebusawaySdkInvalidDataException if the JSON field has an unexpected type or
596598
* is unexpectedly missing or null (e.g. if the server responded with an unexpected
597599
* value).
@@ -738,6 +740,7 @@ private constructor(
738740
*/
739741
fun schedule(schedule: JsonField<Schedule>) = apply { this.schedule = schedule }
740742

743+
/** Trip-specific status for the arriving transit vehicle. */
741744
fun status(status: Status) = status(JsonField.of(status))
742745

743746
/**
@@ -1661,6 +1664,7 @@ private constructor(
16611664
"Schedule{nextTripId=$nextTripId, previousTripId=$previousTripId, stopTimes=$stopTimes, timeZone=$timeZone, frequency=$frequency, additionalProperties=$additionalProperties}"
16621665
}
16631666

1667+
/** Trip-specific status for the arriving transit vehicle. */
16641668
class Status
16651669
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
16661670
private constructor(

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,8 @@ private constructor(
682682
fun tripId(): Optional<String> = tripId.getOptional("tripId")
683683

684684
/**
685+
* Trip-specific status for the arriving transit vehicle.
686+
*
685687
* @throws OnebusawaySdkInvalidDataException if the JSON field has an unexpected type
686688
* (e.g. if the server responded with an unexpected value).
687689
*/
@@ -972,6 +974,7 @@ private constructor(
972974
*/
973975
fun tripId(tripId: JsonField<String>) = apply { this.tripId = tripId }
974976

977+
/** Trip-specific status for the arriving transit vehicle. */
975978
fun tripStatus(tripStatus: TripStatus) = tripStatus(JsonField.of(tripStatus))
976979

977980
/**
@@ -1281,6 +1284,7 @@ private constructor(
12811284
"Location{lat=$lat, lon=$lon, additionalProperties=$additionalProperties}"
12821285
}
12831286

1287+
/** Trip-specific status for the arriving transit vehicle. */
12841288
class TripStatus
12851289
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
12861290
private constructor(

0 commit comments

Comments
 (0)