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