code: func (route *Route) UnmarshalJSON(data []byte) error {
  	var ccRoute struct {
  		Metadata internal.Metadata `json:"metadata"`
  		Entity   struct {
  			Host       string        `json:"host"`
  			Path       string        `json:"path"`
  			Port       types.NullInt `json:"port"`
  			DomainGUID string        `json:"domain_guid"`
  			SpaceGUID  string        `json:"space_guid"`
  		} `json:"entity"`
  	}
  	err := cloudcontroller.DecodeJSON(data, &ccRoute)
  	if err != nil {
  		return err
  	}
  
  	route.GUID = ccRoute.Metadata.GUID
  	route.Host = ccRoute.Entity.Host
  	route.Path = ccRoute.Entity.Path
  	route.Port = ccRoute.Entity.Port
  	route.DomainGUID = ccRoute.Entity.DomainGUID
  	route.SpaceGUID = ccRoute.Entity.SpaceGUID
  	return nil
  }
docs: // UnmarshalJSON helps unmarshal a Cloud Controller Route response.