func (o *AddPayloadRuntimeACLCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(201)
	payload := o.Payload
	if payload == nil {
		payload = models.ACLFilesEntries{}
	}
	if err := producer.Produce(rw, payload); err != nil {
		panic(err)  
	}
}
WriteResponse to the client
package acl_runtime
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const AddPayloadRuntimeACLCreatedCode int = 201
type AddPayloadRuntimeACLCreated struct {
	Payload models.ACLFilesEntries `json:"body,omitempty"`
}
func NewAddPayloadRuntimeACLCreated() *AddPayloadRuntimeACLCreated {
	return &AddPayloadRuntimeACLCreated{}
}
func (o *AddPayloadRuntimeACLCreated) WithPayload(payload models.ACLFilesEntries) *AddPayloadRuntimeACLCreated {
	o.Payload = payload
	return o
}
func (o *AddPayloadRuntimeACLCreated) SetPayload(payload models.ACLFilesEntries) {
	o.Payload = payload
}