func (o *DeleteSpoeGroupDefault) WithConfigurationVersion(configurationVersion string) *DeleteSpoeGroupDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}
WithConfigurationVersion adds the configurationVersion to the delete spoe group default response
package spoe
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const DeleteSpoeGroupNoContentCode int = 204
type DeleteSpoeGroupNoContent struct {
}
func NewDeleteSpoeGroupNoContent() *DeleteSpoeGroupNoContent {
	return &DeleteSpoeGroupNoContent{}
}
func (o *DeleteSpoeGroupNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(204)
}
const DeleteSpoeGroupNotFoundCode int = 404
type DeleteSpoeGroupNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteSpoeGroupNotFound() *DeleteSpoeGroupNotFound {
	return &DeleteSpoeGroupNotFound{}
}
func (o *DeleteSpoeGroupNotFound) WithConfigurationVersion(configurationVersion string) *DeleteSpoeGroupNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *DeleteSpoeGroupNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *DeleteSpoeGroupNotFound) WithPayload(payload *models.Error) *DeleteSpoeGroupNotFound {
	o.Payload = payload
	return o
}
func (o *DeleteSpoeGroupNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *DeleteSpoeGroupNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	configurationVersion := o.ConfigurationVersion
	if configurationVersion != "" {
		rw.Header().Set("Configuration-Version", configurationVersion)
	}
	rw.WriteHeader(404)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
type DeleteSpoeGroupDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteSpoeGroupDefault(code int) *DeleteSpoeGroupDefault {
	if code <= 0 {
		code = 500
	}
	return &DeleteSpoeGroupDefault{
		_statusCode: code,
	}
}
func (o *DeleteSpoeGroupDefault) WithStatusCode(code int) *DeleteSpoeGroupDefault {
	o._statusCode = code
	return o
}
func (o *DeleteSpoeGroupDefault) SetStatusCode(code int) {
	o._statusCode = code
}