@@ -72,60 +72,39 @@ func (r stopsForRouteListResponseJSON) RawJSON() string {
7272}
7373
7474type StopsForRouteListResponseData struct {
75- Data StopsForRouteListResponseDataData `json:"data" api:"required"`
76- JSON stopsForRouteListResponseDataJSON `json:"-"`
75+ Entry StopsForRouteListResponseDataEntry `json:"entry" api:"required"`
76+ References shared.References `json:"references" api:"required"`
77+ JSON stopsForRouteListResponseDataJSON `json:"-"`
7778}
7879
7980// stopsForRouteListResponseDataJSON contains the JSON metadata for the struct
8081// [StopsForRouteListResponseData]
8182type stopsForRouteListResponseDataJSON struct {
82- Data apijson.Field
83- raw string
84- ExtraFields map [string ]apijson.Field
85- }
86-
87- func (r * StopsForRouteListResponseData ) UnmarshalJSON (data []byte ) (err error ) {
88- return apijson .UnmarshalRoot (data , r )
89- }
90-
91- func (r stopsForRouteListResponseDataJSON ) RawJSON () string {
92- return r .raw
93- }
94-
95- type StopsForRouteListResponseDataData struct {
96- Entry StopsForRouteListResponseDataDataEntry `json:"entry" api:"required"`
97- References shared.References `json:"references" api:"required"`
98- JSON stopsForRouteListResponseDataDataJSON `json:"-"`
99- }
100-
101- // stopsForRouteListResponseDataDataJSON contains the JSON metadata for the struct
102- // [StopsForRouteListResponseDataData]
103- type stopsForRouteListResponseDataDataJSON struct {
10483 Entry apijson.Field
10584 References apijson.Field
10685 raw string
10786 ExtraFields map [string ]apijson.Field
10887}
10988
110- func (r * StopsForRouteListResponseDataData ) UnmarshalJSON (data []byte ) (err error ) {
89+ func (r * StopsForRouteListResponseData ) UnmarshalJSON (data []byte ) (err error ) {
11190 return apijson .UnmarshalRoot (data , r )
11291}
11392
114- func (r stopsForRouteListResponseDataDataJSON ) RawJSON () string {
93+ func (r stopsForRouteListResponseDataJSON ) RawJSON () string {
11594 return r .raw
11695}
11796
118- type StopsForRouteListResponseDataDataEntry struct {
119- Polylines []StopsForRouteListResponseDataDataEntryPolyline `json:"polylines"`
120- RouteID string `json:"routeId"`
121- StopGroupings []StopsForRouteListResponseDataDataEntryStopGrouping `json:"stopGroupings"`
122- StopIDs []string `json:"stopIds"`
123- JSON stopsForRouteListResponseDataDataEntryJSON `json:"-"`
97+ type StopsForRouteListResponseDataEntry struct {
98+ Polylines []StopsForRouteListResponseDataEntryPolyline `json:"polylines"`
99+ RouteID string `json:"routeId"`
100+ StopGroupings []StopsForRouteListResponseDataEntryStopGrouping `json:"stopGroupings"`
101+ StopIDs []string `json:"stopIds"`
102+ JSON stopsForRouteListResponseDataEntryJSON `json:"-"`
124103}
125104
126- // stopsForRouteListResponseDataDataEntryJSON contains the JSON metadata for the
127- // struct [StopsForRouteListResponseDataDataEntry ]
128- type stopsForRouteListResponseDataDataEntryJSON struct {
105+ // stopsForRouteListResponseDataEntryJSON contains the JSON metadata for the struct
106+ // [StopsForRouteListResponseDataEntry ]
107+ type stopsForRouteListResponseDataEntryJSON struct {
129108 Polylines apijson.Field
130109 RouteID apijson.Field
131110 StopGroupings apijson.Field
@@ -134,50 +113,50 @@ type stopsForRouteListResponseDataDataEntryJSON struct {
134113 ExtraFields map [string ]apijson.Field
135114}
136115
137- func (r * StopsForRouteListResponseDataDataEntry ) UnmarshalJSON (data []byte ) (err error ) {
116+ func (r * StopsForRouteListResponseDataEntry ) UnmarshalJSON (data []byte ) (err error ) {
138117 return apijson .UnmarshalRoot (data , r )
139118}
140119
141- func (r stopsForRouteListResponseDataDataEntryJSON ) RawJSON () string {
120+ func (r stopsForRouteListResponseDataEntryJSON ) RawJSON () string {
142121 return r .raw
143122}
144123
145- type StopsForRouteListResponseDataDataEntryPolyline struct {
146- Length int64 `json:"length"`
147- Levels string `json:"levels"`
148- Points string `json:"points"`
149- JSON stopsForRouteListResponseDataDataEntryPolylineJSON `json:"-"`
124+ type StopsForRouteListResponseDataEntryPolyline struct {
125+ Length int64 `json:"length"`
126+ Levels string `json:"levels"`
127+ Points string `json:"points"`
128+ JSON stopsForRouteListResponseDataEntryPolylineJSON `json:"-"`
150129}
151130
152- // stopsForRouteListResponseDataDataEntryPolylineJSON contains the JSON metadata
153- // for the struct [StopsForRouteListResponseDataDataEntryPolyline ]
154- type stopsForRouteListResponseDataDataEntryPolylineJSON struct {
131+ // stopsForRouteListResponseDataEntryPolylineJSON contains the JSON metadata for
132+ // the struct [StopsForRouteListResponseDataEntryPolyline ]
133+ type stopsForRouteListResponseDataEntryPolylineJSON struct {
155134 Length apijson.Field
156135 Levels apijson.Field
157136 Points apijson.Field
158137 raw string
159138 ExtraFields map [string ]apijson.Field
160139}
161140
162- func (r * StopsForRouteListResponseDataDataEntryPolyline ) UnmarshalJSON (data []byte ) (err error ) {
141+ func (r * StopsForRouteListResponseDataEntryPolyline ) UnmarshalJSON (data []byte ) (err error ) {
163142 return apijson .UnmarshalRoot (data , r )
164143}
165144
166- func (r stopsForRouteListResponseDataDataEntryPolylineJSON ) RawJSON () string {
145+ func (r stopsForRouteListResponseDataEntryPolylineJSON ) RawJSON () string {
167146 return r .raw
168147}
169148
170- type StopsForRouteListResponseDataDataEntryStopGrouping struct {
171- ID string `json:"id"`
172- Name StopsForRouteListResponseDataDataEntryStopGroupingsName `json:"name"`
173- Polylines []StopsForRouteListResponseDataDataEntryStopGroupingsPolyline `json:"polylines"`
174- StopIDs []string `json:"stopIds"`
175- JSON stopsForRouteListResponseDataDataEntryStopGroupingJSON `json:"-"`
149+ type StopsForRouteListResponseDataEntryStopGrouping struct {
150+ ID string `json:"id"`
151+ Name StopsForRouteListResponseDataEntryStopGroupingsName `json:"name"`
152+ Polylines []StopsForRouteListResponseDataEntryStopGroupingsPolyline `json:"polylines"`
153+ StopIDs []string `json:"stopIds"`
154+ JSON stopsForRouteListResponseDataEntryStopGroupingJSON `json:"-"`
176155}
177156
178- // stopsForRouteListResponseDataDataEntryStopGroupingJSON contains the JSON
179- // metadata for the struct [StopsForRouteListResponseDataDataEntryStopGrouping ]
180- type stopsForRouteListResponseDataDataEntryStopGroupingJSON struct {
157+ // stopsForRouteListResponseDataEntryStopGroupingJSON contains the JSON metadata
158+ // for the struct [StopsForRouteListResponseDataEntryStopGrouping ]
159+ type stopsForRouteListResponseDataEntryStopGroupingJSON struct {
181160 ID apijson.Field
182161 Name apijson.Field
183162 Polylines apijson.Field
@@ -186,63 +165,62 @@ type stopsForRouteListResponseDataDataEntryStopGroupingJSON struct {
186165 ExtraFields map [string ]apijson.Field
187166}
188167
189- func (r * StopsForRouteListResponseDataDataEntryStopGrouping ) UnmarshalJSON (data []byte ) (err error ) {
168+ func (r * StopsForRouteListResponseDataEntryStopGrouping ) UnmarshalJSON (data []byte ) (err error ) {
190169 return apijson .UnmarshalRoot (data , r )
191170}
192171
193- func (r stopsForRouteListResponseDataDataEntryStopGroupingJSON ) RawJSON () string {
172+ func (r stopsForRouteListResponseDataEntryStopGroupingJSON ) RawJSON () string {
194173 return r .raw
195174}
196175
197- type StopsForRouteListResponseDataDataEntryStopGroupingsName struct {
198- Name string `json:"name"`
199- Names []string `json:"names"`
200- Type string `json:"type"`
201- JSON stopsForRouteListResponseDataDataEntryStopGroupingsNameJSON `json:"-"`
176+ type StopsForRouteListResponseDataEntryStopGroupingsName struct {
177+ Name string `json:"name"`
178+ Names []string `json:"names"`
179+ Type string `json:"type"`
180+ JSON stopsForRouteListResponseDataEntryStopGroupingsNameJSON `json:"-"`
202181}
203182
204- // stopsForRouteListResponseDataDataEntryStopGroupingsNameJSON contains the JSON
205- // metadata for the struct
206- // [StopsForRouteListResponseDataDataEntryStopGroupingsName]
207- type stopsForRouteListResponseDataDataEntryStopGroupingsNameJSON struct {
183+ // stopsForRouteListResponseDataEntryStopGroupingsNameJSON contains the JSON
184+ // metadata for the struct [StopsForRouteListResponseDataEntryStopGroupingsName]
185+ type stopsForRouteListResponseDataEntryStopGroupingsNameJSON struct {
208186 Name apijson.Field
209187 Names apijson.Field
210188 Type apijson.Field
211189 raw string
212190 ExtraFields map [string ]apijson.Field
213191}
214192
215- func (r * StopsForRouteListResponseDataDataEntryStopGroupingsName ) UnmarshalJSON (data []byte ) (err error ) {
193+ func (r * StopsForRouteListResponseDataEntryStopGroupingsName ) UnmarshalJSON (data []byte ) (err error ) {
216194 return apijson .UnmarshalRoot (data , r )
217195}
218196
219- func (r stopsForRouteListResponseDataDataEntryStopGroupingsNameJSON ) RawJSON () string {
197+ func (r stopsForRouteListResponseDataEntryStopGroupingsNameJSON ) RawJSON () string {
220198 return r .raw
221199}
222200
223- type StopsForRouteListResponseDataDataEntryStopGroupingsPolyline struct {
224- Length int64 `json:"length"`
225- Levels string `json:"levels"`
226- Points string `json:"points"`
227- JSON stopsForRouteListResponseDataDataEntryStopGroupingsPolylineJSON `json:"-"`
201+ type StopsForRouteListResponseDataEntryStopGroupingsPolyline struct {
202+ Length int64 `json:"length"`
203+ Levels string `json:"levels"`
204+ Points string `json:"points"`
205+ JSON stopsForRouteListResponseDataEntryStopGroupingsPolylineJSON `json:"-"`
228206}
229207
230- // stopsForRouteListResponseDataDataEntryStopGroupingsPolylineJSON contains the
231- // JSON metadata for the struct
232- // [StopsForRouteListResponseDataDataEntryStopGroupingsPolyline ]
233- type stopsForRouteListResponseDataDataEntryStopGroupingsPolylineJSON struct {
208+ // stopsForRouteListResponseDataEntryStopGroupingsPolylineJSON contains the JSON
209+ // metadata for the struct
210+ // [StopsForRouteListResponseDataEntryStopGroupingsPolyline ]
211+ type stopsForRouteListResponseDataEntryStopGroupingsPolylineJSON struct {
234212 Length apijson.Field
235213 Levels apijson.Field
236214 Points apijson.Field
237215 raw string
238216 ExtraFields map [string ]apijson.Field
239217}
240218
241- func (r * StopsForRouteListResponseDataDataEntryStopGroupingsPolyline ) UnmarshalJSON (data []byte ) (err error ) {
219+ func (r * StopsForRouteListResponseDataEntryStopGroupingsPolyline ) UnmarshalJSON (data []byte ) (err error ) {
242220 return apijson .UnmarshalRoot (data , r )
243221}
244222
245- func (r stopsForRouteListResponseDataDataEntryStopGroupingsPolylineJSON ) RawJSON () string {
223+ func (r stopsForRouteListResponseDataEntryStopGroupingsPolylineJSON ) RawJSON () string {
246224 return r .raw
247225}
248226
0 commit comments