func (u *URL) String() string {
	if u == nil {
		return ""
	}
	var fullPath []string
	if u.ControllerUUID != "" {
		fullPath = append(fullPath, u.ControllerUUID)
	}
	if u.ModelUUID != "" {
		fullPath = append(fullPath, u.ModelUUID)
	}
	fullPath = append(fullPath, u.Path)
	if u.Revision > 0 {
		fullPath = append(fullPath, strconv.Itoa(u.Revision))
	}
	str := strings.Join(fullPath, "/")
	urlValue := url.URL{
		Scheme:   SecretScheme,
		Path:     str,
		Fragment: u.Attribute,
	}
	return urlValue.String()
}
// String prints the URL as a string.
String prints the URL as a string.
// String prints the URL as a string .
func (u *URL) String() string {
	if u == nil {
		return ""
	}
	var fullPath []string
	if u.ControllerUUID != "" {
		fullPath = append(fullPath, u.ControllerUUID)
	}
	if u.ModelUUID != "" {
		fullPath = append(fullPath, u.ModelUUID)
	}
	fullPath = append(fullPath, u.Path)
	if u.Revision > 0 {
		fullPath = append(fullPath, strconv.Itoa(u.Revision))
	}
	str := strings.Join(fullPath, "/")
	urlValue := url.URL{
		Scheme:   SecretScheme,
		Path:     str,
		Fragment: u.Attribute,
	}
	return urlValue.String()
}
func ( u * URL ) String ( ) string { if u == nil { return " " } var fullPath [ ] string if u . ControllerUUID != " " { fullPath = append ( fullPath , u . ControllerUUID ) } if u . ModelUUID != " " { fullPath = append ( fullPath , u . ModelUUID ) } fullPath = append ( fullPath , u . Path ) if u . Revision > 0 { fullPath = append ( fullPath , strconv . Itoa ( u . Revision ) ) } str := strings . Join ( fullPath , " " ) urlValue := url . URL { Scheme : SecretScheme , Path : str , Fragment : u . Attribute , } return urlValue . String ( ) }
String prints the URL as a string.
String prints the URL as a string .