func (o *GetConsulOK) WithPayload(payload *GetConsulOKBody) *GetConsulOK {
	o.Payload = payload
	return o
}
WithPayload adds the payload to the get consul o k response
package service_discovery
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetConsulOKCode int = 200
type GetConsulOK struct {
	Payload *GetConsulOKBody `json:"body,omitempty"`
}
func NewGetConsulOK() *GetConsulOK {
	return &GetConsulOK{}
}