ponyapi/client/go/episode.go

19 lines
401 B
Go
Raw Normal View History

2015-08-13 01:07:20 +00:00
package ponyapi
// Episode is an episode of My Little Pony: Friendship is Magic.
type Episode struct {
AirDate int `json:"air_date"`
Episode int `json:"episode"`
IsMovie bool `json:"is_movie"`
Name string `json:"name"`
Season int `json:"season"`
}
type episodeWrapper struct {
Episode *Episode `json:"episode"`
}
type episodes struct {
Episodes []*Episode `json:"episodes"`
}