@@ -26,7 +26,7 @@ import Network.Google.QPXExpress.Types.Sum
2626data TripOptionsResponse = TripOptionsResponse
2727 { _torRequestId :: !(Maybe Text)
2828 , _torKind :: !Text
29− , _torData :: !(Maybe Data)
29+ , _torData :: !(Maybe Data')
3030 , _torTripOption :: !(Maybe [TripOption])
3131 } deriving (Eq,Show,Data,Typeable,Generic)
3232
@@ -62,7 +62,7 @@ torKind :: Lens' TripOptionsResponse Text
6262torKind = lens _torKind (\ s a -> s{_torKind = a})
6363
6464-- | Informational data global to list of solutions.
65−torData :: Lens' TripOptionsResponse (Maybe Data)
65+torData :: Lens' TripOptionsResponse (Maybe Data')
6666torData = lens _torData (\ s a -> s{_torData = a})
6767
6868-- | A list of priced itinerary solutions to the QPX Express query.
@@ -312,7 +312,7 @@ instance ToJSON TimeOfDayRange where
312312-- aircraft.
313313--
314314-- /See:/ 'data'' smart constructor.
315−data Data = Data
315+data Data' = Data'
316316 { _dCarrier :: !(Maybe [CarrierData])
317317 , _dKind :: !Text
318318 , _dAircraft :: !(Maybe [AircraftData])
@@ -337,9 +337,9 @@ data Data = Data
337337--
338338-- * 'dTax'
339339data'
340− :: Data
340+ :: Data'
341341data' =
342− Data
342+ Data'
343343 { _dCarrier = Nothing
344344 , _dKind = "qpxexpress#data"
345345 , _dAircraft = Nothing
@@ -350,7 +350,7 @@ data' =
350350
351351-- | The airline carrier of the aircraft flying between an origin and
352352-- destination. Allowed values are IATA carrier codes.
353−dCarrier :: Lens' Data [CarrierData]
353+dCarrier :: Lens' Data' [CarrierData]
354354dCarrier
355355 = lens _dCarrier (\ s a -> s{_dCarrier = a}) .
356356 _Default
@@ -359,40 +359,40 @@ dCarrier
359359-- | Identifies this as QPX Express response resource, including a trip\'s
360360-- airport, city, taxes, airline, and aircraft. Value: the fixed string
361361-- qpxexpress#data.
362−dKind :: Lens' Data Text
362+dKind :: Lens' Data' Text
363363dKind = lens _dKind (\ s a -> s{_dKind = a})
364364
365365-- | The aircraft that is flying between an origin and destination.
366−dAircraft :: Lens' Data [AircraftData]
366+dAircraft :: Lens' Data' [AircraftData]
367367dAircraft
368368 = lens _dAircraft (\ s a -> s{_dAircraft = a}) .
369369 _Default
370370 . _Coerce
371371
372372-- | The airport of an origin or destination.
373−dAirport :: Lens' Data [AirportData]
373+dAirport :: Lens' Data' [AirportData]
374374dAirport
375375 = lens _dAirport (\ s a -> s{_dAirport = a}) .
376376 _Default
377377 . _Coerce
378378
379379-- | The city that is either the origin or destination of part of a trip.
380−dCity :: Lens' Data [CityData]
380+dCity :: Lens' Data' [CityData]
381381dCity
382382 = lens _dCity (\ s a -> s{_dCity = a}) . _Default .
383383 _Coerce
384384
385385-- | The taxes due for flying between an origin and a destination.
386−dTax :: Lens' Data [TaxData]
386+dTax :: Lens' Data' [TaxData]
387387dTax
388388 = lens _dTax (\ s a -> s{_dTax = a}) . _Default .
389389 _Coerce
390390
391−instance FromJSON Data where
391+instance FromJSON Data' where
392392 parseJSON
393393 = withObject "Data"
394394 (\ o ->
395− Data <$>
395+ Data' <$>
396396 (o .:? "carrier" .!= mempty) <*>
397397 (o .:? "kind" .!= "qpxexpress#data")
398398 <*> (o .:? "aircraft" .!= mempty)
@@ -400,8 +400,8 @@ instance FromJSON Data where
400400 <*> (o .:? "city" .!= mempty)
401401 <*> (o .:? "tax" .!= mempty))
402402
403−instance ToJSON Data where
404− toJSON Data{..}
403+instance ToJSON Data' where
404+ toJSON Data'{..}
405405 = object
406406 (catMaybes
407407 [("carrier" .=) <$> _dCarrier,