siri

package
Version: v0.0.0-...-736bee3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSiriError

func NewSiriError(message string) error

func NewSiriErrorWithCode

func NewSiriErrorWithCode(errCode, message string) error

Types

type Bool

type Bool struct {
	Value   bool
	Defined bool // Valid is true if Bool is not NULL
}

func (*Bool) Parse

func (b *Bool) Parse(value string)

func (*Bool) SetValue

func (b *Bool) SetValue(value bool)

type DeliveryXMLStructure

type DeliveryXMLStructure struct {
	LightDeliveryXMLStructure
	// contains filtered or unexported fields
}

func (*DeliveryXMLStructure) RequestMessageRef

func (delivery *DeliveryXMLStructure) RequestMessageRef() string

type ErrorCondition

type ErrorCondition struct {
	ErrorType   string
	ErrorNumber int
	ErrorText   string
}

func (*ErrorCondition) MarshalJson

func (ec *ErrorCondition) MarshalJson() ([]byte, error)

type FramedVehicleJourneyRef

type FramedVehicleJourneyRef struct {
	DataFrameRef           string
	DatedVehicleJourneyRef string
}

type IDFGeneralMessageStructure

type IDFGeneralMessageStructure struct {
	XMLStructure
	// contains filtered or unexported fields
}

func (*IDFGeneralMessageStructure) DestinationRef

func (visit *IDFGeneralMessageStructure) DestinationRef() []string

func (*IDFGeneralMessageStructure) GroupOfLinesRef

func (visit *IDFGeneralMessageStructure) GroupOfLinesRef() []string

func (*IDFGeneralMessageStructure) JourneyPatternRef

func (visit *IDFGeneralMessageStructure) JourneyPatternRef() []string

func (*IDFGeneralMessageStructure) LineRef

func (visit *IDFGeneralMessageStructure) LineRef() []string

func (*IDFGeneralMessageStructure) LineSections

func (visit *IDFGeneralMessageStructure) LineSections() []*IDFLineSectionStructure

func (*IDFGeneralMessageStructure) Messages

func (visit *IDFGeneralMessageStructure) Messages() []*XMLMessage

func (*IDFGeneralMessageStructure) RouteRef

func (visit *IDFGeneralMessageStructure) RouteRef() []string

func (*IDFGeneralMessageStructure) StopPointRef

func (visit *IDFGeneralMessageStructure) StopPointRef() []string

type IDFLineSectionStructure

type IDFLineSectionStructure struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLLineSection

func NewXMLLineSection(node XMLNode) *IDFLineSectionStructure

func (*IDFLineSectionStructure) FirstStop

func (visit *IDFLineSectionStructure) FirstStop() string

func (*IDFLineSectionStructure) LastStop

func (visit *IDFLineSectionStructure) LastStop() string

func (*IDFLineSectionStructure) LineRef

func (visit *IDFLineSectionStructure) LineRef() string

type LightDeliveryXMLStructure

type LightDeliveryXMLStructure struct {
	XMLStatus
	// contains filtered or unexported fields
}

func (*LightDeliveryXMLStructure) ResponseTimestamp

func (delivery *LightDeliveryXMLStructure) ResponseTimestamp() time.Time

type LightRequestXMLStructure

type LightRequestXMLStructure struct {
	XMLStructure
	// contains filtered or unexported fields
}

func (*LightRequestXMLStructure) MessageIdentifier

func (request *LightRequestXMLStructure) MessageIdentifier() string

func (*LightRequestXMLStructure) RequestTimestamp

func (request *LightRequestXMLStructure) RequestTimestamp() time.Time

type LightSubscriptionDeliveryXMLStructure

type LightSubscriptionDeliveryXMLStructure struct {
	LightDeliveryXMLStructure
	// contains filtered or unexported fields
}

func (*LightSubscriptionDeliveryXMLStructure) SubscriberRef

func (delivery *LightSubscriptionDeliveryXMLStructure) SubscriberRef() string

func (*LightSubscriptionDeliveryXMLStructure) SubscriptionRef

func (delivery *LightSubscriptionDeliveryXMLStructure) SubscriptionRef() string

type LightXMLStopMonitoringRequest

type LightXMLStopMonitoringRequest struct {
	LightRequestXMLStructure
	// contains filtered or unexported fields
}

func (*LightXMLStopMonitoringRequest) LineRef

func (request *LightXMLStopMonitoringRequest) LineRef() string

func (*LightXMLStopMonitoringRequest) MaximumStopVisits

func (request *LightXMLStopMonitoringRequest) MaximumStopVisits() int

func (*LightXMLStopMonitoringRequest) MonitoringRef

func (request *LightXMLStopMonitoringRequest) MonitoringRef() string

func (*LightXMLStopMonitoringRequest) StopVisitTypes

func (request *LightXMLStopMonitoringRequest) StopVisitTypes() string

type MonitoredVehicleJourney

type MonitoredVehicleJourney struct {
	LineRef                 string                   `json:",omitempty"`
	FramedVehicleJourneyRef *FramedVehicleJourneyRef `json:",omitempty"`
	PublishedLineName       string                   `json:",omitempty"`
	DirectionName           string                   `json:",omitempty"`
	OriginRef               string                   `json:",omitempty"`
	OriginName              string                   `json:",omitempty"`
	DestinationRef          string                   `json:",omitempty"`
	DestinationName         string                   `json:",omitempty"`
	Monitored               bool
	Delay                   *time.Time `json:",omitempty"`
	Bearing                 float64
	VehicleLocation         *VehicleLocation
}

type RequestXMLStructure

type RequestXMLStructure struct {
	LightRequestXMLStructure
	// contains filtered or unexported fields
}

func (*RequestXMLStructure) RequestorRef

func (request *RequestXMLStructure) RequestorRef() string

type ResponseXMLStructure

type ResponseXMLStructure struct {
	XMLStructure
	// contains filtered or unexported fields
}

func (*ResponseXMLStructure) Address

func (response *ResponseXMLStructure) Address() string

func (*ResponseXMLStructure) ProducerRef

func (response *ResponseXMLStructure) ProducerRef() string

func (*ResponseXMLStructure) RequestMessageRef

func (response *ResponseXMLStructure) RequestMessageRef() string

func (*ResponseXMLStructure) ResponseMessageIdentifier

func (response *ResponseXMLStructure) ResponseMessageIdentifier() string

func (*ResponseXMLStructure) ResponseTimestamp

func (response *ResponseXMLStructure) ResponseTimestamp() time.Time

type ResponseXMLStructureWithStatus

type ResponseXMLStructureWithStatus struct {
	DeliveryXMLStructure // To avoid code duplication as much as possible
	// contains filtered or unexported fields
}

func (*ResponseXMLStructureWithStatus) Address

func (response *ResponseXMLStructureWithStatus) Address() string

func (*ResponseXMLStructureWithStatus) ProducerRef

func (response *ResponseXMLStructureWithStatus) ProducerRef() string

func (*ResponseXMLStructureWithStatus) ResponseMessageIdentifier

func (response *ResponseXMLStructureWithStatus) ResponseMessageIdentifier() string

type RootXMLNode

type RootXMLNode struct {
	// contains filtered or unexported fields
}

func (*RootXMLNode) Free

func (node *RootXMLNode) Free()

func (*RootXMLNode) NativeNode

func (node *RootXMLNode) NativeNode() xml.Node

type SIRIAnnotatedLine

type SIRIAnnotatedLine struct {
	LineRef   string
	LineName  string
	Monitored bool
}

type SIRIAnnotatedLineByLineRef

type SIRIAnnotatedLineByLineRef []*SIRIAnnotatedLine

func (SIRIAnnotatedLineByLineRef) Len

func (SIRIAnnotatedLineByLineRef) Less

func (a SIRIAnnotatedLineByLineRef) Less(i, j int) bool

func (SIRIAnnotatedLineByLineRef) Swap

func (a SIRIAnnotatedLineByLineRef) Swap(i, j int)

type SIRIAnnotatedStopPoint

type SIRIAnnotatedStopPoint struct {
	StopPointRef string
	StopName     string
	Lines        []string
	Monitored    bool
	TimingPoint  bool
}

type SIRIAnnotatedStopPointByStopPointRef

type SIRIAnnotatedStopPointByStopPointRef []*SIRIAnnotatedStopPoint

func (SIRIAnnotatedStopPointByStopPointRef) Len

func (SIRIAnnotatedStopPointByStopPointRef) Less

func (SIRIAnnotatedStopPointByStopPointRef) Swap

type SIRICancelledStopVisit

type SIRICancelledStopVisit struct {
	RecordedAtTime         time.Time
	ItemRef                string
	MonitoringRef          string
	LineRef                string
	DataFrameRef           string
	DatedVehicleJourneyRef string
	PublishedLineName      string
}

func (*SIRICancelledStopVisit) BuildCancelledStopVisitXML

func (stopVisit *SIRICancelledStopVisit) BuildCancelledStopVisitXML() (string, error)

type SIRICheckStatusRequest

type SIRICheckStatusRequest struct {
	MessageIdentifier string
	RequestorRef      string
	RequestTimestamp  time.Time
}

func NewSIRICheckStatusRequest

func NewSIRICheckStatusRequest(
	RequestorRef string,
	RequestTimestamp time.Time,
	MessageIdentifier string) *SIRICheckStatusRequest

func (*SIRICheckStatusRequest) BuildXML

func (request *SIRICheckStatusRequest) BuildXML(envelopeType ...string) (string, error)

