Include types from gonavitia/navitia
This commit is contained in:
parent
82769f923e
commit
24b1102761
157 changed files with 26062 additions and 116 deletions
13
types/impactedObject.go
Normal file
13
types/impactedObject.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package types
|
||||
|
||||
// An ImpactedObject describes a PTObject impacted by a Disruption with some additional info.
|
||||
type ImpactedObject struct {
|
||||
// The impacted public transport object
|
||||
Object Container `json:"pt_object"`
|
||||
|
||||
// Only for line section impact, the impacted section
|
||||
ImpactedSection ImpactedSection `json:"impacted_section"`
|
||||
|
||||
// Only for Trip delay, the list of delays, stop by stop
|
||||
ImpactedStops []ImpactedStop `json:"impacted_stops"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue