github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/api/cloudcontroller/ccv3/api_links.go (about) 1 package ccv3 2 3 // APILink represents a generic link from a response object. 4 type APILink struct { 5 // HREF is the fully qualified URL for the link. 6 HREF string `json:"href"` 7 Method string `json:"method"` 8 9 // Meta contains additional metadata about the API. 10 Meta struct { 11 // Version of the API 12 Version string `json:"version"` 13 } `json:"meta"` 14 } 15 16 // APILinks is a directory of follow-up urls for the resource. 17 type APILinks map[string]APILink