TODO : Handle errors

type SIRICheckStatusResponse

type SIRICheckStatusResponse struct {
	Address                   string
	ProducerRef               string
	RequestMessageRef         string
	ResponseMessageIdentifier string
	Status                    bool
	ErrorType                 string
	ErrorNumber               int
	ErrorText                 string
	ResponseTimestamp         time.Time
	ServiceStartedTime        time.Time
}

func NewSIRICheckStatusResponse

func NewSIRICheckStatusResponse(
	address string,
	producerRef string,
	requestMessageRef string,
	responseMessageIdentifier string,
	status bool,
	errorType string,
	errorNumber int,
	errorText string,
	responseTimestamp time.Time,
	serviceStartedTime time.Time) *SIRICheckStatusResponse

func (*SIRICheckStatusResponse) BuildXML

func (response *SIRICheckStatusResponse) BuildXML(envelopeType ...string) (string, error)

TODO : Handle errors

type SIRIDatedCall

type SIRIDatedCall struct {
	StopPointRef       string
	StopPointName      string
	DestinationDisplay string
	VisitNumber        string

	AimedArrivalTime   time.Time
	AimedDepartureTime time.Time
}

type SIRIDatedTimetableVersionFrame

type SIRIDatedTimetableVersionFrame struct {
	LineRef        string
	RecordedAtTime time.Time

	Attributes map[string]string

	DatedVehicleJourneys []*SIRIDatedVehicleJourney
}

func (*SIRIDatedTimetableVersionFrame) BuildDatedTimetableVersionFrameXML

func (frame *SIRIDatedTimetableVersionFrame) BuildDatedTimetableVersionFrameXML() (string, error)

func (*SIRIDatedTimetableVersionFrame) BuildDatedTimetableVersionFrameXMLRaw

func (frame *SIRIDatedTimetableVersionFrame) BuildDatedTimetableVersionFrameXMLRaw() (string, error)

type SIRIDatedVehicleJourney

type SIRIDatedVehicleJourney struct {
	DataFrameRef           string
	DatedVehicleJourneyRef string
	PublishedLineName      string

	Attributes map[string]string
	References map[string]string

	DatedCalls []*SIRIDatedCall
}

type SIRIDeleteSubscriptionRequest

type SIRIDeleteSubscriptionRequest struct {
	RequestorRef     string
	RequestTimestamp time.Time

	MessageIdentifier string
	SubscriptionRef   string
	CancelAll         bool
}

func (*SIRIDeleteSubscriptionRequest) BuildXML

func (request *SIRIDeleteSubscriptionRequest) BuildXML(envelopeType ...string) (string, error)

type SIRIDeleteSubscriptionResponse

type SIRIDeleteSubscriptionResponse struct {
	ResponderRef      string
	RequestMessageRef string
	ResponseTimestamp time.Time

	ResponseStatus []*SIRITerminationResponseStatus
}

func (*SIRIDeleteSubscriptionResponse) BuildXML

func (notify *SIRIDeleteSubscriptionResponse) BuildXML(envelopeType ...string) (string, error)

type SIRIEstimatedCall

type SIRIEstimatedCall struct {
	ArrivalStatus      string
	DepartureStatus    string
	StopPointRef       string
	StopPointName      string
	DestinationDisplay string

	VehicleAtStop bool

	Order int

	AimedArrivalTime    time.Time
	ExpectedArrivalTime time.Time

	AimedDepartureTime    time.Time
	ExpectedDepartureTime time.Time
}

type SIRIEstimatedJourneyVersionFrame

type SIRIEstimatedJourneyVersionFrame struct {
	RecordedAtTime time.Time

	EstimatedVehicleJourneys []*SIRIEstimatedVehicleJourney
}

func (*SIRIEstimatedJourneyVersionFrame) BuildEstimatedJourneyVersionFrameXML

func (frame *SIRIEstimatedJourneyVersionFrame) BuildEstimatedJourneyVersionFrameXML() (string, error)

func (*SIRIEstimatedJourneyVersionFrame) BuildEstimatedJourneyVersionFrameXMLRaw

func (frame *SIRIEstimatedJourneyVersionFrame) BuildEstimatedJourneyVersionFrameXMLRaw() (string, error)

type SIRIEstimatedTimeTableResponse

type SIRIEstimatedTimeTableResponse struct {
	SIRIEstimatedTimetableDelivery

	Address                   string
	ProducerRef               string
	ResponseMessageIdentifier string
}

func (*SIRIEstimatedTimeTableResponse) BuildXML

func (response *SIRIEstimatedTimeTableResponse) BuildXML(envelopeType ...string) (string, error)

type SIRIEstimatedTimetableDelivery

type SIRIEstimatedTimetableDelivery struct {
	RequestMessageRef string

	ResponseTimestamp time.Time

	Status      bool
	ErrorType   string
	ErrorNumber int
	ErrorText   string

	EstimatedJourneyVersionFrames []*SIRIEstimatedJourneyVersionFrame
}

func (*SIRIEstimatedTimetableDelivery) BuildEstimatedTimetableDeliveryXML

func (delivery *SIRIEstimatedTimetableDelivery) BuildEstimatedTimetableDeliveryXML() (string, error)

func (*SIRIEstimatedTimetableDelivery) BuildEstimatedTimetableDeliveryXMLRaw

func (delivery *SIRIEstimatedTimetableDelivery) BuildEstimatedTimetableDeliveryXMLRaw() (string, error)

func (*SIRIEstimatedTimetableDelivery) ErrorString

func (delivery *SIRIEstimatedTimetableDelivery) ErrorString() string

type SIRIEstimatedVehicleJourney

type SIRIEstimatedVehicleJourney struct {
	LineRef                string
	DatedVehicleJourneyRef string

	Attributes map[string]string
	References map[string]string

	EstimatedCalls []*SIRIEstimatedCall
}

type SIRIGeneralMessage

type SIRIGeneralMessage struct {
	RecordedAtTime        time.Time
	ValidUntilTime        time.Time
	ItemIdentifier        string
	InfoMessageIdentifier string
	FormatRef             string
	InfoMessageVersion    int
	InfoChannelRef        string

	References   []*SIRIReference
	LineSections []*SIRILineSection
	Messages     []*SIRIMessage
}

func (*SIRIGeneralMessage) BuildGeneralMessageXML

func (message *SIRIGeneralMessage) BuildGeneralMessageXML() (string, error)

type SIRIGeneralMessageDelivery

type SIRIGeneralMessageDelivery struct {
	RequestMessageRef string

	ResponseTimestamp time.Time

	Status      bool
	ErrorType   string
	ErrorNumber int
	ErrorText   string

	GeneralMessages []*SIRIGeneralMessage
}

func (*SIRIGeneralMessageDelivery) BuildGeneralMessageDeliveryXML

func (delivery *SIRIGeneralMessageDelivery) BuildGeneralMessageDeliveryXML() (string, error)

func (*SIRIGeneralMessageDelivery) ErrorString

func (delivery *SIRIGeneralMessageDelivery) ErrorString() string

type SIRIGeneralMessageRequest

type SIRIGeneralMessageRequest struct {
	XsdInWsdl bool

	MessageIdentifier string

	RequestTimestamp time.Time

	InfoChannelRef []string

	LineRef           []string
	StopPointRef      []string
	JourneyPatternRef []string
	DestinationRef    []string
	RouteRef          []string
	GroupOfLinesRef   []string
}

func (*SIRIGeneralMessageRequest) BuildGeneralMessageRequestXML

func (request *SIRIGeneralMessageRequest) BuildGeneralMessageRequestXML() (string, error)

type SIRIGeneralMessageResponse

type SIRIGeneralMessageResponse struct {
	SIRIGeneralMessageDelivery

	Address                   string
	ProducerRef               string
	ResponseMessageIdentifier string
}

func (*SIRIGeneralMessageResponse) BuildXML

func (response *SIRIGeneralMessageResponse) BuildXML(envelopeType ...string) (string, error)

type SIRIGeneralMessageSubscriptionRequest

type SIRIGeneralMessageSubscriptionRequest struct {
	ConsumerAddress   string
	MessageIdentifier string
	RequestorRef      string
	RequestTimestamp  time.Time

	Entries []*SIRIGeneralMessageSubscriptionRequestEntry
}

func (*SIRIGeneralMessageSubscriptionRequest) BuildXML

func (request *SIRIGeneralMessageSubscriptionRequest) BuildXML(envelopeType ...string) (string, error)

type SIRIGeneralMessageSubscriptionRequestEntry

type SIRIGeneralMessageSubscriptionRequestEntry struct {
	SIRIGeneralMessageRequest

	SubscriberRef          string
	SubscriptionIdentifier string

	InitialTerminationTime time.Time
}

type SIRIGetGeneralMessageRequest

type SIRIGetGeneralMessageRequest struct {
	SIRIGeneralMessageRequest

	RequestorRef string
}

func NewSIRIGeneralMessageRequest

func NewSIRIGeneralMessageRequest(
	messageIdentifier,
	requestorRef string,
	requestTimestamp time.Time) *SIRIGetGeneralMessageRequest

func (*SIRIGetGeneralMessageRequest) BuildXML

func (request *SIRIGetGeneralMessageRequest) BuildXML(envelopeType ...string) (string, error)

type SIRIGetStopMonitoringRequest

type SIRIGetStopMonitoringRequest struct {
	SIRIStopMonitoringRequest

	RequestorRef string
}

func NewSIRIGetStopMonitoringRequest

