code.cloudfoundry.org/cli@v7.1.0+incompatible/cf/models/route_summary.go (about)

     1  package models
     2  
     3  type RouteSummary struct {
     4  	GUID   string
     5  	Host   string
     6  	Domain DomainFields
     7  	Path   string
     8  	Port   int
     9  }
    10  
    11  func (r RouteSummary) URL() string {
    12  	return (&RoutePresenter{
    13  		Host:   r.Host,
    14  		Domain: r.Domain.Name,
    15  		Path:   r.Path,
    16  		Port:   r.Port,
    17  	}).URL()
    18  }