func (o *GetAclsOKBody) Validate(formats strfmt.Registry) error {
	var res []error
	if err := o.validateData(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this get acls o k body
package acl
import (
	"net/http"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime/middleware"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
	"github.com/go-openapi/validate"
	"github.com/haproxytech/client-native/v2/models"
)
type GetAclsHandlerFunc func(GetAclsParams, interface{}) middleware.Responder
func (fn GetAclsHandlerFunc) Handle(params GetAclsParams, principal interface{}) middleware.Responder {
	return fn(params, principal)
}
type GetAclsHandler interface {
	Handle(GetAclsParams, interface{}) middleware.Responder
}
func NewGetAcls(ctx *middleware.Context, handler GetAclsHandler) *GetAcls {
	return &GetAcls{Context: ctx, Handler: handler}
}
type GetAcls struct {
	Context *middleware.Context
	Handler GetAclsHandler
}
func (o *GetAcls) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
	route, rCtx, _ := o.Context.RouteInfo(r)
	if rCtx != nil {
		r = rCtx
	}
	var Params = NewGetAclsParams()
	uprinc, aCtx, err := o.Context.Authorize(r, route)
	if err != nil {
		o.Context.Respond(rw, r, route.Produces, route, err)
		return
	}
	if aCtx != nil {
		r = aCtx
	}
	var principal interface{}
	if uprinc != nil {
		principal = uprinc
	}
	if err := o.Context.BindValidRequest(r, route, &Params); err != nil {  
		o.Context.Respond(rw, r, route.Produces, route, err)
		return
	}
	res := o.Handler.Handle(Params, principal)  
	o.Context.Respond(rw, r, route.Produces, route, res)
}
type GetAclsOKBody struct {
	Version int64 `json:"_version,omitempty"`
	Data models.Acls `json:"data"`
}