func (o *FindExecutionsParams) bindCount(rawData []string, hasKey bool, formats strfmt.Registry) error {
	var raw string
	if len(rawData) > 0 {
		raw = rawData[len(rawData)-1]
	}
	if raw == "" {  
		return nil
	}
	value, err := swag.ConvertInt32(raw)
	if err != nil {
		return errors.InvalidType("count", "query", "int32", raw)
	}
	o.Count = &value
	if err := o.validateCount(formats); err != nil {
		return err
	}
	return nil
}
bindCount binds and validates parameter Count from query.
package operations
import (
	"net/http"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/runtime/middleware"
	"github.com/go-openapi/swag"
	"github.com/go-openapi/validate"
	strfmt "github.com/go-openapi/strfmt"
)
func NewFindExecutionsParams() FindExecutionsParams {
	var (
		countDefault = int32(10)
	)
	return FindExecutionsParams{
		Count: &countDefault,
	}
}
type FindExecutionsParams struct {
	HTTPRequest *http.Request `json:"-"`
	Cause *string
	Count *int32
	Cursor *string
	ProjectID string
	Status *string
}
func (o *FindExecutionsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error {
	var res []error
	o.HTTPRequest = r
	qs := runtime.Values(r.URL.Query())
	qCause, qhkCause, _ := qs.GetOK("cause")
	if err := o.bindCause(qCause, qhkCause, route.Formats); err != nil {
		res = append(res, err)
	}
	qCount, qhkCount, _ := qs.GetOK("count")
	if err := o.bindCount(qCount, qhkCount, route.Formats); err != nil {
		res = append(res, err)
	}
	qCursor, qhkCursor, _ := qs.GetOK("cursor")
	if err := o.bindCursor(qCursor, qhkCursor, route.Formats); err != nil {
		res = append(res, err)
	}
	rProjectID, rhkProjectID, _ := route.Params.GetOK("projectId")
	if err := o.bindProjectID(rProjectID, rhkProjectID, route.Formats); err != nil {
		res = append(res, err)
	}
	qStatus, qhkStatus, _ := qs.GetOK("status")
	if err := o.bindStatus(qStatus, qhkStatus, route.Formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func (o *FindExecutionsParams) bindCause(rawData []string, hasKey bool, formats strfmt.Registry) error {
	var raw string
	if len(rawData) > 0 {
		raw = rawData[len(rawData)-1]
	}
	if raw == "" {  
		return nil
	}
	o.Cause = &raw
	if err := o.validateCause(formats); err != nil {
		return err
	}
	return nil
}
func (o *FindExecutionsParams) validateCause(formats strfmt.Registry) error {
	if err := validate.Enum("cause", "query", *o.Cause, []interface{}{"manual", "schedule", "hook", "unknown"}); err != nil {
		return err
	}
	return nil
}