sxml

package
v0.0.0-...-f9f6af2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

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

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 IDFGeneralMessageStructure

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

func (*IDFGeneralMessageStructure) DestinationRef

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

func (*IDFGeneralMessageStructure) LineRefs

func (visit *IDFGeneralMessageStructure) LineRefs() []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 Int

type Int struct {
	Value   int
	Defined bool
}

func (*Int) SetValue

func (i *Int) SetValue(value int)

func (*Int) SetValueWithDefault

func (i *Int) SetValueWithDefault(value, d int)

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 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
	// 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 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 XMLAffect

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

func NewXMLAffect

func NewXMLAffect(node XMLNode) *XMLAffect

func (*XMLAffect) AffectedNetworks

func (a *XMLAffect) AffectedNetworks() []*XMLAffectedNetwork

func (*XMLAffect) AffectedStopPoints

func (a *XMLAffect) AffectedStopPoints() []*XMLAffectedStopPoint

type XMLAffectedNetwork

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

func NewXMLAffectedNetwork

func NewXMLAffectedNetwork(node XMLNode) *XMLAffectedNetwork

func (*XMLAffectedNetwork) AffectedDestinations

func (an *XMLAffectedNetwork) AffectedDestinations() []string

func (*XMLAffectedNetwork) AffectedRoutes

func (an *XMLAffectedNetwork) AffectedRoutes() []*XMLAffectedRoute

func (*XMLAffectedNetwork) AffectedSections

func (an *XMLAffectedNetwork) AffectedSections() []*XMLAffectedSection

func (*XMLAffectedNetwork) LineRefs

func (an *XMLAffectedNetwork) LineRefs() []string

type XMLAffectedRoute

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

func NewXMLAffectedRoute

func NewXMLAffectedRoute(node XMLNode) *XMLAffectedRoute

func (*XMLAffectedRoute) AffectedStopPoints

func (ar *XMLAffectedRoute) AffectedStopPoints() []*XMLAffectedStopPoint

func (*XMLAffectedRoute) RouteRef

func (ar *XMLAffectedRoute) RouteRef() string

type XMLAffectedSection

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

func NewXMLAffectedSection

func NewXMLAffectedSection(node XMLNode) *XMLAffectedSection

func (*XMLAffectedSection) FirstStop

func (s *XMLAffectedSection) FirstStop() string

func (*XMLAffectedSection) LastStop

func (s *XMLAffectedSection) LastStop() string

type XMLAffectedStopPoint

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

func NewXMLAffectedStopPoint

func NewXMLAffectedStopPoint(node XMLNode) *XMLAffectedStopPoint

func (*XMLAffectedStopPoint) LineRefs

func (asp *XMLAffectedStopPoint) LineRefs() []string

func (*XMLAffectedStopPoint) StopPointRef

func (asp *XMLAffectedStopPoint) StopPointRef() string

type XMLAnnotatedLineRef

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

func NewXMLAnnotatedLineRef

func NewXMLAnnotatedLineRef(node XMLNode) *XMLAnnotatedLineRef

func (*XMLAnnotatedLineRef) LineName

func (annotatedLine *XMLAnnotatedLineRef) LineName() string

func (*XMLAnnotatedLineRef) LineRef

func (annotatedLine *XMLAnnotatedLineRef) LineRef() string

func (*XMLAnnotatedLineRef) Monitored

func (annotatedLine *XMLAnnotatedLineRef) Monitored() bool

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 XMLCall

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

MonitoredCall, EstimatedCall, RecordedCall

func NewXMLCall

func NewXMLCall(node XMLNode) *XMLCall

func (*XMLCall) ActualArrivalTime

func (c *XMLCall) ActualArrivalTime() time.Time

func (*XMLCall) ActualDepartureTime

func (c *XMLCall) ActualDepartureTime() time.Time

func (*XMLCall) AimedArrivalTime

func (c *XMLCall) AimedArrivalTime() time.Time

func (*XMLCall) AimedDepartureTime

func (c *XMLCall) AimedDepartureTime() time.Time

func (*XMLCall) ArrivalStatus

func (c *XMLCall) ArrivalStatus() string

func (*XMLCall) DepartureStatus

func (c *XMLCall) DepartureStatus() string

func (*XMLCall) DestinationDisplay

func (c *XMLCall) DestinationDisplay() string

func (*XMLCall) ExpectedArrivalTime

func (c *XMLCall) ExpectedArrivalTime() time.Time

func (*XMLCall) ExpectedDepartureTime

func (c *XMLCall) ExpectedDepartureTime() time.Time

func (*XMLCall) Order

