Versions in this module Expand all Collapse all v0 v0.7.1 Jan 17, 2024 v0.7.0 Jan 16, 2024 Changes in this version + func ObjectType() trv.ObjectType + type Booking struct + func (x *Booking) Code() *string + func (x *Booking) Description() *string + func (x *Booking) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Deviation struct + func (x *Deviation) Code() *string + func (x *Deviation) Description() *string + func (x *Deviation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type FromLocation struct + func (x *FromLocation) LocationName() *string + func (x *FromLocation) Order() *int + func (x *FromLocation) Priority() *int + func (x *FromLocation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type OtherInformation struct + func (x *OtherInformation) Code() *string + func (x *OtherInformation) Description() *string + func (x *OtherInformation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type ProductInformation struct + func (x *ProductInformation) Code() *string + func (x *ProductInformation) Description() *string + func (x *ProductInformation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Response struct + Results []struct{ ... } + XMLName xml.Name + func (r Response) ErrorMsg() string + func (r Response) HasErrors() bool + type Service struct + func (x *Service) Code() *string + func (x *Service) Description() *string + func (x *Service) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type ToLocation struct + func (x *ToLocation) LocationName() *string + func (x *ToLocation) Order() *int + func (x *ToLocation) Priority() *int + func (x *ToLocation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type TrainAnnouncement struct + func (x *TrainAnnouncement) ActivityID() *string + func (x *TrainAnnouncement) ActivityType() *string + func (x *TrainAnnouncement) Advertised() *bool + func (x *TrainAnnouncement) AdvertisedTimeAtLocation() *time.Time + func (x *TrainAnnouncement) AdvertisedTrainIdent() *string + func (x *TrainAnnouncement) Bookings() []Booking + func (x *TrainAnnouncement) Canceled() *bool + func (x *TrainAnnouncement) Deleted() *bool + func (x *TrainAnnouncement) DepartureDateOTN() *time.Time + func (x *TrainAnnouncement) Deviations() []Deviation + func (x *TrainAnnouncement) EstimatedTimeAtLocation() *time.Time + func (x *TrainAnnouncement) EstimatedTimeIsPreliminary() *bool + func (x *TrainAnnouncement) FromLocations() []FromLocation + func (x *TrainAnnouncement) InformationOwner() *string + func (x *TrainAnnouncement) LocationDateTimeOTN() *time.Time + func (x *TrainAnnouncement) LocationSignature() *string + func (x *TrainAnnouncement) MobileWebLink() *string + func (x *TrainAnnouncement) ModifiedTime() *time.Time + func (x *TrainAnnouncement) NewEquipment() *int + func (x *TrainAnnouncement) OperationalTrainNumber() *string + func (x *TrainAnnouncement) Operator() *string + func (x *TrainAnnouncement) OtherInformation() []OtherInformation + func (x *TrainAnnouncement) PlannedEstimatedTimeAtLocation() *time.Time + func (x *TrainAnnouncement) PlannedEstimatedTimeAtLocationIsValid() *bool + func (x *TrainAnnouncement) ProductInformation() []ProductInformation + func (x *TrainAnnouncement) ScheduledDepartureDateTime() *time.Time + func (x *TrainAnnouncement) Services() []Service + func (x *TrainAnnouncement) TimeAtLocation() *time.Time + func (x *TrainAnnouncement) TimeAtLocationWithSeconds() *time.Time + func (x *TrainAnnouncement) ToLocations() []ToLocation + func (x *TrainAnnouncement) TrackAtLocation() *string + func (x *TrainAnnouncement) TrainCompositions() []TrainComposition + func (x *TrainAnnouncement) TrainOwner() *string + func (x *TrainAnnouncement) TypesOfTraffic() []TypeOfTraffic + func (x *TrainAnnouncement) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *TrainAnnouncement) ViaFromLocations() []ViaFromLocation + func (x *TrainAnnouncement) ViaToLocations() []ViaToLocation + func (x *TrainAnnouncement) WebLink() *string + func (x *TrainAnnouncement) WebLinkName() *string + type TrainComposition struct + func (x *TrainComposition) Code() *string + func (x *TrainComposition) Description() *string + func (x *TrainComposition) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type TypeOfTraffic struct + func (x *TypeOfTraffic) Code() *string + func (x *TypeOfTraffic) Description() *string + func (x *TypeOfTraffic) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type ViaFromLocation struct + func (x *ViaFromLocation) LocationName() *string + func (x *ViaFromLocation) Order() *int + func (x *ViaFromLocation) Priority() *int + func (x *ViaFromLocation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type ViaToLocation struct + func (x *ViaToLocation) LocationName() *string + func (x *ViaToLocation) Order() *int + func (x *ViaToLocation) Priority() *int + func (x *ViaToLocation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error