func (o *GetACLDefault) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
SetConfigurationVersion sets the configurationVersion to the get Acl default response
package acl
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetACLOKCode int = 200
type GetACLOK struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *GetACLOKBody `json:"body,omitempty"`
}
func NewGetACLOK() *GetACLOK {
	return &GetACLOK{}
}
func (o *GetACLOK) WithConfigurationVersion(configurationVersion string) *GetACLOK {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *GetACLOK) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *GetACLOK) WithPayload(payload *GetACLOKBody) *GetACLOK {
	o.Payload = payload
	return o
}
func (o *GetACLOK) SetPayload(payload *GetACLOKBody) {
	o.Payload = payload
}
func (o *GetACLOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	configurationVersion := o.ConfigurationVersion
	if configurationVersion != "" {
		rw.Header().Set("Configuration-Version", configurationVersion)
	}
	rw.WriteHeader(200)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
const GetACLNotFoundCode int = 404
type GetACLNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetACLNotFound() *GetACLNotFound {
	return &GetACLNotFound{}
}
func (o *GetACLNotFound) WithConfigurationVersion(configurationVersion string) *GetACLNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *GetACLNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *GetACLNotFound) WithPayload(payload *models.Error) *GetACLNotFound {
	o.Payload = payload
	return o
}
func (o *GetACLNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *GetACLNotFound) 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 GetACLDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetACLDefault(code int) *GetACLDefault {
	if code <= 0 {
		code = 500
	}
	return &GetACLDefault{
		_statusCode: code,
	}
}
func (o *GetACLDefault) WithStatusCode(code int) *GetACLDefault {
	o._statusCode = code
	return o
}
func (o *GetACLDefault) SetStatusCode(code int) {
	o._statusCode = code
}
func (o *GetACLDefault) WithConfigurationVersion(configurationVersion string) *GetACLDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}