func NewSIRIGetStopMonitoringRequest(
	messageIdentifier,
	monitoringRef,
	requestorRef string,
	requestTimestamp time.Time) *SIRIGetStopMonitoringRequest

func (*SIRIGetStopMonitoringRequest) BuildXML

func (request *SIRIGetStopMonitoringRequest) BuildXML(envelopeType ...string) (string, error)

type SIRIGetVehicleMonitoringRequest

type SIRIGetVehicleMonitoringRequest struct {
	SIRIVehicleMonitoringRequest

	RequestorRef string
}

func NewSIRIGetVehicleMonitoringRequest

func NewSIRIGetVehicleMonitoringRequest() *SIRIGetVehicleMonitoringRequest

func (*SIRIGetVehicleMonitoringRequest) BuildXML

func (request *SIRIGetVehicleMonitoringRequest) BuildXML(envelopeType ...string) (string, error)

type SIRILineSection

type SIRILineSection struct {
	FirstStop string
	LastStop  string
	LineRef   string
}

type SIRILinesDiscoveryResponse

type SIRILinesDiscoveryResponse struct {
	Status            bool
	ResponseTimestamp time.Time

	AnnotatedLines []*SIRIAnnotatedLine
}

func (*SIRILinesDiscoveryResponse) BuildXML

func (response *SIRILinesDiscoveryResponse) BuildXML(envelopeType ...string) (string, error)

type SIRIMessage

type SIRIMessage struct {
	Content             string
	Type                string
	NumberOfLines       int
	NumberOfCharPerLine int
}

type SIRIMonitoredStopVisit

type SIRIMonitoredStopVisit struct {
	ItemIdentifier         string
	MonitoringRef          string
	StopPointRef           string
	StopPointName          string
	DatedVehicleJourneyRef string
	LineRef                string
	PublishedLineName      string
	DepartureStatus        string
	ArrivalStatus          string
	VehicleJourneyName     string
	OriginName             string
	DestinationName        string
	StopAreaObjectId       string
	DataFrameRef           string

	VehicleAtStop bool
	Monitored     bool

	Order int

	AimedArrivalTime    time.Time
	ExpectedArrivalTime time.Time
	ActualArrivalTime   time.Time

	RecordedAt            time.Time
	AimedDepartureTime    time.Time
	ExpectedDepartureTime time.Time
	ActualDepartureTime   time.Time

	Attributes map[string]map[string]string
	References map[string]map[string]string
}

func (*SIRIMonitoredStopVisit) BuildMonitoredStopVisitXML

func (stopVisit *SIRIMonitoredStopVisit) BuildMonitoredStopVisitXML() (string, error)

type SIRINotifyEstimatedTimeTable

type SIRINotifyEstimatedTimeTable struct {
	Address                   string
	RequestMessageRef         string
	ProducerRef               string
	ResponseMessageIdentifier string
	SubscriberRef             string
	SubscriptionIdentifier    string

	ResponseTimestamp time.Time
	Status            bool
	ErrorType         string
	ErrorNumber       int
	ErrorText         string

	EstimatedJourneyVersionFrames []*SIRIEstimatedJourneyVersionFrame
}

func (*SIRINotifyEstimatedTimeTable) BuildXML

func (notify *SIRINotifyEstimatedTimeTable) BuildXML(envelopeType ...string) (string, error)

func (*SIRINotifyEstimatedTimeTable) ErrorString

func (notify *SIRINotifyEstimatedTimeTable) ErrorString() string

type SIRINotifyGeneralMessage

type SIRINotifyGeneralMessage struct {
	Address                   string
	ProducerRef               string
	RequestMessageRef         string
	ResponseMessageIdentifier string
	SubscriberRef             string
	SubscriptionIdentifier    string

	ResponseTimestamp time.Time

	Status      bool
	ErrorType   string
	ErrorNumber int
	ErrorText   string

	GeneralMessages []*SIRIGeneralMessage
}

func (*SIRINotifyGeneralMessage) BuildXML

func (notify *SIRINotifyGeneralMessage) BuildXML(envelopeType ...string) (string, error)

func (*SIRINotifyGeneralMessage) ErrorString

func (notify *SIRINotifyGeneralMessage) ErrorString() string

type SIRINotifyProductionTimeTable

type SIRINotifyProductionTimeTable struct {
	ProducerRef            string
	SubscriptionIdentifier string

	ResponseTimestamp time.Time
	Status            bool
	ErrorType         string
	ErrorNumber       int
	ErrorText         string

	DatedTimetableVersionFrames []*SIRIDatedTimetableVersionFrame
}

func (*SIRINotifyProductionTimeTable) BuildXML

func (notify *SIRINotifyProductionTimeTable) BuildXML(envelopeType ...string) (string, error)

func (*SIRINotifyProductionTimeTable) ErrorString

func (notify *SIRINotifyProductionTimeTable) ErrorString() string

type SIRINotifyStopMonitoring

type SIRINotifyStopMonitoring struct {
	Address                   string
	ProducerRef               string
	RequestMessageRef         string
	ResponseMessageIdentifier string
	ResponseTimestamp         time.Time

	Deliveries []*SIRINotifyStopMonitoringDelivery
}

func (*SIRINotifyStopMonitoring) BuildXML

func (notify *SIRINotifyStopMonitoring) BuildXML(envelopeType ...string) (string, error)

type SIRINotifyStopMonitoringDelivery

type SIRINotifyStopMonitoringDelivery struct {
	MonitoringRef          string
	RequestMessageRef      string
	SubscriberRef          string
	SubscriptionIdentifier string
	ResponseTimestamp      time.Time

	Status      bool
	ErrorType   string
	ErrorNumber int
	ErrorText   string

	MonitoredStopVisits []*SIRIMonitoredStopVisit
	CancelledStopVisits []*SIRICancelledStopVisit
}

func (*SIRINotifyStopMonitoringDelivery) BuildNotifyStopMonitoringDeliveryXML

func (delivery *SIRINotifyStopMonitoringDelivery) BuildNotifyStopMonitoringDeliveryXML() (string, error)

func (*SIRINotifyStopMonitoringDelivery) ErrorString

func (delivery *SIRINotifyStopMonitoringDelivery) ErrorString() string

type SIRIReference

type SIRIReference struct {
	Kind string
	Id   string
}

type SIRIResponseStatus

type SIRIResponseStatus struct {
	RequestMessageRef string
	SubscriberRef     string
	SubscriptionRef   string

	Status      bool
	ErrorType   string
	ErrorNumber int
	ErrorText   string

	ResponseTimestamp time.Time
	ValidUntil        time.Time
}

type SIRIServiceResponse

type SIRIServiceResponse struct {
	ProducerRef               string
	ResponseMessageIdentifier string
	RequestMessageRef         string
	Status                    bool

	ResponseTimestamp time.Time

	StopMonitoringDeliveries     []*SIRIStopMonitoringDelivery
	GeneralMessageDeliveries     []*SIRIGeneralMessageDelivery
	EstimatedTimetableDeliveries []*SIRIEstimatedTimetableDelivery
}

func (*SIRIServiceResponse) BuildXML

func (response *SIRIServiceResponse) BuildXML(envelopeType ...string) (string, error)

type SIRIStopMonitoringDelivery

type SIRIStopMonitoringDelivery struct {
	RequestMessageRef string
	Status            bool
	ErrorType         string
	ErrorNumber       int
	ErrorText         string
	ResponseTimestamp time.Time
	MonitoringRef     string

	MonitoredStopVisits []*SIRIMonitoredStopVisit
	CancelledStopVisits []*SIRICancelledStopVisit
}

func (*SIRIStopMonitoringDelivery) BuildStopMonitoringDeliveryXML

func (delivery *SIRIStopMonitoringDelivery) BuildStopMonitoringDeliveryXML() (string, error)

func (*SIRIStopMonitoringDelivery) ErrorString

func (delivery *SIRIStopMonitoringDelivery) ErrorString() string

type SIRIStopMonitoringRequest

type SIRIStopMonitoringRequest struct {
	MessageIdentifier string
	MonitoringRef     string
	StopVisitTypes    string

	RequestTimestamp time.Time
}

func (*SIRIStopMonitoringRequest) BuildStopMonitoringRequestXML

func (request *SIRIStopMonitoringRequest) BuildStopMonitoringRequestXML() (string, error)

type SIRIStopMonitoringResponse

type SIRIStopMonitoringResponse struct {
	SIRIStopMonitoringDelivery

	Address                   string
	ProducerRef               string
	ResponseMessageIdentifier string
}

func (*SIRIStopMonitoringResponse) BuildXML

func (response *SIRIStopMonitoringResponse) BuildXML(envelopeType ...string) (string, error)

type SIRIStopMonitoringSubscriptionRequest

type SIRIStopMonitoringSubscriptionRequest struct {
	ConsumerAddress   string
	MessageIdentifier string
	RequestorRef      string
	RequestTimestamp  time.Time

	Entries []*SIRIStopMonitoringSubscriptionRequestEntry
}

func (*SIRIStopMonitoringSubscriptionRequest) BuildXML

func (request *SIRIStopMonitoringSubscriptionRequest) BuildXML(envelopeType ...string) (string, error)

type SIRIStopMonitoringSubscriptionRequestEntry

type SIRIStopMonitoringSubscriptionRequestEntry struct {
	SIRIStopMonitoringRequest

	SubscriberRef          string
	SubscriptionIdentifier string

	InitialTerminationTime time.Time
}

type SIRIStopPointsDiscoveryRequest

