func (o *GetServerTemplateNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
SetConfigurationVersion sets the configurationVersion to the get server template not found response
package server_template
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/swag"
	"github.com/haproxytech/client-native/v2/models"
)
const GetServerTemplateOKCode int = 200
type GetServerTemplateOK struct {
	ConfigurationVersion int64 `json:"Configuration-Version"`
	Payload *GetServerTemplateOKBody `json:"body,omitempty"`
}
func NewGetServerTemplateOK() *GetServerTemplateOK {
	return &GetServerTemplateOK{}
}
func (o *GetServerTemplateOK) WithConfigurationVersion(configurationVersion int64) *GetServerTemplateOK {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *GetServerTemplateOK) SetConfigurationVersion(configurationVersion int64) {
	o.ConfigurationVersion = configurationVersion
}
func (o *GetServerTemplateOK) WithPayload(payload *GetServerTemplateOKBody) *GetServerTemplateOK {
	o.Payload = payload
	return o
}
func (o *GetServerTemplateOK) SetPayload(payload *GetServerTemplateOKBody) {
	o.Payload = payload
}
func (o *GetServerTemplateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	configurationVersion := swag.FormatInt64(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 GetServerTemplateNotFoundCode int = 404
type GetServerTemplateNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetServerTemplateNotFound() *GetServerTemplateNotFound {
	return &GetServerTemplateNotFound{}
}
func (o *GetServerTemplateNotFound) WithConfigurationVersion(configurationVersion string) *GetServerTemplateNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}