github.com/swisscom/cloudfoundry-cli@v7.1.0+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 indicate the desired action to be performed on the identified 8 // resource. 9 Method string `json:"method"` 10 11 // Meta contains additional metadata about the API. 12 Meta struct { 13 // Version of the API 14 Version string `json:"version"` 15 16 // Fingerprint to authenticate api with 17 HostKeyFingerprint string `json:"host_key_fingerprint"` 18 19 // Identifier for UAA queries 20 OAuthClient string `json:"oath_client"` 21 } `json:"meta"` 22 } 23 24 // APILinks is a directory of follow-up urls for the resource. 25 type APILinks map[string]APILink