func (o *GetServicesHaproxyRuntimeACLFileEntriesIDParams) bindACLID(rawData []string, hasKey bool, formats strfmt.Registry) error {
	if !hasKey {
		return errors.Required("acl_id", "query")
	}
	var raw string
	if len(rawData) > 0 {
		raw = rawData[len(rawData)-1]
	}
	if err := validate.RequiredString("acl_id", "query", raw); err != nil {
		return err
	}
	o.ACLID = raw
	return nil
}
bindACLID binds and validates parameter ACLID from query.
package acl_runtime
import (
	"net/http"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/runtime/middleware"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/validate"
)
func NewGetServicesHaproxyRuntimeACLFileEntriesIDParams() GetServicesHaproxyRuntimeACLFileEntriesIDParams {
	return GetServicesHaproxyRuntimeACLFileEntriesIDParams{}
}
type GetServicesHaproxyRuntimeACLFileEntriesIDParams struct {
	HTTPRequest *http.Request `json:"-"`
	ACLID string
	ID string
}
func (o *GetServicesHaproxyRuntimeACLFileEntriesIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error {
	var res []error
	o.HTTPRequest = r
	qs := runtime.Values(r.URL.Query())
	qACLID, qhkACLID, _ := qs.GetOK("acl_id")
	if err := o.bindACLID(qACLID, qhkACLID, route.Formats); err != nil {
		res = append(res, err)
	}
	rID, rhkID, _ := route.Params.GetOK("id")
	if err := o.bindID(rID, rhkID, route.Formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}