func (t *TermsId) String() string {
	id := make([]byte, 0, len(t.Tenant)+1+len(t.Owner)+1+len(t.Name)+4)
	if t.Tenant != "" {
		id = append(id, t.Tenant...)
		id = append(id, ':')
	}
	if t.Owner != "" {
		id = append(id, t.Owner...)
		id = append(id, '/')
	}
	id = append(id, t.Name...)
	if t.Revision != 0 {
		id = append(id, '/')
		id = strconv.AppendInt(id, int64(t.Revision), 10)
	}
	return string(id)
}
// String returns the term in canonical form.
// This would be one of:
//   tenant:owner/name/revision
//   tenant:name
//   owner/name/revision
//   owner/name
//   name/revision
//   name
String returns the term in canonical form.
// String returns the term in canonical form . // This would be one of : // tenant : owner / name / revision // tenant : name // owner / name / revision // owner / name // name / revision // name
func (t *TermsId) String() string {
	id := make([]byte, 0, len(t.Tenant)+1+len(t.Owner)+1+len(t.Name)+4)
	if t.Tenant != "" {
		id = append(id, t.Tenant...)
		id = append(id, ':')
	}
	if t.Owner != "" {
		id = append(id, t.Owner...)
		id = append(id, '/')
	}
	id = append(id, t.Name...)
	if t.Revision != 0 {
		id = append(id, '/')
		id = strconv.AppendInt(id, int64(t.Revision), 10)
	}
	return string(id)
}
func ( t * TermsId ) String ( ) string { id := make ( [ ] byte , 0 , len ( t . Tenant ) + 1 + len ( t . Owner ) + 1 + len ( t . Name ) + 4 ) if t . Tenant != " " { id = append ( id , t . Tenant ... ) id = append ( id , ':' ) } if t . Owner != " " { id = append ( id , t . Owner ... ) id = append ( id , '/' ) } id = append ( id , t . Name ... ) if t . Revision != 0 { id = append ( id , '/' ) id = strconv . AppendInt ( id , int64 ( t . Revision ) , 10 ) } return string ( id ) }
String returns the term in canonical form.
String returns the term in canonical form .