func (o *DeleteNameserverNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
SetPayload sets the payload to the delete nameserver not found response
package nameserver
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const DeleteNameserverAcceptedCode int = 202
type DeleteNameserverAccepted struct {
	ReloadID string `json:"Reload-ID"`
}
func NewDeleteNameserverAccepted() *DeleteNameserverAccepted {
	return &DeleteNameserverAccepted{}
}
func (o *DeleteNameserverAccepted) WithReloadID(reloadID string) *DeleteNameserverAccepted {
	o.ReloadID = reloadID
	return o
}
func (o *DeleteNameserverAccepted) SetReloadID(reloadID string) {
	o.ReloadID = reloadID
}
func (o *DeleteNameserverAccepted) 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 DeleteNameserverNoContentCode int = 204
type DeleteNameserverNoContent struct {
}
func NewDeleteNameserverNoContent() *DeleteNameserverNoContent {
	return &DeleteNameserverNoContent{}
}
func (o *DeleteNameserverNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(204)
}
const DeleteNameserverNotFoundCode int = 404
type DeleteNameserverNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteNameserverNotFound() *DeleteNameserverNotFound {
	return &DeleteNameserverNotFound{}
}
func (o *DeleteNameserverNotFound) WithConfigurationVersion(configurationVersion string) *DeleteNameserverNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *DeleteNameserverNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *DeleteNameserverNotFound) WithPayload(payload *models.Error) *DeleteNameserverNotFound {
	o.Payload = payload
	return o
}