func (o *DeletePeerEntryDefault) WithStatusCode(code int) *DeletePeerEntryDefault {
	o._statusCode = code
	return o
}
WithStatusCode adds the status to the delete peer entry default response
package peer_entry
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const DeletePeerEntryAcceptedCode int = 202
type DeletePeerEntryAccepted struct {
	ReloadID string `json:"Reload-ID"`
}
func NewDeletePeerEntryAccepted() *DeletePeerEntryAccepted {
	return &DeletePeerEntryAccepted{}
}
func (o *DeletePeerEntryAccepted) WithReloadID(reloadID string) *DeletePeerEntryAccepted {
	o.ReloadID = reloadID
	return o
}
func (o *DeletePeerEntryAccepted) SetReloadID(reloadID string) {
	o.ReloadID = reloadID
}
func (o *DeletePeerEntryAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	reloadID := o.ReloadID
	if reloadID != "" {
		rw.Header().Set("Reload-ID", reloadID)
	}
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(202)
}
const DeletePeerEntryNoContentCode int = 204
type DeletePeerEntryNoContent struct {
}
func NewDeletePeerEntryNoContent() *DeletePeerEntryNoContent {
	return &DeletePeerEntryNoContent{}
}
func (o *DeletePeerEntryNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(204)
}
const DeletePeerEntryNotFoundCode int = 404
type DeletePeerEntryNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeletePeerEntryNotFound() *DeletePeerEntryNotFound {
	return &DeletePeerEntryNotFound{}
}
func (o *DeletePeerEntryNotFound) WithConfigurationVersion(configurationVersion string) *DeletePeerEntryNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *DeletePeerEntryNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *DeletePeerEntryNotFound) WithPayload(payload *models.Error) *DeletePeerEntryNotFound {
	o.Payload = payload
	return o
}
func (o *DeletePeerEntryNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *DeletePeerEntryNotFound) 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 DeletePeerEntryDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeletePeerEntryDefault(code int) *DeletePeerEntryDefault {
	if code <= 0 {
		code = 500
	}
	return &DeletePeerEntryDefault{
		_statusCode: code,
	}
}