func (o *PostClusterOK) 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)  
		}
	}
}
WriteResponse to the client
package cluster
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const PostClusterOKCode int = 200
type PostClusterOK struct {
	Payload *models.ClusterSettings `json:"body,omitempty"`
}
func NewPostClusterOK() *PostClusterOK {
	return &PostClusterOK{}
}
func (o *PostClusterOK) WithPayload(payload *models.ClusterSettings) *PostClusterOK {
	o.Payload = payload
	return o
}
func (o *PostClusterOK) SetPayload(payload *models.ClusterSettings) {
	o.Payload = payload
}