4646
4747
4848class OnebusawaySDK (SyncAPIClient ):
49- agencies_with_coverage : resources .AgenciesWithCoverageResource
5049 agency : resources .AgencyResource
5150 vehicles_for_agency : resources .VehiclesForAgencyResource
5251 config : resources .ConfigResource
@@ -66,6 +65,7 @@ class OnebusawaySDK(SyncAPIClient):
6665 trips_for_location : resources .TripsForLocationResource
6766 trip_details : resources .TripDetailsResource
6867 trip_for_vehicle : resources .TripForVehicleResource
68+ trips_for_route : resources .TripsForRouteResource
6969 report_problem_with_stop : resources .ReportProblemWithStopResource
7070 report_problem_with_trip : resources .ReportProblemWithTripResource
7171 search_for_stop : resources .SearchForStopResource
@@ -129,7 +129,6 @@ def __init__(
129129 _strict_response_validation = _strict_response_validation ,
130130 )
131131
132- self .agencies_with_coverage = resources .AgenciesWithCoverageResource (self )
133132 self .agency = resources .AgencyResource (self )
134133 self .vehicles_for_agency = resources .VehiclesForAgencyResource (self )
135134 self .config = resources .ConfigResource (self )
@@ -149,6 +148,7 @@ def __init__(
149148 self .trips_for_location = resources .TripsForLocationResource (self )
150149 self .trip_details = resources .TripDetailsResource (self )
151150 self .trip_for_vehicle = resources .TripForVehicleResource (self )
151+ self .trips_for_route = resources .TripsForRouteResource (self )
152152 self .report_problem_with_stop = resources .ReportProblemWithStopResource (self )
153153 self .report_problem_with_trip = resources .ReportProblemWithTripResource (self )
154154 self .search_for_stop = resources .SearchForStopResource (self )
@@ -272,7 +272,6 @@ def _make_status_error(
272272
273273
274274class AsyncOnebusawaySDK (AsyncAPIClient ):
275- agencies_with_coverage : resources .AsyncAgenciesWithCoverageResource
276275 agency : resources .AsyncAgencyResource
277276 vehicles_for_agency : resources .AsyncVehiclesForAgencyResource
278277 config : resources .AsyncConfigResource
@@ -292,6 +291,7 @@ class AsyncOnebusawaySDK(AsyncAPIClient):
292291 trips_for_location : resources .AsyncTripsForLocationResource
293292 trip_details : resources .AsyncTripDetailsResource
294293 trip_for_vehicle : resources .AsyncTripForVehicleResource
294+ trips_for_route : resources .AsyncTripsForRouteResource
295295 report_problem_with_stop : resources .AsyncReportProblemWithStopResource
296296 report_problem_with_trip : resources .AsyncReportProblemWithTripResource
297297 search_for_stop : resources .AsyncSearchForStopResource
@@ -355,7 +355,6 @@ def __init__(
355355 _strict_response_validation = _strict_response_validation ,
356356 )
357357
358- self .agencies_with_coverage = resources .AsyncAgenciesWithCoverageResource (self )
359358 self .agency = resources .AsyncAgencyResource (self )
360359 self .vehicles_for_agency = resources .AsyncVehiclesForAgencyResource (self )
361360 self .config = resources .AsyncConfigResource (self )
@@ -375,6 +374,7 @@ def __init__(
375374 self .trips_for_location = resources .AsyncTripsForLocationResource (self )
376375 self .trip_details = resources .AsyncTripDetailsResource (self )
377376 self .trip_for_vehicle = resources .AsyncTripForVehicleResource (self )
377+ self .trips_for_route = resources .AsyncTripsForRouteResource (self )
378378 self .report_problem_with_stop = resources .AsyncReportProblemWithStopResource (self )
379379 self .report_problem_with_trip = resources .AsyncReportProblemWithTripResource (self )
380380 self .search_for_stop = resources .AsyncSearchForStopResource (self )
@@ -499,9 +499,6 @@ def _make_status_error(
499499
500500class OnebusawaySDKWithRawResponse :
501501 def __init__ (self , client : OnebusawaySDK ) -> None :
502- self .agencies_with_coverage = resources .AgenciesWithCoverageResourceWithRawResponse (
503- client .agencies_with_coverage
504- )
505502 self .agency = resources .AgencyResourceWithRawResponse (client .agency )
506503 self .vehicles_for_agency = resources .VehiclesForAgencyResourceWithRawResponse (client .vehicles_for_agency )
507504 self .config = resources .ConfigResourceWithRawResponse (client .config )
@@ -521,6 +518,7 @@ def __init__(self, client: OnebusawaySDK) -> None:
521518 self .trips_for_location = resources .TripsForLocationResourceWithRawResponse (client .trips_for_location )
522519 self .trip_details = resources .TripDetailsResourceWithRawResponse (client .trip_details )
523520 self .trip_for_vehicle = resources .TripForVehicleResourceWithRawResponse (client .trip_for_vehicle )
521+ self .trips_for_route = resources .TripsForRouteResourceWithRawResponse (client .trips_for_route )
524522 self .report_problem_with_stop = resources .ReportProblemWithStopResourceWithRawResponse (
525523 client .report_problem_with_stop
526524 )
@@ -535,9 +533,6 @@ def __init__(self, client: OnebusawaySDK) -> None:
535533
536534class AsyncOnebusawaySDKWithRawResponse :
537535 def __init__ (self , client : AsyncOnebusawaySDK ) -> None :
538- self .agencies_with_coverage = resources .AsyncAgenciesWithCoverageResourceWithRawResponse (
539- client .agencies_with_coverage
540- )
541536 self .agency = resources .AsyncAgencyResourceWithRawResponse (client .agency )
542537 self .vehicles_for_agency = resources .AsyncVehiclesForAgencyResourceWithRawResponse (client .vehicles_for_agency )
543538 self .config = resources .AsyncConfigResourceWithRawResponse (client .config )
@@ -559,6 +554,7 @@ def __init__(self, client: AsyncOnebusawaySDK) -> None:
559554 self .trips_for_location = resources .AsyncTripsForLocationResourceWithRawResponse (client .trips_for_location )
560555 self .trip_details = resources .AsyncTripDetailsResourceWithRawResponse (client .trip_details )
561556 self .trip_for_vehicle = resources .AsyncTripForVehicleResourceWithRawResponse (client .trip_for_vehicle )
557+ self .trips_for_route = resources .AsyncTripsForRouteResourceWithRawResponse (client .trips_for_route )
562558 self .report_problem_with_stop = resources .AsyncReportProblemWithStopResourceWithRawResponse (
563559 client .report_problem_with_stop
564560 )
@@ -573,9 +569,6 @@ def __init__(self, client: AsyncOnebusawaySDK) -> None:
573569
574570class OnebusawaySDKWithStreamedResponse :
575571 def __init__ (self , client : OnebusawaySDK ) -> None :
576- self .agencies_with_coverage = resources .AgenciesWithCoverageResourceWithStreamingResponse (
577- client .agencies_with_coverage
578- )
579572 self .agency = resources .AgencyResourceWithStreamingResponse (client .agency )
580573 self .vehicles_for_agency = resources .VehiclesForAgencyResourceWithStreamingResponse (client .vehicles_for_agency )
581574 self .config = resources .ConfigResourceWithStreamingResponse (client .config )
@@ -599,6 +592,7 @@ def __init__(self, client: OnebusawaySDK) -> None:
599592 self .trips_for_location = resources .TripsForLocationResourceWithStreamingResponse (client .trips_for_location )
600593 self .trip_details = resources .TripDetailsResourceWithStreamingResponse (client .trip_details )
601594 self .trip_for_vehicle = resources .TripForVehicleResourceWithStreamingResponse (client .trip_for_vehicle )
595+ self .trips_for_route = resources .TripsForRouteResourceWithStreamingResponse (client .trips_for_route )
602596 self .report_problem_with_stop = resources .ReportProblemWithStopResourceWithStreamingResponse (
603597 client .report_problem_with_stop
604598 )
@@ -613,9 +607,6 @@ def __init__(self, client: OnebusawaySDK) -> None:
613607
614608class AsyncOnebusawaySDKWithStreamedResponse :
615609 def __init__ (self , client : AsyncOnebusawaySDK ) -> None :
616- self .agencies_with_coverage = resources .AsyncAgenciesWithCoverageResourceWithStreamingResponse (
617- client .agencies_with_coverage
618- )
619610 self .agency = resources .AsyncAgencyResourceWithStreamingResponse (client .agency )
620611 self .vehicles_for_agency = resources .AsyncVehiclesForAgencyResourceWithStreamingResponse (
621612 client .vehicles_for_agency
@@ -651,6 +642,7 @@ def __init__(self, client: AsyncOnebusawaySDK) -> None:
651642 )
652643 self .trip_details = resources .AsyncTripDetailsResourceWithStreamingResponse (client .trip_details )
653644 self .trip_for_vehicle = resources .AsyncTripForVehicleResourceWithStreamingResponse (client .trip_for_vehicle )
645+ self .trips_for_route = resources .AsyncTripsForRouteResourceWithStreamingResponse (client .trips_for_route )
654646 self .report_problem_with_stop = resources .AsyncReportProblemWithStopResourceWithStreamingResponse (
655647 client .report_problem_with_stop
656648 )
0 commit comments