func (c *XMLCall) Order() int

func (*XMLCall) StopPointName

func (c *XMLCall) StopPointName() string

func (*XMLCall) StopPointRef

func (c *XMLCall) StopPointRef() string

func (*XMLCall) VehicleAtStop

func (c *XMLCall) VehicleAtStop() bool

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 XMLConsequence

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

func NewXMLConsequence

func NewXMLConsequence(node XMLNode) *XMLConsequence

func (*XMLConsequence) Affects

func (c *XMLConsequence) Affects() []*XMLAffect

func (*XMLConsequence) HasBlocking

func (c *XMLConsequence) HasBlocking() bool

func (*XMLConsequence) JourneyPlanner

func (c *XMLConsequence) JourneyPlanner() bool

func (*XMLConsequence) Periods

func (consequence *XMLConsequence) Periods() []*XMLPeriod

func (*XMLConsequence) RealTime

func (c *XMLConsequence) RealTime() bool

func (*XMLConsequence) Severity

func (consequence *XMLConsequence) Severity() string

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 XMLEstimatedJourneyVersionFrame

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

func NewXMLEstimatedJourneyVersionFrame

func NewXMLEstimatedJourneyVersionFrame(node XMLNode) *XMLEstimatedJourneyVersionFrame

func (*XMLEstimatedJourneyVersionFrame) EstimatedVehicleJourneys

func (ejvf *XMLEstimatedJourneyVersionFrame) EstimatedVehicleJourneys() []*XMLEstimatedVehicleJourney

func (*XMLEstimatedJourneyVersionFrame) RecordedAt

func (ejvf *XMLEstimatedJourneyVersionFrame) RecordedAt() 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 XMLEstimatedVehicleJourney

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

func NewXMLEstimatedVehicleJourney

func NewXMLEstimatedVehicleJourney(node XMLNode) *XMLEstimatedVehicleJourney

func (*XMLEstimatedVehicleJourney) DatedVehicleJourneyRef

func (evj *XMLEstimatedVehicleJourney) DatedVehicleJourneyRef() string

func (*XMLEstimatedVehicleJourney) DestinationRef

func (evj *XMLEstimatedVehicleJourney) DestinationRef() string

func (*XMLEstimatedVehicleJourney) DirectionRef

func (evj *XMLEstimatedVehicleJourney) DirectionRef() string

func (*XMLEstimatedVehicleJourney) EstimatedCalls

func (evj *XMLEstimatedVehicleJourney) EstimatedCalls() []*XMLCall

func (*XMLEstimatedVehicleJourney) LineRef

func (evj *XMLEstimatedVehicleJourney) LineRef() string

func (*XMLEstimatedVehicleJourney) OperatorRef

func (evj *XMLEstimatedVehicleJourney) OperatorRef() string

func (*XMLEstimatedVehicleJourney) OriginRef

func (evj *XMLEstimatedVehicleJourney) OriginRef() string

func (*XMLEstimatedVehicleJourney) RecordedCalls

func (evj *XMLEstimatedVehicleJourney) RecordedCalls() []*XMLCall

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) InfoChannelRef

func (request *XMLGeneralMessageRequest) InfoChannelRef() []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 XMLGetSituationExchange

type XMLGetSituationExchange struct {
	XMLSituationExchangeRequest
	// contains filtered or unexported fields
}

func NewXMLGetSituationExchange

func NewXMLGetSituationExchange(node xml.Node) *XMLGetSituationExchange

func NewXMLGetSituationExchangeFromContent

func NewXMLGetSituationExchangeFromContent(content []byte) (*XMLGetSituationExchange, error)

func (*XMLGetSituationExchange) RequestorRef

func (request *XMLGetSituationExchange) 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 XMLGetVehicleMonitoring

type XMLGetVehicleMonitoring struct {
	XMLVehicleMonitoringRequest
	// contains filtered or unexported fields
}

func NewXMLGetVehicleMonitoring

func NewXMLGetVehicleMonitoring(node xml.Node) *XMLGetVehicleMonitoring

func NewXMLGetVehicleMonitoringFromContent

func NewXMLGetVehicleMonitoringFromContent(content []byte) (*XMLGetVehicleMonitoring, error)

func (*XMLGetVehicleMonitoring) LineRef

func (request *XMLGetVehicleMonitoring) LineRef() string

func (*XMLGetVehicleMonitoring) MessageIdentifier

func (request *XMLGetVehicleMonitoring) MessageIdentifier() string

func (*XMLGetVehicleMonitoring) RequestorRef

func (request *XMLGetVehicleMonitoring) RequestorRef() string

