func (o *PostServicesHaproxyRuntimeACLFileEntriesDefault) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
SetConfigurationVersion sets the configurationVersion to the post services haproxy runtime ACL file entries default 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
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesConflict) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	configurationVersion := o.ConfigurationVersion
	if configurationVersion != "" {
		rw.Header().Set("Configuration-Version", configurationVersion)
	}
	rw.WriteHeader(409)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
type PostServicesHaproxyRuntimeACLFileEntriesDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewPostServicesHaproxyRuntimeACLFileEntriesDefault(code int) *PostServicesHaproxyRuntimeACLFileEntriesDefault {
	if code <= 0 {
		code = 500
	}
	return &PostServicesHaproxyRuntimeACLFileEntriesDefault{
		_statusCode: code,
	}
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesDefault) WithStatusCode(code int) *PostServicesHaproxyRuntimeACLFileEntriesDefault {
	o._statusCode = code
	return o
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesDefault) SetStatusCode(code int) {
	o._statusCode = code
}
func (o *PostServicesHaproxyRuntimeACLFileEntriesDefault) WithConfigurationVersion(configurationVersion string) *PostServicesHaproxyRuntimeACLFileEntriesDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}