Samuel A. Falvo II | bc0d54a | 2013-07-08 14:45:21 -0700 | [diff] [blame^] | 1 | package gophercloud |
2 | |||||
3 | // ImageLink provides a reference to a image by either ID or by direct URL. | ||||
4 | // Some services use just the ID, others use just the URL. | ||||
5 | // This structure provides a common means of expressing both in a single field. | ||||
6 | type ImageLink struct { | ||||
7 | Id string `json:"id"` | ||||
8 | Links []Link `json:"links"` | ||||
9 | } |