From 2048212bdebbe586a36584a5f62786d10857d875 Mon Sep 17 00:00:00 2001 From: minchao Date: Sat, 20 Jul 2019 20:22:48 +0800 Subject: [PATCH] OAS spec changes on the 2019-07-20 (#8) --- .../client/air/air_api_airline1_responses.go | 4 ++ .../client/air/air_api_airline_responses.go | 4 ++ .../client/air/air_api_airport1_responses.go | 4 ++ .../client/air/air_api_airport_responses.go | 4 ++ .../client/air/air_api_arrival1_responses.go | 4 ++ .../client/air/air_api_arrival_responses.go | 4 ++ .../air/air_api_departure1_responses.go | 4 ++ .../client/air/air_api_departure_responses.go | 4 ++ .../client/air/air_api_domestic_responses.go | 4 ++ .../client/air/air_api_f_id_s1_responses.go | 4 ++ air/v2/client/air/air_api_f_id_s_responses.go | 4 ++ .../client/air/air_api_flight1_responses.go | 4 ++ air/v2/client/air/air_api_flight_responses.go | 4 ++ .../air/air_api_international_responses.go | 4 ++ .../air/air_api_m_e_t_a_r1_responses.go | 4 ++ .../client/air/air_api_m_e_t_a_r_responses.go | 4 ++ .../basic/basic_api_authority_responses.go | 4 ++ .../basic/basic_api_operator_responses.go | 4 ++ .../basic/basic_api_provider_responses.go | 4 ++ .../basic/web_site_api_news_responses.go | 4 ++ .../bike/bike_api_availability_responses.go | 4 ++ .../client/bike/bike_api_station_responses.go | 4 ++ .../bike/cycling_api_shape_responses.go | 4 ++ .../city_bus_api_data_version_responses.go | 4 ++ ...us_api_display_stop_of_route1_responses.go | 4 ++ ...bus_api_display_stop_of_route_responses.go | 4 ++ ...pi_estimated_time_of_arrival1_responses.go | 4 ++ ...api_estimated_time_of_arrival_responses.go | 4 ++ .../city_bus/city_bus_api_news_responses.go | 4 ++ .../city_bus_api_operator_responses.go | 4 ++ ...s_api_real_time_by_frequency1_responses.go | 4 ++ ...us_api_real_time_by_frequency_responses.go | 4 ++ ..._bus_api_real_time_near_stop1_responses.go | 4 ++ ...y_bus_api_real_time_near_stop_responses.go | 4 ++ .../city_bus/city_bus_api_route1_responses.go | 4 ++ .../city_bus_api_route_fare1_responses.go | 4 ++ .../city_bus_api_route_fare_responses.go | 4 ++ .../city_bus/city_bus_api_route_responses.go | 4 ++ .../city_bus_api_schedule1_responses.go | 4 ++ .../city_bus_api_schedule_responses.go | 4 ++ .../city_bus/city_bus_api_shape1_responses.go | 4 ++ .../city_bus/city_bus_api_shape_responses.go | 4 ++ .../city_bus_api_station_name_responses.go | 4 ++ .../city_bus_api_station_responses.go | 4 ++ .../city_bus_api_stop_of_route1_responses.go | 4 ++ .../city_bus_api_stop_of_route_responses.go | 4 ++ .../city_bus/city_bus_api_stop_responses.go | 4 ++ .../city_bus_api_vehicle_responses.go | 4 ++ ...ter_city_bus_api_data_version_responses.go | 4 ++ ...pi_estimated_time_of_arrival1_responses.go | 4 ++ ...api_estimated_time_of_arrival_responses.go | 4 ++ .../inter_city_bus_api_news_responses.go | 4 ++ .../inter_city_bus_api_operator_responses.go | 4 ++ ...s_api_real_time_by_frequency1_responses.go | 4 ++ ...us_api_real_time_by_frequency_responses.go | 4 ++ ..._bus_api_real_time_near_stop1_responses.go | 4 ++ ...y_bus_api_real_time_near_stop_responses.go | 4 ++ .../inter_city_bus_api_route1_responses.go | 4 ++ ...nter_city_bus_api_route_fare1_responses.go | 4 ++ ...inter_city_bus_api_route_fare_responses.go | 4 ++ .../inter_city_bus_api_route_responses.go | 4 ++ .../inter_city_bus_api_schedule1_responses.go | 4 ++ .../inter_city_bus_api_schedule_responses.go | 4 ++ ...ter_city_bus_api_station_name_responses.go | 4 ++ .../inter_city_bus_api_station_responses.go | 4 ++ ...r_city_bus_api_stop_of_route1_responses.go | 4 ++ ...er_city_bus_api_stop_of_route_responses.go | 4 ++ .../inter_city_bus_api_stop_responses.go | 4 ++ .../inter_city_bus_api_vehicle_responses.go | 4 ++ oas.bike.v2.json | 54 +++++++++---------- ...etro_api_first_last_timetable_responses.go | 4 ++ .../metro/metro_api_frequency_responses.go | 4 ++ .../client/metro/metro_api_line_responses.go | 4 ++ .../metro_api_line_transfer_responses.go | 4 ++ .../metro/metro_api_live_board_responses.go | 4 ++ .../metro/metro_api_network_responses.go | 4 ++ .../metro/metro_api_o_d_fare_responses.go | 4 ++ .../client/metro/metro_api_route_responses.go | 4 ++ .../metro_api_s2_s_travel_time_responses.go | 4 ++ .../client/metro/metro_api_shape_responses.go | 4 ++ .../metro/metro_api_station_exit_responses.go | 4 ++ .../metro_api_station_facility_responses.go | 4 ++ .../metro_api_station_of_line_responses.go | 4 ++ .../metro_api_station_of_route_responses.go | 4 ++ .../metro/metro_api_station_responses.go | 4 ++ .../metro_api_station_time_table_responses.go | 4 ++ .../t_h_s_r_api_alert_info_responses.go | 4 ++ ...pi_available_seat_status_list_responses.go | 4 ++ .../t_h_s_r_api_daily_timetable1_responses.go | 4 ++ .../t_h_s_r_api_daily_timetable2_responses.go | 4 ++ .../t_h_s_r_api_daily_timetable3_responses.go | 4 ++ .../t_h_s_r_api_daily_timetable_responses.go | 4 ++ ...t_h_s_r_api_daily_train_info1_responses.go | 4 ++ ...t_h_s_r_api_daily_train_info2_responses.go | 4 ++ ...t_h_s_r_api_daily_train_info3_responses.go | 4 ++ .../t_h_s_r_api_daily_train_info_responses.go | 4 ++ ..._h_s_r_api_general_timetable1_responses.go | 4 ++ ...t_h_s_r_api_general_timetable_responses.go | 4 ++ .../t_h_s_r/t_h_s_r_api_news_responses.go | 4 ++ ...h_s_r_api_o_d_daily_timetable_responses.go | 4 ++ .../t_h_s_r_api_o_d_fare1_responses.go | 4 ++ .../t_h_s_r/t_h_s_r_api_o_d_fare_responses.go | 4 ++ .../t_h_s_r/t_h_s_r_api_shape_responses.go | 4 ++ .../t_h_s_r_api_station_exit_responses.go | 4 ++ .../t_h_s_r/t_h_s_r_api_station_responses.go | 4 ++ ...t_h_s_r_api_station_timetable_responses.go | 4 ++ .../t_r_a_api_daily_timetable1_responses.go | 4 ++ .../t_r_a_api_daily_timetable2_responses.go | 4 ++ .../t_r_a_api_daily_timetable3_responses.go | 4 ++ .../t_r_a_api_daily_timetable_responses.go | 4 ++ .../t_r_a_api_daily_train_info1_responses.go | 4 ++ .../t_r_a_api_daily_train_info2_responses.go | 4 ++ .../t_r_a_api_daily_train_info3_responses.go | 4 ++ .../t_r_a_api_daily_train_info_responses.go | 4 ++ .../t_r_a_api_general_timetable1_responses.go | 4 ++ .../t_r_a_api_general_timetable_responses.go | 4 ++ ...t_r_a_api_general_train_info1_responses.go | 4 ++ .../t_r_a_api_general_train_info_responses.go | 4 ++ .../client/t_r_a/t_r_a_api_line_responses.go | 4 ++ .../t_r_a/t_r_a_api_live_board1_responses.go | 4 ++ .../t_r_a/t_r_a_api_live_board_responses.go | 4 ++ .../t_r_a_api_live_train_delay_responses.go | 4 ++ .../t_r_a/t_r_a_api_network_responses.go | 4 ++ ...t_r_a_api_o_d_daily_timetable_responses.go | 4 ++ .../t_r_a_api_o_d_fare_station1_responses.go | 4 ++ .../t_r_a_api_o_d_fare_station_responses.go | 4 ++ .../client/t_r_a/t_r_a_api_shape_responses.go | 4 ++ .../t_r_a_api_station_of_line_responses.go | 4 ++ .../t_r_a/t_r_a_api_station_responses.go | 4 ++ .../t_r_a_api_station_timetable_responses.go | 4 ++ .../t_r_a/t_r_a_api_train_type_responses.go | 4 ++ .../alert_api_controller_get_responses.go | 4 ++ ...ime_table_api_controller_get1_responses.go | 4 ++ ...ime_table_api_controller_get2_responses.go | 4 ++ ...time_table_api_controller_get_responses.go | 4 ++ ...ime_table_api_controller_get1_responses.go | 4 ++ ...ime_table_api_controller_get2_responses.go | 4 ++ ...ime_table_api_controller_get3_responses.go | 4 ++ ...ime_table_api_controller_get4_responses.go | 4 ++ ...time_table_api_controller_get_responses.go | 4 ++ ...timetable_api_controller_get1_responses.go | 4 ++ ..._timetable_api_controller_get_responses.go | 4 ++ ...timetable_api_controller_get1_responses.go | 4 ++ ..._timetable_api_controller_get_responses.go | 4 ++ .../line_api_controller_get_responses.go | 4 ++ ...e_transfer_api_controller_get_responses.go | 4 ++ .../network_api_controller_get_responses.go | 4 ++ .../news_api_controller_get_responses.go | 4 ++ ...ontroller_api_controller_get1_responses.go | 4 ++ ...controller_api_controller_get_responses.go | 4 ++ .../shape_api_controller_get_responses.go | 4 ++ ...timetable_api_controller_get1_responses.go | 4 ++ ..._timetable_api_controller_get_responses.go | 4 ++ .../station_api_controller_get_responses.go | 4 ++ ...ation_exit_api_controller_get_responses.go | 4 ++ ...n_facility_api_controller_get_responses.go | 4 ++ ...ive_board_api_controller_get1_responses.go | 4 ++ ...live_board_api_controller_get_responses.go | 4 ++ ...on_of_line_api_controller_get_responses.go | 4 ++ ...n_transfer_api_controller_get_responses.go | 4 ++ ...ive_board_api_controller_get1_responses.go | 4 ++ ...live_board_api_controller_get_responses.go | 4 ++ ...train_type_api_controller_get_responses.go | 4 ++ ...pi_estimated_time_of_arrival1_responses.go | 4 ++ ...api_estimated_time_of_arrival_responses.go | 4 ++ .../taiwan_trip_bus_api_news_responses.go | 4 ++ ...s_api_real_time_by_frequency1_responses.go | 4 ++ ...us_api_real_time_by_frequency_responses.go | 4 ++ ..._bus_api_real_time_near_stop1_responses.go | 4 ++ ...p_bus_api_real_time_near_stop_responses.go | 4 ++ .../taiwan_trip_bus_api_route1_responses.go | 4 ++ .../taiwan_trip_bus_api_route_responses.go | 4 ++ ...n_trip_bus_api_s2_travel_time_responses.go | 4 ++ ...taiwan_trip_bus_api_schedule1_responses.go | 4 ++ .../taiwan_trip_bus_api_schedule_responses.go | 4 ++ .../taiwan_trip_bus_api_shape1_responses.go | 4 ++ .../taiwan_trip_bus_api_shape_responses.go | 4 ++ ...n_trip_bus_api_stop_of_route1_responses.go | 4 ++ ...an_trip_bus_api_stop_of_route_responses.go | 4 ++ .../tourism_api_activity0_responses.go | 4 ++ .../tourism/tourism_api_activity_responses.go | 4 ++ .../tourism/tourism_api_hotel0_responses.go | 4 ++ .../tourism/tourism_api_hotel_responses.go | 4 ++ .../tourism_api_restaurant0_responses.go | 4 ++ .../tourism_api_restaurant_responses.go | 4 ++ .../tourism_api_scenic_spot0_responses.go | 4 ++ .../tourism_api_scenic_spot_responses.go | 4 ++ 187 files changed, 771 insertions(+), 27 deletions(-) diff --git a/air/v2/client/air/air_api_airline1_responses.go b/air/v2/client/air/air_api_airline1_responses.go index cd432f9d..f0b719f0 100644 --- a/air/v2/client/air/air_api_airline1_responses.go +++ b/air/v2/client/air/air_api_airline1_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIAirline1OK) Error() string { return fmt.Sprintf("[GET /v2/Air/Airline][%d] airApiAirline1OK %+v", 200, o.Payload) } +func (o *AirAPIAirline1OK) GetPayload() []*models.ServiceDTOVersion2AviationAirline { + return o.Payload +} + func (o *AirAPIAirline1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_airline_responses.go b/air/v2/client/air/air_api_airline_responses.go index 687e352d..2c710a5d 100644 --- a/air/v2/client/air/air_api_airline_responses.go +++ b/air/v2/client/air/air_api_airline_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIAirlineOK) Error() string { return fmt.Sprintf("[GET /v2/Air/Airline/{IATA}][%d] airApiAirlineOK %+v", 200, o.Payload) } +func (o *AirAPIAirlineOK) GetPayload() *models.ServiceDTOVersion2AviationAirline { + return o.Payload +} + func (o *AirAPIAirlineOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.ServiceDTOVersion2AviationAirline) diff --git a/air/v2/client/air/air_api_airport1_responses.go b/air/v2/client/air/air_api_airport1_responses.go index 6cf62f44..b4113f3c 100644 --- a/air/v2/client/air/air_api_airport1_responses.go +++ b/air/v2/client/air/air_api_airport1_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIAirport1OK) Error() string { return fmt.Sprintf("[GET /v2/Air/Airport/{IATA}][%d] airApiAirport1OK %+v", 200, o.Payload) } +func (o *AirAPIAirport1OK) GetPayload() *models.ServiceDTOVersion2AviationAirport { + return o.Payload +} + func (o *AirAPIAirport1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.ServiceDTOVersion2AviationAirport) diff --git a/air/v2/client/air/air_api_airport_responses.go b/air/v2/client/air/air_api_airport_responses.go index 3969f692..ee94d535 100644 --- a/air/v2/client/air/air_api_airport_responses.go +++ b/air/v2/client/air/air_api_airport_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIAirportOK) Error() string { return fmt.Sprintf("[GET /v2/Air/Airport][%d] airApiAirportOK %+v", 200, o.Payload) } +func (o *AirAPIAirportOK) GetPayload() []*models.ServiceDTOVersion2AviationAirport { + return o.Payload +} + func (o *AirAPIAirportOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_arrival1_responses.go b/air/v2/client/air/air_api_arrival1_responses.go index ef2042a8..5e4098b6 100644 --- a/air/v2/client/air/air_api_arrival1_responses.go +++ b/air/v2/client/air/air_api_arrival1_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIArrival1OK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Airport/Arrival/{IATA}][%d] airApiArrival1OK %+v", 200, o.Payload) } +func (o *AirAPIArrival1OK) GetPayload() []*models.ServiceDTOVersion2AviationFIDSArrival { + return o.Payload +} + func (o *AirAPIArrival1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_arrival_responses.go b/air/v2/client/air/air_api_arrival_responses.go index f826b834..d5c77fc6 100644 --- a/air/v2/client/air/air_api_arrival_responses.go +++ b/air/v2/client/air/air_api_arrival_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIArrivalOK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Airport/Arrival][%d] airApiArrivalOK %+v", 200, o.Payload) } +func (o *AirAPIArrivalOK) GetPayload() []*models.ServiceDTOVersion2AviationFIDSArrival { + return o.Payload +} + func (o *AirAPIArrivalOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_departure1_responses.go b/air/v2/client/air/air_api_departure1_responses.go index 1a8265d7..d22ca01d 100644 --- a/air/v2/client/air/air_api_departure1_responses.go +++ b/air/v2/client/air/air_api_departure1_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIDeparture1OK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Airport/Departure/{IATA}][%d] airApiDeparture1OK %+v", 200, o.Payload) } +func (o *AirAPIDeparture1OK) GetPayload() []*models.ServiceDTOVersion2AviationFIDSDeparture { + return o.Payload +} + func (o *AirAPIDeparture1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_departure_responses.go b/air/v2/client/air/air_api_departure_responses.go index d0777ad6..c565b514 100644 --- a/air/v2/client/air/air_api_departure_responses.go +++ b/air/v2/client/air/air_api_departure_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIDepartureOK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Airport/Departure][%d] airApiDepartureOK %+v", 200, o.Payload) } +func (o *AirAPIDepartureOK) GetPayload() []*models.ServiceDTOVersion2AviationFIDSDeparture { + return o.Payload +} + func (o *AirAPIDepartureOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_domestic_responses.go b/air/v2/client/air/air_api_domestic_responses.go index 8a6b6119..ce3deb78 100644 --- a/air/v2/client/air/air_api_domestic_responses.go +++ b/air/v2/client/air/air_api_domestic_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIDomesticOK) Error() string { return fmt.Sprintf("[GET /v2/Air/GeneralSchedule/Domestic][%d] airApiDomesticOK %+v", 200, o.Payload) } +func (o *AirAPIDomesticOK) GetPayload() []*models.ServiceDTOVersion2AviationGeneralFlightSchedule { + return o.Payload +} + func (o *AirAPIDomesticOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_f_id_s1_responses.go b/air/v2/client/air/air_api_f_id_s1_responses.go index 3681f39d..364c62ad 100644 --- a/air/v2/client/air/air_api_f_id_s1_responses.go +++ b/air/v2/client/air/air_api_f_id_s1_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIFIDS1OK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Airport/{IATA}][%d] airApiFIdS1OK %+v", 200, o.Payload) } +func (o *AirAPIFIDS1OK) GetPayload() []*models.ServiceDTOVersion2AviationAirportFIDS { + return o.Payload +} + func (o *AirAPIFIDS1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_f_id_s_responses.go b/air/v2/client/air/air_api_f_id_s_responses.go index d27c673d..8209c35e 100644 --- a/air/v2/client/air/air_api_f_id_s_responses.go +++ b/air/v2/client/air/air_api_f_id_s_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIFIDSOK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Airport][%d] airApiFIdSOK %+v", 200, o.Payload) } +func (o *AirAPIFIDSOK) GetPayload() []*models.ServiceDTOVersion2AviationAirportFIDS { + return o.Payload +} + func (o *AirAPIFIDSOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_flight1_responses.go b/air/v2/client/air/air_api_flight1_responses.go index c3632b66..aaff0910 100644 --- a/air/v2/client/air/air_api_flight1_responses.go +++ b/air/v2/client/air/air_api_flight1_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIFlight1OK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Flight/{FlightNo}][%d] airApiFlight1OK %+v", 200, o.Payload) } +func (o *AirAPIFlight1OK) GetPayload() []*models.ServiceDTOVersion2AviationFIDS { + return o.Payload +} + func (o *AirAPIFlight1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_flight_responses.go b/air/v2/client/air/air_api_flight_responses.go index 69da3b21..882de3f5 100644 --- a/air/v2/client/air/air_api_flight_responses.go +++ b/air/v2/client/air/air_api_flight_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIFlightOK) Error() string { return fmt.Sprintf("[GET /v2/Air/FIDS/Flight][%d] airApiFlightOK %+v", 200, o.Payload) } +func (o *AirAPIFlightOK) GetPayload() []*models.ServiceDTOVersion2AviationFIDS { + return o.Payload +} + func (o *AirAPIFlightOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_international_responses.go b/air/v2/client/air/air_api_international_responses.go index c9e36383..acf1439d 100644 --- a/air/v2/client/air/air_api_international_responses.go +++ b/air/v2/client/air/air_api_international_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIInternationalOK) Error() string { return fmt.Sprintf("[GET /v2/Air/GeneralSchedule/International][%d] airApiInternationalOK %+v", 200, o.Payload) } +func (o *AirAPIInternationalOK) GetPayload() []*models.ServiceDTOVersion2AviationGeneralFlightSchedule { + return o.Payload +} + func (o *AirAPIInternationalOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_m_e_t_a_r1_responses.go b/air/v2/client/air/air_api_m_e_t_a_r1_responses.go index 59107ebd..7bd3d3af 100644 --- a/air/v2/client/air/air_api_m_e_t_a_r1_responses.go +++ b/air/v2/client/air/air_api_m_e_t_a_r1_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIMETAR1OK) Error() string { return fmt.Sprintf("[GET /v2/Air/METAR/Airport/{IATA}][%d] airApiMETAR1OK %+v", 200, o.Payload) } +func (o *AirAPIMETAR1OK) GetPayload() []*models.ServiceDTOVersion2ApplicationMETAR { + return o.Payload +} + func (o *AirAPIMETAR1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/air/v2/client/air/air_api_m_e_t_a_r_responses.go b/air/v2/client/air/air_api_m_e_t_a_r_responses.go index 5704996c..daaaf008 100644 --- a/air/v2/client/air/air_api_m_e_t_a_r_responses.go +++ b/air/v2/client/air/air_api_m_e_t_a_r_responses.go @@ -53,6 +53,10 @@ func (o *AirAPIMETAROK) Error() string { return fmt.Sprintf("[GET /v2/Air/METAR/Airport][%d] airApiMETAROK %+v", 200, o.Payload) } +func (o *AirAPIMETAROK) GetPayload() []*models.ServiceDTOVersion2ApplicationMETAR { + return o.Payload +} + func (o *AirAPIMETAROK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/basic/v2/client/basic/basic_api_authority_responses.go b/basic/v2/client/basic/basic_api_authority_responses.go index 397f3472..32e2af5c 100644 --- a/basic/v2/client/basic/basic_api_authority_responses.go +++ b/basic/v2/client/basic/basic_api_authority_responses.go @@ -53,6 +53,10 @@ func (o *BasicAPIAuthorityOK) Error() string { return fmt.Sprintf("[GET /v2/Basic/Authority][%d] basicApiAuthorityOK %+v", 200, o.Payload) } +func (o *BasicAPIAuthorityOK) GetPayload() []*models.ServiceDTOVersion2BaseAuthority { + return o.Payload +} + func (o *BasicAPIAuthorityOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/basic/v2/client/basic/basic_api_operator_responses.go b/basic/v2/client/basic/basic_api_operator_responses.go index 3d265696..09035faa 100644 --- a/basic/v2/client/basic/basic_api_operator_responses.go +++ b/basic/v2/client/basic/basic_api_operator_responses.go @@ -53,6 +53,10 @@ func (o *BasicAPIOperatorOK) Error() string { return fmt.Sprintf("[GET /v2/Basic/Operator][%d] basicApiOperatorOK %+v", 200, o.Payload) } +func (o *BasicAPIOperatorOK) GetPayload() []*models.ServiceDTOVersion2BaseOperator { + return o.Payload +} + func (o *BasicAPIOperatorOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/basic/v2/client/basic/basic_api_provider_responses.go b/basic/v2/client/basic/basic_api_provider_responses.go index d5d634f3..190f4ab6 100644 --- a/basic/v2/client/basic/basic_api_provider_responses.go +++ b/basic/v2/client/basic/basic_api_provider_responses.go @@ -53,6 +53,10 @@ func (o *BasicAPIProviderOK) Error() string { return fmt.Sprintf("[GET /v2/Basic/Provider][%d] basicApiProviderOK %+v", 200, o.Payload) } +func (o *BasicAPIProviderOK) GetPayload() []*models.ServiceDTOVersion2BaseProvider { + return o.Payload +} + func (o *BasicAPIProviderOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/basic/v2/client/basic/web_site_api_news_responses.go b/basic/v2/client/basic/web_site_api_news_responses.go index e03e984e..cacfbfc4 100644 --- a/basic/v2/client/basic/web_site_api_news_responses.go +++ b/basic/v2/client/basic/web_site_api_news_responses.go @@ -53,6 +53,10 @@ func (o *WebSiteAPINewsOK) Error() string { return fmt.Sprintf("[GET /v2/PTX/Web/News][%d] webSiteApiNewsOK %+v", 200, o.Payload) } +func (o *WebSiteAPINewsOK) GetPayload() *models.MOTCAPIBasicModelsVersion2BasicWrapperServiceDTOVersion2BaseNews { + return o.Payload +} + func (o *WebSiteAPINewsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIBasicModelsVersion2BasicWrapperServiceDTOVersion2BaseNews) diff --git a/bike/v2/client/bike/bike_api_availability_responses.go b/bike/v2/client/bike/bike_api_availability_responses.go index 6bd0800b..50d7d1af 100644 --- a/bike/v2/client/bike/bike_api_availability_responses.go +++ b/bike/v2/client/bike/bike_api_availability_responses.go @@ -53,6 +53,10 @@ func (o *BikeAPIAvailabilityOK) Error() string { return fmt.Sprintf("[GET /v2/Bike/Availability/{City}][%d] bikeApiAvailabilityOK %+v", 200, o.Payload) } +func (o *BikeAPIAvailabilityOK) GetPayload() []*models.ServiceDTOVersion2BikeBikeAvailability { + return o.Payload +} + func (o *BikeAPIAvailabilityOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bike/v2/client/bike/bike_api_station_responses.go b/bike/v2/client/bike/bike_api_station_responses.go index 6f95ce4b..0c0eba6e 100644 --- a/bike/v2/client/bike/bike_api_station_responses.go +++ b/bike/v2/client/bike/bike_api_station_responses.go @@ -53,6 +53,10 @@ func (o *BikeAPIStationOK) Error() string { return fmt.Sprintf("[GET /v2/Bike/Station/{City}][%d] bikeApiStationOK %+v", 200, o.Payload) } +func (o *BikeAPIStationOK) GetPayload() []*models.ServiceDTOVersion2BikeBikeStation { + return o.Payload +} + func (o *BikeAPIStationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bike/v2/client/bike/cycling_api_shape_responses.go b/bike/v2/client/bike/cycling_api_shape_responses.go index d8d1c423..0de1ca94 100644 --- a/bike/v2/client/bike/cycling_api_shape_responses.go +++ b/bike/v2/client/bike/cycling_api_shape_responses.go @@ -53,6 +53,10 @@ func (o *CyclingAPIShapeOK) Error() string { return fmt.Sprintf("[GET /v2/Cycling/Shape/{City}][%d] cyclingApiShapeOK %+v", 200, o.Payload) } +func (o *CyclingAPIShapeOK) GetPayload() []*models.ServiceDTOVersion2BikeBikeShape { + return o.Payload +} + func (o *CyclingAPIShapeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_data_version_responses.go b/bus/v2/client/city_bus/city_bus_api_data_version_responses.go index 0fdf6bdf..93a73995 100644 --- a/bus/v2/client/city_bus/city_bus_api_data_version_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_data_version_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIDataVersionOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/DataVersion/City/{City}][%d] cityBusApiDataVersionOK %+v", 200, o.Payload) } +func (o *CityBusAPIDataVersionOK) GetPayload() *models.ServiceDTOVersion2BusBusVersion { + return o.Payload +} + func (o *CityBusAPIDataVersionOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.ServiceDTOVersion2BusBusVersion) diff --git a/bus/v2/client/city_bus/city_bus_api_display_stop_of_route1_responses.go b/bus/v2/client/city_bus/city_bus_api_display_stop_of_route1_responses.go index 6a0022f4..80691f6e 100644 --- a/bus/v2/client/city_bus/city_bus_api_display_stop_of_route1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_display_stop_of_route1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIDisplayStopOfRoute1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/DisplayStopOfRoute/City/{City}/{RouteName}][%d] cityBusApiDisplayStopOfRoute1OK %+v", 200, o.Payload) } +func (o *CityBusAPIDisplayStopOfRoute1OK) GetPayload() []*models.ServiceDTOVersion2BusBusDisplayStopOfRoute { + return o.Payload +} + func (o *CityBusAPIDisplayStopOfRoute1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_display_stop_of_route_responses.go b/bus/v2/client/city_bus/city_bus_api_display_stop_of_route_responses.go index c73d0a77..313bea97 100644 --- a/bus/v2/client/city_bus/city_bus_api_display_stop_of_route_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_display_stop_of_route_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIDisplayStopOfRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/DisplayStopOfRoute/City/{City}][%d] cityBusApiDisplayStopOfRouteOK %+v", 200, o.Payload) } +func (o *CityBusAPIDisplayStopOfRouteOK) GetPayload() []*models.ServiceDTOVersion2BusBusDisplayStopOfRoute { + return o.Payload +} + func (o *CityBusAPIDisplayStopOfRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival1_responses.go b/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival1_responses.go index 0b984c3c..74d5d393 100644 --- a/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIEstimatedTimeOfArrival1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/EstimatedTimeOfArrival/City/{City}/{RouteName}][%d] cityBusApiEstimatedTimeOfArrival1OK %+v", 200, o.Payload) } +func (o *CityBusAPIEstimatedTimeOfArrival1OK) GetPayload() []*models.ServiceDTOVersion2BusBusN1EstimateTime { + return o.Payload +} + func (o *CityBusAPIEstimatedTimeOfArrival1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival_responses.go b/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival_responses.go index 911ae3c9..113c5d57 100644 --- a/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_estimated_time_of_arrival_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIEstimatedTimeOfArrivalOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/EstimatedTimeOfArrival/City/{City}][%d] cityBusApiEstimatedTimeOfArrivalOK %+v", 200, o.Payload) } +func (o *CityBusAPIEstimatedTimeOfArrivalOK) GetPayload() []*models.ServiceDTOVersion2BusBusN1EstimateTime { + return o.Payload +} + func (o *CityBusAPIEstimatedTimeOfArrivalOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_news_responses.go b/bus/v2/client/city_bus/city_bus_api_news_responses.go index caa1dc14..04b0aaa7 100644 --- a/bus/v2/client/city_bus/city_bus_api_news_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_news_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPINewsOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/News/City/{City}][%d] cityBusApiNewsOK %+v", 200, o.Payload) } +func (o *CityBusAPINewsOK) GetPayload() []*models.ServiceDTOVersion2BusBusNews { + return o.Payload +} + func (o *CityBusAPINewsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_operator_responses.go b/bus/v2/client/city_bus/city_bus_api_operator_responses.go index fbd9f5cf..10769676 100644 --- a/bus/v2/client/city_bus/city_bus_api_operator_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_operator_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIOperatorOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Operator/City/{City}][%d] cityBusApiOperatorOK %+v", 200, o.Payload) } +func (o *CityBusAPIOperatorOK) GetPayload() []*models.ServiceDTOVersion2BaseOperator { + return o.Payload +} + func (o *CityBusAPIOperatorOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency1_responses.go b/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency1_responses.go index 206ebf39..2c8bee9f 100644 --- a/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRealTimeByFrequency1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeByFrequency/City/{City}/{RouteName}][%d] cityBusApiRealTimeByFrequency1OK %+v", 200, o.Payload) } +func (o *CityBusAPIRealTimeByFrequency1OK) GetPayload() []*models.ServiceDTOVersion2BusBusA1Data { + return o.Payload +} + func (o *CityBusAPIRealTimeByFrequency1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency_responses.go b/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency_responses.go index dfd0af5d..85a3a05b 100644 --- a/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_real_time_by_frequency_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRealTimeByFrequencyOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeByFrequency/City/{City}][%d] cityBusApiRealTimeByFrequencyOK %+v", 200, o.Payload) } +func (o *CityBusAPIRealTimeByFrequencyOK) GetPayload() []*models.ServiceDTOVersion2BusBusA1Data { + return o.Payload +} + func (o *CityBusAPIRealTimeByFrequencyOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_real_time_near_stop1_responses.go b/bus/v2/client/city_bus/city_bus_api_real_time_near_stop1_responses.go index 32232fa8..d48ccabc 100644 --- a/bus/v2/client/city_bus/city_bus_api_real_time_near_stop1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_real_time_near_stop1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRealTimeNearStop1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeNearStop/City/{City}/{RouteName}][%d] cityBusApiRealTimeNearStop1OK %+v", 200, o.Payload) } +func (o *CityBusAPIRealTimeNearStop1OK) GetPayload() []*models.ServiceDTOVersion2BusBusA2Data { + return o.Payload +} + func (o *CityBusAPIRealTimeNearStop1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_real_time_near_stop_responses.go b/bus/v2/client/city_bus/city_bus_api_real_time_near_stop_responses.go index c6ef1686..7c152acc 100644 --- a/bus/v2/client/city_bus/city_bus_api_real_time_near_stop_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_real_time_near_stop_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRealTimeNearStopOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeNearStop/City/{City}][%d] cityBusApiRealTimeNearStopOK %+v", 200, o.Payload) } +func (o *CityBusAPIRealTimeNearStopOK) GetPayload() []*models.ServiceDTOVersion2BusBusA2Data { + return o.Payload +} + func (o *CityBusAPIRealTimeNearStopOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_route1_responses.go b/bus/v2/client/city_bus/city_bus_api_route1_responses.go index 2a0e81bb..f5d1165e 100644 --- a/bus/v2/client/city_bus/city_bus_api_route1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_route1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRoute1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Route/City/{City}/{RouteName}][%d] cityBusApiRoute1OK %+v", 200, o.Payload) } +func (o *CityBusAPIRoute1OK) GetPayload() []*models.ServiceDTOVersion2BusBusRoute { + return o.Payload +} + func (o *CityBusAPIRoute1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_route_fare1_responses.go b/bus/v2/client/city_bus/city_bus_api_route_fare1_responses.go index a19e83c5..8fcc3755 100644 --- a/bus/v2/client/city_bus/city_bus_api_route_fare1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_route_fare1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRouteFare1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RouteFare/City/{City}/{RouteName}][%d] cityBusApiRouteFare1OK %+v", 200, o.Payload) } +func (o *CityBusAPIRouteFare1OK) GetPayload() []*models.ServiceDTOVersion2BusBusRouteFare { + return o.Payload +} + func (o *CityBusAPIRouteFare1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_route_fare_responses.go b/bus/v2/client/city_bus/city_bus_api_route_fare_responses.go index 8ff6e066..61594497 100644 --- a/bus/v2/client/city_bus/city_bus_api_route_fare_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_route_fare_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRouteFareOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RouteFare/City/{City}][%d] cityBusApiRouteFareOK %+v", 200, o.Payload) } +func (o *CityBusAPIRouteFareOK) GetPayload() []*models.ServiceDTOVersion2BusBusRouteFare { + return o.Payload +} + func (o *CityBusAPIRouteFareOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_route_responses.go b/bus/v2/client/city_bus/city_bus_api_route_responses.go index 8856b610..7c18eb05 100644 --- a/bus/v2/client/city_bus/city_bus_api_route_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_route_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Route/City/{City}][%d] cityBusApiRouteOK %+v", 200, o.Payload) } +func (o *CityBusAPIRouteOK) GetPayload() []*models.ServiceDTOVersion2BusBusRoute { + return o.Payload +} + func (o *CityBusAPIRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_schedule1_responses.go b/bus/v2/client/city_bus/city_bus_api_schedule1_responses.go index 6424b3c2..b8bddca1 100644 --- a/bus/v2/client/city_bus/city_bus_api_schedule1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_schedule1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPISchedule1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Schedule/City/{City}/{RouteName}][%d] cityBusApiSchedule1OK %+v", 200, o.Payload) } +func (o *CityBusAPISchedule1OK) GetPayload() []*models.ServiceDTOVersion2BusBusSchedule { + return o.Payload +} + func (o *CityBusAPISchedule1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_schedule_responses.go b/bus/v2/client/city_bus/city_bus_api_schedule_responses.go index 9a627e61..da85698a 100644 --- a/bus/v2/client/city_bus/city_bus_api_schedule_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_schedule_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIScheduleOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Schedule/City/{City}][%d] cityBusApiScheduleOK %+v", 200, o.Payload) } +func (o *CityBusAPIScheduleOK) GetPayload() []*models.ServiceDTOVersion2BusBusSchedule { + return o.Payload +} + func (o *CityBusAPIScheduleOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_shape1_responses.go b/bus/v2/client/city_bus/city_bus_api_shape1_responses.go index 3fe26569..c6777665 100644 --- a/bus/v2/client/city_bus/city_bus_api_shape1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_shape1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIShape1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Shape/City/{City}/{RouteName}][%d] cityBusApiShape1OK %+v", 200, o.Payload) } +func (o *CityBusAPIShape1OK) GetPayload() []*models.ServiceDTOVersion2BusBusShape { + return o.Payload +} + func (o *CityBusAPIShape1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_shape_responses.go b/bus/v2/client/city_bus/city_bus_api_shape_responses.go index 6101bf13..7508b016 100644 --- a/bus/v2/client/city_bus/city_bus_api_shape_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_shape_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIShapeOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Shape/City/{City}][%d] cityBusApiShapeOK %+v", 200, o.Payload) } +func (o *CityBusAPIShapeOK) GetPayload() []*models.ServiceDTOVersion2BusBusShape { + return o.Payload +} + func (o *CityBusAPIShapeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_station_name_responses.go b/bus/v2/client/city_bus/city_bus_api_station_name_responses.go index 3c56fa6d..aec50ac0 100644 --- a/bus/v2/client/city_bus/city_bus_api_station_name_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_station_name_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIStationNameOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/StationName/City/{City}][%d] cityBusApiStationNameOK %+v", 200, o.Payload) } +func (o *CityBusAPIStationNameOK) GetPayload() []*models.ServiceDTOVersion2BusBusStationName { + return o.Payload +} + func (o *CityBusAPIStationNameOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_station_responses.go b/bus/v2/client/city_bus/city_bus_api_station_responses.go index 4efbc5ea..151385f3 100644 --- a/bus/v2/client/city_bus/city_bus_api_station_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_station_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIStationOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Station/City/{City}][%d] cityBusApiStationOK %+v", 200, o.Payload) } +func (o *CityBusAPIStationOK) GetPayload() []*models.ServiceDTOVersion2BusBusStation { + return o.Payload +} + func (o *CityBusAPIStationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_stop_of_route1_responses.go b/bus/v2/client/city_bus/city_bus_api_stop_of_route1_responses.go index 72f88971..8374fee8 100644 --- a/bus/v2/client/city_bus/city_bus_api_stop_of_route1_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_stop_of_route1_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIStopOfRoute1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/StopOfRoute/City/{City}/{RouteName}][%d] cityBusApiStopOfRoute1OK %+v", 200, o.Payload) } +func (o *CityBusAPIStopOfRoute1OK) GetPayload() []*models.ServiceDTOVersion2BusBusStopOfRoute { + return o.Payload +} + func (o *CityBusAPIStopOfRoute1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_stop_of_route_responses.go b/bus/v2/client/city_bus/city_bus_api_stop_of_route_responses.go index edb347ba..d7abc1b3 100644 --- a/bus/v2/client/city_bus/city_bus_api_stop_of_route_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_stop_of_route_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIStopOfRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/StopOfRoute/City/{City}][%d] cityBusApiStopOfRouteOK %+v", 200, o.Payload) } +func (o *CityBusAPIStopOfRouteOK) GetPayload() []*models.ServiceDTOVersion2BusBusStopOfRoute { + return o.Payload +} + func (o *CityBusAPIStopOfRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_stop_responses.go b/bus/v2/client/city_bus/city_bus_api_stop_responses.go index 724c0428..992e5c3b 100644 --- a/bus/v2/client/city_bus/city_bus_api_stop_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_stop_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIStopOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Stop/City/{City}][%d] cityBusApiStopOK %+v", 200, o.Payload) } +func (o *CityBusAPIStopOK) GetPayload() []*models.ServiceDTOVersion2BusBusStop { + return o.Payload +} + func (o *CityBusAPIStopOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/city_bus/city_bus_api_vehicle_responses.go b/bus/v2/client/city_bus/city_bus_api_vehicle_responses.go index 2880ac74..b69516ae 100644 --- a/bus/v2/client/city_bus/city_bus_api_vehicle_responses.go +++ b/bus/v2/client/city_bus/city_bus_api_vehicle_responses.go @@ -53,6 +53,10 @@ func (o *CityBusAPIVehicleOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Vehicle/City/{City}][%d] cityBusApiVehicleOK %+v", 200, o.Payload) } +func (o *CityBusAPIVehicleOK) GetPayload() []*models.ServiceDTOVersion2BusBusVehicleInfo { + return o.Payload +} + func (o *CityBusAPIVehicleOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_data_version_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_data_version_responses.go index 19d3e912..15bdb6e6 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_data_version_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_data_version_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIDataVersionOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/DataVersion/InterCity][%d] interCityBusApiDataVersionOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIDataVersionOK) GetPayload() *models.ServiceDTOVersion2BusBusVersion { + return o.Payload +} + func (o *InterCityBusAPIDataVersionOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.ServiceDTOVersion2BusBusVersion) diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival1_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival1_responses.go index 2e6e7438..d83112ce 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival1_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival1_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIEstimatedTimeOfArrival1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/EstimatedTimeOfArrival/InterCity/{RouteName}][%d] interCityBusApiEstimatedTimeOfArrival1OK %+v", 200, o.Payload) } +func (o *InterCityBusAPIEstimatedTimeOfArrival1OK) GetPayload() []*models.ServiceDTOVersion2BusBusN1EstimateTime { + return o.Payload +} + func (o *InterCityBusAPIEstimatedTimeOfArrival1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival_responses.go index 4a5f01a0..cd6b3612 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_estimated_time_of_arrival_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIEstimatedTimeOfArrivalOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/EstimatedTimeOfArrival/InterCity][%d] interCityBusApiEstimatedTimeOfArrivalOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIEstimatedTimeOfArrivalOK) GetPayload() []*models.ServiceDTOVersion2BusBusN1EstimateTime { + return o.Payload +} + func (o *InterCityBusAPIEstimatedTimeOfArrivalOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_news_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_news_responses.go index ab6ff980..1a49cd14 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_news_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_news_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPINewsOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/News/InterCity][%d] interCityBusApiNewsOK %+v", 200, o.Payload) } +func (o *InterCityBusAPINewsOK) GetPayload() []*models.ServiceDTOVersion2BusBusNews { + return o.Payload +} + func (o *InterCityBusAPINewsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_operator_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_operator_responses.go index 04311b06..6347a635 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_operator_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_operator_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIOperatorOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Operator/InterCity][%d] interCityBusApiOperatorOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIOperatorOK) GetPayload() []*models.ServiceDTOVersion2BaseOperator { + return o.Payload +} + func (o *InterCityBusAPIOperatorOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency1_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency1_responses.go index 3667b167..ceed3dea 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency1_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency1_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRealTimeByFrequency1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeByFrequency/InterCity/{RouteName}][%d] interCityBusApiRealTimeByFrequency1OK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRealTimeByFrequency1OK) GetPayload() []*models.ServiceDTOVersion2BusBusA1Data { + return o.Payload +} + func (o *InterCityBusAPIRealTimeByFrequency1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency_responses.go index 1f13cede..d6362bc0 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_by_frequency_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRealTimeByFrequencyOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeByFrequency/InterCity][%d] interCityBusApiRealTimeByFrequencyOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRealTimeByFrequencyOK) GetPayload() []*models.ServiceDTOVersion2BusBusA1Data { + return o.Payload +} + func (o *InterCityBusAPIRealTimeByFrequencyOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop1_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop1_responses.go index bf08b288..6688d74a 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop1_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop1_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRealTimeNearStop1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeNearStop/InterCity/{RouteName}][%d] interCityBusApiRealTimeNearStop1OK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRealTimeNearStop1OK) GetPayload() []*models.ServiceDTOVersion2BusBusA2Data { + return o.Payload +} + func (o *InterCityBusAPIRealTimeNearStop1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop_responses.go index 1b99b38d..d0b5d0d2 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_real_time_near_stop_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRealTimeNearStopOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RealTimeNearStop/InterCity][%d] interCityBusApiRealTimeNearStopOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRealTimeNearStopOK) GetPayload() []*models.ServiceDTOVersion2BusBusA2Data { + return o.Payload +} + func (o *InterCityBusAPIRealTimeNearStopOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_route1_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_route1_responses.go index a3ce2491..fecf9bbf 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_route1_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_route1_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRoute1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Route/InterCity/{RouteName}][%d] interCityBusApiRoute1OK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRoute1OK) GetPayload() []*models.ServiceDTOVersion2BusBusRoute { + return o.Payload +} + func (o *InterCityBusAPIRoute1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare1_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare1_responses.go index 51da18be..b490c724 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare1_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare1_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRouteFare1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RouteFare/InterCity/{RouteName}][%d] interCityBusApiRouteFare1OK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRouteFare1OK) GetPayload() []*models.ServiceDTOVersion2BusBusRouteFare { + return o.Payload +} + func (o *InterCityBusAPIRouteFare1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare_responses.go index a5553cf5..b8bd647a 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_route_fare_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRouteFareOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/RouteFare/InterCity][%d] interCityBusApiRouteFareOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRouteFareOK) GetPayload() []*models.ServiceDTOVersion2BusBusRouteFare { + return o.Payload +} + func (o *InterCityBusAPIRouteFareOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_route_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_route_responses.go index bfa69178..39660613 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_route_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_route_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Route/InterCity][%d] interCityBusApiRouteOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIRouteOK) GetPayload() []*models.ServiceDTOVersion2BusBusRoute { + return o.Payload +} + func (o *InterCityBusAPIRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule1_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule1_responses.go index 78f30511..84c7b131 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule1_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule1_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPISchedule1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Schedule/InterCity/{RouteName}][%d] interCityBusApiSchedule1OK %+v", 200, o.Payload) } +func (o *InterCityBusAPISchedule1OK) GetPayload() []*models.ServiceDTOVersion2BusBusSchedule { + return o.Payload +} + func (o *InterCityBusAPISchedule1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule_responses.go index ed10e7be..7b112c50 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_schedule_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIScheduleOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Schedule/InterCity][%d] interCityBusApiScheduleOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIScheduleOK) GetPayload() []*models.ServiceDTOVersion2BusBusSchedule { + return o.Payload +} + func (o *InterCityBusAPIScheduleOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_station_name_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_station_name_responses.go index b1969ee1..a4c37479 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_station_name_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_station_name_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIStationNameOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/StationName/InterCity][%d] interCityBusApiStationNameOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIStationNameOK) GetPayload() []*models.ServiceDTOVersion2BusBusStationName { + return o.Payload +} + func (o *InterCityBusAPIStationNameOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_station_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_station_responses.go index 802379f7..ab422dfb 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_station_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_station_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIStationOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Station/InterCity][%d] interCityBusApiStationOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIStationOK) GetPayload() []*models.ServiceDTOVersion2BusBusStation { + return o.Payload +} + func (o *InterCityBusAPIStationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route1_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route1_responses.go index 8079bf97..6f792f66 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route1_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route1_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIStopOfRoute1OK) Error() string { return fmt.Sprintf("[GET /v2/Bus/StopOfRoute/InterCity/{RouteName}][%d] interCityBusApiStopOfRoute1OK %+v", 200, o.Payload) } +func (o *InterCityBusAPIStopOfRoute1OK) GetPayload() []*models.ServiceDTOVersion2BusBusStopOfRoute { + return o.Payload +} + func (o *InterCityBusAPIStopOfRoute1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route_responses.go index bb530030..f49401fb 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_of_route_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIStopOfRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/StopOfRoute/InterCity][%d] interCityBusApiStopOfRouteOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIStopOfRouteOK) GetPayload() []*models.ServiceDTOVersion2BusBusStopOfRoute { + return o.Payload +} + func (o *InterCityBusAPIStopOfRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_responses.go index e85033dd..f6933623 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_stop_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIStopOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Stop/InterCity][%d] interCityBusApiStopOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIStopOK) GetPayload() []*models.ServiceDTOVersion2BusBusStop { + return o.Payload +} + func (o *InterCityBusAPIStopOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/bus/v2/client/inter_city_bus/inter_city_bus_api_vehicle_responses.go b/bus/v2/client/inter_city_bus/inter_city_bus_api_vehicle_responses.go index 87784c2d..065d3a7a 100644 --- a/bus/v2/client/inter_city_bus/inter_city_bus_api_vehicle_responses.go +++ b/bus/v2/client/inter_city_bus/inter_city_bus_api_vehicle_responses.go @@ -53,6 +53,10 @@ func (o *InterCityBusAPIVehicleOK) Error() string { return fmt.Sprintf("[GET /v2/Bus/Vehicle/InterCity][%d] interCityBusApiVehicleOK %+v", 200, o.Payload) } +func (o *InterCityBusAPIVehicleOK) GetPayload() []*models.ServiceDTOVersion2BusBusVehicleInfo { + return o.Payload +} + func (o *InterCityBusAPIVehicleOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/oas.bike.v2.json b/oas.bike.v2.json index b4fd4b35..50ccefc2 100644 --- a/oas.bike.v2.json +++ b/oas.bike.v2.json @@ -44,16 +44,16 @@ "Tainan" ], "x-enum": { - "ChanghuaCounty": "彰化縣", - "PingtungCounty": "屏東縣", - "Hsinchu": "新竹市", "Tainan": "臺南市", - "NewTaipei": "新北市", + "Taipei": "臺北市", + "Hsinchu": "新竹市", "Taoyuan": "桃園市", "Kaohsiung": "高雄市", + "NewTaipei": "新北市", + "PingtungCounty": "屏東縣", "MiaoliCounty": "苗栗縣", "Taichung": "臺中市", - "Taipei": "臺北市" + "ChanghuaCounty": "彰化縣" } }, { @@ -151,16 +151,16 @@ "Tainan" ], "x-enum": { - "Taichung": "臺中市", - "ChanghuaCounty": "彰化縣", + "MiaoliCounty": "苗栗縣", + "Taoyuan": "桃園市", + "Kaohsiung": "高雄市", "PingtungCounty": "屏東縣", - "Taipei": "臺北市", - "Hsinchu": "新竹市", "Tainan": "臺南市", - "Taoyuan": "桃園市", + "ChanghuaCounty": "彰化縣", "NewTaipei": "新北市", - "Kaohsiung": "高雄市", - "MiaoliCounty": "苗栗縣" + "Taichung": "臺中市", + "Taipei": "臺北市", + "Hsinchu": "新竹市" } }, { @@ -263,28 +263,28 @@ "Tainan" ], "x-enum": { - "Chiayi": "嘉義市", "ChanghuaCounty": "彰化縣", - "Keelung": "基隆市", - "HsinchuCounty": "新竹縣", + "PenghuCounty": "澎湖縣", + "TaitungCounty": "臺東縣", "KinmenCounty": "金門縣", - "Taoyuan": "桃園市", - "YunlinCounty": "雲林縣", + "Keelung": "基隆市", + "LienchiangCounty": "連江縣", + "Chiayi": "嘉義市", "MiaoliCounty": "苗栗縣", - "PingtungCounty": "屏東縣", + "NantouCounty": "南投縣", "NewTaipei": "新北市", - "LienchiangCounty": "連江縣", - "ChiayiCounty": "嘉義縣", - "HualienCounty": "花蓮縣", - "Taipei": "臺北市", "Kaohsiung": "高雄市", - "TaitungCounty": "臺東縣", - "YilanCounty": "宜蘭縣", - "Tainan": "臺南市", - "PenghuCounty": "澎湖縣", "Hsinchu": "新竹市", + "YunlinCounty": "雲林縣", + "PingtungCounty": "屏東縣", + "YilanCounty": "宜蘭縣", "Taichung": "臺中市", - "NantouCounty": "南投縣" + "Taoyuan": "桃園市", + "HsinchuCounty": "新竹縣", + "Taipei": "臺北市", + "HualienCounty": "花蓮縣", + "ChiayiCounty": "嘉義縣", + "Tainan": "臺南市" } }, { diff --git a/rail/v2/client/metro/metro_api_first_last_timetable_responses.go b/rail/v2/client/metro/metro_api_first_last_timetable_responses.go index 421fe21f..954d7a42 100644 --- a/rail/v2/client/metro/metro_api_first_last_timetable_responses.go +++ b/rail/v2/client/metro/metro_api_first_last_timetable_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIFirstLastTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/FirstLastTimetable/{Operator}][%d] metroApiFirstLastTimetableOK %+v", 200, o.Payload) } +func (o *MetroAPIFirstLastTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailMetroFirstLastTimetable { + return o.Payload +} + func (o *MetroAPIFirstLastTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_frequency_responses.go b/rail/v2/client/metro/metro_api_frequency_responses.go index b8d59e1a..450a6105 100644 --- a/rail/v2/client/metro/metro_api_frequency_responses.go +++ b/rail/v2/client/metro/metro_api_frequency_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIFrequencyOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/Frequency/{Operator}][%d] metroApiFrequencyOK %+v", 200, o.Payload) } +func (o *MetroAPIFrequencyOK) GetPayload() []*models.ServiceDTOVersion2RailMetroFrequency { + return o.Payload +} + func (o *MetroAPIFrequencyOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_line_responses.go b/rail/v2/client/metro/metro_api_line_responses.go index c6c3f8c4..4bdcdc50 100644 --- a/rail/v2/client/metro/metro_api_line_responses.go +++ b/rail/v2/client/metro/metro_api_line_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPILineOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/Line/{Operator}][%d] metroApiLineOK %+v", 200, o.Payload) } +func (o *MetroAPILineOK) GetPayload() []*models.ServiceDTOVersion2RailMetroLine { + return o.Payload +} + func (o *MetroAPILineOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_line_transfer_responses.go b/rail/v2/client/metro/metro_api_line_transfer_responses.go index 31c94b52..47032c0b 100644 --- a/rail/v2/client/metro/metro_api_line_transfer_responses.go +++ b/rail/v2/client/metro/metro_api_line_transfer_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPILineTransferOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/LineTransfer/{Operator}][%d] metroApiLineTransferOK %+v", 200, o.Payload) } +func (o *MetroAPILineTransferOK) GetPayload() []*models.ServiceDTOVersion2RailMetroLineTransfer { + return o.Payload +} + func (o *MetroAPILineTransferOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_live_board_responses.go b/rail/v2/client/metro/metro_api_live_board_responses.go index a8f735bf..c6cdc83c 100644 --- a/rail/v2/client/metro/metro_api_live_board_responses.go +++ b/rail/v2/client/metro/metro_api_live_board_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPILiveBoardOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/LiveBoard/{Operator}][%d] metroApiLiveBoardOK %+v", 200, o.Payload) } +func (o *MetroAPILiveBoardOK) GetPayload() []*models.ServiceDTOVersion2RailMetroLiveBoard { + return o.Payload +} + func (o *MetroAPILiveBoardOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_network_responses.go b/rail/v2/client/metro/metro_api_network_responses.go index f0fa7144..09d7942e 100644 --- a/rail/v2/client/metro/metro_api_network_responses.go +++ b/rail/v2/client/metro/metro_api_network_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPINetworkOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/Network][%d] metroApiNetworkOK %+v", 200, o.Payload) } +func (o *MetroAPINetworkOK) GetPayload() []*models.ServiceDTOVersion2RailMetroNetwork { + return o.Payload +} + func (o *MetroAPINetworkOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_o_d_fare_responses.go b/rail/v2/client/metro/metro_api_o_d_fare_responses.go index cd538b34..11da0986 100644 --- a/rail/v2/client/metro/metro_api_o_d_fare_responses.go +++ b/rail/v2/client/metro/metro_api_o_d_fare_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIODFareOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/ODFare/{Operator}][%d] metroApiODFareOK %+v", 200, o.Payload) } +func (o *MetroAPIODFareOK) GetPayload() []*models.ServiceDTOVersion2RailMetroODFare { + return o.Payload +} + func (o *MetroAPIODFareOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_route_responses.go b/rail/v2/client/metro/metro_api_route_responses.go index 2b0eb94b..6ebe94b3 100644 --- a/rail/v2/client/metro/metro_api_route_responses.go +++ b/rail/v2/client/metro/metro_api_route_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/Route/{Operator}][%d] metroApiRouteOK %+v", 200, o.Payload) } +func (o *MetroAPIRouteOK) GetPayload() []*models.ServiceDTOVersion2RailMetroRoute { + return o.Payload +} + func (o *MetroAPIRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_s2_s_travel_time_responses.go b/rail/v2/client/metro/metro_api_s2_s_travel_time_responses.go index c6fad93d..f47018a1 100644 --- a/rail/v2/client/metro/metro_api_s2_s_travel_time_responses.go +++ b/rail/v2/client/metro/metro_api_s2_s_travel_time_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIS2STravelTimeOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/S2STravelTime/{Operator}][%d] metroApiS2STravelTimeOK %+v", 200, o.Payload) } +func (o *MetroAPIS2STravelTimeOK) GetPayload() []*models.ServiceDTOVersion2RailMetroS2STravelTime { + return o.Payload +} + func (o *MetroAPIS2STravelTimeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_shape_responses.go b/rail/v2/client/metro/metro_api_shape_responses.go index 4078c6a7..be7a5336 100644 --- a/rail/v2/client/metro/metro_api_shape_responses.go +++ b/rail/v2/client/metro/metro_api_shape_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIShapeOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/Shape/{Operator}][%d] metroApiShapeOK %+v", 200, o.Payload) } +func (o *MetroAPIShapeOK) GetPayload() []*models.ServiceDTOVersion2RailMetroMetroShape { + return o.Payload +} + func (o *MetroAPIShapeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_station_exit_responses.go b/rail/v2/client/metro/metro_api_station_exit_responses.go index afc60b67..3b7159d7 100644 --- a/rail/v2/client/metro/metro_api_station_exit_responses.go +++ b/rail/v2/client/metro/metro_api_station_exit_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIStationExitOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/StationExit/{Operator}][%d] metroApiStationExitOK %+v", 200, o.Payload) } +func (o *MetroAPIStationExitOK) GetPayload() []*models.ServiceDTOVersion2RailMetroStationExit { + return o.Payload +} + func (o *MetroAPIStationExitOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_station_facility_responses.go b/rail/v2/client/metro/metro_api_station_facility_responses.go index 24a34c85..ab461d1a 100644 --- a/rail/v2/client/metro/metro_api_station_facility_responses.go +++ b/rail/v2/client/metro/metro_api_station_facility_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIStationFacilityOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/StationFacility/{Operator}][%d] metroApiStationFacilityOK %+v", 200, o.Payload) } +func (o *MetroAPIStationFacilityOK) GetPayload() []*models.ServiceDTOVersion2RailMetroStationFacility { + return o.Payload +} + func (o *MetroAPIStationFacilityOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_station_of_line_responses.go b/rail/v2/client/metro/metro_api_station_of_line_responses.go index 5e1db535..0b1f9453 100644 --- a/rail/v2/client/metro/metro_api_station_of_line_responses.go +++ b/rail/v2/client/metro/metro_api_station_of_line_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIStationOfLineOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/StationOfLine/{Operator}][%d] metroApiStationOfLineOK %+v", 200, o.Payload) } +func (o *MetroAPIStationOfLineOK) GetPayload() []*models.ServiceDTOVersion2RailMetroStationOfLine { + return o.Payload +} + func (o *MetroAPIStationOfLineOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_station_of_route_responses.go b/rail/v2/client/metro/metro_api_station_of_route_responses.go index ed94ecd7..31a5b035 100644 --- a/rail/v2/client/metro/metro_api_station_of_route_responses.go +++ b/rail/v2/client/metro/metro_api_station_of_route_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIStationOfRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/StationOfRoute/{Operator}][%d] metroApiStationOfRouteOK %+v", 200, o.Payload) } +func (o *MetroAPIStationOfRouteOK) GetPayload() []*models.ServiceDTOVersion2RailMetroStationOfRoute { + return o.Payload +} + func (o *MetroAPIStationOfRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_station_responses.go b/rail/v2/client/metro/metro_api_station_responses.go index c02a4529..f198ceec 100644 --- a/rail/v2/client/metro/metro_api_station_responses.go +++ b/rail/v2/client/metro/metro_api_station_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIStationOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/Station/{Operator}][%d] metroApiStationOK %+v", 200, o.Payload) } +func (o *MetroAPIStationOK) GetPayload() []*models.ServiceDTOVersion2RailMetroStation { + return o.Payload +} + func (o *MetroAPIStationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/metro/metro_api_station_time_table_responses.go b/rail/v2/client/metro/metro_api_station_time_table_responses.go index 51ea16de..6bc22f3f 100644 --- a/rail/v2/client/metro/metro_api_station_time_table_responses.go +++ b/rail/v2/client/metro/metro_api_station_time_table_responses.go @@ -53,6 +53,10 @@ func (o *MetroAPIStationTimeTableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/Metro/StationTimeTable/{Operator}][%d] metroApiStationTimeTableOK %+v", 200, o.Payload) } +func (o *MetroAPIStationTimeTableOK) GetPayload() []*models.ServiceDTOVersion2RailMetroStationTimeTable { + return o.Payload +} + func (o *MetroAPIStationTimeTableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_alert_info_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_alert_info_responses.go index a0363ad8..e53aed31 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_alert_info_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_alert_info_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIAlertInfoOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/AlertInfo][%d] tHSRApiAlertInfoOK %+v", 200, o.Payload) } +func (o *THSRAPIAlertInfoOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRAlertInfo { + return o.Payload +} + func (o *THSRAPIAlertInfoOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_available_seat_status_list_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_available_seat_status_list_responses.go index 14869a20..84fe6a83 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_available_seat_status_list_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_available_seat_status_list_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIAvailableSeatStatusListOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/AvailableSeatStatusList/{StationID}][%d] tHSRApiAvailableSeatStatusListOK %+v", 200, o.Payload) } +func (o *THSRAPIAvailableSeatStatusListOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRAvailableSeatStatusList { + return o.Payload +} + func (o *THSRAPIAvailableSeatStatusListOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable1_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable1_responses.go index 3189df4b..2512cce6 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable1_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable1_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTimetable1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTimetable/Today/TrainNo/{TrainNo}][%d] tHSRApiDailyTimetable1OK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTimetable1OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTimetable { + return o.Payload +} + func (o *THSRAPIDailyTimetable1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable2_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable2_responses.go index f8836cdc..23e68b42 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable2_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable2_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTimetable2OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTimetable/TrainDate/{TrainDate}][%d] tHSRApiDailyTimetable2OK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTimetable2OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTimetable { + return o.Payload +} + func (o *THSRAPIDailyTimetable2OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable3_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable3_responses.go index 49b37a42..5c486491 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable3_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable3_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTimetable3OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTimetable/TrainNo/{TrainNo}/TrainDate/{TrainDate}][%d] tHSRApiDailyTimetable3OK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTimetable3OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTimetable { + return o.Payload +} + func (o *THSRAPIDailyTimetable3OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable_responses.go index bf5845ac..6941c94e 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_timetable_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTimetable/Today][%d] tHSRApiDailyTimetableOK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTimetable { + return o.Payload +} + func (o *THSRAPIDailyTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info1_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info1_responses.go index d4cbee53..4a74f1f3 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info1_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info1_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTrainInfo1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTrainInfo/Today/TrainNo/{TrainNo}][%d] tHSRApiDailyTrainInfo1OK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTrainInfo1OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTrainInfo { + return o.Payload +} + func (o *THSRAPIDailyTrainInfo1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info2_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info2_responses.go index 0e24f559..2bcab31d 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info2_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info2_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTrainInfo2OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTrainInfo/TrainDate/{TrainDate}][%d] tHSRApiDailyTrainInfo2OK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTrainInfo2OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTrainInfo { + return o.Payload +} + func (o *THSRAPIDailyTrainInfo2OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info3_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info3_responses.go index d721f68a..86ef56aa 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info3_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info3_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTrainInfo3OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTrainInfo/TrainNo/{TrainNo}/TrainDate/{TrainDate}][%d] tHSRApiDailyTrainInfo3OK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTrainInfo3OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTrainInfo { + return o.Payload +} + func (o *THSRAPIDailyTrainInfo3OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info_responses.go index 42af2d8f..2223cfe1 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_daily_train_info_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIDailyTrainInfoOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTrainInfo/Today][%d] tHSRApiDailyTrainInfoOK %+v", 200, o.Payload) } +func (o *THSRAPIDailyTrainInfoOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailDailyTrainInfo { + return o.Payload +} + func (o *THSRAPIDailyTrainInfoOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable1_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable1_responses.go index 6a8405a9..3f614f27 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable1_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable1_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIGeneralTimetable1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/GeneralTimetable/TrainNo/{TrainNo}][%d] tHSRApiGeneralTimetable1OK %+v", 200, o.Payload) } +func (o *THSRAPIGeneralTimetable1OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailGeneralTimetable { + return o.Payload +} + func (o *THSRAPIGeneralTimetable1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable_responses.go index 7ce9c7f2..3acbe95e 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_general_timetable_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIGeneralTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/GeneralTimetable][%d] tHSRApiGeneralTimetableOK %+v", 200, o.Payload) } +func (o *THSRAPIGeneralTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailGeneralTimetable { + return o.Payload +} + func (o *THSRAPIGeneralTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_news_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_news_responses.go index 3d54cbc3..aa38d221 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_news_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_news_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPINewsOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/News][%d] tHSRApiNewsOK %+v", 200, o.Payload) } +func (o *THSRAPINewsOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRNews { + return o.Payload +} + func (o *THSRAPINewsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_daily_timetable_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_daily_timetable_responses.go index dffdf1f4..567bbabf 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_daily_timetable_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_daily_timetable_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIODDailyTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTimetable/OD/{OriginStationID}/to/{DestinationStationID}/{TrainDate}][%d] tHSRApiODDailyTimetableOK %+v", 200, o.Payload) } +func (o *THSRAPIODDailyTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailODDailyTimetable { + return o.Payload +} + func (o *THSRAPIODDailyTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare1_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare1_responses.go index 827c56a5..4ce06565 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare1_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare1_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIODFare1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/ODFare/{OriginStationID}/to/{DestinationStationID}][%d] tHSRApiODFare1OK %+v", 200, o.Payload) } +func (o *THSRAPIODFare1OK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailODFare { + return o.Payload +} + func (o *THSRAPIODFare1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare_responses.go index 4cee027e..8d6fdaa2 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_o_d_fare_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIODFareOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/ODFare][%d] tHSRApiODFareOK %+v", 200, o.Payload) } +func (o *THSRAPIODFareOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailODFare { + return o.Payload +} + func (o *THSRAPIODFareOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_shape_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_shape_responses.go index d4814058..f260db25 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_shape_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_shape_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIShapeOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/Shape][%d] tHSRApiShapeOK %+v", 200, o.Payload) } +func (o *THSRAPIShapeOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRTHSRShape { + return o.Payload +} + func (o *THSRAPIShapeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_station_exit_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_station_exit_responses.go index 5b44e4f5..84bcf172 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_station_exit_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_station_exit_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIStationExitOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/StationExit][%d] tHSRApiStationExitOK %+v", 200, o.Payload) } +func (o *THSRAPIStationExitOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRStationExit { + return o.Payload +} + func (o *THSRAPIStationExitOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_station_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_station_responses.go index 3bd16f56..522e5cc6 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_station_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_station_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIStationOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/Station][%d] tHSRApiStationOK %+v", 200, o.Payload) } +func (o *THSRAPIStationOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailStation { + return o.Payload +} + func (o *THSRAPIStationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_h_s_r/t_h_s_r_api_station_timetable_responses.go b/rail/v2/client/t_h_s_r/t_h_s_r_api_station_timetable_responses.go index d2c35116..0aab1188 100644 --- a/rail/v2/client/t_h_s_r/t_h_s_r_api_station_timetable_responses.go +++ b/rail/v2/client/t_h_s_r/t_h_s_r_api_station_timetable_responses.go @@ -53,6 +53,10 @@ func (o *THSRAPIStationTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/THSR/DailyTimetable/Station/{StationID}/{TrainDate}][%d] tHSRApiStationTimetableOK %+v", 200, o.Payload) } +func (o *THSRAPIStationTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTHSRRailStationTimetable { + return o.Payload +} + func (o *THSRAPIStationTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable1_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable1_responses.go index 2d951cff..1bae5d20 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable1_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable1_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTimetable1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTimetable/Today/TrainNo/{TrainNo}][%d] tRAApiDailyTimetable1OK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTimetable1OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTimetable { + return o.Payload +} + func (o *TRAAPIDailyTimetable1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable2_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable2_responses.go index db2360ff..746a4c4b 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable2_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable2_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTimetable2OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTimetable/TrainDate/{TrainDate}][%d] tRAApiDailyTimetable2OK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTimetable2OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTimetable { + return o.Payload +} + func (o *TRAAPIDailyTimetable2OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable3_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable3_responses.go index 16add41a..99a7ae80 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable3_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable3_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTimetable3OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTimetable/TrainNo/{TrainNo}/TrainDate/{TrainDate}][%d] tRAApiDailyTimetable3OK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTimetable3OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTimetable { + return o.Payload +} + func (o *TRAAPIDailyTimetable3OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable_responses.go index 9c2fe21f..08b96f84 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_timetable_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_timetable_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTimetable/Today][%d] tRAApiDailyTimetableOK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTimetable { + return o.Payload +} + func (o *TRAAPIDailyTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info1_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info1_responses.go index 69547dff..b77697b6 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info1_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info1_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTrainInfo1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTrainInfo/Today/TrainNo/{TrainNo}][%d] tRAApiDailyTrainInfo1OK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTrainInfo1OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTrainInfo { + return o.Payload +} + func (o *TRAAPIDailyTrainInfo1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info2_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info2_responses.go index e5b66f43..e62e806b 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info2_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info2_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTrainInfo2OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTrainInfo/TrainDate/{TrainDate}][%d] tRAApiDailyTrainInfo2OK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTrainInfo2OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTrainInfo { + return o.Payload +} + func (o *TRAAPIDailyTrainInfo2OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info3_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info3_responses.go index baa4ce76..cd480824 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info3_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info3_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTrainInfo3OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTrainInfo/TrainNo/{TrainNo}/TrainDate/{TrainDate}][%d] tRAApiDailyTrainInfo3OK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTrainInfo3OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTrainInfo { + return o.Payload +} + func (o *TRAAPIDailyTrainInfo3OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info_responses.go b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info_responses.go index cb9f408c..2dc4921c 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_daily_train_info_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_daily_train_info_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIDailyTrainInfoOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTrainInfo/Today][%d] tRAApiDailyTrainInfoOK %+v", 200, o.Payload) } +func (o *TRAAPIDailyTrainInfoOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailDailyTrainInfo { + return o.Payload +} + func (o *TRAAPIDailyTrainInfoOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_general_timetable1_responses.go b/rail/v2/client/t_r_a/t_r_a_api_general_timetable1_responses.go index 076cdf68..f82a0cfc 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_general_timetable1_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_general_timetable1_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIGeneralTimetable1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/GeneralTimetable/TrainNo/{TrainNo}][%d] tRAApiGeneralTimetable1OK %+v", 200, o.Payload) } +func (o *TRAAPIGeneralTimetable1OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailGeneralTimetable { + return o.Payload +} + func (o *TRAAPIGeneralTimetable1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_general_timetable_responses.go b/rail/v2/client/t_r_a/t_r_a_api_general_timetable_responses.go index 486d916f..1c2894ce 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_general_timetable_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_general_timetable_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIGeneralTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/GeneralTimetable][%d] tRAApiGeneralTimetableOK %+v", 200, o.Payload) } +func (o *TRAAPIGeneralTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailGeneralTimetable { + return o.Payload +} + func (o *TRAAPIGeneralTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_general_train_info1_responses.go b/rail/v2/client/t_r_a/t_r_a_api_general_train_info1_responses.go index cbbff195..f10e2a1d 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_general_train_info1_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_general_train_info1_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIGeneralTrainInfo1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/GeneralTrainInfo/TrainNo/{TrainNo}][%d] tRAApiGeneralTrainInfo1OK %+v", 200, o.Payload) } +func (o *TRAAPIGeneralTrainInfo1OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailGeneralTrainInfo { + return o.Payload +} + func (o *TRAAPIGeneralTrainInfo1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_general_train_info_responses.go b/rail/v2/client/t_r_a/t_r_a_api_general_train_info_responses.go index c5322562..b7d7908a 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_general_train_info_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_general_train_info_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIGeneralTrainInfoOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/GeneralTrainInfo][%d] tRAApiGeneralTrainInfoOK %+v", 200, o.Payload) } +func (o *TRAAPIGeneralTrainInfoOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailGeneralTrainInfo { + return o.Payload +} + func (o *TRAAPIGeneralTrainInfoOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_line_responses.go b/rail/v2/client/t_r_a/t_r_a_api_line_responses.go index 3d363383..a5509261 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_line_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_line_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPILineOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/Line][%d] tRAApiLineOK %+v", 200, o.Payload) } +func (o *TRAAPILineOK) GetPayload() []*models.ServiceDTOVersion2RailTRALine { + return o.Payload +} + func (o *TRAAPILineOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_live_board1_responses.go b/rail/v2/client/t_r_a/t_r_a_api_live_board1_responses.go index 2f7f84b3..321d285a 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_live_board1_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_live_board1_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPILiveBoard1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/LiveBoard/Station/{StationID}][%d] tRAApiLiveBoard1OK %+v", 200, o.Payload) } +func (o *TRAAPILiveBoard1OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailLiveBoard { + return o.Payload +} + func (o *TRAAPILiveBoard1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_live_board_responses.go b/rail/v2/client/t_r_a/t_r_a_api_live_board_responses.go index c3753c62..9801a38f 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_live_board_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_live_board_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPILiveBoardOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/LiveBoard][%d] tRAApiLiveBoardOK %+v", 200, o.Payload) } +func (o *TRAAPILiveBoardOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailLiveBoard { + return o.Payload +} + func (o *TRAAPILiveBoardOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_live_train_delay_responses.go b/rail/v2/client/t_r_a/t_r_a_api_live_train_delay_responses.go index ed8c0b15..04d4fc46 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_live_train_delay_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_live_train_delay_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPILiveTrainDelayOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/LiveTrainDelay][%d] tRAApiLiveTrainDelayOK %+v", 200, o.Payload) } +func (o *TRAAPILiveTrainDelayOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailLiveTrainDelay { + return o.Payload +} + func (o *TRAAPILiveTrainDelayOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_network_responses.go b/rail/v2/client/t_r_a/t_r_a_api_network_responses.go index 066577d7..e9e3675e 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_network_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_network_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPINetworkOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/Network][%d] tRAApiNetworkOK %+v", 200, o.Payload) } +func (o *TRAAPINetworkOK) GetPayload() []*models.ServiceDTOVersion2RailTRANetwork { + return o.Payload +} + func (o *TRAAPINetworkOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_o_d_daily_timetable_responses.go b/rail/v2/client/t_r_a/t_r_a_api_o_d_daily_timetable_responses.go index 57dabc35..e6fc657a 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_o_d_daily_timetable_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_o_d_daily_timetable_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIODDailyTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTimetable/OD/{OriginStationID}/to/{DestinationStationID}/{TrainDate}][%d] tRAApiODDailyTimetableOK %+v", 200, o.Payload) } +func (o *TRAAPIODDailyTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailODDailyTimetable { + return o.Payload +} + func (o *TRAAPIODDailyTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station1_responses.go b/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station1_responses.go index 0248677a..658b7ecc 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station1_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station1_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIODFareStation1OK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/ODFare][%d] tRAApiODFareStation1OK %+v", 200, o.Payload) } +func (o *TRAAPIODFareStation1OK) GetPayload() []*models.ServiceDTOVersion2RailTRARailODFare { + return o.Payload +} + func (o *TRAAPIODFareStation1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station_responses.go b/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station_responses.go index 4a4b5b62..3956e41c 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_o_d_fare_station_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIODFareStationOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/ODFare/{OriginStationID}/to/{DestinationStationID}][%d] tRAApiODFareStationOK %+v", 200, o.Payload) } +func (o *TRAAPIODFareStationOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailODFare { + return o.Payload +} + func (o *TRAAPIODFareStationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_shape_responses.go b/rail/v2/client/t_r_a/t_r_a_api_shape_responses.go index 16016e3b..598bd4a3 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_shape_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_shape_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIShapeOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/Shape][%d] tRAApiShapeOK %+v", 200, o.Payload) } +func (o *TRAAPIShapeOK) GetPayload() []*models.ServiceDTOVersion2RailTRATRAShape { + return o.Payload +} + func (o *TRAAPIShapeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_station_of_line_responses.go b/rail/v2/client/t_r_a/t_r_a_api_station_of_line_responses.go index 0127ca9a..287f07a2 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_station_of_line_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_station_of_line_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIStationOfLineOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/StationOfLine][%d] tRAApiStationOfLineOK %+v", 200, o.Payload) } +func (o *TRAAPIStationOfLineOK) GetPayload() []*models.ServiceDTOVersion2RailTRAStationOfLine { + return o.Payload +} + func (o *TRAAPIStationOfLineOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_station_responses.go b/rail/v2/client/t_r_a/t_r_a_api_station_responses.go index 0564736c..9ac5bb8c 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_station_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_station_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIStationOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/Station][%d] tRAApiStationOK %+v", 200, o.Payload) } +func (o *TRAAPIStationOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailStation { + return o.Payload +} + func (o *TRAAPIStationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_station_timetable_responses.go b/rail/v2/client/t_r_a/t_r_a_api_station_timetable_responses.go index 60d20459..538d84a7 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_station_timetable_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_station_timetable_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPIStationTimetableOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/DailyTimetable/Station/{StationID}/{TrainDate}][%d] tRAApiStationTimetableOK %+v", 200, o.Payload) } +func (o *TRAAPIStationTimetableOK) GetPayload() []*models.ServiceDTOVersion2RailTRARailStationTimetable { + return o.Payload +} + func (o *TRAAPIStationTimetableOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v2/client/t_r_a/t_r_a_api_train_type_responses.go b/rail/v2/client/t_r_a/t_r_a_api_train_type_responses.go index 37d3c28a..af3914ca 100644 --- a/rail/v2/client/t_r_a/t_r_a_api_train_type_responses.go +++ b/rail/v2/client/t_r_a/t_r_a_api_train_type_responses.go @@ -53,6 +53,10 @@ func (o *TRAAPITrainTypeOK) Error() string { return fmt.Sprintf("[GET /v2/Rail/TRA/TrainType][%d] tRAApiTrainTypeOK %+v", 200, o.Payload) } +func (o *TRAAPITrainTypeOK) GetPayload() []*models.ServiceDTOVersion2RailTRATrainType { + return o.Payload +} + func (o *TRAAPITrainTypeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/rail/v3/client/t_r_a/alert_api_controller_get_responses.go b/rail/v3/client/t_r_a/alert_api_controller_get_responses.go index 2a4288cf..1685e7a9 100644 --- a/rail/v3/client/t_r_a/alert_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/alert_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *AlertAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/Alert][%d] alertApiControllerGetOK %+v", 200, o.Payload) } +func (o *AlertAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRAAlertListAlert { + return o.Payload +} + func (o *AlertAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRAAlertListAlert) diff --git a/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get1_responses.go b/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get1_responses.go index 4b2994d3..5d9872b4 100644 --- a/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *DailyStationTimeTableAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyStationTimetable/Today/Station/{StationID}][%d] dailyStationTimeTableApiControllerGet1OK %+v", 200, o.Payload) } +func (o *DailyStationTimeTableAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTraDailyStationWrapperServiceDTOVersion3RailTRADailyStationTimeTableStationTimetable { + return o.Payload +} + func (o *DailyStationTimeTableAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyStationWrapperServiceDTOVersion3RailTRADailyStationTimeTableStationTimetable) diff --git a/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get2_responses.go b/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get2_responses.go index 224193fb..52a697b3 100644 --- a/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get2_responses.go +++ b/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get2_responses.go @@ -53,6 +53,10 @@ func (o *DailyStationTimeTableAPIControllerGet2OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyStationTimetable/TrainDate/{TrainDate}][%d] dailyStationTimeTableApiControllerGet2OK %+v", 200, o.Payload) } +func (o *DailyStationTimeTableAPIControllerGet2OK) GetPayload() *models.MOTCAPIRailModelsTraDailyStationWrapperServiceDTOVersion3RailTRADailyStationTimeTableStationTimetable { + return o.Payload +} + func (o *DailyStationTimeTableAPIControllerGet2OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyStationWrapperServiceDTOVersion3RailTRADailyStationTimeTableStationTimetable) diff --git a/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get_responses.go b/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get_responses.go index f1a11178..f2c5a3c1 100644 --- a/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/daily_station_time_table_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *DailyStationTimeTableAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyStationTimetable/Today][%d] dailyStationTimeTableApiControllerGetOK %+v", 200, o.Payload) } +func (o *DailyStationTimeTableAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTraDailyStationWrapperServiceDTOVersion3RailTRADailyStationTimeTableStationTimetable { + return o.Payload +} + func (o *DailyStationTimeTableAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyStationWrapperServiceDTOVersion3RailTRADailyStationTimeTableStationTimetable) diff --git a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get1_responses.go b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get1_responses.go index 6a4f1538..40bcbcbe 100644 --- a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *DailyTrainTimeTableAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyTrainTimetable/Today/TrainNo/{TrainNo}][%d] dailyTrainTimeTableApiControllerGet1OK %+v", 200, o.Payload) } +func (o *DailyTrainTimeTableAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable { + return o.Payload +} + func (o *DailyTrainTimeTableAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable) diff --git a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get2_responses.go b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get2_responses.go index adf89f87..089217cd 100644 --- a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get2_responses.go +++ b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get2_responses.go @@ -53,6 +53,10 @@ func (o *DailyTrainTimeTableAPIControllerGet2OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyTrainTimetable/TrainDate/{TrainDate}][%d] dailyTrainTimeTableApiControllerGet2OK %+v", 200, o.Payload) } +func (o *DailyTrainTimeTableAPIControllerGet2OK) GetPayload() *models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable { + return o.Payload +} + func (o *DailyTrainTimeTableAPIControllerGet2OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable) diff --git a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get3_responses.go b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get3_responses.go index 193aef75..3c91cf74 100644 --- a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get3_responses.go +++ b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get3_responses.go @@ -53,6 +53,10 @@ func (o *DailyTrainTimeTableAPIControllerGet3OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyTrainTimetable/OD/{OriginStationID}/to/{DestinationStationID}/{TrainDate}][%d] dailyTrainTimeTableApiControllerGet3OK %+v", 200, o.Payload) } +func (o *DailyTrainTimeTableAPIControllerGet3OK) GetPayload() *models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable { + return o.Payload +} + func (o *DailyTrainTimeTableAPIControllerGet3OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable) diff --git a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get4_responses.go b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get4_responses.go index d194751f..220784fe 100644 --- a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get4_responses.go +++ b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get4_responses.go @@ -53,6 +53,10 @@ func (o *DailyTrainTimeTableAPIControllerGet4OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyTrainTimetable/OD/Inclusive/{OriginStationID}/to/{DestinationStationID}/{TrainDate}][%d] dailyTrainTimeTableApiControllerGet4OK %+v", 200, o.Payload) } +func (o *DailyTrainTimeTableAPIControllerGet4OK) GetPayload() *models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable { + return o.Payload +} + func (o *DailyTrainTimeTableAPIControllerGet4OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable) diff --git a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get_responses.go b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get_responses.go index 811a2615..7337ba69 100644 --- a/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/daily_train_time_table_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *DailyTrainTimeTableAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/DailyTrainTimetable/Today][%d] dailyTrainTimeTableApiControllerGetOK %+v", 200, o.Payload) } +func (o *DailyTrainTimeTableAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable { + return o.Payload +} + func (o *DailyTrainTimeTableAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTraDailyTrainWrapperServiceDTOVersion3RailTRADailyTrainTimeTableTrainTimetable) diff --git a/rail/v3/client/t_r_a/general_station_timetable_api_controller_get1_responses.go b/rail/v3/client/t_r_a/general_station_timetable_api_controller_get1_responses.go index ca273ac8..e31c8d11 100644 --- a/rail/v3/client/t_r_a/general_station_timetable_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/general_station_timetable_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *GeneralStationTimetableAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/GeneralStationTimetable/Station/{StationID}][%d] generalStationTimetableApiControllerGet1OK %+v", 200, o.Payload) } +func (o *GeneralStationTimetableAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTRAGeneralStationWrapperServiceDTOVersion3RailTRAGeneralStationTimetableGeneralStationTimetable { + return o.Payload +} + func (o *GeneralStationTimetableAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRAGeneralStationWrapperServiceDTOVersion3RailTRAGeneralStationTimetableGeneralStationTimetable) diff --git a/rail/v3/client/t_r_a/general_station_timetable_api_controller_get_responses.go b/rail/v3/client/t_r_a/general_station_timetable_api_controller_get_responses.go index 8c3bf685..8cc78506 100644 --- a/rail/v3/client/t_r_a/general_station_timetable_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/general_station_timetable_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *GeneralStationTimetableAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/GeneralStationTimetable][%d] generalStationTimetableApiControllerGetOK %+v", 200, o.Payload) } +func (o *GeneralStationTimetableAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRAGeneralStationWrapperServiceDTOVersion3RailTRAGeneralStationTimetableGeneralStationTimetable { + return o.Payload +} + func (o *GeneralStationTimetableAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRAGeneralStationWrapperServiceDTOVersion3RailTRAGeneralStationTimetableGeneralStationTimetable) diff --git a/rail/v3/client/t_r_a/general_train_timetable_api_controller_get1_responses.go b/rail/v3/client/t_r_a/general_train_timetable_api_controller_get1_responses.go index 724987b0..2b985d17 100644 --- a/rail/v3/client/t_r_a/general_train_timetable_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/general_train_timetable_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *GeneralTrainTimetableAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/GeneralTrainTimetable/TrainNo/{TrainNo}][%d] generalTrainTimetableApiControllerGet1OK %+v", 200, o.Payload) } +func (o *GeneralTrainTimetableAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTRAGeneralTrainWrapperServiceDTOVersion3RailTRAGeneralTrainTimetable { + return o.Payload +} + func (o *GeneralTrainTimetableAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRAGeneralTrainWrapperServiceDTOVersion3RailTRAGeneralTrainTimetable) diff --git a/rail/v3/client/t_r_a/general_train_timetable_api_controller_get_responses.go b/rail/v3/client/t_r_a/general_train_timetable_api_controller_get_responses.go index 86acaf84..dec024ac 100644 --- a/rail/v3/client/t_r_a/general_train_timetable_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/general_train_timetable_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *GeneralTrainTimetableAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/GeneralTrainTimetable][%d] generalTrainTimetableApiControllerGetOK %+v", 200, o.Payload) } +func (o *GeneralTrainTimetableAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRAGeneralTrainWrapperServiceDTOVersion3RailTRAGeneralTrainTimetable { + return o.Payload +} + func (o *GeneralTrainTimetableAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRAGeneralTrainWrapperServiceDTOVersion3RailTRAGeneralTrainTimetable) diff --git a/rail/v3/client/t_r_a/line_api_controller_get_responses.go b/rail/v3/client/t_r_a/line_api_controller_get_responses.go index 7fd1a3b3..cb51ef6a 100644 --- a/rail/v3/client/t_r_a/line_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/line_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *LineAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/Line][%d] lineApiControllerGetOK %+v", 200, o.Payload) } +func (o *LineAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRALine { + return o.Payload +} + func (o *LineAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRALine) diff --git a/rail/v3/client/t_r_a/line_transfer_api_controller_get_responses.go b/rail/v3/client/t_r_a/line_transfer_api_controller_get_responses.go index 9d2d76da..3d7a96f1 100644 --- a/rail/v3/client/t_r_a/line_transfer_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/line_transfer_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *LineTransferAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/LineTransfer][%d] lineTransferApiControllerGetOK %+v", 200, o.Payload) } +func (o *LineTransferAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRALineTransfer { + return o.Payload +} + func (o *LineTransferAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRALineTransfer) diff --git a/rail/v3/client/t_r_a/network_api_controller_get_responses.go b/rail/v3/client/t_r_a/network_api_controller_get_responses.go index 3ab1f0f1..eadabce6 100644 --- a/rail/v3/client/t_r_a/network_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/network_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *NetworkAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/Network][%d] networkApiControllerGetOK %+v", 200, o.Payload) } +func (o *NetworkAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRANetworkNetwork { + return o.Payload +} + func (o *NetworkAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRANetworkNetwork) diff --git a/rail/v3/client/t_r_a/news_api_controller_get_responses.go b/rail/v3/client/t_r_a/news_api_controller_get_responses.go index e01786bb..ae9c03b0 100644 --- a/rail/v3/client/t_r_a/news_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/news_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *NewsAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/News][%d] newsApiControllerGetOK %+v", 200, o.Payload) } +func (o *NewsAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRANewsListNews { + return o.Payload +} + func (o *NewsAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRANewsListNews) diff --git a/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get1_responses.go b/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get1_responses.go index 25269f2e..92f5e9c3 100644 --- a/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *ODFareAPIControllerAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/ODFare/{OriginStationID}/to/{DestinationStationID}][%d] oDFareApiControllerApiControllerGet1OK %+v", 200, o.Payload) } +func (o *ODFareAPIControllerAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTRAODFareWrapperServiceDTOVersion3RailTRAODFareODFare { + return o.Payload +} + func (o *ODFareAPIControllerAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRAODFareWrapperServiceDTOVersion3RailTRAODFareODFare) diff --git a/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get_responses.go b/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get_responses.go index a836c54c..45017b46 100644 --- a/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/o_d_fare_api_controller_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *ODFareAPIControllerAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/ODFare][%d] oDFareApiControllerApiControllerGetOK %+v", 200, o.Payload) } +func (o *ODFareAPIControllerAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRAODFareWrapperServiceDTOVersion3RailTRAODFareODFare { + return o.Payload +} + func (o *ODFareAPIControllerAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRAODFareWrapperServiceDTOVersion3RailTRAODFareODFare) diff --git a/rail/v3/client/t_r_a/shape_api_controller_get_responses.go b/rail/v3/client/t_r_a/shape_api_controller_get_responses.go index b30609b0..e15d3be7 100644 --- a/rail/v3/client/t_r_a/shape_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/shape_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *ShapeAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/Shape][%d] shapeApiControllerGetOK %+v", 200, o.Payload) } +func (o *ShapeAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAShape { + return o.Payload +} + func (o *ShapeAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAShape) diff --git a/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get1_responses.go b/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get1_responses.go index d60e49fa..8dffd843 100644 --- a/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *SpecificTrainTimetableAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/SpecificTrainTimetable/TrainNo/{TrainNo}][%d] specificTrainTimetableApiControllerGet1OK %+v", 200, o.Payload) } +func (o *SpecificTrainTimetableAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTRASpecificWrapperServiceDTOVersion3RailTRASpecificTrainTimetable { + return o.Payload +} + func (o *SpecificTrainTimetableAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRASpecificWrapperServiceDTOVersion3RailTRASpecificTrainTimetable) diff --git a/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get_responses.go b/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get_responses.go index 2ee8fd54..9ed71935 100644 --- a/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/specific_train_timetable_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *SpecificTrainTimetableAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/SpecificTrainTimetable][%d] specificTrainTimetableApiControllerGetOK %+v", 200, o.Payload) } +func (o *SpecificTrainTimetableAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRASpecificWrapperServiceDTOVersion3RailTRASpecificTrainTimetable { + return o.Payload +} + func (o *SpecificTrainTimetableAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRASpecificWrapperServiceDTOVersion3RailTRASpecificTrainTimetable) diff --git a/rail/v3/client/t_r_a/station_api_controller_get_responses.go b/rail/v3/client/t_r_a/station_api_controller_get_responses.go index f13b7fd7..6483b597 100644 --- a/rail/v3/client/t_r_a/station_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/station_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *StationAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/Station][%d] stationApiControllerGetOK %+v", 200, o.Payload) } +func (o *StationAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStation { + return o.Payload +} + func (o *StationAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStation) diff --git a/rail/v3/client/t_r_a/station_exit_api_controller_get_responses.go b/rail/v3/client/t_r_a/station_exit_api_controller_get_responses.go index d04bcbcd..32aaa588 100644 --- a/rail/v3/client/t_r_a/station_exit_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/station_exit_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *StationExitAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/StationExit][%d] stationExitApiControllerGetOK %+v", 200, o.Payload) } +func (o *StationExitAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationExitStationExit { + return o.Payload +} + func (o *StationExitAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationExitStationExit) diff --git a/rail/v3/client/t_r_a/station_facility_api_controller_get_responses.go b/rail/v3/client/t_r_a/station_facility_api_controller_get_responses.go index f3299574..efb617b2 100644 --- a/rail/v3/client/t_r_a/station_facility_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/station_facility_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *StationFacilityAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/StationFacility][%d] stationFacilityApiControllerGetOK %+v", 200, o.Payload) } +func (o *StationFacilityAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationFacilityStationFacility { + return o.Payload +} + func (o *StationFacilityAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationFacilityStationFacility) diff --git a/rail/v3/client/t_r_a/station_live_board_api_controller_get1_responses.go b/rail/v3/client/t_r_a/station_live_board_api_controller_get1_responses.go index 7c4d6d42..f554bffc 100644 --- a/rail/v3/client/t_r_a/station_live_board_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/station_live_board_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *StationLiveBoardAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/StationLiveBoard/Station/{StationID}][%d] stationLiveBoardApiControllerGet1OK %+v", 200, o.Payload) } +func (o *StationLiveBoardAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRAStationLiveBoardListStationLiveBoard { + return o.Payload +} + func (o *StationLiveBoardAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRAStationLiveBoardListStationLiveBoard) diff --git a/rail/v3/client/t_r_a/station_live_board_api_controller_get_responses.go b/rail/v3/client/t_r_a/station_live_board_api_controller_get_responses.go index 84872cc6..ef88cb41 100644 --- a/rail/v3/client/t_r_a/station_live_board_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/station_live_board_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *StationLiveBoardAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/StationLiveBoard][%d] stationLiveBoardApiControllerGetOK %+v", 200, o.Payload) } +func (o *StationLiveBoardAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRAStationLiveBoardListStationLiveBoard { + return o.Payload +} + func (o *StationLiveBoardAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRAStationLiveBoardListStationLiveBoard) diff --git a/rail/v3/client/t_r_a/station_of_line_api_controller_get_responses.go b/rail/v3/client/t_r_a/station_of_line_api_controller_get_responses.go index b3bbf3ab..900aebaf 100644 --- a/rail/v3/client/t_r_a/station_of_line_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/station_of_line_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *StationOfLineAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/StationOfLine][%d] stationOfLineApiControllerGetOK %+v", 200, o.Payload) } +func (o *StationOfLineAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationOfLineStationOfLine { + return o.Payload +} + func (o *StationOfLineAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationOfLineStationOfLine) diff --git a/rail/v3/client/t_r_a/station_transfer_api_controller_get_responses.go b/rail/v3/client/t_r_a/station_transfer_api_controller_get_responses.go index 1c69f253..99ebb7a2 100644 --- a/rail/v3/client/t_r_a/station_transfer_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/station_transfer_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *StationTransferAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/StationTransfer][%d] stationTransferApiControllerGetOK %+v", 200, o.Payload) } +func (o *StationTransferAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationTransferStationTransfer { + return o.Payload +} + func (o *StationTransferAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRAStationTransferStationTransfer) diff --git a/rail/v3/client/t_r_a/train_live_board_api_controller_get1_responses.go b/rail/v3/client/t_r_a/train_live_board_api_controller_get1_responses.go index 8421bdfc..480bf8a5 100644 --- a/rail/v3/client/t_r_a/train_live_board_api_controller_get1_responses.go +++ b/rail/v3/client/t_r_a/train_live_board_api_controller_get1_responses.go @@ -53,6 +53,10 @@ func (o *TrainLiveBoardAPIControllerGet1OK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/TrainLiveBoard/TrainNo/{TrainNo}][%d] trainLiveBoardApiControllerGet1OK %+v", 200, o.Payload) } +func (o *TrainLiveBoardAPIControllerGet1OK) GetPayload() *models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRATrainLiveBoardListTrainLiveBoard { + return o.Payload +} + func (o *TrainLiveBoardAPIControllerGet1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRATrainLiveBoardListTrainLiveBoard) diff --git a/rail/v3/client/t_r_a/train_live_board_api_controller_get_responses.go b/rail/v3/client/t_r_a/train_live_board_api_controller_get_responses.go index c05d0760..d485738d 100644 --- a/rail/v3/client/t_r_a/train_live_board_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/train_live_board_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *TrainLiveBoardAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/TrainLiveBoard][%d] trainLiveBoardApiControllerGetOK %+v", 200, o.Payload) } +func (o *TrainLiveBoardAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRATrainLiveBoardListTrainLiveBoard { + return o.Payload +} + func (o *TrainLiveBoardAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRARealTimeWrapperServiceDTOVersion3RailTRATRATrainLiveBoardListTrainLiveBoard) diff --git a/rail/v3/client/t_r_a/train_type_api_controller_get_responses.go b/rail/v3/client/t_r_a/train_type_api_controller_get_responses.go index 0a456a10..e1dbe4ca 100644 --- a/rail/v3/client/t_r_a/train_type_api_controller_get_responses.go +++ b/rail/v3/client/t_r_a/train_type_api_controller_get_responses.go @@ -53,6 +53,10 @@ func (o *TrainTypeAPIControllerGetOK) Error() string { return fmt.Sprintf("[GET /v3/Rail/TRA/TrainType][%d] trainTypeApiControllerGetOK %+v", 200, o.Payload) } +func (o *TrainTypeAPIControllerGetOK) GetPayload() *models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRATrainType { + return o.Payload +} + func (o *TrainTypeAPIControllerGetOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { o.Payload = new(models.MOTCAPIRailModelsTRABaseWrapperServiceDTOVersion3RailTRATrainType) diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival1_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival1_responses.go index 63e3f994..bdc2889f 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival1_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival1_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIEstimatedTimeOfArrival1OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/EstimatedTimeOfArrival/TaiwanTrip/{TaiwanTripName}][%d] taiwanTripBusApiEstimatedTimeOfArrival1OK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIEstimatedTimeOfArrival1OK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusN1EstimateTime { + return o.Payload +} + func (o *TaiwanTripBusAPIEstimatedTimeOfArrival1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival_responses.go index 58b1e995..811d9b9b 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_estimated_time_of_arrival_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIEstimatedTimeOfArrivalOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/EstimatedTimeOfArrival/TaiwanTrip][%d] taiwanTripBusApiEstimatedTimeOfArrivalOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIEstimatedTimeOfArrivalOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusN1EstimateTime { + return o.Payload +} + func (o *TaiwanTripBusAPIEstimatedTimeOfArrivalOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_news_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_news_responses.go index bcef8782..b725e1c9 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_news_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_news_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPINewsOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/News/TaiwanTrip][%d] taiwanTripBusApiNewsOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPINewsOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusTaiwanTripNews { + return o.Payload +} + func (o *TaiwanTripBusAPINewsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency1_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency1_responses.go index 4f3245a4..23e66524 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency1_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency1_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIRealTimeByFrequency1OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/RealTimeByFrequency/TaiwanTrip/{TaiwanTripName}][%d] taiwanTripBusApiRealTimeByFrequency1OK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIRealTimeByFrequency1OK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusA1Data { + return o.Payload +} + func (o *TaiwanTripBusAPIRealTimeByFrequency1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency_responses.go index 812a9e8b..4aab7650 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_by_frequency_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIRealTimeByFrequencyOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/RealTimeByFrequency/TaiwanTrip][%d] taiwanTripBusApiRealTimeByFrequencyOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIRealTimeByFrequencyOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusA1Data { + return o.Payload +} + func (o *TaiwanTripBusAPIRealTimeByFrequencyOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop1_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop1_responses.go index dd614faa..6ef31d85 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop1_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop1_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIRealTimeNearStop1OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/RealTimeNearStop/TaiwanTrip/{TaiwanTripName}][%d] taiwanTripBusApiRealTimeNearStop1OK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIRealTimeNearStop1OK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusA2Data { + return o.Payload +} + func (o *TaiwanTripBusAPIRealTimeNearStop1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop_responses.go index 1cd09881..2d1ca8b5 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_real_time_near_stop_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIRealTimeNearStopOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/RealTimeNearStop/TaiwanTrip][%d] taiwanTripBusApiRealTimeNearStopOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIRealTimeNearStopOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusA2Data { + return o.Payload +} + func (o *TaiwanTripBusAPIRealTimeNearStopOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route1_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route1_responses.go index c4b5f4af..79675f4a 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route1_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route1_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIRoute1OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/Route/TaiwanTrip/{TaiwanTripName}][%d] taiwanTripBusApiRoute1OK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIRoute1OK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusRoute { + return o.Payload +} + func (o *TaiwanTripBusAPIRoute1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route_responses.go index 701e7505..aa044b34 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_route_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/Route/TaiwanTrip][%d] taiwanTripBusApiRouteOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIRouteOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusRoute { + return o.Payload +} + func (o *TaiwanTripBusAPIRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_s2_travel_time_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_s2_travel_time_responses.go index 891bfadf..22568bb4 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_s2_travel_time_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_s2_travel_time_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIS2TravelTimeOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/S2TravelTime/TaiwanTrip][%d] taiwanTripBusApiS2TravelTimeOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIS2TravelTimeOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusTaiwanTripS2STravelTime { + return o.Payload +} + func (o *TaiwanTripBusAPIS2TravelTimeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule1_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule1_responses.go index e4b2dcf6..27aaa645 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule1_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule1_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPISchedule1OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/Schedule/TaiwanTrip/{TaiwanTripName}][%d] taiwanTripBusApiSchedule1OK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPISchedule1OK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusSchedule { + return o.Payload +} + func (o *TaiwanTripBusAPISchedule1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule_responses.go index 0dc905af..fae7cc15 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_schedule_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIScheduleOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/Schedule/TaiwanTrip][%d] taiwanTripBusApiScheduleOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIScheduleOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusSchedule { + return o.Payload +} + func (o *TaiwanTripBusAPIScheduleOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape1_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape1_responses.go index 047e0832..1bd14ab7 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape1_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape1_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIShape1OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/Shape/TaiwanTrip/{TaiwanTripName}][%d] taiwanTripBusApiShape1OK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIShape1OK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusTaiwanTripShape { + return o.Payload +} + func (o *TaiwanTripBusAPIShape1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape_responses.go index a32834a8..cb65bba1 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_shape_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIShapeOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/Shape/TaiwanTrip][%d] taiwanTripBusApiShapeOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIShapeOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusTaiwanTripShape { + return o.Payload +} + func (o *TaiwanTripBusAPIShapeOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route1_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route1_responses.go index 88387b68..0e82efac 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route1_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route1_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIStopOfRoute1OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/StopOfRoute/TaiwanTrip/{TaiwanTripName}][%d] taiwanTripBusApiStopOfRoute1OK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIStopOfRoute1OK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusStopOfRoute { + return o.Payload +} + func (o *TaiwanTripBusAPIStopOfRoute1OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route_responses.go b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route_responses.go index 2079ab39..fedb3207 100644 --- a/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route_responses.go +++ b/tourism/v2/client/taiwan_trip_bus/taiwan_trip_bus_api_stop_of_route_responses.go @@ -53,6 +53,10 @@ func (o *TaiwanTripBusAPIStopOfRouteOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Bus/StopOfRoute/TaiwanTrip][%d] taiwanTripBusApiStopOfRouteOK %+v", 200, o.Payload) } +func (o *TaiwanTripBusAPIStopOfRouteOK) GetPayload() []*models.ServiceDTOVersion2TaiwanTripBusBusStopOfRoute { + return o.Payload +} + func (o *TaiwanTripBusAPIStopOfRouteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_activity0_responses.go b/tourism/v2/client/tourism/tourism_api_activity0_responses.go index 336e7651..6affa8f8 100644 --- a/tourism/v2/client/tourism/tourism_api_activity0_responses.go +++ b/tourism/v2/client/tourism/tourism_api_activity0_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIActivity0OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Activity/{City}][%d] tourismApiActivity0OK %+v", 200, o.Payload) } +func (o *TourismAPIActivity0OK) GetPayload() []*models.ServiceDTOVersion2ApplicationActivityTourismInfo { + return o.Payload +} + func (o *TourismAPIActivity0OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_activity_responses.go b/tourism/v2/client/tourism/tourism_api_activity_responses.go index 74294fe2..65525110 100644 --- a/tourism/v2/client/tourism/tourism_api_activity_responses.go +++ b/tourism/v2/client/tourism/tourism_api_activity_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIActivityOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Activity][%d] tourismApiActivityOK %+v", 200, o.Payload) } +func (o *TourismAPIActivityOK) GetPayload() []*models.ServiceDTOVersion2ApplicationActivityTourismInfo { + return o.Payload +} + func (o *TourismAPIActivityOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_hotel0_responses.go b/tourism/v2/client/tourism/tourism_api_hotel0_responses.go index 38165da9..a1b218e2 100644 --- a/tourism/v2/client/tourism/tourism_api_hotel0_responses.go +++ b/tourism/v2/client/tourism/tourism_api_hotel0_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIHotel0OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Hotel/{City}][%d] tourismApiHotel0OK %+v", 200, o.Payload) } +func (o *TourismAPIHotel0OK) GetPayload() []*models.ServiceDTOVersion2ApplicationHotelTourismInfo { + return o.Payload +} + func (o *TourismAPIHotel0OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_hotel_responses.go b/tourism/v2/client/tourism/tourism_api_hotel_responses.go index fcf52592..71a812f3 100644 --- a/tourism/v2/client/tourism/tourism_api_hotel_responses.go +++ b/tourism/v2/client/tourism/tourism_api_hotel_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIHotelOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Hotel][%d] tourismApiHotelOK %+v", 200, o.Payload) } +func (o *TourismAPIHotelOK) GetPayload() []*models.ServiceDTOVersion2ApplicationHotelTourismInfo { + return o.Payload +} + func (o *TourismAPIHotelOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_restaurant0_responses.go b/tourism/v2/client/tourism/tourism_api_restaurant0_responses.go index 03fcbaa0..0cd8045c 100644 --- a/tourism/v2/client/tourism/tourism_api_restaurant0_responses.go +++ b/tourism/v2/client/tourism/tourism_api_restaurant0_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIRestaurant0OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Restaurant/{City}][%d] tourismApiRestaurant0OK %+v", 200, o.Payload) } +func (o *TourismAPIRestaurant0OK) GetPayload() []*models.ServiceDTOVersion2ApplicationRestaurantTourismInfo { + return o.Payload +} + func (o *TourismAPIRestaurant0OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_restaurant_responses.go b/tourism/v2/client/tourism/tourism_api_restaurant_responses.go index a8b257ea..ff7e605b 100644 --- a/tourism/v2/client/tourism/tourism_api_restaurant_responses.go +++ b/tourism/v2/client/tourism/tourism_api_restaurant_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIRestaurantOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/Restaurant][%d] tourismApiRestaurantOK %+v", 200, o.Payload) } +func (o *TourismAPIRestaurantOK) GetPayload() []*models.ServiceDTOVersion2ApplicationRestaurantTourismInfo { + return o.Payload +} + func (o *TourismAPIRestaurantOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_scenic_spot0_responses.go b/tourism/v2/client/tourism/tourism_api_scenic_spot0_responses.go index 5abe5076..851f4e59 100644 --- a/tourism/v2/client/tourism/tourism_api_scenic_spot0_responses.go +++ b/tourism/v2/client/tourism/tourism_api_scenic_spot0_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIScenicSpot0OK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/ScenicSpot/{City}][%d] tourismApiScenicSpot0OK %+v", 200, o.Payload) } +func (o *TourismAPIScenicSpot0OK) GetPayload() []*models.ServiceDTOVersion2ApplicationScenicSpotTourismInfo { + return o.Payload +} + func (o *TourismAPIScenicSpot0OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload diff --git a/tourism/v2/client/tourism/tourism_api_scenic_spot_responses.go b/tourism/v2/client/tourism/tourism_api_scenic_spot_responses.go index 5bc58c14..a8c85a13 100644 --- a/tourism/v2/client/tourism/tourism_api_scenic_spot_responses.go +++ b/tourism/v2/client/tourism/tourism_api_scenic_spot_responses.go @@ -53,6 +53,10 @@ func (o *TourismAPIScenicSpotOK) Error() string { return fmt.Sprintf("[GET /v2/Tourism/ScenicSpot][%d] tourismApiScenicSpotOK %+v", 200, o.Payload) } +func (o *TourismAPIScenicSpotOK) GetPayload() []*models.ServiceDTOVersion2ApplicationScenicSpotTourismInfo { + return o.Payload +} + func (o *TourismAPIScenicSpotOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { // response payload