type SIRIStopPointsDiscoveryRequest struct {
	MessageIdentifier string
	RequestorRef      string

	RequestTimestamp time.Time
}

func NewSIRIStopPointsDiscoveryRequest

func NewSIRIStopPointsDiscoveryRequest(messageIdentifier, requestorRef string, requestTimestamp time.Time) *SIRIStopPointsDiscoveryRequest

func (*SIRIStopPointsDiscoveryRequest) BuildXML

func (request *SIRIStopPointsDiscoveryRequest) BuildXML(envelopeType ...string) (string, error)

type SIRIStopPointsDiscoveryResponse

type SIRIStopPointsDiscoveryResponse struct {
	Status            bool
	ResponseTimestamp time.Time

	AnnotatedStopPoints []*SIRIAnnotatedStopPoint
}

func (*SIRIStopPointsDiscoveryResponse) BuildXML

func (response *SIRIStopPointsDiscoveryResponse) BuildXML(envelopeType ...string) (string, error)

type SIRISubscriptionResponse

type SIRISubscriptionResponse struct {
	Address           string
	ResponderRef      string
	RequestMessageRef string

	ResponseTimestamp  time.Time
	ServiceStartedTime time.Time

	ResponseStatus []SIRIResponseStatus
}

func (*SIRISubscriptionResponse) BuildXML

func (response *SIRISubscriptionResponse) BuildXML(envelopeType ...string) (string, error)

type SIRITerminationResponseStatus

type SIRITerminationResponseStatus struct {
	SubscriberRef     string
	SubscriptionRef   string
	ResponseTimestamp time.Time

	Status      bool
	ErrorType   string
	ErrorNumber string
	ErrorText   string
}

type SIRIVehicleMonitoringRequest

type SIRIVehicleMonitoringRequest struct {
	MessageIdentifier string
	LineRef           string

	RequestTimestamp time.Time
}

func (*SIRIVehicleMonitoringRequest) BuildVehicleMonitoringRequestXML

func (request *SIRIVehicleMonitoringRequest) BuildVehicleMonitoringRequestXML() (string, error)

type ServiceDelivery

type ServiceDelivery struct {
	ResponseTimestamp         time.Time                  `json:",omitempty"`
	ProducerRef               string                     `json:",omitempty"`
	ResponseMessageIdentifier string                     `json:",omitempty"`
	RequestMessageRef         string                     `json:",omitempty"`
	VehicleMonitoringDelivery *VehicleMonitoringDelivery `json:",omitempty"`
}

type SiriError

type SiriError struct {
	// contains filtered or unexported fields
}

Handle SIRI CRITICAL errors

func (*SiriError) ErrCode

func (e *SiriError) ErrCode() string

func (*SiriError) Error

func (e *SiriError) Error() string

func (*SiriError) FullMessage

func (e *SiriError) FullMessage() string

type SiriLiteResponse

type SiriLiteResponse struct {
	Siri *SiriLiteResponseSubstructure
}

func NewSiriLiteResponse

func NewSiriLiteResponse() *SiriLiteResponse

type SiriLiteResponseSubstructure

type SiriLiteResponseSubstructure struct {
	ServiceDelivery *ServiceDelivery
}

type SubXMLNode

type SubXMLNode struct {
	// contains filtered or unexported fields
}

func NewSubXMLNode

func NewSubXMLNode(nativeNode xml.Node) *SubXMLNode

func (*SubXMLNode) NativeNode

func (node *SubXMLNode) NativeNode() xml.Node

type SubscriptionDeliveryXMLStructure

type SubscriptionDeliveryXMLStructure struct {
	LightSubscriptionDeliveryXMLStructure
	// contains filtered or unexported fields
}

func (*SubscriptionDeliveryXMLStructure) RequestMessageRef

func (delivery *SubscriptionDeliveryXMLStructure) RequestMessageRef() string

type VehicleActivity

type VehicleActivity struct {
	RecordedAtTime          time.Time                `json:",omitempty"`
	ValidUntilTime          time.Time                `json:",omitempty"`
	VehicleMonitoringRef    string                   `json:",omitempty"`
	MonitoredVehicleJourney *MonitoredVehicleJourney `json:",omitempty"`
}

func NewSiriLiteVehicleActivity

func NewSiriLiteVehicleActivity() *VehicleActivity

type VehicleLocation

type VehicleLocation struct {
	Coordinates string  `json:",omitempty"`
	Longitude   float64 `json:",omitempty"`
	Latitude    float64 `json:",omitempty"`
}

type VehicleMonitoringDelivery

type VehicleMonitoringDelivery struct {
	Version           string
	ResponseTimestamp time.Time `json:",omitempty"`
	RequestMessageRef string    `json:",omitempty"`
	Status            bool
	ErrorCondition    *ErrorCondition `json:",omitempty"`
	VehicleActivity   []*VehicleActivity
}

func NewSiriLiteVehicleMonitoringDelivery

func NewSiriLiteVehicleMonitoringDelivery() *VehicleMonitoringDelivery

type XMLAnnotatedStopPointRef

type XMLAnnotatedStopPointRef struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLAnnotatedStopPointRef

func NewXMLAnnotatedStopPointRef(node XMLNode) *XMLAnnotatedStopPointRef

func (*XMLAnnotatedStopPointRef) LineRefs

func (annotatedStopPoint *XMLAnnotatedStopPointRef) LineRefs() []string

func (*XMLAnnotatedStopPointRef) Monitored

func (annotatedStopPoint *XMLAnnotatedStopPointRef) Monitored() bool

func (*XMLAnnotatedStopPointRef) StopName

func (annotatedStopPoint *XMLAnnotatedStopPointRef) StopName() string

func (*XMLAnnotatedStopPointRef) StopPointRef

func (annotatedStopPoint *XMLAnnotatedStopPointRef) StopPointRef() string

type XMLCheckStatusRequest

type XMLCheckStatusRequest struct {
	RequestXMLStructure
}

func NewXMLCheckStatusRequest

func NewXMLCheckStatusRequest(node xml.Node) *XMLCheckStatusRequest

func NewXMLCheckStatusRequestFromContent

func NewXMLCheckStatusRequestFromContent(content []byte) (*XMLCheckStatusRequest, error)

type XMLCheckStatusResponse

type XMLCheckStatusResponse struct {
	ResponseXMLStructureWithStatus
	// contains filtered or unexported fields
}

func NewXMLCheckStatusResponse

func NewXMLCheckStatusResponse(node xml.Node) *XMLCheckStatusResponse

func NewXMLCheckStatusResponseFromContent

func NewXMLCheckStatusResponseFromContent(content []byte) (*XMLCheckStatusResponse, error)

func (*XMLCheckStatusResponse) ErrorString

func (response *XMLCheckStatusResponse) ErrorString() string

func (*XMLCheckStatusResponse) ServiceStartedTime

func (response *XMLCheckStatusResponse) ServiceStartedTime() time.Time

type XMLDeleteSubscriptionRequest

type XMLDeleteSubscriptionRequest struct {
	RequestXMLStructure
	// contains filtered or unexported fields
}

func NewXMLDeleteSubscriptionRequest

func NewXMLDeleteSubscriptionRequest(node xml.Node) *XMLDeleteSubscriptionRequest

func NewXMLDeleteSubscriptionRequestFromContent

func NewXMLDeleteSubscriptionRequestFromContent(content []byte) (*XMLDeleteSubscriptionRequest, error)

func (*XMLDeleteSubscriptionRequest) CancelAll

func (request *XMLDeleteSubscriptionRequest) CancelAll() bool

func (*XMLDeleteSubscriptionRequest) SubscriptionRef

func (request *XMLDeleteSubscriptionRequest) SubscriptionRef() string

type XMLDeleteSubscriptionResponse

type XMLDeleteSubscriptionResponse struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLDeleteSubscriptionResponse

func NewXMLDeleteSubscriptionResponse(node xml.Node) *XMLDeleteSubscriptionResponse

func NewXMLDeleteSubscriptionResponseFromContent

func NewXMLDeleteSubscriptionResponseFromContent(content []byte) (*XMLDeleteSubscriptionResponse, error)

func (*XMLDeleteSubscriptionResponse) RequestMessageRef

func (response *XMLDeleteSubscriptionResponse) RequestMessageRef() string

func (*XMLDeleteSubscriptionResponse) ResponderRef

func (response *XMLDeleteSubscriptionResponse) ResponderRef() string

func (*XMLDeleteSubscriptionResponse) ResponseStatus

func (response *XMLDeleteSubscriptionResponse) ResponseStatus() []*XMLTerminationResponseStatus

func (*XMLDeleteSubscriptionResponse) ResponseTimestamp

func (response *XMLDeleteSubscriptionResponse) ResponseTimestamp() time.Time

type XMLEstimatedTimetableRequest

type XMLEstimatedTimetableRequest struct {
	LightRequestXMLStructure
	// contains filtered or unexported fields
}

func (*XMLEstimatedTimetableRequest) Lines

func (request *XMLEstimatedTimetableRequest) Lines() []string

func (*XMLEstimatedTimetableRequest) PreviewInterval

func (request *XMLEstimatedTimetableRequest) PreviewInterval() time.Duration

func (*XMLEstimatedTimetableRequest) StartTime

func (request *XMLEstimatedTimetableRequest) StartTime() time.Time

type XMLEstimatedTimetableSubscriptionRequestEntry

type XMLEstimatedTimetableSubscriptionRequestEntry struct {
	XMLEstimatedTimetableRequest
	// contains filtered or unexported fields
}

