func (o *GetServicesHaproxyRuntimeACLFileEntriesIDDefault) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
SetConfigurationVersion sets the configurationVersion to the get services haproxy runtime ACL file entries ID default response
package acl_runtime
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetServicesHaproxyRuntimeACLFileEntriesIDOKCode int = 200
type GetServicesHaproxyRuntimeACLFileEntriesIDOK struct {
	Payload *models.ACLFileEntry `json:"body,omitempty"`
}
func NewGetServicesHaproxyRuntimeACLFileEntriesIDOK() *GetServicesHaproxyRuntimeACLFileEntriesIDOK {
	return &GetServicesHaproxyRuntimeACLFileEntriesIDOK{}
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDOK) WithPayload(payload *models.ACLFileEntry) *GetServicesHaproxyRuntimeACLFileEntriesIDOK {
	o.Payload = payload
	return o
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDOK) SetPayload(payload *models.ACLFileEntry) {
	o.Payload = payload
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(200)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
const GetServicesHaproxyRuntimeACLFileEntriesIDBadRequestCode int = 400
type GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetServicesHaproxyRuntimeACLFileEntriesIDBadRequest() *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest {
	return &GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest{}
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest) WithConfigurationVersion(configurationVersion string) *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest) WithPayload(payload *models.Error) *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest {
	o.Payload = payload
	return o
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDBadRequest) 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 GetServicesHaproxyRuntimeACLFileEntriesIDNotFoundCode int = 404
type GetServicesHaproxyRuntimeACLFileEntriesIDNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetServicesHaproxyRuntimeACLFileEntriesIDNotFound() *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound {
	return &GetServicesHaproxyRuntimeACLFileEntriesIDNotFound{}
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound) WithConfigurationVersion(configurationVersion string) *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound) WithPayload(payload *models.Error) *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound {
	o.Payload = payload
	return o
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDNotFound) 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 GetServicesHaproxyRuntimeACLFileEntriesIDDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetServicesHaproxyRuntimeACLFileEntriesIDDefault(code int) *GetServicesHaproxyRuntimeACLFileEntriesIDDefault {
	if code <= 0 {
		code = 500
	}
	return &GetServicesHaproxyRuntimeACLFileEntriesIDDefault{
		_statusCode: code,
	}
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDDefault) WithStatusCode(code int) *GetServicesHaproxyRuntimeACLFileEntriesIDDefault {
	o._statusCode = code
	return o
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDDefault) SetStatusCode(code int) {
	o._statusCode = code
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDDefault) WithConfigurationVersion(configurationVersion string) *GetServicesHaproxyRuntimeACLFileEntriesIDDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}