func (o *GetConsulsOK) SetPayload(payload *GetConsulsOKBody) {
	o.Payload = payload
}
SetPayload sets the payload to the get consuls o k response
package service_discovery
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetConsulsOKCode int = 200
type GetConsulsOK struct {
	Payload *GetConsulsOKBody `json:"body,omitempty"`
}
func NewGetConsulsOK() *GetConsulsOK {
	return &GetConsulsOK{}
}
func (o *GetConsulsOK) WithPayload(payload *GetConsulsOKBody) *GetConsulsOK {
	o.Payload = payload
	return o
}