func (o *DeleteConsulNotFound) WithPayload(payload *models.Error) *DeleteConsulNotFound {
	o.Payload = payload
	return o
}
WithPayload adds the payload to the delete consul not found response
package service_discovery
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const DeleteConsulNoContentCode int = 204
type DeleteConsulNoContent struct {
}
func NewDeleteConsulNoContent() *DeleteConsulNoContent {
	return &DeleteConsulNoContent{}
}
func (o *DeleteConsulNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(204)
}
const DeleteConsulNotFoundCode int = 404
type DeleteConsulNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteConsulNotFound() *DeleteConsulNotFound {
	return &DeleteConsulNotFound{}
}
func (o *DeleteConsulNotFound) WithConfigurationVersion(configurationVersion string) *DeleteConsulNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *DeleteConsulNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}