func NewXMLEstimatedTimetableSubscriptionRequestEntry

func NewXMLEstimatedTimetableSubscriptionRequestEntry(node XMLNode) *XMLEstimatedTimetableSubscriptionRequestEntry

func (*XMLEstimatedTimetableSubscriptionRequestEntry) InitialTerminationTime

func (request *XMLEstimatedTimetableSubscriptionRequestEntry) InitialTerminationTime() time.Time

func (*XMLEstimatedTimetableSubscriptionRequestEntry) SubscriberRef

func (request *XMLEstimatedTimetableSubscriptionRequestEntry) SubscriberRef() string

func (*XMLEstimatedTimetableSubscriptionRequestEntry) SubscriptionIdentifier

func (request *XMLEstimatedTimetableSubscriptionRequestEntry) SubscriptionIdentifier() string

type XMLGeneralMessage

type XMLGeneralMessage struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLGeneralMessage

func NewXMLGeneralMessage(node XMLNode) *XMLGeneralMessage

func (*XMLGeneralMessage) Content

func (visit *XMLGeneralMessage) Content() interface{}

func (*XMLGeneralMessage) FormatRef

func (visit *XMLGeneralMessage) FormatRef() string

func (*XMLGeneralMessage) InfoChannelRef

func (visit *XMLGeneralMessage) InfoChannelRef() string

func (*XMLGeneralMessage) InfoMessageIdentifier

func (visit *XMLGeneralMessage) InfoMessageIdentifier() string

func (*XMLGeneralMessage) InfoMessageVersion

func (visit *XMLGeneralMessage) InfoMessageVersion() int

func (*XMLGeneralMessage) ItemIdentifier

func (visit *XMLGeneralMessage) ItemIdentifier() string

func (*XMLGeneralMessage) RecordedAtTime

func (visit *XMLGeneralMessage) RecordedAtTime() time.Time

func (*XMLGeneralMessage) ValidUntilTime

func (visit *XMLGeneralMessage) ValidUntilTime() time.Time

type XMLGeneralMessageCancellation

type XMLGeneralMessageCancellation struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLCancelledGeneralMessage

func NewXMLCancelledGeneralMessage(node XMLNode) *XMLGeneralMessageCancellation

func (*XMLGeneralMessageCancellation) InfoMessageIdentifier

func (visit *XMLGeneralMessageCancellation) InfoMessageIdentifier() string

type XMLGeneralMessageDelivery

type XMLGeneralMessageDelivery struct {
	SubscriptionDeliveryXMLStructure
	// contains filtered or unexported fields
}

func NewXMLGeneralMessageDelivery

func NewXMLGeneralMessageDelivery(node XMLNode) *XMLGeneralMessageDelivery

func (*XMLGeneralMessageDelivery) XMLGeneralMessages

func (delivery *XMLGeneralMessageDelivery) XMLGeneralMessages() []*XMLGeneralMessage

func (*XMLGeneralMessageDelivery) XMLGeneralMessagesCancellations

func (delivery *XMLGeneralMessageDelivery) XMLGeneralMessagesCancellations() []*XMLGeneralMessageCancellation

type XMLGeneralMessageRequest

type XMLGeneralMessageRequest struct {
	LightRequestXMLStructure
	// contains filtered or unexported fields
}

func (*XMLGeneralMessageRequest) DestinationRef

func (request *XMLGeneralMessageRequest) DestinationRef() []string

func (*XMLGeneralMessageRequest) GroupOfLinesRef

func (request *XMLGeneralMessageRequest) GroupOfLinesRef() []string

func (*XMLGeneralMessageRequest) InfoChannelRef

func (request *XMLGeneralMessageRequest) InfoChannelRef() []string

func (*XMLGeneralMessageRequest) JourneyPatternRef

func (request *XMLGeneralMessageRequest) JourneyPatternRef() []string

func (*XMLGeneralMessageRequest) LineRef

func (request *XMLGeneralMessageRequest) LineRef() []string

func (*XMLGeneralMessageRequest) RouteRef

func (request *XMLGeneralMessageRequest) RouteRef() []string

func (*XMLGeneralMessageRequest) StopPointRef

func (request *XMLGeneralMessageRequest) StopPointRef() []string

type XMLGeneralMessageResponse

type XMLGeneralMessageResponse struct {
	ResponseXMLStructureWithStatus
	// contains filtered or unexported fields
}

func NewXMLGeneralMessageResponse

func NewXMLGeneralMessageResponse(node xml.Node) *XMLGeneralMessageResponse

func NewXMLGeneralMessageResponseFromContent

func NewXMLGeneralMessageResponseFromContent(content []byte) (*XMLGeneralMessageResponse, error)

func (*XMLGeneralMessageResponse) ErrorString

func (response *XMLGeneralMessageResponse) ErrorString() string

func (*XMLGeneralMessageResponse) XMLGeneralMessages

func (response *XMLGeneralMessageResponse) XMLGeneralMessages() []*XMLGeneralMessage

type XMLGeneralMessageSubscriptionRequestEntry

type XMLGeneralMessageSubscriptionRequestEntry struct {
	XMLGeneralMessageRequest
	// contains filtered or unexported fields
}

func NewXMLGeneralMessageSubscriptionRequestEntry

func NewXMLGeneralMessageSubscriptionRequestEntry(node XMLNode) *XMLGeneralMessageSubscriptionRequestEntry

func (*XMLGeneralMessageSubscriptionRequestEntry) InitialTerminationTime

func (request *XMLGeneralMessageSubscriptionRequestEntry) InitialTerminationTime() time.Time

func (*XMLGeneralMessageSubscriptionRequestEntry) SubscriberRef

func (request *XMLGeneralMessageSubscriptionRequestEntry) SubscriberRef() string

func (*XMLGeneralMessageSubscriptionRequestEntry) SubscriptionIdentifier

func (request *XMLGeneralMessageSubscriptionRequestEntry) SubscriptionIdentifier() string

type XMLGetEstimatedTimetable

type XMLGetEstimatedTimetable struct {
	XMLEstimatedTimetableRequest
	// contains filtered or unexported fields
}

func NewXMLGetEstimatedTimetable

func NewXMLGetEstimatedTimetable(node xml.Node) *XMLGetEstimatedTimetable

func NewXMLGetEstimatedTimetableFromContent

func NewXMLGetEstimatedTimetableFromContent(content []byte) (*XMLGetEstimatedTimetable, error)

func (*XMLGetEstimatedTimetable) RequestorRef

func (request *XMLGetEstimatedTimetable) RequestorRef() string

type XMLGetGeneralMessage

type XMLGetGeneralMessage struct {
	XMLGeneralMessageRequest
	// contains filtered or unexported fields
}

func NewXMLGetGeneralMessage

func NewXMLGetGeneralMessage(node xml.Node) *XMLGetGeneralMessage

func NewXMLGetGeneralMessageFromContent

func NewXMLGetGeneralMessageFromContent(content []byte) (*XMLGetGeneralMessage, error)

func (*XMLGetGeneralMessage) RequestorRef

func (request *XMLGetGeneralMessage) RequestorRef() string

type XMLGetStopMonitoring

type XMLGetStopMonitoring struct {
	XMLStopMonitoringRequest
	// contains filtered or unexported fields
}

func NewXMLGetStopMonitoring

func NewXMLGetStopMonitoring(node xml.Node) *XMLGetStopMonitoring

func NewXMLGetStopMonitoringFromContent

func NewXMLGetStopMonitoringFromContent(content []byte) (*XMLGetStopMonitoring, error)

func (*XMLGetStopMonitoring) RequestorRef

func (request *XMLGetStopMonitoring) RequestorRef() string

type XMLLinesDiscoveryRequest

type XMLLinesDiscoveryRequest struct {
	RequestXMLStructure
}

func NewXMLLinesDiscoveryRequest

func NewXMLLinesDiscoveryRequest(node xml.Node) *XMLLinesDiscoveryRequest

func NewXMLLinesDiscoveryRequestFromContent

func NewXMLLinesDiscoveryRequestFromContent(content []byte) (*XMLLinesDiscoveryRequest, error)

type XMLMessage

type XMLMessage struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLMessage

func NewXMLMessage(node XMLNode) *XMLMessage

func (*XMLMessage) MessageText

func (message *XMLMessage) MessageText() string

func (*XMLMessage) MessageType

func (message *XMLMessage) MessageType() string

func (*XMLMessage) NumberOfCharPerLine

func (message *XMLMessage) NumberOfCharPerLine() int

func (*XMLMessage) NumberOfLines

func (message *XMLMessage) NumberOfLines() int

type XMLMonitoredStopVisit

type XMLMonitoredStopVisit struct {
	XMLMonitoredVehicleJourney
	// contains filtered or unexported fields
}

func NewXMLMonitoredStopVisit

func NewXMLMonitoredStopVisit(node XMLNode) *XMLMonitoredStopVisit

func (*XMLMonitoredStopVisit) ItemIdentifier

func (sv *XMLMonitoredStopVisit) ItemIdentifier() string

func (*XMLMonitoredStopVisit) MonitoringRef

func (sv *XMLMonitoredStopVisit) MonitoringRef() string

func (*XMLMonitoredStopVisit) RecordedAt

func (sv *XMLMonitoredStopVisit) RecordedAt() time.Time

type XMLMonitoredStopVisitCancellation

type XMLMonitoredStopVisitCancellation struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLCancelledStopVisit

