func (o *DeleteFilterDefault) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
SetConfigurationVersion sets the configurationVersion to the delete filter default response
package filter
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const DeleteFilterAcceptedCode int = 202
type DeleteFilterAccepted struct {
	ReloadID string `json:"Reload-ID"`
}
func NewDeleteFilterAccepted() *DeleteFilterAccepted {
	return &DeleteFilterAccepted{}
}
func (o *DeleteFilterAccepted) WithReloadID(reloadID string) *DeleteFilterAccepted {
	o.ReloadID = reloadID
	return o
}
func (o *DeleteFilterAccepted) SetReloadID(reloadID string) {
	o.ReloadID = reloadID
}
func (o *DeleteFilterAccepted) 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 DeleteFilterNoContentCode int = 204
type DeleteFilterNoContent struct {
}
func NewDeleteFilterNoContent() *DeleteFilterNoContent {
	return &DeleteFilterNoContent{}
}
func (o *DeleteFilterNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(204)
}
const DeleteFilterNotFoundCode int = 404
type DeleteFilterNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteFilterNotFound() *DeleteFilterNotFound {
	return &DeleteFilterNotFound{}
}
func (o *DeleteFilterNotFound) WithConfigurationVersion(configurationVersion string) *DeleteFilterNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *DeleteFilterNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *DeleteFilterNotFound) WithPayload(payload *models.Error) *DeleteFilterNotFound {
	o.Payload = payload
	return o
}
func (o *DeleteFilterNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *DeleteFilterNotFound) 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 DeleteFilterDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteFilterDefault(code int) *DeleteFilterDefault {
	if code <= 0 {
		code = 500
	}
	return &DeleteFilterDefault{
		_statusCode: code,
	}
}
func (o *DeleteFilterDefault) WithStatusCode(code int) *DeleteFilterDefault {
	o._statusCode = code
	return o
}
func (o *DeleteFilterDefault) SetStatusCode(code int) {
	o._statusCode = code
}
func (o *DeleteFilterDefault) WithConfigurationVersion(configurationVersion string) *DeleteFilterDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}