devices.go 364 B

123456789101112131415
  1. package bullet
  2. type Device struct {
  3. ID string `json:"iden"`
  4. Active bool `json:"active"`
  5. Icon string `json:"icon"`
  6. Nickname string `json:"nickname"`
  7. Manufacturer string `json:"manufacturer"`
  8. Model string `json:"model"`
  9. AppVersion int `json:"app_version"`
  10. }
  11. type Devices struct {
  12. Items []Device `json:"devices"`
  13. }