func (*XMLGetVehicleMonitoring) VehicleRef

func (request *XMLGetVehicleMonitoring) VehicleRef() string

type XMLLinesDiscoveryRequest

type XMLLinesDiscoveryRequest struct {
	RequestXMLStructure
}

func NewXMLLinesDiscoveryRequest

func NewXMLLinesDiscoveryRequest(node xml.Node) *XMLLinesDiscoveryRequest

func NewXMLLinesDiscoveryRequestFromContent

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

type XMLLinesDiscoveryResponse

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

func NewXMLLinesDiscoveryResponse

func NewXMLLinesDiscoveryResponse(node xml.Node) *XMLLinesDiscoveryResponse

func NewXMLLinesDiscoveryResponseFromContent

func NewXMLLinesDiscoveryResponseFromContent(content []byte) (*XMLLinesDiscoveryResponse, error)

func (*XMLLinesDiscoveryResponse) AnnotatedLineRefs

func (response *XMLLinesDiscoveryResponse) AnnotatedLineRefs() []*XMLAnnotatedLineRef

func (*XMLLinesDiscoveryResponse) ErrorString

func (response *XMLLinesDiscoveryResponse) ErrorString() string

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

func (*XMLMonitoredStopVisitCancellation) RecordedAt

func (cancel *XMLMonitoredStopVisitCancellation) RecordedAt() time.Time

type XMLMonitoredVehicleJourney

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

func (*XMLMonitoredVehicleJourney) ActualQuayName

func (vj *XMLMonitoredVehicleJourney) ActualQuayName() string

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) 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) DestinationAimedArrivalTime

func (vj *XMLMonitoredVehicleJourney) DestinationAimedArrivalTime() 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) 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) 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) TrainNumberRef

func (vj *XMLMonitoredVehicleJourney) TrainNumberRef() string

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 XMLNotifyEstimatedTimetable

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

func NewXMLNotifyEstimatedTimetable

func NewXMLNotifyEstimatedTimetable(node xml.Node) *XMLNotifyEstimatedTimetable

func NewXMLNotifyEstimatedTimetableFromContent

func NewXMLNotifyEstimatedTimetableFromContent(content []byte) (*XMLNotifyEstimatedTimetable, error)

func (*XMLNotifyEstimatedTimetable) EstimatedTimetableDeliveries

func (notify *XMLNotifyEstimatedTimetable) EstimatedTimetableDeliveries() []*XMLNotifyEstimatedTimetableDelivery

type XMLNotifyEstimatedTimetableDelivery

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

func NewXMLNotifyEstimatedTimetableDelivery

func NewXMLNotifyEstimatedTimetableDelivery(node XMLNode) *XMLNotifyEstimatedTimetableDelivery

func (*XMLNotifyEstimatedTimetableDelivery) EstimatedJourneyVersionFrames

func (delivery *XMLNotifyEstimatedTimetableDelivery) EstimatedJourneyVersionFrames() []*XMLEstimatedJourneyVersionFrame

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 XMLNotifySituationExchange

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

func NewXMLNotifySituationExchange

func NewXMLNotifySituationExchange(node xml.Node) *XMLNotifySituationExchange

func NewXMLNotifySituationExchangeFromContent

func NewXMLNotifySituationExchangeFromContent(content []byte) (*XMLNotifySituationExchange, error)

func (*XMLNotifySituationExchange) SituationExchangesDeliveries

func (notify *XMLNotifySituationExchange) SituationExchangesDeliveries() []*XMLSituationExchangeDelivery

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 XMLNotifyVehicleMonitoring

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

func NewXMLNotifyVehicleMonitoring

func NewXMLNotifyVehicleMonitoring(node xml.Node) *XMLNotifyVehicleMonitoring

func NewXMLNotifyVehicleMonitoringFromContent

func NewXMLNotifyVehicleMonitoringFromContent(content []byte) (*XMLNotifyVehicleMonitoring, error)

func (*XMLNotifyVehicleMonitoring) VehicleMonitoringDeliveries

func (notify *XMLNotifyVehicleMonitoring) VehicleMonitoringDeliveries() []*XMLNotifyVehicleMonitoringDelivery

type XMLNotifyVehicleMonitoringDelivery

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

func NewXMLNotifyVehicleMonitoringDelivery

func NewXMLNotifyVehicleMonitoringDelivery(node XMLNode) *XMLNotifyVehicleMonitoringDelivery

func (*XMLNotifyVehicleMonitoringDelivery) VehicleActivities

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

type XMLPeriod

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

func NewXMLPeriod

func NewXMLPeriod(node XMLNode) *XMLPeriod

