func (o *GetScriptDataParams) bindScriptID(rawData []string, hasKey bool, formats strfmt.Registry) error {
	var raw string
	if len(rawData) > 0 {
		raw = rawData[len(rawData)-1]
	}
	o.ScriptID = raw
	return nil
}
bindScriptID binds and validates parameter ScriptID from path.
package operations
import (
	"net/http"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime/middleware"
	strfmt "github.com/go-openapi/strfmt"
)
func NewGetScriptDataParams() GetScriptDataParams {
	return GetScriptDataParams{}
}
type GetScriptDataParams struct {
	HTTPRequest *http.Request `json:"-"`
	DataID string
	ProjectID string
	ScriptID string
}
func (o *GetScriptDataParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error {
	var res []error
	o.HTTPRequest = r
	rDataID, rhkDataID, _ := route.Params.GetOK("dataId")
	if err := o.bindDataID(rDataID, rhkDataID, 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)
	}
	rScriptID, rhkScriptID, _ := route.Params.GetOK("scriptId")
	if err := o.bindScriptID(rScriptID, rhkScriptID, route.Formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func (o *GetScriptDataParams) bindDataID(rawData []string, hasKey bool, formats strfmt.Registry) error {
	var raw string
	if len(rawData) > 0 {
		raw = rawData[len(rawData)-1]
	}
	o.DataID = raw
	return nil
}
func (o *GetScriptDataParams) bindProjectID(rawData []string, hasKey bool, formats strfmt.Registry) error {
	var raw string
	if len(rawData) > 0 {
		raw = rawData[len(rawData)-1]
	}
	o.ProjectID = raw
	return nil
}