From 3b955a589a76e8813b9119388a6d2da1a8bc8fb6 Mon Sep 17 00:00:00 2001 From: "alex.kadyrov" Date: Fri, 27 Sep 2019 14:41:08 +0300 Subject: [PATCH] cleanup --- .../v14.3/response/filterBySegments.go | 15 --------------- .../v14.3/response/parseReply.go | 8 ++++++++ 2 files changed, 8 insertions(+), 15 deletions(-) delete mode 100644 structs/fare/masterPricerTravelBoardSearch/v14.3/response/filterBySegments.go diff --git a/structs/fare/masterPricerTravelBoardSearch/v14.3/response/filterBySegments.go b/structs/fare/masterPricerTravelBoardSearch/v14.3/response/filterBySegments.go deleted file mode 100644 index 6af4447..0000000 --- a/structs/fare/masterPricerTravelBoardSearch/v14.3/response/filterBySegments.go +++ /dev/null @@ -1,15 +0,0 @@ -package Fare_MasterPricerTravelBoardSearchResponse_v14_3 - -import ( - structsCommon "github.com/tmconsulting/amadeus-golang-sdk/structs" -) - -// InternalGroupOfFlights Group Of Flights -type InternalGroupOfFlights struct { - ItineraryID int - GroupOfSegmentsID int - Flights []*structsCommon.Flight - MajorityCarrier string - //ElapseFlyingTime string - Duration int -} diff --git a/structs/fare/masterPricerTravelBoardSearch/v14.3/response/parseReply.go b/structs/fare/masterPricerTravelBoardSearch/v14.3/response/parseReply.go index 4370262..9b3becb 100644 --- a/structs/fare/masterPricerTravelBoardSearch/v14.3/response/parseReply.go +++ b/structs/fare/masterPricerTravelBoardSearch/v14.3/response/parseReply.go @@ -14,6 +14,14 @@ import ( "strings" ) +type InternalGroupOfFlights struct { + ItineraryID int + GroupOfSegmentsID int + Flights []*structsCommon.Flight + MajorityCarrier string + Duration int +} + func (r *Response) CheckErrorReply() error { if r.ErrorMessage != nil {