pushes.go 499 B

1234567891011121314151617181920
  1. package bullet
  2. type Push struct {
  3. ID string `json:"iden"`
  4. Active bool `json:"active"`
  5. Created float64 `json:"created"`
  6. Type string `json:"type"`
  7. Title string `json:"title"`
  8. Body string `json:"body"`
  9. URL string `json:"url"`
  10. FileName string `json:"file_name"`
  11. FileType string `json:"file_type"`
  12. FileURL string `json:"file_url"`
  13. ImageURL string `json:"image_url"`
  14. }
  15. type Pushes struct {
  16. Items []Push `json:"pushes"`
  17. Cursor string `json:"cursor"`
  18. }