func (o *DeleteScriptDataURL) String() string {
	return o.Must(o.Build()).String()
}
String returns the string representation of the path with query string
package operations
import (
	"errors"
	"net/url"
	golangswaggerpaths "path"
	"strings"
)
type DeleteScriptDataURL struct {
	DataID    string
	ProjectID string
	ScriptID  string
	_basePath string
	_ struct{}
}
func (o *DeleteScriptDataURL) WithBasePath(bp string) *DeleteScriptDataURL {
	o.SetBasePath(bp)
	return o
}
func (o *DeleteScriptDataURL) SetBasePath(bp string) {
	o._basePath = bp
}
func (o *DeleteScriptDataURL) Build() (*url.URL, error) {
	var _result url.URL
	var _path = "/projects/{projectId}/data/{scriptId}/{dataId}"
	dataID := o.DataID
	if dataID != "" {
		_path = strings.Replace(_path, "{dataId}", dataID, -1)
	} else {
		return nil, errors.New("dataId is required on DeleteScriptDataURL")
	}
	projectID := o.ProjectID
	if projectID != "" {
		_path = strings.Replace(_path, "{projectId}", projectID, -1)
	} else {
		return nil, errors.New("projectId is required on DeleteScriptDataURL")
	}
	scriptID := o.ScriptID
	if scriptID != "" {
		_path = strings.Replace(_path, "{scriptId}", scriptID, -1)
	} else {
		return nil, errors.New("scriptId is required on DeleteScriptDataURL")
	}
	_basePath := o._basePath
	_result.Path = golangswaggerpaths.Join(_basePath, _path)
	return &_result, nil
}
func (o *DeleteScriptDataURL) Must(u *url.URL, err error) *url.URL {
	if err != nil {
		panic(err)
	}
	if u == nil {
		panic("url can't be nil")
	}
	return u
}