// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

/*
 * External DNS Webhook Server
 *
 * Implements the external DNS webhook endpoints.
 *
 * API version: v0.15.0
 */

package externaldnsapi

import (
	"context"
	"errors"
	"net/http"
)

// ListingAPIService is a service that implements the logic for the ListingAPIServicer
// This service should implement the business logic for every endpoint for the ListingAPI API.
// Include any external packages or services that will be required by this service.
type ListingAPIService struct {
}

// NewListingAPIService creates a default api service
func NewListingAPIService() *ListingAPIService {
	return &ListingAPIService{}
}

// GetRecords - Returns the current records.
func (s *ListingAPIService) GetRecords(ctx context.Context) (ImplResponse, error) {
	// TODO - update GetRecords with the required logic for this service method.
	// Add api_listing_service.go to the .openapi-generator-ignore to avoid overwriting this service implementation when updating open api generation.

	// TODO: Uncomment the next line to return response Response(200, []Endpoint{}) or use other options such as http.Ok ...
	// return Response(200, []Endpoint{}), nil

	// TODO: Uncomment the next line to return response Response(500, {}) or use other options such as http.Ok ...
	// return Response(500, nil),nil

	return Response(http.StatusNotImplemented, nil), errors.New("GetRecords method not implemented")
}
