func (o *GetServicesHaproxyRuntimeAclsDefault) SetStatusCode(code int) {
	o._statusCode = code
}
SetStatusCode sets the status to the get services haproxy runtime acls default response
package acl_runtime
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetServicesHaproxyRuntimeAclsOKCode int = 200
type GetServicesHaproxyRuntimeAclsOK struct {
	Payload models.ACLFiles `json:"body,omitempty"`
}
func NewGetServicesHaproxyRuntimeAclsOK() *GetServicesHaproxyRuntimeAclsOK {
	return &GetServicesHaproxyRuntimeAclsOK{}
}
func (o *GetServicesHaproxyRuntimeAclsOK) WithPayload(payload models.ACLFiles) *GetServicesHaproxyRuntimeAclsOK {
	o.Payload = payload
	return o
}
func (o *GetServicesHaproxyRuntimeAclsOK) SetPayload(payload models.ACLFiles) {
	o.Payload = payload
}
func (o *GetServicesHaproxyRuntimeAclsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(200)
	payload := o.Payload
	if payload == nil {
		payload = models.ACLFiles{}
	}
	if err := producer.Produce(rw, payload); err != nil {
		panic(err)  
	}
}
type GetServicesHaproxyRuntimeAclsDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetServicesHaproxyRuntimeAclsDefault(code int) *GetServicesHaproxyRuntimeAclsDefault {
	if code <= 0 {
		code = 500
	}
	return &GetServicesHaproxyRuntimeAclsDefault{
		_statusCode: code,
	}
}
func (o *GetServicesHaproxyRuntimeAclsDefault) WithStatusCode(code int) *GetServicesHaproxyRuntimeAclsDefault {
	o._statusCode = code
	return o
}