func NewGetAllRuntimeMapFilesDefault(code int) *GetAllRuntimeMapFilesDefault {
	if code <= 0 {
		code = 500
	}
	return &GetAllRuntimeMapFilesDefault{
		_statusCode: code,
	}
}
NewGetAllRuntimeMapFilesDefault creates GetAllRuntimeMapFilesDefault with default headers values
package maps
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetAllRuntimeMapFilesOKCode int = 200
type GetAllRuntimeMapFilesOK struct {
	Payload models.Maps `json:"body,omitempty"`
}
func NewGetAllRuntimeMapFilesOK() *GetAllRuntimeMapFilesOK {
	return &GetAllRuntimeMapFilesOK{}
}
func (o *GetAllRuntimeMapFilesOK) WithPayload(payload models.Maps) *GetAllRuntimeMapFilesOK {
	o.Payload = payload
	return o
}
func (o *GetAllRuntimeMapFilesOK) SetPayload(payload models.Maps) {
	o.Payload = payload
}
func (o *GetAllRuntimeMapFilesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(200)
	payload := o.Payload
	if payload == nil {
		payload = models.Maps{}
	}
	if err := producer.Produce(rw, payload); err != nil {
		panic(err)  
	}
}
const GetAllRuntimeMapFilesNotFoundCode int = 404
type GetAllRuntimeMapFilesNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetAllRuntimeMapFilesNotFound() *GetAllRuntimeMapFilesNotFound {
	return &GetAllRuntimeMapFilesNotFound{}
}
func (o *GetAllRuntimeMapFilesNotFound) WithConfigurationVersion(configurationVersion string) *GetAllRuntimeMapFilesNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *GetAllRuntimeMapFilesNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *GetAllRuntimeMapFilesNotFound) WithPayload(payload *models.Error) *GetAllRuntimeMapFilesNotFound {
	o.Payload = payload
	return o
}
func (o *GetAllRuntimeMapFilesNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *GetAllRuntimeMapFilesNotFound) 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 GetAllRuntimeMapFilesDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}