func (o *DeleteExecutionParams) bindJobID(rawData []string, hasKey bool, formats strfmt.Registry) error {
	var raw string
	if len(rawData) > 0 {
		raw = rawData[len(rawData)-1]
	}
	o.JobID = raw
	return nil
}
bindJobID binds and validates parameter JobID from path.
package operations
import (
	"net/http"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime/middleware"
	"github.com/go-openapi/validate"
	strfmt "github.com/go-openapi/strfmt"
)
func NewDeleteExecutionParams() DeleteExecutionParams {
	return DeleteExecutionParams{}
}
type DeleteExecutionParams struct {
	HTTPRequest *http.Request `json:"-"`
	JobID string
	ProjectID string
}
func (o *DeleteExecutionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error {
	var res []error
	o.HTTPRequest = r
	rJobID, rhkJobID, _ := route.Params.GetOK("jobID")
	if err := o.bindJobID(rJobID, rhkJobID, 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)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}