func NewXMLCancelledStopVisit(node XMLNode) *XMLMonitoredStopVisitCancellation

func (*XMLMonitoredStopVisitCancellation) ItemRef

func (cancel *XMLMonitoredStopVisitCancellation) ItemRef() string

func (*XMLMonitoredStopVisitCancellation) MonitoringRef

func (cancel *XMLMonitoredStopVisitCancellation) MonitoringRef() string

type XMLMonitoredVehicleJourney

type XMLMonitoredVehicleJourney struct {
	XMLStructure
	// contains filtered or unexported fields
}

func (*XMLMonitoredVehicleJourney) ActualArrivalTime

func (vj *XMLMonitoredVehicleJourney) ActualArrivalTime() time.Time

func (*XMLMonitoredVehicleJourney) ActualDepartureTime

func (vj *XMLMonitoredVehicleJourney) ActualDepartureTime() time.Time

func (*XMLMonitoredVehicleJourney) ActualQuayName

func (vj *XMLMonitoredVehicleJourney) ActualQuayName() string

func (*XMLMonitoredVehicleJourney) AimedArrivalTime

func (vj *XMLMonitoredVehicleJourney) AimedArrivalTime() time.Time

func (*XMLMonitoredVehicleJourney) AimedDepartureTime

func (vj *XMLMonitoredVehicleJourney) AimedDepartureTime() time.Time

func (*XMLMonitoredVehicleJourney) AimedHeadwayInterval

func (vj *XMLMonitoredVehicleJourney) AimedHeadwayInterval() string

func (*XMLMonitoredVehicleJourney) ArrivalPlatformName

func (vj *XMLMonitoredVehicleJourney) ArrivalPlatformName() string

func (*XMLMonitoredVehicleJourney) ArrivalProximyTest

func (vj *XMLMonitoredVehicleJourney) ArrivalProximyTest() string

func (*XMLMonitoredVehicleJourney) ArrivalStatus

func (vj *XMLMonitoredVehicleJourney) ArrivalStatus() string

func (*XMLMonitoredVehicleJourney) Bearing

func (vj *XMLMonitoredVehicleJourney) Bearing() string

func (*XMLMonitoredVehicleJourney) Coordinates

func (vj *XMLMonitoredVehicleJourney) Coordinates() string

func (*XMLMonitoredVehicleJourney) DataFrameRef

func (vj *XMLMonitoredVehicleJourney) DataFrameRef() string

func (*XMLMonitoredVehicleJourney) DatedVehicleJourneyRef

func (vj *XMLMonitoredVehicleJourney) DatedVehicleJourneyRef() string

func (*XMLMonitoredVehicleJourney) Delay

func (vj *XMLMonitoredVehicleJourney) Delay() string

Attributes

func (*XMLMonitoredVehicleJourney) DepartureBoardingActivity

func (vj *XMLMonitoredVehicleJourney) DepartureBoardingActivity() string

func (*XMLMonitoredVehicleJourney) DeparturePlatformName

func (vj *XMLMonitoredVehicleJourney) DeparturePlatformName() string

func (*XMLMonitoredVehicleJourney) DepartureStatus

func (vj *XMLMonitoredVehicleJourney) DepartureStatus() string

func (*XMLMonitoredVehicleJourney) DestinationAimedArrivalTime

func (vj *XMLMonitoredVehicleJourney) DestinationAimedArrivalTime() string

func (*XMLMonitoredVehicleJourney) DestinationDisplay

func (vj *XMLMonitoredVehicleJourney) DestinationDisplay() string

func (*XMLMonitoredVehicleJourney) DestinationName

func (vj *XMLMonitoredVehicleJourney) DestinationName() string

func (*XMLMonitoredVehicleJourney) DestinationRef

func (vj *XMLMonitoredVehicleJourney) DestinationRef() string

func (*XMLMonitoredVehicleJourney) DirectionName

func (vj *XMLMonitoredVehicleJourney) DirectionName() string

func (*XMLMonitoredVehicleJourney) DirectionRef

func (vj *XMLMonitoredVehicleJourney) DirectionRef() string

func (*XMLMonitoredVehicleJourney) DistanceFromStop

func (vj *XMLMonitoredVehicleJourney) DistanceFromStop() string

func (*XMLMonitoredVehicleJourney) DriverRef

func (vj *XMLMonitoredVehicleJourney) DriverRef() string

func (*XMLMonitoredVehicleJourney) ExpectedArrivalTime

func (vj *XMLMonitoredVehicleJourney) ExpectedArrivalTime() time.Time

func (*XMLMonitoredVehicleJourney) ExpectedDepartureTime

func (vj *XMLMonitoredVehicleJourney) ExpectedDepartureTime() time.Time

func (*XMLMonitoredVehicleJourney) ExpectedHeadwayInterval

func (vj *XMLMonitoredVehicleJourney) ExpectedHeadwayInterval() string

func (*XMLMonitoredVehicleJourney) FirstOrLastJourney

func (vj *XMLMonitoredVehicleJourney) FirstOrLastJourney() string

func (*XMLMonitoredVehicleJourney) HeadwayService

func (vj *XMLMonitoredVehicleJourney) HeadwayService() string

func (*XMLMonitoredVehicleJourney) InCongestion

func (vj *XMLMonitoredVehicleJourney) InCongestion() string

func (*XMLMonitoredVehicleJourney) InPanic

func (vj *XMLMonitoredVehicleJourney) InPanic() string

func (*XMLMonitoredVehicleJourney) JourneyNote

func (vj *XMLMonitoredVehicleJourney) JourneyNote() string

func (*XMLMonitoredVehicleJourney) JourneyPatternName

func (vj *XMLMonitoredVehicleJourney) JourneyPatternName() string

func (*XMLMonitoredVehicleJourney) JourneyPatternRef

func (vj *XMLMonitoredVehicleJourney) JourneyPatternRef() string

func (*XMLMonitoredVehicleJourney) Latitude

func (vj *XMLMonitoredVehicleJourney) Latitude() string

func (*XMLMonitoredVehicleJourney) LineRef

func (vj *XMLMonitoredVehicleJourney) LineRef() string

func (*XMLMonitoredVehicleJourney) Longitude

func (vj *XMLMonitoredVehicleJourney) Longitude() string

func (*XMLMonitoredVehicleJourney) Monitored

func (vj *XMLMonitoredVehicleJourney) Monitored() bool

func (*XMLMonitoredVehicleJourney) MonitoringError

func (vj *XMLMonitoredVehicleJourney) MonitoringError() string

func (*XMLMonitoredVehicleJourney) NumberOfStopsAway

func (vj *XMLMonitoredVehicleJourney) NumberOfStopsAway() string

func (*XMLMonitoredVehicleJourney) Occupancy

func (vj *XMLMonitoredVehicleJourney) Occupancy() string

func (*XMLMonitoredVehicleJourney) OperatorRef

func (vj *XMLMonitoredVehicleJourney) OperatorRef() string

func (*XMLMonitoredVehicleJourney) Order

func (vj *XMLMonitoredVehicleJourney) Order() int

func (*XMLMonitoredVehicleJourney) OriginAimedDepartureTime

func (vj *XMLMonitoredVehicleJourney) OriginAimedDepartureTime() string

func (*XMLMonitoredVehicleJourney) OriginName

func (vj *XMLMonitoredVehicleJourney) OriginName() string

func (*XMLMonitoredVehicleJourney) OriginRef

func (vj *XMLMonitoredVehicleJourney) OriginRef() string

func (*XMLMonitoredVehicleJourney) PlaceRef

func (vj *XMLMonitoredVehicleJourney) PlaceRef() string

func (*XMLMonitoredVehicleJourney) PlatformTraversal

func (vj *XMLMonitoredVehicleJourney) PlatformTraversal() string

func (*XMLMonitoredVehicleJourney) ProductCategoryRef

func (vj *XMLMonitoredVehicleJourney) ProductCategoryRef() string

func (*XMLMonitoredVehicleJourney) PublishedLineName

func (vj *XMLMonitoredVehicleJourney) PublishedLineName() string

func (*XMLMonitoredVehicleJourney) RouteRef

func (vj *XMLMonitoredVehicleJourney) RouteRef() string

func (*XMLMonitoredVehicleJourney) SRSName

func (vj *XMLMonitoredVehicleJourney) SRSName() string

func (*XMLMonitoredVehicleJourney) ServiceFeatureRef

func (vj *XMLMonitoredVehicleJourney) ServiceFeatureRef() string

func (*XMLMonitoredVehicleJourney) SetCoordinates

func (vj *XMLMonitoredVehicleJourney) SetCoordinates(s string)

func (*XMLMonitoredVehicleJourney) SetLatitude

func (vj *XMLMonitoredVehicleJourney) SetLatitude(s string)

func (*XMLMonitoredVehicleJourney) SetLongitude

func (vj *XMLMonitoredVehicleJourney) SetLongitude(s string)

func (*XMLMonitoredVehicleJourney) SetSRSName

func (vj *XMLMonitoredVehicleJourney) SetSRSName(s string)

func (*XMLMonitoredVehicleJourney) SituationRef

func (vj *XMLMonitoredVehicleJourney) SituationRef() string

func (*XMLMonitoredVehicleJourney) StopPointName

func (vj *XMLMonitoredVehicleJourney) StopPointName() string

func (*XMLMonitoredVehicleJourney) StopPointRef

func (vj *XMLMonitoredVehicleJourney) StopPointRef() string

func (*XMLMonitoredVehicleJourney) TrainNumberRef

