func (o *PostServicesHaproxyRuntimeACLFileEntriesConflict) SetPayload(payload *models.Error) {
	o.Payload = payload
}
SetPayload sets the payload to the post services haproxy runtime Acl file entries conflict response
package acl_runtime
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const PostServicesHaproxyRuntimeACLFileEntriesCreatedCode int = 201
type PostServicesHaproxyRuntimeACLFileEntriesCreated struct {
	Payload *models.ACLFileEntry `json:"body,omitempty"`
}
func NewPostServicesHaproxyRuntimeACLFileEntriesCreated() *PostServicesHaproxyRuntimeACLFileEntriesCreated {
	return &PostServicesHaproxyRuntimeACLFileEntriesCreated{}
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesCreated) WithPayload(payload *models.ACLFileEntry) *PostServicesHaproxyRuntimeACLFileEntriesCreated {
	o.Payload = payload
	return o
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesCreated) SetPayload(payload *models.ACLFileEntry) {
	o.Payload = payload
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(201)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
const PostServicesHaproxyRuntimeACLFileEntriesBadRequestCode int = 400
type PostServicesHaproxyRuntimeACLFileEntriesBadRequest struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewPostServicesHaproxyRuntimeACLFileEntriesBadRequest() *PostServicesHaproxyRuntimeACLFileEntriesBadRequest {
	return &PostServicesHaproxyRuntimeACLFileEntriesBadRequest{}
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesBadRequest) WithConfigurationVersion(configurationVersion string) *PostServicesHaproxyRuntimeACLFileEntriesBadRequest {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesBadRequest) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesBadRequest) WithPayload(payload *models.Error) *PostServicesHaproxyRuntimeACLFileEntriesBadRequest {
	o.Payload = payload
	return o
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesBadRequest) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	configurationVersion := o.ConfigurationVersion
	if configurationVersion != "" {
		rw.Header().Set("Configuration-Version", configurationVersion)
	}
	rw.WriteHeader(400)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
const PostServicesHaproxyRuntimeACLFileEntriesConflictCode int = 409
type PostServicesHaproxyRuntimeACLFileEntriesConflict struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewPostServicesHaproxyRuntimeACLFileEntriesConflict() *PostServicesHaproxyRuntimeACLFileEntriesConflict {
	return &PostServicesHaproxyRuntimeACLFileEntriesConflict{}
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesConflict) WithConfigurationVersion(configurationVersion string) *PostServicesHaproxyRuntimeACLFileEntriesConflict {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesConflict) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesConflict) WithPayload(payload *models.Error) *PostServicesHaproxyRuntimeACLFileEntriesConflict {
	o.Payload = payload
	return o
}