22 lines
512 B
Go
22 lines
512 B
Go
package defs
|
|
|
|
import "time"
|
|
|
|
// APIRecordingSegment is a recording segment.
|
|
type APIRecordingSegment struct {
|
|
Start time.Time `json:"start"`
|
|
}
|
|
|
|
// APIRecording is a recording.
|
|
type APIRecording struct {
|
|
Name string `json:"name"`
|
|
Segments []APIRecordingSegment `json:"segments"`
|
|
}
|
|
|
|
// APIRecordingList is a list of recordings.
|
|
type APIRecordingList struct {
|
|
ItemCount int `json:"itemCount"`
|
|
PageCount int `json:"pageCount"`
|
|
Items []APIRecording `json:"items"`
|
|
}
|