aboutsummaryrefslogtreecommitdiff
path: root/types/aniskip.go
blob: 0ac94c9b7492c210eb3f4891e5f7f87c81c4b174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package types

type AniskipInterval struct {
	StartTime float64 `json:"startTime"`
	EndTime   float64 `json:"endTime"`
}

type AniskipResult struct {
	Interval      AniskipInterval `json:"interval"`
	SkipType      string          `json:"skipType"`
	SkipID        string          `json:"skipId"`
	EpisodeLength float64         `json:"episodeLength"`
}

type AniskipResponse struct {
	Found   bool            `json:"found"`
	Results []AniskipResult `json:"results"`
}