diff --git a/.stats.yml b/.stats.yml index 2ca4666..fa549e7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 16 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-92606a4bcfb26210a95a7f86b55fb258977f97c375cd3b1f6035ed81a53f2e2c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-7a71bec90a568b0dbefc3d81206069d9759259460cffa0543b162f6835be1e9a.yml diff --git a/src/onebusaway/_models.py b/src/onebusaway/_models.py index 5148d5a..eb7ce3b 100644 --- a/src/onebusaway/_models.py +++ b/src/onebusaway/_models.py @@ -406,15 +406,6 @@ def build( return cast(_BaseModelT, construct_type(type_=base_model_cls, value=kwargs)) -def construct_type_unchecked(*, value: object, type_: type[_T]) -> _T: - """Loose coercion to the expected type with construction of nested values. - - Note: the returned value from this function is not guaranteed to match the - given type. - """ - return cast(_T, construct_type(value=value, type_=type_)) - - def construct_type(*, value: object, type_: object) -> object: """Loose coercion to the expected type with construction of nested values. diff --git a/src/onebusaway/types/vehicles_for_agency_list_response.py b/src/onebusaway/types/vehicles_for_agency_list_response.py index 2536066..f61596d 100644 --- a/src/onebusaway/types/vehicles_for_agency_list_response.py +++ b/src/onebusaway/types/vehicles_for_agency_list_response.py @@ -154,6 +154,16 @@ class VehiclesForAgencyListResponseDataList(BaseModel): vehicle_id: str = FieldInfo(alias="vehicleId") + occupancy_capacity: Optional[int] = FieldInfo(alias="occupancyCapacity", default=None) + + occupancy_count: Optional[int] = FieldInfo(alias="occupancyCount", default=None) + + occupancy_status: Optional[str] = FieldInfo(alias="occupancyStatus", default=None) + + phase: Optional[str] = None + + status: Optional[str] = None + class VehiclesForAgencyListResponseData(BaseModel): list: List[VehiclesForAgencyListResponseDataList]