func (*XMLPeriod) EndTime

func (v *XMLPeriod) EndTime() time.Time

func (*XMLPeriod) StartTime

func (v *XMLPeriod) StartTime() time.Time

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 XMLPtSituationElement

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

func NewXMLPtSituationElement

func NewXMLPtSituationElement(node XMLNode) *XMLPtSituationElement

func (*XMLPtSituationElement) Affects

func (visit *XMLPtSituationElement) Affects() []*XMLAffect

func (*XMLPtSituationElement) AlertCause

func (s *XMLPtSituationElement) AlertCause() string

func (*XMLPtSituationElement) Consequences

func (visit *XMLPtSituationElement) Consequences() []*XMLConsequence

func (*XMLPtSituationElement) Description

func (s *XMLPtSituationElement) Description() string

func (*XMLPtSituationElement) Keywords

func (visit *XMLPtSituationElement) Keywords() []string

func (*XMLPtSituationElement) ParticipantRef

func (visit *XMLPtSituationElement) ParticipantRef() string

func (*XMLPtSituationElement) Progress

func (visit *XMLPtSituationElement) Progress() string

func (*XMLPtSituationElement) PublicationWindows

func (visit *XMLPtSituationElement) PublicationWindows() []*XMLPeriod

func (*XMLPtSituationElement) RecordedAtTime

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

func (*XMLPtSituationElement) ReportType

func (visit *XMLPtSituationElement) ReportType() string

func (*XMLPtSituationElement) Severity

func (visit *XMLPtSituationElement) Severity() string

func (*XMLPtSituationElement) SituationNumber

func (visit *XMLPtSituationElement) SituationNumber() string

func (*XMLPtSituationElement) Summary

func (s *XMLPtSituationElement) Summary() string

func (*XMLPtSituationElement) ValidityPeriods

func (visit *XMLPtSituationElement) ValidityPeriods() []*XMLPeriod

func (*XMLPtSituationElement) Version

func (visit *XMLPtSituationElement) Version() int

func (*XMLPtSituationElement) VersionedAtTime

func (visit *XMLPtSituationElement) VersionedAtTime() time.Time

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 XMLSituationExchangeDelivery

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

func NewXMLSituationExchangeDelivery

func NewXMLSituationExchangeDelivery(node XMLNode) *XMLSituationExchangeDelivery

func (*XMLSituationExchangeDelivery) Situations

func (delivery *XMLSituationExchangeDelivery) Situations() []*XMLPtSituationElement

type XMLSituationExchangeRequest

type XMLSituationExchangeRequest struct {
	LightRequestXMLStructure
}

type XMLSituationExchangeResponse

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

func NewXMLSituationExchangeResponse

func NewXMLSituationExchangeResponse(node xml.Node) *XMLSituationExchangeResponse

func NewXMLSituationExchangeResponseFromContent

func NewXMLSituationExchangeResponseFromContent(content []byte) (*XMLSituationExchangeResponse, error)

func (*XMLSituationExchangeResponse) ErrorString

func (response *XMLSituationExchangeResponse) ErrorString() string

func (*XMLSituationExchangeResponse) SituationExchangeDeliveries

func (response *XMLSituationExchangeResponse) SituationExchangeDeliveries() []*XMLSituationExchangeDelivery

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

func (*XMLSubscriptionRequest) XMLSubscriptionVMEntries

func (request *XMLSubscriptionRequest) XMLSubscriptionVMEntries() []*XMLVehicleMonitoringSubscriptionRequestEntry

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) VehicleActivities

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

type XMLVehicleMonitoringRequest

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

func (*XMLVehicleMonitoringRequest) Lines

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

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

type XMLVehicleMonitoringSubscriptionRequestEntry

type XMLVehicleMonitoringSubscriptionRequestEntry struct {
	XMLVehicleMonitoringRequest
	// contains filtered or unexported fields
}

func NewXMLVehicleMonitoringSubscriptionRequestEntry

func NewXMLVehicleMonitoringSubscriptionRequestEntry(node XMLNode) *XMLVehicleMonitoringSubscriptionRequestEntry

func (*XMLVehicleMonitoringSubscriptionRequestEntry) InitialTerminationTime

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

func (*XMLVehicleMonitoringSubscriptionRequestEntry) SubscriberRef

func (request *XMLVehicleMonitoringSubscriptionRequestEntry) SubscriberRef() string

func (*XMLVehicleMonitoringSubscriptionRequestEntry) SubscriptionIdentifier

func (request *XMLVehicleMonitoringSubscriptionRequestEntry) SubscriptionIdentifier() string

Jump to

Keyboard shortcuts

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