Ash Wilson | b73b7f8 | 2014-08-29 15:38:06 -0400 | [diff] [blame] | 1 | package services |
| 2 | |
Ash Wilson | 2f5dd1f | 2014-09-03 14:01:37 -0400 | [diff] [blame] | 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
Ash Wilson | b73b7f8 | 2014-08-29 15:38:06 -0400 | [diff] [blame] | 5 | // ServiceResult is the result of a list or information query. |
| 6 | type ServiceResult struct { |
| 7 | Description *string `json:"description,omitempty"` |
| 8 | ID string `json:"id"` |
| 9 | Name string `json:"name"` |
| 10 | Type string `json:"type"` |
| 11 | } |
Ash Wilson | 2f5dd1f | 2014-09-03 14:01:37 -0400 | [diff] [blame] | 12 | |
| 13 | // ServiceListResult is a paged collection of Services. |
| 14 | type ServiceListResult struct { |
| 15 | gophercloud.Pagination |
| 16 | |
| 17 | Services []ServiceResult `json:"services"` |
| 18 | } |