# Functions
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewDeleteFlightTicketsTicketIdRequest generates requests for DeleteFlightTicketsTicketId.
NewDeleteTaxiBookingBookingIdRequest generates requests for DeleteTaxiBookingBookingId.
NewGetFlightTicketsRequest generates requests for GetFlightTickets.
NewGetTaxiBookingRequest generates requests for GetTaxiBooking.
NewPutFlightTicketsRequest calls the generic PutFlightTickets builder with application/json body.
NewPutFlightTicketsRequestWithBody generates requests for PutFlightTickets with any type of body.
NewPutTaxiBookingRequest calls the generic PutTaxiBooking builder with application/json body.
NewPutTaxiBookingRequestWithBody generates requests for PutTaxiBooking with any type of body.
ParseDeleteFlightTicketsTicketIdResponse parses an HTTP response from a DeleteFlightTicketsTicketIdWithResponse call.
ParseDeleteTaxiBookingBookingIdResponse parses an HTTP response from a DeleteTaxiBookingBookingIdWithResponse call.
ParseGetFlightTicketsResponse parses an HTTP response from a GetFlightTicketsWithResponse call.
ParseGetTaxiBookingResponse parses an HTTP response from a GetTaxiBookingWithResponse call.
ParsePutFlightTicketsResponse parses an HTTP response from a PutFlightTicketsWithResponse call.
ParsePutTaxiBookingResponse parses an HTTP response from a PutTaxiBookingWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.
# Structs
BookFlightTicketRequest defines model for BookFlightTicketRequest.
BookFlightTicketResponse defines model for BookFlightTicketResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
ErrorResponse defines model for ErrorResponse.
FlightTicket defines model for FlightTicket.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TaxiBooking defines model for TaxiBooking.
TaxiBookingRequest defines model for TaxiBookingRequest.
TaxiBookingResponse defines model for TaxiBookingResponse.
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
# Type aliases
ClientOption allows setting custom parameters during construction.
PutFlightTicketsJSONRequestBody defines body for PutFlightTickets for application/json ContentType.
PutTaxiBookingJSONRequestBody defines body for PutTaxiBooking for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.