func (o *ReplaceResolverOK) SetPayload(payload *models.Resolver) {
	o.Payload = payload
}
SetPayload sets the payload to the replace resolver o k response
package resolver
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const ReplaceResolverOKCode int = 200
type ReplaceResolverOK struct {
	Payload *models.Resolver `json:"body,omitempty"`
}
func NewReplaceResolverOK() *ReplaceResolverOK {
	return &ReplaceResolverOK{}
}
func (o *ReplaceResolverOK) WithPayload(payload *models.Resolver) *ReplaceResolverOK {
	o.Payload = payload
	return o
}