func (o *GetScriptDataURL) 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 GetScriptDataURL struct {
	DataID    string
	ProjectID string
	ScriptID  string
	_basePath string
	_ struct{}
}
func (o *GetScriptDataURL) WithBasePath(bp string) *GetScriptDataURL {
	o.SetBasePath(bp)
	return o
}
func (o *GetScriptDataURL) SetBasePath(bp string) {
	o._basePath = bp
}
func (o *GetScriptDataURL) 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 GetScriptDataURL")
	}
	projectID := o.ProjectID
	if projectID != "" {
		_path = strings.Replace(_path, "{projectId}", projectID, -1)
	} else {
		return nil, errors.New("projectId is required on GetScriptDataURL")
	}
	scriptID := o.ScriptID
	if scriptID != "" {
		_path = strings.Replace(_path, "{scriptId}", scriptID, -1)
	} else {
		return nil, errors.New("scriptId is required on GetScriptDataURL")
	}
	_basePath := o._basePath
	_result.Path = golangswaggerpaths.Join(_basePath, _path)
	return &_result, nil
}
func (o *GetScriptDataURL) Must(u *url.URL, err error) *url.URL {
	if err != nil {
		panic(err)
	}
	if u == nil {
		panic("url can't be nil")
	}
	return u
}