func (o *GetTransactionNotFound) WithConfigurationVersion(configurationVersion string) *GetTransactionNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
WithConfigurationVersion adds the configurationVersion to the get transaction not found response
package transactions
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetTransactionOKCode int = 200
type GetTransactionOK struct {
	Payload *models.Transaction `json:"body,omitempty"`
}
func NewGetTransactionOK() *GetTransactionOK {
	return &GetTransactionOK{}
}
func (o *GetTransactionOK) WithPayload(payload *models.Transaction) *GetTransactionOK {
	o.Payload = payload
	return o
}
func (o *GetTransactionOK) SetPayload(payload *models.Transaction) {
	o.Payload = payload
}
func (o *GetTransactionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(200)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
const GetTransactionNotFoundCode int = 404
type GetTransactionNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetTransactionNotFound() *GetTransactionNotFound {
	return &GetTransactionNotFound{}
}