func (vj *XMLMonitoredVehicleJourney) TrainNumberRef() string

func (*XMLMonitoredVehicleJourney) VehicleAtStop

func (vj *XMLMonitoredVehicleJourney) VehicleAtStop() bool

func (*XMLMonitoredVehicleJourney) VehicleFeature

func (vj *XMLMonitoredVehicleJourney) VehicleFeature() string

func (*XMLMonitoredVehicleJourney) VehicleJourneyName

func (vj *XMLMonitoredVehicleJourney) VehicleJourneyName() string

func (*XMLMonitoredVehicleJourney) VehicleMode

func (vj *XMLMonitoredVehicleJourney) VehicleMode() string

func (*XMLMonitoredVehicleJourney) VehicleRef

func (vj *XMLMonitoredVehicleJourney) VehicleRef() string

func (*XMLMonitoredVehicleJourney) ViaPlaceName

func (vj *XMLMonitoredVehicleJourney) ViaPlaceName() string

type XMLNode

type XMLNode interface {
	NativeNode() xml.Node
}

func NewXMLNode

func NewXMLNode(nativeNode xml.Node) XMLNode

func NewXMLNodeFromContent

func NewXMLNodeFromContent(content []byte) (XMLNode, error)

type XMLNotifyGeneralMessage

type XMLNotifyGeneralMessage struct {
	ResponseXMLStructure
	// contains filtered or unexported fields
}

func NewXMLNotifyGeneralMessage

func NewXMLNotifyGeneralMessage(node xml.Node) *XMLNotifyGeneralMessage

func NewXMLNotifyGeneralMessageFromContent

func NewXMLNotifyGeneralMessageFromContent(content []byte) (*XMLNotifyGeneralMessage, error)

func (*XMLNotifyGeneralMessage) GeneralMessagesDeliveries

func (notify *XMLNotifyGeneralMessage) GeneralMessagesDeliveries() []*XMLGeneralMessageDelivery

type XMLNotifyStopMonitoring

type XMLNotifyStopMonitoring struct {
	ResponseXMLStructure
	// contains filtered or unexported fields
}

func NewXMLNotifyStopMonitoring

func NewXMLNotifyStopMonitoring(node xml.Node) *XMLNotifyStopMonitoring

func NewXMLNotifyStopMonitoringFromContent

func NewXMLNotifyStopMonitoringFromContent(content []byte) (*XMLNotifyStopMonitoring, error)

func (*XMLNotifyStopMonitoring) StopMonitoringDeliveries

func (notify *XMLNotifyStopMonitoring) StopMonitoringDeliveries() []*XMLNotifyStopMonitoringDelivery

type XMLNotifyStopMonitoringDelivery

type XMLNotifyStopMonitoringDelivery struct {
	SubscriptionDeliveryXMLStructure
	// contains filtered or unexported fields
}

func NewXMLNotifyStopMonitoringDelivery

func NewXMLNotifyStopMonitoringDelivery(node XMLNode) *XMLNotifyStopMonitoringDelivery

func (*XMLNotifyStopMonitoringDelivery) MonitoringRef

func (delivery *XMLNotifyStopMonitoringDelivery) MonitoringRef() string

func (*XMLNotifyStopMonitoringDelivery) XMLMonitoredStopVisitCancellations

func (delivery *XMLNotifyStopMonitoringDelivery) XMLMonitoredStopVisitCancellations() []*XMLMonitoredStopVisitCancellation

func (*XMLNotifyStopMonitoringDelivery) XMLMonitoredStopVisits

func (delivery *XMLNotifyStopMonitoringDelivery) XMLMonitoredStopVisits() []*XMLMonitoredStopVisit

type XMLNotifySubscriptionTerminated

type XMLNotifySubscriptionTerminated struct {
	ResponseXMLStructure
	// contains filtered or unexported fields
}

func NewXMLNotifySubscriptionTerminated

func NewXMLNotifySubscriptionTerminated(node xml.Node) *XMLNotifySubscriptionTerminated

func NewXMLNotifySubscriptionTerminatedFromContent

func NewXMLNotifySubscriptionTerminatedFromContent(content []byte) (*XMLNotifySubscriptionTerminated, error)

func (*XMLNotifySubscriptionTerminated) SubscriberRef

func (delivery *XMLNotifySubscriptionTerminated) SubscriberRef() string

func (*XMLNotifySubscriptionTerminated) SubscriptionRef

func (delivery *XMLNotifySubscriptionTerminated) SubscriptionRef() string

type XMLProductionTimetableRequest

type XMLProductionTimetableRequest struct {
	LightRequestXMLStructure
	// contains filtered or unexported fields
}

func (*XMLProductionTimetableRequest) Lines

func (request *XMLProductionTimetableRequest) Lines() []string

func (*XMLProductionTimetableRequest) PreviewInterval

func (request *XMLProductionTimetableRequest) PreviewInterval() time.Duration

func (*XMLProductionTimetableRequest) StartTime

func (request *XMLProductionTimetableRequest) StartTime() time.Time

type XMLProductionTimetableSubscriptionRequestEntry

type XMLProductionTimetableSubscriptionRequestEntry struct {
	XMLProductionTimetableRequest
	// contains filtered or unexported fields
}

func NewXMLProductionTimetableSubscriptionRequestEntry

func NewXMLProductionTimetableSubscriptionRequestEntry(node XMLNode) *XMLProductionTimetableSubscriptionRequestEntry

func (*XMLProductionTimetableSubscriptionRequestEntry) InitialTerminationTime

func (request *XMLProductionTimetableSubscriptionRequestEntry) InitialTerminationTime() time.Time

func (*XMLProductionTimetableSubscriptionRequestEntry) SubscriberRef

func (request *XMLProductionTimetableSubscriptionRequestEntry) SubscriberRef() string

func (*XMLProductionTimetableSubscriptionRequestEntry) SubscriptionIdentifier

func (request *XMLProductionTimetableSubscriptionRequestEntry) SubscriptionIdentifier() string

type XMLResponseStatus

type XMLResponseStatus struct {
	SubscriptionDeliveryXMLStructure
	// contains filtered or unexported fields
}

func (*XMLResponseStatus) ValidUntil

func (response *XMLResponseStatus) ValidUntil() time.Time

type XMLSiriError

type XMLSiriError struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLSiriError

func NewXMLSiriError(node xml.Node) *XMLSiriError

func (*XMLSiriError) Error

func (se *XMLSiriError) Error() string

type XMLSiriServiceRequest

type XMLSiriServiceRequest struct {
	RequestXMLStructure
	// contains filtered or unexported fields
}

func NewXMLSiriServiceRequest

func NewXMLSiriServiceRequest(node xml.Node) *XMLSiriServiceRequest

func NewXMLSiriServiceRequestFromContent

func NewXMLSiriServiceRequestFromContent(content []byte) (*XMLSiriServiceRequest, error)

func (*XMLSiriServiceRequest) EstimatedTimetableRequests

func (request *XMLSiriServiceRequest) EstimatedTimetableRequests() []*XMLEstimatedTimetableRequest

func (*XMLSiriServiceRequest) GeneralMessageRequests

func (request *XMLSiriServiceRequest) GeneralMessageRequests() []*XMLGeneralMessageRequest

func (*XMLSiriServiceRequest) StopMonitoringRequests

func (request *XMLSiriServiceRequest) StopMonitoringRequests() []*XMLStopMonitoringRequest

type XMLStatus

type XMLStatus struct {
	XMLStructure
	// contains filtered or unexported fields
}

func (*XMLStatus) ErrorDescription

func (response *XMLStatus) ErrorDescription() string

func (*XMLStatus) ErrorNumber

func (response *XMLStatus) ErrorNumber() int

func (*XMLStatus) ErrorText

func (response *XMLStatus) ErrorText() string

func (*XMLStatus) ErrorType

func (response *XMLStatus) ErrorType() string

func (*XMLStatus) Status

func (response *XMLStatus) Status() bool

type XMLStopMonitoringDelivery

type XMLStopMonitoringDelivery struct {
	DeliveryXMLStructure
	// contains filtered or unexported fields
}

func NewXMLStopMonitoringDelivery

func NewXMLStopMonitoringDelivery(node XMLNode) *XMLStopMonitoringDelivery

func (*XMLStopMonitoringDelivery) MonitoringRef

func (delivery *XMLStopMonitoringDelivery) MonitoringRef() string

func (*XMLStopMonitoringDelivery) XMLMonitoredStopVisitCancellations

func (delivery *XMLStopMonitoringDelivery) XMLMonitoredStopVisitCancellations() []*XMLMonitoredStopVisitCancellation

func (*XMLStopMonitoringDelivery) XMLMonitoredStopVisits

func (delivery *XMLStopMonitoringDelivery) XMLMonitoredStopVisits() []*XMLMonitoredStopVisit

type XMLStopMonitoringRequest

type XMLStopMonitoringRequest struct {
	LightXMLStopMonitoringRequest
	// contains filtered or unexported fields
}

func (*XMLStopMonitoringRequest) PreviewInterval

func (request *XMLStopMonitoringRequest) PreviewInterval() time.Duration

func (*XMLStopMonitoringRequest) StartTime

func (request *XMLStopMonitoringRequest) StartTime() time.Time

type XMLStopMonitoringResponse

type XMLStopMonitoringResponse struct {
	ResponseXMLStructure
	// contains filtered or unexported fields
}

func NewXMLStopMonitoringResponse

func NewXMLStopMonitoringResponse(node xml.Node) *XMLStopMonitoringResponse

