Documentation
Index ¶
- Constants
- func NewSiriError(message string) error
- func NewSiriErrorWithCode(errCode, message string) error
- type Bool
- type DeliveryXMLStructure
- type ErrorCondition
- type FramedVehicleJourneyRef
- type IDFGeneralMessageStructure
- func (visit *IDFGeneralMessageStructure) DestinationRef() []string
- func (visit *IDFGeneralMessageStructure) GroupOfLinesRef() []string
- func (visit *IDFGeneralMessageStructure) JourneyPatternRef() []string
- func (visit *IDFGeneralMessageStructure) LineRef() []string
- func (visit *IDFGeneralMessageStructure) LineSections() []*IDFLineSectionStructure
- func (visit *IDFGeneralMessageStructure) Messages() []*XMLMessage
- func (visit *IDFGeneralMessageStructure) RouteRef() []string
- func (visit *IDFGeneralMessageStructure) StopPointRef() []string
- type IDFLineSectionStructure
- type LightDeliveryXMLStructure
- type LightRequestXMLStructure
- type LightSubscriptionDeliveryXMLStructure
- type LightXMLStopMonitoringRequest
- type MonitoredVehicleJourney
- type Request
- type RequestXMLStructure
- type ResponseXMLStructure
- func (response *ResponseXMLStructure) Address() string
- func (response *ResponseXMLStructure) ProducerRef() string
- func (response *ResponseXMLStructure) RequestMessageRef() string
- func (response *ResponseXMLStructure) ResponseMessageIdentifier() string
- func (response *ResponseXMLStructure) ResponseTimestamp() time.Time
- type ResponseXMLStructureWithStatus
- type RootXMLNode
- type SIRIAnnotatedLine
- type SIRIAnnotatedLineByLineRef
- type SIRIAnnotatedStopPoint
- type SIRIAnnotatedStopPointByStopPointRef
- type SIRICancelledStopVisit
- type SIRICheckStatusRequest
- type SIRICheckStatusResponse
- type SIRIDeleteSubscriptionRequest
- type SIRIDeleteSubscriptionResponse
- type SIRIEstimatedCall
- type SIRIEstimatedJourneyVersionFrame
- type SIRIEstimatedTimeTableResponse
- type SIRIEstimatedTimetableDelivery
- type SIRIEstimatedVehicleJourney
- type SIRIGeneralMessage
- type SIRIGeneralMessageDelivery
- type SIRIGeneralMessageRequest
- type SIRIGeneralMessageResponse
- type SIRIGeneralMessageSubscriptionRequest
- type SIRIGeneralMessageSubscriptionRequestEntry
- type SIRIGetGeneralMessageRequest
- type SIRIGetStopMonitoringRequest
- type SIRILineSection
- type SIRILinesDiscoveryResponse
- type SIRIMessage
- type SIRIMonitoredStopVisit
- type SIRINotifyEstimatedTimeTable
- type SIRINotifyGeneralMessage
- type SIRINotifyStopMonitoring
- type SIRINotifyStopMonitoringDelivery
- type SIRIReference
- type SIRIResponseStatus
- type SIRIServiceResponse
- type SIRIStopMonitoringDelivery
- type SIRIStopMonitoringRequest
- type SIRIStopMonitoringResponse
- type SIRIStopMonitoringSubscriptionRequest
- type SIRIStopMonitoringSubscriptionRequestEntry
- type SIRIStopPointsDiscoveryRequest
- type SIRIStopPointsDiscoveryResponse
- type SIRISubscriptionResponse
- type SIRITerminationResponseStatus
- type SOAPClient
- func (client *SOAPClient) CheckStatus(request *SIRICheckStatusRequest) (*XMLCheckStatusResponse, error)
- func (client *SOAPClient) DeleteSubscription(request *SIRIDeleteSubscriptionRequest) (*XMLDeleteSubscriptionResponse, error)
- func (client *SOAPClient) GeneralMessageSubscription(request *SIRIGeneralMessageSubscriptionRequest) (*XMLSubscriptionResponse, error)
- func (client *SOAPClient) NotifyEstimatedTimeTable(request *SIRINotifyEstimatedTimeTable) error
- func (client *SOAPClient) NotifyGeneralMessage(request *SIRINotifyGeneralMessage) error
- func (client *SOAPClient) NotifyStopMonitoring(request *SIRINotifyStopMonitoring) error
- func (client *SOAPClient) SituationMonitoring(request *SIRIGetGeneralMessageRequest) (*XMLGeneralMessageResponse, error)
- func (client *SOAPClient) StopDiscovery(request *SIRIStopPointsDiscoveryRequest) (*XMLStopPointsDiscoveryResponse, error)
- func (client *SOAPClient) StopMonitoring(request *SIRIGetStopMonitoringRequest) (*XMLStopMonitoringResponse, error)
- func (client *SOAPClient) StopMonitoringSubscription(request *SIRIStopMonitoringSubscriptionRequest) (*XMLSubscriptionResponse, error)
- type SOAPClientUrls
- type SOAPEnvelope
- type SOAPEnvelopeBuffer
- type ServiceDelivery
- type SiriError
- type SiriLiteResponse
- type SiriLiteResponseSubstructure
- type SubXMLNode
- type SubscriptionDeliveryXMLStructure
- type VehicleActivity
- type VehicleLocation
- type VehicleMonitoringDelivery
- type XMLAnnotatedStopPointRef
- type XMLCheckStatusRequest
- type XMLCheckStatusResponse
- type XMLDeleteSubscriptionRequest
- type XMLDeleteSubscriptionResponse
- func (response *XMLDeleteSubscriptionResponse) RequestMessageRef() string
- func (response *XMLDeleteSubscriptionResponse) ResponderRef() string
- func (response *XMLDeleteSubscriptionResponse) ResponseStatus() []*XMLTerminationResponseStatus
- func (response *XMLDeleteSubscriptionResponse) ResponseTimestamp() time.Time
- type XMLEstimatedTimetableRequest
- type XMLEstimatedTimetableSubscriptionRequestEntry
- type XMLGeneralMessage
- func (visit *XMLGeneralMessage) Content() interface{}
- func (visit *XMLGeneralMessage) FormatRef() string
- func (visit *XMLGeneralMessage) InfoChannelRef() string
- func (visit *XMLGeneralMessage) InfoMessageIdentifier() string
- func (visit *XMLGeneralMessage) InfoMessageVersion() int
- func (visit *XMLGeneralMessage) ItemIdentifier() string
- func (visit *XMLGeneralMessage) RecordedAtTime() time.Time
- func (visit *XMLGeneralMessage) ValidUntilTime() time.Time
- type XMLGeneralMessageCancellation
- type XMLGeneralMessageDelivery
- type XMLGeneralMessageRequest
- func (request *XMLGeneralMessageRequest) DestinationRef() []string
- func (request *XMLGeneralMessageRequest) GroupOfLinesRef() []string
- func (request *XMLGeneralMessageRequest) InfoChannelRef() []string
- func (request *XMLGeneralMessageRequest) JourneyPatternRef() []string
- func (request *XMLGeneralMessageRequest) LineRef() []string
- func (request *XMLGeneralMessageRequest) RouteRef() []string
- func (request *XMLGeneralMessageRequest) StopPointRef() []string
- type XMLGeneralMessageResponse
- type XMLGeneralMessageSubscriptionRequestEntry
- type XMLGetEstimatedTimetable
- type XMLGetGeneralMessage
- type XMLGetStopMonitoring
- type XMLLinesDiscoveryRequest
- type XMLMessage
- type XMLMonitoredStopVisit
- func (visit *XMLMonitoredStopVisit) ActualArrivalTime() time.Time
- func (visit *XMLMonitoredStopVisit) ActualDepartureTime() time.Time
- func (visit *XMLMonitoredStopVisit) ActualQuayName() string
- func (visit *XMLMonitoredStopVisit) AimedArrivalTime() time.Time
- func (visit *XMLMonitoredStopVisit) AimedDepartureTime() time.Time
- func (visit *XMLMonitoredStopVisit) AimedHeadwayInterval() string
- func (visit *XMLMonitoredStopVisit) ArrivalPlatformName() string
- func (visit *XMLMonitoredStopVisit) ArrivalProximyTest() string
- func (visit *XMLMonitoredStopVisit) ArrivalStatus() string
- func (visit *XMLMonitoredStopVisit) Bearing() string
- func (visit *XMLMonitoredStopVisit) DataFrameRef() string
- func (visit *XMLMonitoredStopVisit) DatedVehicleJourneyRef() string
- func (visit *XMLMonitoredStopVisit) Delay() string
- func (visit *XMLMonitoredStopVisit) DepartureBoardingActivity() string
- func (visit *XMLMonitoredStopVisit) DeparturePlatformName() string
- func (visit *XMLMonitoredStopVisit) DepartureStatus() string
- func (visit *XMLMonitoredStopVisit) DestinationAimedArrivalTime() string
- func (visit *XMLMonitoredStopVisit) DestinationDisplay() string
- func (visit *XMLMonitoredStopVisit) DestinationName() string
- func (visit *XMLMonitoredStopVisit) DestinationRef() string
- func (visit *XMLMonitoredStopVisit) DirectionName() string
- func (visit *XMLMonitoredStopVisit) DirectionRef() string
- func (visit *XMLMonitoredStopVisit) DistanceFromStop() string
- func (visit *XMLMonitoredStopVisit) ExpectedArrivalTime() time.Time
- func (visit *XMLMonitoredStopVisit) ExpectedDepartureTime() time.Time
- func (visit *XMLMonitoredStopVisit) ExpectedHeadwayInterval() string
- func (visit *XMLMonitoredStopVisit) FirstOrLastJourney() string
- func (visit *XMLMonitoredStopVisit) HeadwayService() string
- func (visit *XMLMonitoredStopVisit) InCongestion() string
- func (visit *XMLMonitoredStopVisit) InPanic() string
- func (visit *XMLMonitoredStopVisit) ItemIdentifier() string
- func (visit *XMLMonitoredStopVisit) JourneyNote() string
- func (visit *XMLMonitoredStopVisit) JourneyPatternName() string
- func (visit *XMLMonitoredStopVisit) JourneyPatternRef() string
- func (visit *XMLMonitoredStopVisit) LineRef() string
- func (visit *XMLMonitoredStopVisit) Monitored() bool
- func (visit *XMLMonitoredStopVisit) MonitoringError() string
- func (visit *XMLMonitoredStopVisit) MonitoringRef() string
- func (visit *XMLMonitoredStopVisit) NumberOfStopsAway() string
- func (visit *XMLMonitoredStopVisit) Occupancy() string
- func (visit *XMLMonitoredStopVisit) OperatorRef() string
- func (visit *XMLMonitoredStopVisit) Order() int
- func (visit *XMLMonitoredStopVisit) OriginAimedDepartureTime() string
- func (visit *XMLMonitoredStopVisit) OriginName() string
- func (visit *XMLMonitoredStopVisit) OriginRef() string
- func (visit *XMLMonitoredStopVisit) PlaceRef() string
- func (visit *XMLMonitoredStopVisit) PlatformTraversal() string
- func (visit *XMLMonitoredStopVisit) ProductCategoryRef() string
- func (visit *XMLMonitoredStopVisit) PublishedLineName() string
- func (visit *XMLMonitoredStopVisit) RecordedAt() time.Time
- func (visit *XMLMonitoredStopVisit) RouteRef() string
- func (visit *XMLMonitoredStopVisit) ServiceFeatureRef() string
- func (visit *XMLMonitoredStopVisit) SituationRef() string
- func (visit *XMLMonitoredStopVisit) StopPointName() string
- func (visit *XMLMonitoredStopVisit) StopPointRef() string
- func (visit *XMLMonitoredStopVisit) TrainNumberRef() string
- func (visit *XMLMonitoredStopVisit) VehicleAtStop() bool
- func (visit *XMLMonitoredStopVisit) VehicleFeature() string
- func (visit *XMLMonitoredStopVisit) VehicleJourneyName() string
- func (visit *XMLMonitoredStopVisit) VehicleMode() string
- func (visit *XMLMonitoredStopVisit) ViaPlaceName() string
- type XMLMonitoredStopVisitCancellation
- type XMLNode
- type XMLNotifyGeneralMessage
- type XMLNotifyStopMonitoring
- type XMLNotifyStopMonitoringDelivery
- type XMLNotifySubscriptionTerminated
- type XMLResponseStatus
- type XMLSiriServiceRequest
- type XMLStatus
- type XMLStopMonitoringDelivery
- type XMLStopMonitoringRequest
- type XMLStopMonitoringResponse
- type XMLStopMonitoringSubscriptionRequestEntry
- type XMLStopPointsDiscoveryRequest
- type XMLStopPointsDiscoveryResponse
- type XMLStructure
- type XMLSubscriptionRequest
- func (request *XMLSubscriptionRequest) ChangeBeforeUpdates() string
- func (request *XMLSubscriptionRequest) ConsumerAddress() string
- func (request *XMLSubscriptionRequest) IncrementalUpdates() string
- func (request *XMLSubscriptionRequest) XMLSubscriptionETTEntries() []*XMLEstimatedTimetableSubscriptionRequestEntry
- func (request *XMLSubscriptionRequest) XMLSubscriptionGMEntries() []*XMLGeneralMessageSubscriptionRequestEntry
- func (request *XMLSubscriptionRequest) XMLSubscriptionSMEntries() []*XMLStopMonitoringSubscriptionRequestEntry
- type XMLSubscriptionResponse
- func (response *XMLSubscriptionResponse) Address() string
- func (response *XMLSubscriptionResponse) RequestMessageRef() string
- func (response *XMLSubscriptionResponse) ResponderRef() string
- func (response *XMLSubscriptionResponse) ResponseStatus() []*XMLResponseStatus
- func (response *XMLSubscriptionResponse) ResponseTimestamp() time.Time
- func (response *XMLSubscriptionResponse) ServiceStartedTime() time.Time
- type XMLSubscriptionTerminatedNotification
- type XMLTerminationResponseStatus
Constants ¶
View Source
const ( DEFAULT requestType = iota SUBSCRIPTION NOTIFICATION CHECK_STATUS )
Variables ¶
This section is empty.
Functions ¶
func NewSiriError ¶
func NewSiriErrorWithCode ¶
Types ¶
type DeliveryXMLStructure ¶
type DeliveryXMLStructure struct { LightDeliveryXMLStructure // contains filtered or unexported fields }
func (*DeliveryXMLStructure) RequestMessageRef ¶
func (delivery *DeliveryXMLStructure) RequestMessageRef() string
type ErrorCondition ¶
func (*ErrorCondition) MarshalJson ¶
func (ec *ErrorCondition) MarshalJson() ([]byte, error)
type FramedVehicleJourneyRef ¶
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 SIRIAnnotatedLineByLineRef ¶
type SIRIAnnotatedLineByLineRef []*SIRIAnnotatedLine
func (SIRIAnnotatedLineByLineRef) Len ¶
func (a SIRIAnnotatedLineByLineRef) Len() int
func (SIRIAnnotatedLineByLineRef) Less ¶
func (a SIRIAnnotatedLineByLineRef) Less(i, j int) bool
func (SIRIAnnotatedLineByLineRef) Swap ¶
func (a SIRIAnnotatedLineByLineRef) Swap(i, j int)
type SIRIAnnotatedStopPoint ¶
type SIRIAnnotatedStopPointByStopPointRef ¶
type SIRIAnnotatedStopPointByStopPointRef []*SIRIAnnotatedStopPoint
func (SIRIAnnotatedStopPointByStopPointRef) Len ¶
func (a SIRIAnnotatedStopPointByStopPointRef) Len() int
func (SIRIAnnotatedStopPointByStopPointRef) Less ¶
func (a SIRIAnnotatedStopPointByStopPointRef) Less(i, j int) bool
func (SIRIAnnotatedStopPointByStopPointRef) Swap ¶
func (a SIRIAnnotatedStopPointByStopPointRef) Swap(i, j int)
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() (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 (*SIRICheckStatusResponse) BuildXML ¶
func (response *SIRICheckStatusResponse) BuildXML() (string, error)
TODO : Handle errors
type SIRIDeleteSubscriptionRequest ¶
type SIRIDeleteSubscriptionRequest struct { RequestorRef string RequestTimestamp time.Time MessageIdentifier string SubscriptionRef string CancelAll bool }
func (*SIRIDeleteSubscriptionRequest) BuildXML ¶
func (request *SIRIDeleteSubscriptionRequest) BuildXML() (string, error)
type SIRIDeleteSubscriptionResponse ¶
type SIRIDeleteSubscriptionResponse struct { ResponderRef string RequestMessageRef string ResponseTimestamp time.Time ResponseStatus []*SIRITerminationResponseStatus }
func (*SIRIDeleteSubscriptionResponse) BuildXML ¶
func (notify *SIRIDeleteSubscriptionResponse) BuildXML() (string, error)
type SIRIEstimatedCall ¶
type SIRIEstimatedJourneyVersionFrame ¶
type SIRIEstimatedJourneyVersionFrame struct { RecordedAtTime time.Time EstimatedVehicleJourneys []*SIRIEstimatedVehicleJourney }
func (*SIRIEstimatedJourneyVersionFrame) BuildEstimatedJourneyVersionFrameXML ¶
func (frame *SIRIEstimatedJourneyVersionFrame) BuildEstimatedJourneyVersionFrameXML() (string, error)
type SIRIEstimatedTimeTableResponse ¶
type SIRIEstimatedTimeTableResponse struct { SIRIEstimatedTimetableDelivery Address string ProducerRef string ResponseMessageIdentifier string }
func (*SIRIEstimatedTimeTableResponse) BuildXML ¶
func (response *SIRIEstimatedTimeTableResponse) BuildXML() (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)
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)
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() (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() (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() (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() (string, error)
type SIRILineSection ¶
type SIRILinesDiscoveryResponse ¶
type SIRILinesDiscoveryResponse struct { Status bool ResponseTimestamp time.Time AnnotatedLines []*SIRIAnnotatedLine }
func (*SIRILinesDiscoveryResponse) BuildXML ¶
func (response *SIRILinesDiscoveryResponse) BuildXML() (string, error)
type SIRIMessage ¶
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 Attributes map[string]map[string]string // Références 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() (string, error)
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() (string, error)
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() (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)
type SIRIReference ¶
type SIRIResponseStatus ¶
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() (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)
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() (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() (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() (string, error)
type SIRIStopPointsDiscoveryResponse ¶
type SIRIStopPointsDiscoveryResponse struct { Status bool ResponseTimestamp time.Time AnnotatedStopPoints []*SIRIAnnotatedStopPoint }
func (*SIRIStopPointsDiscoveryResponse) BuildXML ¶
func (response *SIRIStopPointsDiscoveryResponse) BuildXML() (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() (string, error)
type SOAPClient ¶
type SOAPClient struct {
SOAPClientUrls
}
func NewSOAPClient ¶
func NewSOAPClient(urls SOAPClientUrls) *SOAPClient
func (*SOAPClient) CheckStatus ¶
func (client *SOAPClient) CheckStatus(request *SIRICheckStatusRequest) (*XMLCheckStatusResponse, error)
func (*SOAPClient) DeleteSubscription ¶
func (client *SOAPClient) DeleteSubscription(request *SIRIDeleteSubscriptionRequest) (*XMLDeleteSubscriptionResponse, error)
func (*SOAPClient) GeneralMessageSubscription ¶
func (client *SOAPClient) GeneralMessageSubscription(request *SIRIGeneralMessageSubscriptionRequest) (*XMLSubscriptionResponse, error)
func (*SOAPClient) NotifyEstimatedTimeTable ¶
func (client *SOAPClient) NotifyEstimatedTimeTable(request *SIRINotifyEstimatedTimeTable) error
func (*SOAPClient) NotifyGeneralMessage ¶
func (client *SOAPClient) NotifyGeneralMessage(request *SIRINotifyGeneralMessage) error
func (*SOAPClient) NotifyStopMonitoring ¶
func (client *SOAPClient) NotifyStopMonitoring(request *SIRINotifyStopMonitoring) error
func (*SOAPClient) SituationMonitoring ¶
func (client *SOAPClient) SituationMonitoring(request *SIRIGetGeneralMessageRequest) (*XMLGeneralMessageResponse, error)
func (*SOAPClient) StopDiscovery ¶
func (client *SOAPClient) StopDiscovery(request *SIRIStopPointsDiscoveryRequest) (*XMLStopPointsDiscoveryResponse, error)
func (*SOAPClient) StopMonitoring ¶
func (client *SOAPClient) StopMonitoring(request *SIRIGetStopMonitoringRequest) (*XMLStopMonitoringResponse, error)
func (*SOAPClient) StopMonitoringSubscription ¶
func (client *SOAPClient) StopMonitoringSubscription(request *SIRIStopMonitoringSubscriptionRequest) (*XMLSubscriptionResponse, error)
type SOAPClientUrls ¶
type SOAPEnvelope ¶
type SOAPEnvelope struct {
// contains filtered or unexported fields
}
func NewSOAPEnvelope ¶
func NewSOAPEnvelope(body io.Reader) (*SOAPEnvelope, error)
func (*SOAPEnvelope) Body ¶
func (envelope *SOAPEnvelope) Body() xml.Node
func (*SOAPEnvelope) BodyType ¶
func (envelope *SOAPEnvelope) BodyType() string
type SOAPEnvelopeBuffer ¶
type SOAPEnvelopeBuffer struct {
// contains filtered or unexported fields
}
func NewSOAPEnvelopeBuffer ¶
func NewSOAPEnvelopeBuffer() *SOAPEnvelopeBuffer
func (*SOAPEnvelopeBuffer) Length ¶
func (writer *SOAPEnvelopeBuffer) Length() int64
func (*SOAPEnvelopeBuffer) Read ¶
func (writer *SOAPEnvelopeBuffer) Read(p []byte) (n int, err error)
func (*SOAPEnvelopeBuffer) String ¶
func (writer *SOAPEnvelopeBuffer) String() string
func (*SOAPEnvelopeBuffer) WriteTo ¶
func (writer *SOAPEnvelopeBuffer) WriteTo(w io.Writer) (n int64, err error)
func (*SOAPEnvelopeBuffer) WriteXML ¶
func (writer *SOAPEnvelopeBuffer) WriteXML(xml string)
type ServiceDelivery ¶
type SiriError ¶
type SiriError struct {
// contains filtered or unexported fields
}
Handle SIRI CRITICAL errors
func (*SiriError) FullMessage ¶
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 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) 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) 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 { XMLStructure // contains filtered or unexported fields }
func NewXMLMonitoredStopVisit ¶
func NewXMLMonitoredStopVisit(node XMLNode) *XMLMonitoredStopVisit
func (*XMLMonitoredStopVisit) ActualArrivalTime ¶
func (visit *XMLMonitoredStopVisit) ActualArrivalTime() time.Time
func (*XMLMonitoredStopVisit) ActualDepartureTime ¶
func (visit *XMLMonitoredStopVisit) ActualDepartureTime() time.Time
func (*XMLMonitoredStopVisit) ActualQuayName ¶
func (visit *XMLMonitoredStopVisit) ActualQuayName() string
func (*XMLMonitoredStopVisit) AimedArrivalTime ¶
func (visit *XMLMonitoredStopVisit) AimedArrivalTime() time.Time
func (*XMLMonitoredStopVisit) AimedDepartureTime ¶
func (visit *XMLMonitoredStopVisit) AimedDepartureTime() time.Time
func (*XMLMonitoredStopVisit) AimedHeadwayInterval ¶
func (visit *XMLMonitoredStopVisit) AimedHeadwayInterval() string
func (*XMLMonitoredStopVisit) ArrivalPlatformName ¶
func (visit *XMLMonitoredStopVisit) ArrivalPlatformName() string
func (*XMLMonitoredStopVisit) ArrivalProximyTest ¶
func (visit *XMLMonitoredStopVisit) ArrivalProximyTest() string
func (*XMLMonitoredStopVisit) ArrivalStatus ¶
func (visit *XMLMonitoredStopVisit) ArrivalStatus() string
func (*XMLMonitoredStopVisit) Bearing ¶
func (visit *XMLMonitoredStopVisit) Bearing() string
func (*XMLMonitoredStopVisit) DataFrameRef ¶
func (visit *XMLMonitoredStopVisit) DataFrameRef() string
func (*XMLMonitoredStopVisit) DatedVehicleJourneyRef ¶
func (visit *XMLMonitoredStopVisit) DatedVehicleJourneyRef() string
func (*XMLMonitoredStopVisit) DepartureBoardingActivity ¶
func (visit *XMLMonitoredStopVisit) DepartureBoardingActivity() string
func (*XMLMonitoredStopVisit) DeparturePlatformName ¶
func (visit *XMLMonitoredStopVisit) DeparturePlatformName() string
func (*XMLMonitoredStopVisit) DepartureStatus ¶
func (visit *XMLMonitoredStopVisit) DepartureStatus() string
func (*XMLMonitoredStopVisit) DestinationAimedArrivalTime ¶
func (visit *XMLMonitoredStopVisit) DestinationAimedArrivalTime() string
func (*XMLMonitoredStopVisit) DestinationDisplay ¶
func (visit *XMLMonitoredStopVisit) DestinationDisplay() string
func (*XMLMonitoredStopVisit) DestinationName ¶
func (visit *XMLMonitoredStopVisit) DestinationName() string
func (*XMLMonitoredStopVisit) DestinationRef ¶
func (visit *XMLMonitoredStopVisit) DestinationRef() string
func (*XMLMonitoredStopVisit) DirectionName ¶
func (visit *XMLMonitoredStopVisit) DirectionName() string
func (*XMLMonitoredStopVisit) DirectionRef ¶
func (visit *XMLMonitoredStopVisit) DirectionRef() string
func (*XMLMonitoredStopVisit) DistanceFromStop ¶
func (visit *XMLMonitoredStopVisit) DistanceFromStop() string
func (*XMLMonitoredStopVisit) ExpectedArrivalTime ¶
func (visit *XMLMonitoredStopVisit) ExpectedArrivalTime() time.Time
func (*XMLMonitoredStopVisit) ExpectedDepartureTime ¶
func (visit *XMLMonitoredStopVisit) ExpectedDepartureTime() time.Time
func (*XMLMonitoredStopVisit) ExpectedHeadwayInterval ¶
func (visit *XMLMonitoredStopVisit) ExpectedHeadwayInterval() string
func (*XMLMonitoredStopVisit) FirstOrLastJourney ¶
func (visit *XMLMonitoredStopVisit) FirstOrLastJourney() string
func (*XMLMonitoredStopVisit) HeadwayService ¶
func (visit *XMLMonitoredStopVisit) HeadwayService() string
func (*XMLMonitoredStopVisit) InCongestion ¶
func (visit *XMLMonitoredStopVisit) InCongestion() string
func (*XMLMonitoredStopVisit) InPanic ¶
func (visit *XMLMonitoredStopVisit) InPanic() string
func (*XMLMonitoredStopVisit) ItemIdentifier ¶
func (visit *XMLMonitoredStopVisit) ItemIdentifier() string
func (*XMLMonitoredStopVisit) JourneyNote ¶
func (visit *XMLMonitoredStopVisit) JourneyNote() string
func (*XMLMonitoredStopVisit) JourneyPatternName ¶
func (visit *XMLMonitoredStopVisit) JourneyPatternName() string
func (*XMLMonitoredStopVisit) JourneyPatternRef ¶
func (visit *XMLMonitoredStopVisit) JourneyPatternRef() string
func (*XMLMonitoredStopVisit) LineRef ¶
func (visit *XMLMonitoredStopVisit) LineRef() string
func (*XMLMonitoredStopVisit) Monitored ¶
func (visit *XMLMonitoredStopVisit) Monitored() bool
func (*XMLMonitoredStopVisit) MonitoringError ¶
func (visit *XMLMonitoredStopVisit) MonitoringError() string
func (*XMLMonitoredStopVisit) MonitoringRef ¶
func (visit *XMLMonitoredStopVisit) MonitoringRef() string
func (*XMLMonitoredStopVisit) NumberOfStopsAway ¶
func (visit *XMLMonitoredStopVisit) NumberOfStopsAway() string
func (*XMLMonitoredStopVisit) Occupancy ¶
func (visit *XMLMonitoredStopVisit) Occupancy() string
func (*XMLMonitoredStopVisit) OperatorRef ¶
func (visit *XMLMonitoredStopVisit) OperatorRef() string
func (*XMLMonitoredStopVisit) Order ¶
func (visit *XMLMonitoredStopVisit) Order() int
func (*XMLMonitoredStopVisit) OriginAimedDepartureTime ¶
func (visit *XMLMonitoredStopVisit) OriginAimedDepartureTime() string
func (*XMLMonitoredStopVisit) OriginName ¶
func (visit *XMLMonitoredStopVisit) OriginName() string
func (*XMLMonitoredStopVisit) OriginRef ¶
func (visit *XMLMonitoredStopVisit) OriginRef() string
func (*XMLMonitoredStopVisit) PlaceRef ¶
func (visit *XMLMonitoredStopVisit) PlaceRef() string
func (*XMLMonitoredStopVisit) PlatformTraversal ¶
func (visit *XMLMonitoredStopVisit) PlatformTraversal() string
func (*XMLMonitoredStopVisit) ProductCategoryRef ¶
func (visit *XMLMonitoredStopVisit) ProductCategoryRef() string
func (*XMLMonitoredStopVisit) PublishedLineName ¶
func (visit *XMLMonitoredStopVisit) PublishedLineName() string
func (*XMLMonitoredStopVisit) RecordedAt ¶
func (visit *XMLMonitoredStopVisit) RecordedAt() time.Time
func (*XMLMonitoredStopVisit) RouteRef ¶
func (visit *XMLMonitoredStopVisit) RouteRef() string
func (*XMLMonitoredStopVisit) ServiceFeatureRef ¶
func (visit *XMLMonitoredStopVisit) ServiceFeatureRef() string
func (*XMLMonitoredStopVisit) SituationRef ¶
func (visit *XMLMonitoredStopVisit) SituationRef() string
func (*XMLMonitoredStopVisit) StopPointName ¶
func (visit *XMLMonitoredStopVisit) StopPointName() string
func (*XMLMonitoredStopVisit) StopPointRef ¶
func (visit *XMLMonitoredStopVisit) StopPointRef() string
func (*XMLMonitoredStopVisit) TrainNumberRef ¶
func (visit *XMLMonitoredStopVisit) TrainNumberRef() string
func (*XMLMonitoredStopVisit) VehicleAtStop ¶
func (visit *XMLMonitoredStopVisit) VehicleAtStop() bool
func (*XMLMonitoredStopVisit) VehicleFeature ¶
func (visit *XMLMonitoredStopVisit) VehicleFeature() string
func (*XMLMonitoredStopVisit) VehicleJourneyName ¶
func (visit *XMLMonitoredStopVisit) VehicleJourneyName() string
func (*XMLMonitoredStopVisit) VehicleMode ¶
func (visit *XMLMonitoredStopVisit) VehicleMode() string
func (*XMLMonitoredStopVisit) ViaPlaceName ¶
func (visit *XMLMonitoredStopVisit) ViaPlaceName() string
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 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 XMLResponseStatus ¶
type XMLResponseStatus struct { SubscriptionDeliveryXMLStructure // contains filtered or unexported fields }
func (*XMLResponseStatus) ValidUntil ¶
func (response *XMLResponseStatus) ValidUntil() time.Time
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 (*XMLStatus) ErrorNumber ¶
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
type XMLStructure ¶
type XMLStructure struct {
// contains filtered or unexported fields
}
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) 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) 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
Source Files
- check_status_request.go
- check_status_response.go
- delete_subscription_request.go
- delete_subscription_response.go
- estimated_timetable_request.go
- estimated_timetable_response.go
- estimated_timetable_subscription_request.go
- general_message_request.go
- general_message_response.go
- general_message_subscription_request.go
- lines_discovery_request.go
- lines_discovery_response.go
- notify_estimated_timetable_response.go
- notify_general_message.go
- notify_stop_monitoring.go
- notify_stop_monitoring_response.go
- notify_subscription_terminated.go
- siri_error.go
- siri_lite_response.go
- siri_service_request.go
- siri_service_response.go
- siri_stop_monitoring_response.go
- siri_vehicle_monitoring_response.go
- soap_client.go
- soap_envelope.go
- stop_monitoring_request.go
- stop_monitoring_subscription_request.go
- stop_points_discovery_request.go
- stop_points_discovery_response.go
- subscription_request.go
- subscription_response.go
- subscription_terminated_notification.go
- templates.go
- types.go
- xml_stop_monitoring_response.go
- xml_stop_points_discovery_response.go
- xml_structure.go