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