func (o *GetTransactionsDefault) WithConfigurationVersion(configurationVersion string) *GetTransactionsDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}
WithConfigurationVersion adds the configurationVersion to the get transactions default response
package transactions
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetTransactionsOKCode int = 200
type GetTransactionsOK struct {
	Payload models.Transactions `json:"body,omitempty"`
}
func NewGetTransactionsOK() *GetTransactionsOK {
	return &GetTransactionsOK{}
}
func (o *GetTransactionsOK) WithPayload(payload models.Transactions) *GetTransactionsOK {
	o.Payload = payload
	return o
}
func (o *GetTransactionsOK) SetPayload(payload models.Transactions) {
	o.Payload = payload
}
func (o *GetTransactionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(200)
	payload := o.Payload
	if payload == nil {
		payload = models.Transactions{}
	}
	if err := producer.Produce(rw, payload); err != nil {
		panic(err)  
	}
}
type GetTransactionsDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetTransactionsDefault(code int) *GetTransactionsDefault {
	if code <= 0 {
		code = 500
	}
	return &GetTransactionsDefault{
		_statusCode: code,
	}
}
func (o *GetTransactionsDefault) WithStatusCode(code int) *GetTransactionsDefault {
	o._statusCode = code
	return o
}
func (o *GetTransactionsDefault) SetStatusCode(code int) {
	o._statusCode = code
}