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