func (o *StartSpoeTransactionDefault) WithConfigurationVersion(configurationVersion string) *StartSpoeTransactionDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}
WithConfigurationVersion adds the configurationVersion to the start spoe transaction default response
package spoe_transactions
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const StartSpoeTransactionCreatedCode int = 201
type StartSpoeTransactionCreated struct {
	Payload *models.SpoeTransaction `json:"body,omitempty"`
}
func NewStartSpoeTransactionCreated() *StartSpoeTransactionCreated {
	return &StartSpoeTransactionCreated{}
}
func (o *StartSpoeTransactionCreated) WithPayload(payload *models.SpoeTransaction) *StartSpoeTransactionCreated {
	o.Payload = payload
	return o
}
func (o *StartSpoeTransactionCreated) SetPayload(payload *models.SpoeTransaction) {
	o.Payload = payload
}
func (o *StartSpoeTransactionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(201)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
const StartSpoeTransactionTooManyRequestsCode int = 429
type StartSpoeTransactionTooManyRequests struct {
	Payload *StartSpoeTransactionTooManyRequestsBody `json:"body,omitempty"`
}
func NewStartSpoeTransactionTooManyRequests() *StartSpoeTransactionTooManyRequests {
	return &StartSpoeTransactionTooManyRequests{}
}
func (o *StartSpoeTransactionTooManyRequests) WithPayload(payload *StartSpoeTransactionTooManyRequestsBody) *StartSpoeTransactionTooManyRequests {
	o.Payload = payload
	return o
}
func (o *StartSpoeTransactionTooManyRequests) SetPayload(payload *StartSpoeTransactionTooManyRequestsBody) {
	o.Payload = payload
}
func (o *StartSpoeTransactionTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(429)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
type StartSpoeTransactionDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewStartSpoeTransactionDefault(code int) *StartSpoeTransactionDefault {
	if code <= 0 {
		code = 500
	}
	return &StartSpoeTransactionDefault{
		_statusCode: code,
	}
}
func (o *StartSpoeTransactionDefault) WithStatusCode(code int) *StartSpoeTransactionDefault {
	o._statusCode = code
	return o
}
func (o *StartSpoeTransactionDefault) SetStatusCode(code int) {
	o._statusCode = code
}