func NewXMLStopMonitoringResponseFromContent

func NewXMLStopMonitoringResponseFromContent(content []byte) (*XMLStopMonitoringResponse, error)

func (*XMLStopMonitoringResponse) StopMonitoringDeliveries

func (response *XMLStopMonitoringResponse) StopMonitoringDeliveries() []*XMLStopMonitoringDelivery

type XMLStopMonitoringSubscriptionRequestEntry

type XMLStopMonitoringSubscriptionRequestEntry struct {
	LightXMLStopMonitoringRequest
	// contains filtered or unexported fields
}

func NewXMLStopMonitoringSubscriptionRequestEntry

func NewXMLStopMonitoringSubscriptionRequestEntry(node XMLNode) *XMLStopMonitoringSubscriptionRequestEntry

func (*XMLStopMonitoringSubscriptionRequestEntry) InitialTerminationTime

func (request *XMLStopMonitoringSubscriptionRequestEntry) InitialTerminationTime() time.Time

func (*XMLStopMonitoringSubscriptionRequestEntry) SubscriberRef

func (request *XMLStopMonitoringSubscriptionRequestEntry) SubscriberRef() string

func (*XMLStopMonitoringSubscriptionRequestEntry) SubscriptionIdentifier

func (request *XMLStopMonitoringSubscriptionRequestEntry) SubscriptionIdentifier() string

type XMLStopPointsDiscoveryRequest

type XMLStopPointsDiscoveryRequest struct {
	RequestXMLStructure
}

func NewXMLStopPointsDiscoveryRequest

func NewXMLStopPointsDiscoveryRequest(node xml.Node) *XMLStopPointsDiscoveryRequest

func NewXMLStopPointsDiscoveryRequestFromContent

func NewXMLStopPointsDiscoveryRequestFromContent(content []byte) (*XMLStopPointsDiscoveryRequest, error)

type XMLStopPointsDiscoveryResponse

type XMLStopPointsDiscoveryResponse struct {
	LightDeliveryXMLStructure
	// contains filtered or unexported fields
}

func NewXMLStopPointsDiscoveryResponse

func NewXMLStopPointsDiscoveryResponse(node xml.Node) *XMLStopPointsDiscoveryResponse

func NewXMLStopPointsDiscoveryResponseFromContent

func NewXMLStopPointsDiscoveryResponseFromContent(content []byte) (*XMLStopPointsDiscoveryResponse, error)

func (*XMLStopPointsDiscoveryResponse) AnnotatedStopPointRefs

func (response *XMLStopPointsDiscoveryResponse) AnnotatedStopPointRefs() []*XMLAnnotatedStopPointRef

func (*XMLStopPointsDiscoveryResponse) ErrorString

func (response *XMLStopPointsDiscoveryResponse) ErrorString() string

type XMLStructure

type XMLStructure struct {
	// contains filtered or unexported fields
}

func (*XMLStructure) Node

func (xmlStruct *XMLStructure) Node() XMLNode

Test Method

func (*XMLStructure) RawXML

func (xmlStruct *XMLStructure) RawXML() string

type XMLSubscriptionRequest

type XMLSubscriptionRequest struct {
	RequestXMLStructure
	// contains filtered or unexported fields
}

func NewXMLSubscriptionRequest

func NewXMLSubscriptionRequest(node xml.Node) *XMLSubscriptionRequest

func NewXMLSubscriptionRequestFromContent

func NewXMLSubscriptionRequestFromContent(content []byte) (*XMLSubscriptionRequest, error)

func (*XMLSubscriptionRequest) ChangeBeforeUpdates

func (request *XMLSubscriptionRequest) ChangeBeforeUpdates() string

func (*XMLSubscriptionRequest) ConsumerAddress

func (request *XMLSubscriptionRequest) ConsumerAddress() string

func (*XMLSubscriptionRequest) IncrementalUpdates

func (request *XMLSubscriptionRequest) IncrementalUpdates() string

func (*XMLSubscriptionRequest) XMLSubscriptionETTEntries

func (request *XMLSubscriptionRequest) XMLSubscriptionETTEntries() []*XMLEstimatedTimetableSubscriptionRequestEntry

func (*XMLSubscriptionRequest) XMLSubscriptionGMEntries

func (request *XMLSubscriptionRequest) XMLSubscriptionGMEntries() []*XMLGeneralMessageSubscriptionRequestEntry

func (*XMLSubscriptionRequest) XMLSubscriptionPTTEntries

func (request *XMLSubscriptionRequest) XMLSubscriptionPTTEntries() []*XMLProductionTimetableSubscriptionRequestEntry

func (*XMLSubscriptionRequest) XMLSubscriptionSMEntries

func (request *XMLSubscriptionRequest) XMLSubscriptionSMEntries() []*XMLStopMonitoringSubscriptionRequestEntry

type XMLSubscriptionResponse

type XMLSubscriptionResponse struct {
	XMLStructure
	// contains filtered or unexported fields
}

func NewXMLSubscriptionResponse

func NewXMLSubscriptionResponse(node xml.Node) *XMLSubscriptionResponse

func NewXMLSubscriptionResponseFromContent

func NewXMLSubscriptionResponseFromContent(content []byte) (*XMLSubscriptionResponse, error)

func (*XMLSubscriptionResponse) Address

func (response *XMLSubscriptionResponse) Address() string

func (*XMLSubscriptionResponse) RequestMessageRef

func (response *XMLSubscriptionResponse) RequestMessageRef() string

func (*XMLSubscriptionResponse) ResponderRef

func (response *XMLSubscriptionResponse) ResponderRef() string

func (*XMLSubscriptionResponse) ResponseMessageIdentifier

func (response *XMLSubscriptionResponse) ResponseMessageIdentifier() string

func (*XMLSubscriptionResponse) ResponseStatus

func (response *XMLSubscriptionResponse) ResponseStatus() []*XMLResponseStatus

func (*XMLSubscriptionResponse) ResponseTimestamp

func (response *XMLSubscriptionResponse) ResponseTimestamp() time.Time

func (*XMLSubscriptionResponse) ServiceStartedTime

func (response *XMLSubscriptionResponse) ServiceStartedTime() time.Time

type XMLSubscriptionTerminatedNotification

type XMLSubscriptionTerminatedNotification struct {
	SubscriptionDeliveryXMLStructure
	// contains filtered or unexported fields
}

func NewXMLSubscriptionTerminatedNotification

func NewXMLSubscriptionTerminatedNotification(node xml.Node) *XMLSubscriptionTerminatedNotification

func NewXMLSubscriptionTerminatedNotificationFromContent

func NewXMLSubscriptionTerminatedNotificationFromContent(content []byte) (*XMLSubscriptionTerminatedNotification, error)

func (*XMLSubscriptionTerminatedNotification) ProducerRef

func (response *XMLSubscriptionTerminatedNotification) ProducerRef() string

type XMLTerminationResponseStatus

type XMLTerminationResponseStatus struct {
	LightSubscriptionDeliveryXMLStructure
}

func NewXMLTerminationResponseStatus

func NewXMLTerminationResponseStatus(node XMLNode) *XMLTerminationResponseStatus

type XMLVehicleActivity

type XMLVehicleActivity struct {
	XMLMonitoredVehicleJourney
	// contains filtered or unexported fields
}

func NewXMLVehicleActivity

func NewXMLVehicleActivity(node XMLNode) *XMLVehicleActivity

func (*XMLVehicleActivity) ItemIdentifier

func (va *XMLVehicleActivity) ItemIdentifier() string

func (*XMLVehicleActivity) LinkDistance

func (va *XMLVehicleActivity) LinkDistance() string

func (*XMLVehicleActivity) Percentage

func (va *XMLVehicleActivity) Percentage() string

func (*XMLVehicleActivity) RecordedAtTime

func (va *XMLVehicleActivity) RecordedAtTime() time.Time

func (*XMLVehicleActivity) ValidUntilTime

func (va *XMLVehicleActivity) ValidUntilTime() time.Time

func (*XMLVehicleActivity) VehicleMonitoringRef

func (va *XMLVehicleActivity) VehicleMonitoringRef() string

type XMLVehicleMonitoringDelivery

type XMLVehicleMonitoringDelivery struct {
	DeliveryXMLStructure
	// contains filtered or unexported fields
}

func NewXMLVehicleMonitoringDelivery

func NewXMLVehicleMonitoringDelivery(node XMLNode) *XMLVehicleMonitoringDelivery

func (*XMLVehicleMonitoringDelivery) MonitoringRef

func (delivery *XMLVehicleMonitoringDelivery) MonitoringRef() string

func (*XMLVehicleMonitoringDelivery) VehicleActivities

func (delivery *XMLVehicleMonitoringDelivery) VehicleActivities() []*XMLVehicleActivity

type XMLVehicleMonitoringResponse

type XMLVehicleMonitoringResponse struct {
	ResponseXMLStructure
	// contains filtered or unexported fields
}

func NewXMLVehicleMonitoringResponse

func NewXMLVehicleMonitoringResponse(node xml.Node) *XMLVehicleMonitoringResponse

func NewXMLVehicleMonitoringResponseFromContent

func NewXMLVehicleMonitoringResponseFromContent(content []byte) (*XMLVehicleMonitoringResponse, error)

func (*XMLVehicleMonitoringResponse) VehicleMonitoringDeliveries

func (response *XMLVehicleMonitoringResponse) VehicleMonitoringDeliveries() []*XMLVehicleMonitoringDelivery

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL