Documentation ¶
Index ¶
- type PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) MarshalBinary() ([]byte, error)
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) UnmarshalBinary(b []byte) error
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) Validate(formats strfmt.Registry) error
- type PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) MarshalBinary() ([]byte, error)
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) UnmarshalBinary(b []byte) error
- func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) Validate(formats strfmt.Registry) error
- type PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) MarshalBinary() ([]byte, error)
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) UnmarshalBinary(b []byte) error
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) Validate(formats strfmt.Registry) error
- type PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) MarshalBinary() ([]byte, error)
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) UnmarshalBinary(b []byte) error
- func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) Validate(formats strfmt.Registry) error
- type PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat
- func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) MarshalBinary() ([]byte, error)
- func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) UnmarshalBinary(b []byte) error
- func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroAlert
- func (m *PTXServiceDTORailSpecificationV2MetroAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroAlert) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroAlert) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroAlert) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroDrinkingFountain
- func (m *PTXServiceDTORailSpecificationV2MetroDrinkingFountain) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroDrinkingFountain) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroDrinkingFountain) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroDrinkingFountain) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroElevator
- func (m *PTXServiceDTORailSpecificationV2MetroElevator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroElevator) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroElevator) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroElevator) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroFirstLastTimetable
- func (m *PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroFrequency
- func (m *PTXServiceDTORailSpecificationV2MetroFrequency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroFrequency) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroFrequency) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroFrequency) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroInformationSpot
- func (m *PTXServiceDTORailSpecificationV2MetroInformationSpot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroInformationSpot) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroInformationSpot) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroInformationSpot) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroLine
- func (m *PTXServiceDTORailSpecificationV2MetroLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroLine) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroLine) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroLine) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroLineTransfer
- func (m *PTXServiceDTORailSpecificationV2MetroLineTransfer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroLineTransfer) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroLineTransfer) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroLineTransfer) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroLiveBoard
- func (m *PTXServiceDTORailSpecificationV2MetroLiveBoard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroLiveBoard) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroLiveBoard) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroLiveBoard) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMRTNewsListNews
- func (m *PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroMetroShape
- func (m *PTXServiceDTORailSpecificationV2MetroMetroShape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroMetroShape) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroMetroShape) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroMetroShape) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroNetwork
- func (m *PTXServiceDTORailSpecificationV2MetroNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroNetwork) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroNetwork) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroNetwork) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine
- func (m *PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroODFare
- func (m *PTXServiceDTORailSpecificationV2MetroODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroODFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroODFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroODFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroRoute
- func (m *PTXServiceDTORailSpecificationV2MetroRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroS2STravelTime
- func (m *PTXServiceDTORailSpecificationV2MetroS2STravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroS2STravelTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroS2STravelTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroS2STravelTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroStation
- func (m *PTXServiceDTORailSpecificationV2MetroStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroStationExit
- func (m *PTXServiceDTORailSpecificationV2MetroStationExit) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationExit) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroStationExit) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationExit) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroStationFacility
- func (m *PTXServiceDTORailSpecificationV2MetroStationFacility) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationFacility) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroStationFacility) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationFacility) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroStationOfLine
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfLine) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfLine) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfLine) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroStationOfRoute
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationOfRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroStationTimeTable
- func (m *PTXServiceDTORailSpecificationV2MetroStationTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationTimeTable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroStationTimeTable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroStationTimeTable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassFare
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassHeadway
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassHeadway) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassHeadway) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassHeadway) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassHeadway) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassOperationTime
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassServiceDay
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassStation
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassTimetable
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroSubClassTravelTime
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2MetroToilet
- func (m *PTXServiceDTORailSpecificationV2MetroToilet) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2MetroToilet) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2MetroToilet) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2MetroToilet) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2PointType
- func (m *PTXServiceDTORailSpecificationV2PointType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2PointType) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2PointType) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2PointType) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRAlertInfo
- func (m *PTXServiceDTORailSpecificationV2THSRAlertInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRAlertInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRAlertInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRAlertInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRAvailableSeat
- func (m *PTXServiceDTORailSpecificationV2THSRAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRAvailableSeat) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRAvailableSeat) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRAvailableSeat) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRGeneralTimetable
- func (m *PTXServiceDTORailSpecificationV2THSRGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRGeneralTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRGeneralTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRGeneralTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRNews
- func (m *PTXServiceDTORailSpecificationV2THSRNews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRNews) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRNews) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRNews) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRODAvailableSeat
- func (m *PTXServiceDTORailSpecificationV2THSRODAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRODAvailableSeat) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRODAvailableSeat) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRODAvailableSeat) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRODFare
- func (m *PTXServiceDTORailSpecificationV2THSRODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRODFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRODFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRODFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSROldAvailableSeat
- func (m *PTXServiceDTORailSpecificationV2THSROldAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSROldAvailableSeat) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSROldAvailableSeat) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSROldAvailableSeat) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSROldStopStation
- func (m *PTXServiceDTORailSpecificationV2THSROldStopStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSROldStopStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSROldStopStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSROldStopStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable
- func (m *PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailODFare
- func (m *PTXServiceDTORailSpecificationV2THSRRailODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailODFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailODFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailODFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailStation
- func (m *PTXServiceDTORailSpecificationV2THSRRailStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailStationTimetable
- func (m *PTXServiceDTORailSpecificationV2THSRRailStationTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailStationTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailStationTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailStationTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRRailStopTime
- func (m *PTXServiceDTORailSpecificationV2THSRRailStopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailStopTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRRailStopTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRRailStopTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRServiceDay
- func (m *PTXServiceDTORailSpecificationV2THSRServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRServiceDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRServiceDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRServiceDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRStationExit
- func (m *PTXServiceDTORailSpecificationV2THSRStationExit) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRStationExit) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRStationExit) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRStationExit) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRStopStation
- func (m *PTXServiceDTORailSpecificationV2THSRStopStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRStopStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRStopStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRStopStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRTHSRShape
- func (m *PTXServiceDTORailSpecificationV2THSRTHSRShape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRTHSRShape) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRTHSRShape) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRTHSRShape) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo
- func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2THSRTrainDateList
- func (m *PTXServiceDTORailSpecificationV2THSRTrainDateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2THSRTrainDateList) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2THSRTrainDateList) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2THSRTrainDateList) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRAGeneralTimetable
- func (m *PTXServiceDTORailSpecificationV2TRAGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRAGeneralTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRAGeneralTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRAGeneralTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRALine
- func (m *PTXServiceDTORailSpecificationV2TRALine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRALine) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRALine) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRALine) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRALineSimple
- func (m *PTXServiceDTORailSpecificationV2TRALineSimple) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRALineSimple) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRALineSimple) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRALineSimple) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRALineStation
- func (m *PTXServiceDTORailSpecificationV2TRALineStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRALineStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRALineStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRALineStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRANetwork
- func (m *PTXServiceDTORailSpecificationV2TRANetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRANetwork) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRANetwork) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRANetwork) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailDailyTimetable
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailGeneralTimetable
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailLiveBoard
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveBoard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveBoard) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveBoard) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveBoard) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailODDailyTimetable
- func (m *PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailODFare
- func (m *PTXServiceDTORailSpecificationV2TRARailODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailODFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailODFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailODFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailStation
- func (m *PTXServiceDTORailSpecificationV2TRARailStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailStation) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailStation) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailStation) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailStationTimetable
- func (m *PTXServiceDTORailSpecificationV2TRARailStationTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailStationTimetable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailStationTimetable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailStationTimetable) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRARailStopTime
- func (m *PTXServiceDTORailSpecificationV2TRARailStopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRARailStopTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRARailStopTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRARailStopTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRAServiceDay
- func (m *PTXServiceDTORailSpecificationV2TRAServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRAServiceDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRAServiceDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRAServiceDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRAStationOfLine
- func (m *PTXServiceDTORailSpecificationV2TRAStationOfLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRAStationOfLine) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRAStationOfLine) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRAStationOfLine) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRATRAShape
- func (m *PTXServiceDTORailSpecificationV2TRATRAShape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRATRAShape) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRATRAShape) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRATRAShape) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRATrainDateList
- func (m *PTXServiceDTORailSpecificationV2TRATrainDateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRATrainDateList) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRATrainDateList) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRATrainDateList) Validate(formats strfmt.Registry) error
- type PTXServiceDTORailSpecificationV2TRATrainType
- func (m *PTXServiceDTORailSpecificationV2TRATrainType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTORailSpecificationV2TRATrainType) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTORailSpecificationV2TRATrainType) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTORailSpecificationV2TRATrainType) Validate(formats strfmt.Registry) error
- type PTXServiceDTOSharedSpecificationV2BaseFare
- func (m *PTXServiceDTOSharedSpecificationV2BaseFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV2BaseFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV2BaseFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV2BaseFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTOSharedSpecificationV2BaseNameType
- func (m *PTXServiceDTOSharedSpecificationV2BaseNameType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV2BaseNameType) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV2BaseNameType) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV2BaseNameType) Validate(formats strfmt.Registry) error
- type PTXServiceDTOSharedSpecificationV2BaseOperator
- func (m *PTXServiceDTOSharedSpecificationV2BaseOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV2BaseOperator) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV2BaseOperator) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV2BaseOperator) Validate(formats strfmt.Registry) error
- type PTXServiceDTOSharedSpecificationV2BasePointType
- func (m *PTXServiceDTOSharedSpecificationV2BasePointType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV2BasePointType) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV2BasePointType) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV2BasePointType) Validate(formats strfmt.Registry) error
- type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
- func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) Validate(formats strfmt.Registry) error
- type PTXServiceDTOSharedSpecificationV3BaseInbound
- func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) Validate(formats strfmt.Registry) error
- type PTXServiceDTOSharedSpecificationV3BaseOutbound
- func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert ¶ added in v0.7.0
type PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert struct { // Array // // 資料(陣列) // Required: true Alerts []*PTXServiceDTORailSpecificationV2MetroAlert "json:\"Alerts\" xml:\"List`1\"" // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Int32 // // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // Int32 // // 本平台資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert MRTAlertList
swagger:model PTX.API.Rail.Model.MRTRealTimeWrapper[PTX.Service.DTO.Rail.Specification.V2.Metro.Alert]
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) ContextValidate ¶ added in v0.9.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x API rail model m r t real time wrapper p t x service d t o rail specification v2 metro alert based on the context it is used
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) MarshalBinary ¶ added in v0.7.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) Validate ¶ added in v0.7.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroAlert) Validate(formats strfmt.Registry) error
Validate validates this p t x API rail model m r t real time wrapper p t x service d t o rail specification v2 metro alert
type PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews ¶ added in v0.7.0
type PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料(陣列) // Required: true Newses []*PTXServiceDTORailSpecificationV2MetroMRTNewsListNews "json:\"Newses\" xml:\"List`1\"" // Int32 // // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // Int32 // // 本平台資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews MRTNewsList
swagger:model PTX.API.Rail.Model.MRTRealTimeWrapper[PTX.Service.DTO.Rail.Specification.V2.Metro.MRTNewsList.News]
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) ContextValidate ¶ added in v0.9.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x API rail model m r t real time wrapper p t x service d t o rail specification v2 metro m r t news list news based on the context it is used
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) MarshalBinary ¶ added in v0.7.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) Validate ¶ added in v0.7.0
func (m *PTXAPIRailModelMRTRealTimeWrapperPTXServiceDTORailSpecificationV2MetroMRTNewsListNews) Validate(formats strfmt.Registry) error
Validate validates this p t x API rail model m r t real time wrapper p t x service d t o rail specification v2 metro m r t news list news
type PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat ¶ added in v0.9.0
type PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat struct { // Array // // 對號座位狀態資訊(依高鐵規定若營運狀態有異常狀況時,剩餘座位資訊將停留在最後正常運行時間之狀態不做更新,實際資料請參考高鐵各車站現場對號座剩餘座位資訊看板) // Required: true AvailableSeats []*PTXServiceDTORailSpecificationV2THSROldAvailableSeat "json:\"AvailableSeats\" xml:\"List`1\"" // 資料總筆數 Count int64 `json:"Count,omitempty"` // 更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"` }
PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat AvailableSeatStatus
swagger:model PTX.API.Rail.Model.V2THSRAvailableSeatStatusOldWrapper[PTX.Service.DTO.Rail.Specification.V2.THSR.Old.AvailableSeat]
func (*PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) ContextValidate ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x API rail model v2 t h s r available seat status old wrapper p t x service d t o rail specification v2 t h s r old available seat based on the context it is used
func (*PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) MarshalBinary ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) UnmarshalBinary ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) Validate ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat) Validate(formats strfmt.Registry) error
Validate validates this p t x API rail model v2 t h s r available seat status old wrapper p t x service d t o rail specification v2 t h s r old available seat
type PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat ¶ added in v0.9.0
type PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat struct { // Array // // 對號座位狀態資訊(依高鐵規定若營運狀態有異常狀況時,剩餘座位資訊將停留在最後正常運行時間之狀態不做更新,實際資料請參考高鐵各車站現場對號座剩餘座位資訊看板) // Required: true AvailableSeats []*PTXServiceDTORailSpecificationV2THSRAvailableSeat "json:\"AvailableSeats\" xml:\"List`1\"" // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源平台更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time SrcUpdateTime strfmt.DateTime `json:"SrcUpdateTime,omitempty"` // String // // 營運日說明(格式: yyyy-MM-dd) TrainDate string `json:"TrainDate,omitempty" xml:"String,omitempty"` // PTX平台更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"` }
PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat AvailableSeatStatus
swagger:model PTX.API.Rail.Model.V2THSRAvailableSeatStatusWrapper[PTX.Service.DTO.Rail.Specification.V2.THSR.AvailableSeat]
func (*PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) ContextValidate ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x API rail model v2 t h s r available seat status wrapper p t x service d t o rail specification v2 t h s r available seat based on the context it is used
func (*PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) MarshalBinary ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) UnmarshalBinary ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) Validate ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat) Validate(formats strfmt.Registry) error
Validate validates this p t x API rail model v2 t h s r available seat status wrapper p t x service d t o rail specification v2 t h s r available seat
type PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat ¶ added in v0.9.0
type PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat struct { // Array // // 對號座位狀態資訊(依高鐵規定若營運狀態有異常狀況時,剩餘座位資訊將停留在最後正常運行時間之狀態不做更新,實際資料請參考高鐵各車站現場對號座剩餘座位資訊看板) // Required: true AvailableSeats []*PTXServiceDTORailSpecificationV2THSRODAvailableSeat "json:\"AvailableSeats\" xml:\"List`1\"" // 資料總筆數 Count int64 `json:"Count,omitempty"` // Int32 // // 來源平台更新週期(秒) SrcUpdateInterval int32 `json:"SrcUpdateInterval,omitempty"` // 來源平台更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time SrcUpdateTime strfmt.DateTime `json:"SrcUpdateTime,omitempty"` // String // // 營運日說明(格式: yyyy-MM-dd) TrainDate string `json:"TrainDate,omitempty" xml:"String,omitempty"` // Int32 // // PTX平台更新調期(秒) UpdateInterval int32 `json:"UpdateInterval,omitempty"` // PTX平台更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"` }
PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat AvailableSeatStatus
swagger:model PTX.API.Rail.Model.V2THSRODAvailableSeatStatusWrapper[PTX.Service.DTO.Rail.Specification.V2.THSR.OD.AvailableSeat]
func (*PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) ContextValidate ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x API rail model v2 t h s r o d available seat status wrapper p t x service d t o rail specification v2 t h s r o d available seat based on the context it is used
func (*PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) MarshalBinary ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) UnmarshalBinary ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) Validate ¶ added in v0.9.0
func (m *PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat) Validate(formats strfmt.Registry) error
Validate validates this p t x API rail model v2 t h s r o d available seat status wrapper p t x service d t o rail specification v2 t h s r o d available seat
type PTXServiceDTORailSpecificationV2MetroAlert ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroAlert struct { // String // // 通阻訊息代碼 // Required: true AlertID *string `json:"AlertID" xml:"String"` // String // // 通阻訊息網址連結 AlertURL string `json:"AlertURL,omitempty" xml:"String,omitempty"` // String // // 通阻訊息說明 // Required: true Description *string `json:"Description" xml:"String"` // Int32 // // 影響方向 : [0:'去程',1:'返程'] Direction int64 `json:"Direction,omitempty"` // String // // 影響說明 Effect string `json:"Effect,omitempty" xml:"String,omitempty"` // 訊息結束日期時間 // Format: date-time EndTime strfmt.DateTime `json:"EndTime,omitempty"` // Int32 // // 影響等級程度 : [1:'重度',2:'中度',3:'輕度'] Level int64 `json:"Level,omitempty"` // 消息發佈日期時間 // Format: date-time PublishTime strfmt.DateTime `json:"PublishTime,omitempty"` // String // // 影響原因 Reason string `json:"Reason,omitempty" xml:"String,omitempty"` // AlertScope // // 影響範圍 // Required: true Scope struct { PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope } `json:"Scope" xml:"AlertScope"` // 訊息起始日期時間 // Format: date-time StartTime strfmt.DateTime `json:"StartTime,omitempty"` // Int32 // // 營運狀況 : [0:'全線營運停止',1:'全線營運正常',2:'有異常狀況'] // Required: true Status *int64 `json:"Status"` // String // // 通阻訊息標題 // Required: true Title *string `json:"Title" xml:"String"` // DateTime // // 消息更新日期時間 // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2MetroAlert Alert
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Alert
func (*PTXServiceDTORailSpecificationV2MetroAlert) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro alert based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroAlert) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroAlert) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroAlert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroDrinkingFountain ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroDrinkingFountain struct { // String // // 位置描述 // Required: true Description *string `json:"Description" xml:"String"` // String // // 樓層 // Required: true FloorLevel *string `json:"FloorLevel" xml:"String"` }
PTXServiceDTORailSpecificationV2MetroDrinkingFountain DrinkingFountain
飲水機位置資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.DrinkingFountain
func (*PTXServiceDTORailSpecificationV2MetroDrinkingFountain) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroDrinkingFountain) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro drinking fountain based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroDrinkingFountain) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroDrinkingFountain) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroDrinkingFountain) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroDrinkingFountain) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroElevator ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroElevator struct { // String // // 位置描述 // Required: true Description *string `json:"Description" xml:"String"` // String // // 樓層 // Required: true FloorLevel *string `json:"FloorLevel" xml:"String"` }
PTXServiceDTORailSpecificationV2MetroElevator Elevator
無障礙電梯位置資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Elevator
func (*PTXServiceDTORailSpecificationV2MetroElevator) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroElevator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro elevator based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroElevator) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroElevator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroElevator) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroElevator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroFirstLastTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroFirstLastTimetable struct { // String // // 目的站車站代號 // Required: true DestinationStaionID *string `json:"DestinationStaionID" xml:"String"` // NameType // // 目的站車站名稱 // Required: true DestinationStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"DestinationStationName" xml:"NameType"` // String // // 首班車時刻 // Required: true FirstTrainTime *string `json:"FirstTrainTime" xml:"String"` // String // // 末班車時刻 // Required: true LastTrainTime *string `json:"LastTrainTime" xml:"String"` // String // // 首末班車次之路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 首末班車次之路線代號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // ServiceDay // // 服務日型態 // Required: true ServiceDay struct { PTXServiceDTORailSpecificationV2MetroSubClassServiceDay } `json:"ServiceDay" xml:"ServiceDay"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 車站代號 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // 車種(0:不分車種, 1:普通車, 2:直達車) TrainType int32 `json:"TrainType,omitempty"` // String // // 首末班車次之目的地方向描述 TripHeadSign string `json:"TripHeadSign,omitempty" xml:"String,omitempty"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroFirstLastTimetable FirstLastTimetable
首末班車時刻表資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.FirstLastTimetable
func (*PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro first last timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroFirstLastTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroFrequency ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroFrequency struct { // Array // // 班距頻率資訊 // Required: true Headways []*PTXServiceDTORailSpecificationV2MetroSubClassHeadway "json:\"Headways\" xml:\"List`1\"" // String // // 營運路線所屬之路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 營運路線所屬之路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // OperationTime // // 營運時間資訊 // Required: true OperationTime struct { PTXServiceDTORailSpecificationV2MetroSubClassOperationTime } `json:"OperationTime" xml:"OperationTime"` // String // // 營運路線代碼 // Required: true RouteID *string `json:"RouteID" xml:"String"` // ServiceDay // // 服務日型態 // Required: true ServiceDay struct { PTXServiceDTORailSpecificationV2MetroSubClassServiceDay } `json:"ServiceDay" xml:"ServiceDay"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // 車種(0:不分車種, 1:普通車, 2:直達車) TrainType int32 `json:"TrainType,omitempty"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroFrequency Frequency
路線發車班距頻率資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Frequency
func (*PTXServiceDTORailSpecificationV2MetroFrequency) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroFrequency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro frequency based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroFrequency) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroFrequency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroFrequency) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroFrequency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroInformationSpot ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroInformationSpot struct { // String // // 位置描述 // Required: true Description *string `json:"Description" xml:"String"` // String // // 樓層 // Required: true FloorLevel *string `json:"FloorLevel" xml:"String"` }
PTXServiceDTORailSpecificationV2MetroInformationSpot InformationSpot
詢問處位置資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.InformationSpot
func (*PTXServiceDTORailSpecificationV2MetroInformationSpot) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroInformationSpot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro information spot based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroInformationSpot) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroInformationSpot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroInformationSpot) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroInformationSpot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroLine ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroLine struct { // Boolean // // 是否位於支線 // Required: true IsBranch *bool `json:"IsBranch"` // String // // 路線顏色 // Required: true LineColor *string `json:"LineColor" xml:"String"` // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // NameType // // 路線名稱 // Required: true LineName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"LineName" xml:"NameType"` // String // // 路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // NameType // // 路線區間名稱 // Required: true LineSectionName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"LineSectionName" xml:"NameType"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroLine Line
捷運路線資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Line
func (*PTXServiceDTORailSpecificationV2MetroLine) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro line based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroLine) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroLine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroLine) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroLine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroLineTransfer ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroLineTransfer struct { // String // // 路線間轉乘(起)之路線代碼 // Required: true FromLineID *string `json:"FromLineID" xml:"String"` // NameType // // 路線間轉乘(起)之路線名稱 // Required: true FromLineName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"FromLineName" xml:"NameType"` // String // // 路線間轉乘(起)之路線編號 FromLineNo string `json:"FromLineNo,omitempty" xml:"String,omitempty"` // String // // 路線間轉乘(起)之車站代碼 // Required: true FromStationID *string `json:"FromStationID" xml:"String"` // NameType // // 路線間轉乘(起)之車站名稱 // Required: true FromStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"FromStationName" xml:"NameType"` // Int32 // // 是否為站內或站外轉乘 : [0:'站外',1:'站內'] IsOnSiteTransfer int64 `json:"IsOnSiteTransfer,omitempty"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 路線間轉乘(迄)之路線代碼 // Required: true ToLineID *string `json:"ToLineID" xml:"String"` // NameType // // 路線間轉乘(迄)之路線名稱 // Required: true ToLineName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"ToLineName" xml:"NameType"` // String // // 路線間轉乘(迄)之路線編號 // Required: true ToLineNo *string `json:"ToLineNo" xml:"String"` // String // // 路線間轉乘(迄)之車站代碼 // Required: true ToStationID *string `json:"ToStationID" xml:"String"` // NameType // // 路線間轉乘(迄)之車站名稱 // Required: true ToStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"ToStationName" xml:"NameType"` // String // // 轉乘方式文字描述 // Required: true TransferDescription *string `json:"TransferDescription" xml:"String"` // Int32 // // 轉乘耗時參考時間(分) // Required: true TransferTime *int32 `json:"TransferTime"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroLineTransfer LineTransfer
捷運路線站間轉乘基本資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.LineTransfer
func (*PTXServiceDTORailSpecificationV2MetroLineTransfer) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroLineTransfer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro line transfer based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroLineTransfer) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroLineTransfer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroLineTransfer) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroLineTransfer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroLiveBoard ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroLiveBoard struct { // String // // 目的地車站代號 // Required: true DestinationStaionID *string `json:"DestinationStaionID" xml:"String"` // String // // 目的地車站代號 // Required: true DestinationStationID *string `json:"DestinationStationID" xml:"String"` // NameType // // 目的地車站名稱 // Required: true DestinationStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"DestinationStationName" xml:"NameType"` // 下班車次抵達時間預估(分) EstimateTime int32 `json:"EstimateTime,omitempty"` // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 路線編號 LineNO string `json:"LineNO,omitempty" xml:"String,omitempty"` // NameType // // 路線名稱 // Required: true LineName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"LineName" xml:"NameType"` // Int32 // // 車次營運服務狀態(0: 正常, 1: 尚未發車, 2: 交管不停靠, 3: 末班車已過, 4: 今日未營運) // Required: true ServiceStatus *int32 `json:"ServiceStatus"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 所在車站代號 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 所在車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // String // // 下班車次方向描述 // Required: true TripHeadSign *string `json:"TripHeadSign" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2MetroLiveBoard LiveBoard
捷運列車到離站動態資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.LiveBoard
func (*PTXServiceDTORailSpecificationV2MetroLiveBoard) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroLiveBoard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro live board based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroLiveBoard) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroLiveBoard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroLiveBoard) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroLiveBoard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope struct { // AlertScopeLineSection[] // // 受影響的路線區間 // Required: true LineSections []*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection `json:"LineSections" xml:"AlertScopeLineSection[]"` // AlertScopeLine[] // // 受影響的實體路線 // Required: true Lines []*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine `json:"Lines" xml:"AlertScopeLine[]"` // AlertScopeNetwork // // 受影響的路網 Network struct { PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork } `json:"Network,omitempty" xml:"AlertScopeNetwork,omitempty"` // AlertScopeRoute[] // // 受影響的營運路線 // Required: true Routes []*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute `json:"Routes" xml:"AlertScopeRoute[]"` // AlertScopeStation[] // // 受影響的車站 // Required: true Stations []*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation `json:"Stations" xml:"AlertScopeStation[]"` // AlertScopeTrain[] // // 受影響的車次 // Required: true Trains []*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain `json:"Trains" xml:"AlertScopeTrain[]"` }
PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope AlertScope
影響範圍
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTAlertList.AlertScope
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro m r t alert list alert scope based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScope) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine struct { // String // // 實體路線代碼 LineID string `json:"LineID,omitempty" xml:"String,omitempty"` // String // // 實體路線名稱 LineName string `json:"LineName,omitempty" xml:"String,omitempty"` }
PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine AlertScopeLine
受影響的實體路線
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTAlertList.AlertScopeLine
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope line based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLine) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope line
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection struct { // String // // 影響區間輔助描述 Description string `json:"Description,omitempty" xml:"String,omitempty"` // String // // 區間迄站車站代碼 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // String // // 區間迄站車站名稱 EndingStationName string `json:"EndingStationName,omitempty" xml:"String,omitempty"` // String // // 路線區間所在路線代碼 LineID string `json:"LineID,omitempty" xml:"String,omitempty"` // String // // 區間起站車站代碼 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // String // // 區間起站車站名稱 StartingStationName string `json:"StartingStationName,omitempty" xml:"String,omitempty"` }
PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection AlertScopeLineSection
受影響的路線區間
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTAlertList.AlertScopeLineSection
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope line section based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeLineSection) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope line section
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork struct { // String // // 路網代碼 NetworkID string `json:"NetworkID,omitempty" xml:"String,omitempty"` }
PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork AlertScopeNetwork
受影響的路網
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTAlertList.AlertScopeNetwork
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope network based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeNetwork) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope network
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute struct { // String // // 營運路線代碼 RouteID string `json:"RouteID,omitempty" xml:"String,omitempty"` // String // // 營運路線名稱 RouteName string `json:"RouteName,omitempty" xml:"String,omitempty"` }
PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute AlertScopeRoute
受影響的營運路線
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTAlertList.AlertScopeRoute
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope route based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeRoute) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope route
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation struct { // String // // 車站代碼 StationID string `json:"StationID,omitempty" xml:"String,omitempty"` // String // // 車站名稱 StationName string `json:"StationName,omitempty" xml:"String,omitempty"` }
PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation AlertScopeStation
受影響的車站
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTAlertList.AlertScopeStation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope station based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeStation) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope station
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain struct { // String // // 受影響的車次 TrainNo string `json:"TrainNo,omitempty" xml:"String,omitempty"` }
PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain AlertScopeTrain
受影響的車次
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTAlertList.AlertScopeTrain
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope train based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTAlertListAlertScopeTrain) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 metro m r t alert list alert scope train
type PTXServiceDTORailSpecificationV2MetroMRTNewsListNews ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMRTNewsListNews struct { // String // // 附件網址連結 AttachmentURL string `json:"AttachmentURL,omitempty" xml:"String,omitempty"` // String // // 發布單位 Department string `json:"Department,omitempty" xml:"String,omitempty"` // String // // 內容描述 // Required: true Description *string `json:"Description" xml:"String"` // 消息結束日期時間 // Format: date-time EndTime strfmt.DateTime `json:"EndTime,omitempty"` // Int32 // // 語系 : [1:'Zh_tw',2:'En_us',3:'Zh_cn',4:'Ja',5:'Ko',99:'Other'] Language int64 `json:"Language,omitempty"` // Int32 // // 消息類別 : [1:'最新消息',2:'新聞稿',3:'營運資訊',4:'轉乘資訊',5:'活動訊息',6:'系統公告',7:'新服務上架',8:'API修正',9:'來源異常',10:'資料更新',99:'其他'] // Required: true NewsCategory *int64 `json:"NewsCategory"` // String // // 消息代碼 // Required: true NewsID *string `json:"NewsID" xml:"String"` // String // // 消息網址連結 NewsURL string `json:"NewsURL,omitempty" xml:"String,omitempty"` // DateTime // // 消息發佈日期時間 // Required: true // Format: date-time PublishTime *strfmt.DateTime `json:"PublishTime"` // 消息起始日期時間 // Format: date-time StartTime strfmt.DateTime `json:"StartTime,omitempty"` // String // // 消息標題 // Required: true Title *string `json:"Title" xml:"String"` // DateTime // // 本筆資料之更新日期時間 // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2MetroMRTNewsListNews News
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MRTNewsList.News
func (*PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro m r t news list news based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMRTNewsListNews) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroMetroShape ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroMetroShape struct { // String // // 路線軌跡編碼(encoded polyline) // Required: true EncodedPolyline *string `json:"EncodedPolyline" xml:"String"` // String // // well-known text,為路線軌跡資料 // Required: true Geometry *string `json:"Geometry" xml:"String"` // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // NameType // // 路線名稱 // Required: true LineName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"LineName" xml:"NameType"` // String // // 路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2MetroMetroShape MetroShape
捷運線型資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.MetroShape
func (*PTXServiceDTORailSpecificationV2MetroMetroShape) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroMetroShape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro metro shape based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroMetroShape) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMetroShape) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroMetroShape) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroMetroShape) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroNetwork ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroNetwork struct { // Array // // 捷運路線資訊 // Required: true Lines []*PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine "json:\"Lines\" xml:\"List`1\"" // String // // 捷運路網代碼 // Required: true NetworkID *string `json:"NetworkID" xml:"String"` // String // // 捷運路網圖網址URL // Required: true NetworkMapURL *string `json:"NetworkMapURL" xml:"String"` // NameType // // 捷運路網名稱 // Required: true NetworkName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"NetworkName" xml:"NameType"` // String // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // NameType // // 營運業者名稱 // Required: true OperatorName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"OperatorName" xml:"NameType"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroNetwork Network
捷運路網資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Network
func (*PTXServiceDTORailSpecificationV2MetroNetwork) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro network based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroNetwork) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroNetwork) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine struct { // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` }
PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine Line
捷運路網資料-捷運路線資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.NetworkSubClass.Line
func (*PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro network sub class line based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroNetworkSubClassLine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroODFare ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroODFare struct { // String // // 迄站車站代碼 // Required: true DestinationStationID *string `json:"DestinationStationID" xml:"String"` // NameType // // 迄站車站名稱 // Required: true DestinationStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"DestinationStationName" xml:"NameType"` // Array // // 票價資訊 // Required: true Fares []*PTXServiceDTORailSpecificationV2MetroSubClassFare "json:\"Fares\" xml:\"List`1\"" // String // // 起站車站代碼 // Required: true OriginStationID *string `json:"OriginStationID" xml:"String"` // NameType // // 起站車站名稱 // Required: true OriginStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"OriginStationName" xml:"NameType"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // 車種(0:不分車種, 1:普通車, 2:直達車) TrainType int32 `json:"TrainType,omitempty"` // 起迄站間乘車距離(公里) TravelDistance float32 `json:"TravelDistance,omitempty"` // 起迄站間乘車時間(分) TravelTime int32 `json:"TravelTime,omitempty"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroODFare ODFare
起迄站間票價資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.ODFare
func (*PTXServiceDTORailSpecificationV2MetroODFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro o d fare based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroODFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroODFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroODFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroODFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroRoute ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroRoute struct { // String // // 營運路線迄站代號 // Required: true EndStationID *string `json:"EndStationID" xml:"String"` // NameType // // 營運路線迄站名稱 // Required: true EndStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndStationName" xml:"NameType"` // String // // 營運路線所屬之路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 營運路線所屬之路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // String // // 營運業者代碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // Int32 // // 軌道路線類別(33:都市捷運;34:機場捷運) // Required: true RailRouteType *int32 `json:"RailRouteType"` // String // // 營運路線代碼 // Required: true RouteID *string `json:"RouteID" xml:"String"` // Single // // 營運路線長度距離 // Required: true RouteLength *float32 `json:"RouteLength"` // NameType // // 營運路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"RouteName" xml:"NameType"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 營運路線起站代號 // Required: true StartStationID *string `json:"StartStationID" xml:"String"` // NameType // // 營運路線起站名稱 // Required: true StartStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartStationName" xml:"NameType"` // Single // // 營運路線運行時間 // Required: true TravelTime *float32 `json:"TravelTime"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroRoute Route
營運路線基本資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Route
func (*PTXServiceDTORailSpecificationV2MetroRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro route based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroS2STravelTime ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroS2STravelTime struct { // String // // 營運路線所屬之路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 營運路線所屬之路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // String // // 營運路線代碼 // Required: true RouteID *string `json:"RouteID" xml:"String"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // 車種(0:不分車種, 1:普通車, 2:直達車) TrainType int32 `json:"TrainType,omitempty"` // Array // // 站間運行時間資訊 // Required: true TravelTimes []*PTXServiceDTORailSpecificationV2MetroSubClassTravelTime "json:\"TravelTimes\" xml:\"List`1\"" // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroS2STravelTime S2STravelTime
列車站間運行時間基本資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.S2STravelTime
func (*PTXServiceDTORailSpecificationV2MetroS2STravelTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroS2STravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro s2 s travel time based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroS2STravelTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroS2STravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroS2STravelTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroS2STravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroStation ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroStation struct { // Boolean // // 假日自行車進出與否 // Required: true BikeAllowOnHoliday *bool `json:"BikeAllowOnHoliday"` // String // // 車站位置所屬縣市 LocationCity string `json:"LocationCity,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬縣市代碼 LocationCityCode string `json:"LocationCityCode,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬鄉鎮 LocationTown string `json:"LocationTown,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬鄉鎮代碼 LocationTownCode string `json:"LocationTownCode,omitempty" xml:"String,omitempty"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 車站地址 // Required: true StationAddress *string `json:"StationAddress" xml:"String"` // String // // 車站代號 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // PointType // // 車站位置 StationPosition struct { PTXServiceDTORailSpecificationV2PointType } `json:"StationPosition,omitempty" xml:"PointType,omitempty"` // String // // 車站唯一識別代碼 // Required: true StationUID *string `json:"StationUID" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroStation Station
捷運車站資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Station
func (*PTXServiceDTORailSpecificationV2MetroStation) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro station based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroStation) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroStation) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroStationExit ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroStationExit struct { // 是否有電梯 // Required: true Elevator *bool `json:"Elevator"` // 是否有電扶梯(0:沒有,1:雙向,2:出站,3:入站) // Required: true Escalator *int32 `json:"Escalator"` // String // // 出入口代碼 // Required: true ExitID *string `json:"ExitID" xml:"String"` // NameType // // 出入口名稱 // Required: true ExitName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"ExitName" xml:"NameType"` // PointType // // 出入口座標 // Required: true ExitPosition struct { PTXServiceDTOSharedSpecificationV2BasePointType } `json:"ExitPosition" xml:"PointType"` // String // // 地址描述 // Required: true LocationDescription *string `json:"LocationDescription" xml:"String"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // 是否有樓梯 // Required: true Stair *bool `json:"Stair"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroStationExit StationExit
捷運車站出入口基本資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.StationExit
func (*PTXServiceDTORailSpecificationV2MetroStationExit) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroStationExit) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro station exit based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroStationExit) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationExit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroStationExit) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationExit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroStationFacility ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroStationFacility struct { // Array // // 飲水機位置資訊 // Required: true DrinkingFountains []*PTXServiceDTORailSpecificationV2MetroDrinkingFountain "json:\"DrinkingFountains\" xml:\"List`1\"" // Array // // 無障礙電梯位置資訊 // Required: true Elevators []*PTXServiceDTORailSpecificationV2MetroElevator "json:\"Elevators\" xml:\"List`1\"" // Array // // 詢問處位置資訊 // Required: true InformationSpots []*PTXServiceDTORailSpecificationV2MetroInformationSpot "json:\"InformationSpots\" xml:\"List`1\"" // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 車站代號 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // Array // // 廁所位置資訊 // Required: true Toilets []*PTXServiceDTORailSpecificationV2MetroToilet "json:\"Toilets\" xml:\"List`1\"" // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroStationFacility StationFacility
捷運車站設施資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.StationFacility
func (*PTXServiceDTORailSpecificationV2MetroStationFacility) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroStationFacility) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro station facility based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroStationFacility) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationFacility) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroStationFacility) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationFacility) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroStationOfLine ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroStationOfLine struct { // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // Array // // 路線車站資訊 // Required: true Stations []*PTXServiceDTORailSpecificationV2MetroSubClassStation "json:\"Stations\" xml:\"List`1\"" // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroStationOfLine StationOfLine
路線車站資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.StationOfLine
func (*PTXServiceDTORailSpecificationV2MetroStationOfLine) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroStationOfLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro station of line based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroStationOfLine) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationOfLine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroStationOfLine) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationOfLine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroStationOfRoute ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroStationOfRoute struct { // Int32 // // 營運路線方向描述(0:去程,1:返程) // Required: true Direction *int32 `json:"Direction"` // String // // 營運路線所屬之路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 營運路線所屬之路線編號 LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"` // String // // 營運路線代碼 // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 營運路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"RouteName" xml:"NameType"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // Array // // 營運路線車站資訊 // Required: true Stations []*PTXServiceDTORailSpecificationV2MetroSubClassStation "json:\"Stations\" xml:\"List`1\"" // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroStationOfRoute StationOfRoute
路線車站資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.StationOfRoute
func (*PTXServiceDTORailSpecificationV2MetroStationOfRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroStationOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro station of route based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroStationOfRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroStationOfRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroStationTimeTable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroStationTimeTable struct { // String // // 目的站車站代號 // Required: true DestinationStaionID *string `json:"DestinationStaionID" xml:"String"` // NameType // // 目的站車站名稱 // Required: true DestinationStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"DestinationStationName" xml:"NameType"` // Int32 // // 營運路線方向描述 : [0:'去程',1:'返程'] Direction int64 `json:"Direction,omitempty"` // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 營運路線代碼 RouteID string `json:"RouteID,omitempty" xml:"String,omitempty"` // ServiceDay // // 服務日型態 // Required: true ServiceDay struct { PTXServiceDTORailSpecificationV2MetroSubClassServiceDay } `json:"ServiceDay" xml:"ServiceDay"` // Array // // 特定日期 SpecialDays []*PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay "json:\"SpecialDays\" xml:\"List`1\"" // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // Array // // 車站發車時刻資訊 // Required: true Timetables []*PTXServiceDTORailSpecificationV2MetroSubClassTimetable "json:\"Timetables\" xml:\"List`1\"" // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2MetroStationTimeTable StationTimeTable
站別時刻表資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.StationTimeTable
func (*PTXServiceDTORailSpecificationV2MetroStationTimeTable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroStationTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro station time table based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroStationTimeTable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroStationTimeTable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroStationTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassFare ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroSubClassFare struct { // String // // 市民所屬縣市代碼 : ['TPE':'臺北市','NWT':'新北市','OTHERS':'其他') CitizenCode string `json:"CitizenCode,omitempty" xml:"String,omitempty"` // Int32 // // 費率等級 : [1:'成人(Adult)',2:'學生(Student)',3:'孩童(Child)',4:'敬老(Senior)',5:'愛心(Disabled)',6:'愛心孩童(Disabled Child)',7:'愛心優待/愛心陪伴',8:'團體(Group)'] // Required: true FareClass *int32 `json:"FareClass"` // Int32 // // 收費價格(新台幣) // Required: true Price *int32 `json:"Price"` // String // // 販售方式 : [1:'現場櫃台販售',2:'現場機器販售',3:'線上販售',99:'其他'] SaleType string `json:"SaleType,omitempty" xml:"String,omitempty"` // Int32 // // 票種類型 : [1:'一般票(單程票)',2:'來回票(悠遊卡/一卡通)',3:'電子票證',4:'回數票',5:'定期票30天期',6:'定期票60天期'] // Required: true TicketType *int32 `json:"TicketType"` }
PTXServiceDTORailSpecificationV2MetroSubClassFare Fare
票價資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.Fare
func (*PTXServiceDTORailSpecificationV2MetroSubClassFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro sub class fare based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassHeadway ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroSubClassHeadway struct { // String // // 結束時間 // Required: true EndTime *string `json:"EndTime" xml:"String"` // Int32 // // 最大班距時間(分) // Required: true MaxHeadwayMins *int32 `json:"MaxHeadwayMins"` // Int32 // // 最小班距時間(分) // Required: true MinHeadwayMins *int32 `json:"MinHeadwayMins"` // String // // 尖峰/離峰狀態(0:離峰, 1:尖峰) // Required: true PeakFlag *string `json:"PeakFlag" xml:"String"` // String // // 開始時間 // Required: true StartTime *string `json:"StartTime" xml:"String"` }
PTXServiceDTORailSpecificationV2MetroSubClassHeadway Headway
班距頻率資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.Headway
func (*PTXServiceDTORailSpecificationV2MetroSubClassHeadway) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassHeadway) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro sub class headway based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassHeadway) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassHeadway) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassHeadway) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassHeadway) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassOperationTime ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroSubClassOperationTime struct { // String // // 營運結束時間 // Required: true EndTime *string `json:"EndTime" xml:"String"` // String // // 營運開始時間 // Required: true StartTime *string `json:"StartTime" xml:"String"` }
PTXServiceDTORailSpecificationV2MetroSubClassOperationTime OperationTime
營運時間資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.OperationTime
func (*PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro sub class operation time based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassOperationTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassServiceDay ¶ added in v0.9.0
type PTXServiceDTORailSpecificationV2MetroSubClassServiceDay struct { // Boolean // // 星期五營運與否 // Required: true Friday *bool `json:"Friday"` // Boolean // // 星期一營運與否 // Required: true Monday *bool `json:"Monday"` // Boolean // // 國定假日營運與否 // Required: true NationalHolidays *bool `json:"NationalHolidays"` // Boolean // // 星期六營運與否 // Required: true Saturday *bool `json:"Saturday"` // String // // 營運日標籤 ServiceTag string `json:"ServiceTag,omitempty" xml:"String,omitempty"` // Boolean // // 星期日營運與否 // Required: true Sunday *bool `json:"Sunday"` // Boolean // // 星期四營運與否 // Required: true Thursday *bool `json:"Thursday"` // Boolean // // 星期二營運與否 // Required: true Tuesday *bool `json:"Tuesday"` // Boolean // // 星期三營運與否 // Required: true Wednesday *bool `json:"Wednesday"` }
PTXServiceDTORailSpecificationV2MetroSubClassServiceDay ServiceDay
服務日型態
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.ServiceDay
func (*PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro sub class service day based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) MarshalBinary ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) UnmarshalBinary ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay struct { // String // // 描述 // Required: true Description *string `json:"Description" xml:"String"` // DateTime // // 結束時間 // Required: true // Format: date-time EndDate *strfmt.DateTime `json:"EndDate"` // DateTime // // 開始時間 // Required: true // Format: date-time SaterDate *strfmt.DateTime `json:"SaterDate"` }
PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay SpecialDay
特定日期
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.SpecialDay
func (*PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro sub class special day based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassSpecialDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassStation ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroSubClassStation struct { // 已累積之里程距離(公里) CumulativeDistance float32 `json:"CumulativeDistance,omitempty"` // Int32 // // 站序 // Required: true Sequence *int32 `json:"Sequence"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` }
PTXServiceDTORailSpecificationV2MetroSubClassStation Station
路線車站資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.Station
func (*PTXServiceDTORailSpecificationV2MetroSubClassStation) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro sub class station based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassStation) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassStation) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroSubClassTimetable struct { // String // // 到站時刻(hh:mm) // Required: true ArrivalTime *string `json:"ArrivalTime" xml:"String"` // String // // 發車時刻(hh:mm) // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // Int32 // // 發車順序 // Required: true Sequence *int32 `json:"Sequence"` // String // // 車次號碼(捷運通常沒有TrainNo車次資訊) // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // 車種(0:不分車種, 1:普通車, 2:直達車) TrainType int32 `json:"TrainType,omitempty"` }
PTXServiceDTORailSpecificationV2MetroSubClassTimetable Timetable
車站發車時刻資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.Timetable
func (*PTXServiceDTORailSpecificationV2MetroSubClassTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro sub class timetable based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroSubClassTravelTime ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroSubClassTravelTime struct { // String // // 起站車站代號 // Required: true FromStationID *string `json:"FromStationID" xml:"String"` // NameType // // 起站車站名稱 // Required: true FromStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"FromStationName" xml:"NameType"` // Int32 // // 站間行駛時間(秒) // Required: true RunTime *int32 `json:"RunTime"` // Int32 // // 站間序號 // Required: true Sequence *int32 `json:"Sequence"` // 起站停靠時間(秒) StopTime int32 `json:"StopTime,omitempty"` // String // // 迄站車站代號 // Required: true ToStationID *string `json:"ToStationID" xml:"String"` // NameType // // 迄站車站名稱 // Required: true ToStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"ToStationName" xml:"NameType"` }
PTXServiceDTORailSpecificationV2MetroSubClassTravelTime TravelTime
站間運行時間資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.SubClass.TravelTime
func (*PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 metro sub class travel time based on the context it is used
func (*PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroSubClassTravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2MetroToilet ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2MetroToilet struct { // String // // 位置描述 // Required: true Description *string `json:"Description" xml:"String"` // String // // 樓層 // Required: true FloorLevel *string `json:"FloorLevel" xml:"String"` }
PTXServiceDTORailSpecificationV2MetroToilet Toilet
廁所位置資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.Metro.Toilet
func (*PTXServiceDTORailSpecificationV2MetroToilet) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2MetroToilet) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 metro toilet based on context it is used
func (*PTXServiceDTORailSpecificationV2MetroToilet) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroToilet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2MetroToilet) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2MetroToilet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2PointType ¶ added in v0.9.0
type PTXServiceDTORailSpecificationV2PointType struct { // String // // 地理空間編碼 GeoHash string `json:"GeoHash,omitempty" xml:"String,omitempty"` // 位置緯度(WGS84) PositionLat float64 `json:"PositionLat,omitempty"` // 位置經度(WGS84) PositionLon float64 `json:"PositionLon,omitempty"` }
PTXServiceDTORailSpecificationV2PointType PointType
座標資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.PointType
func (*PTXServiceDTORailSpecificationV2PointType) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2PointType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 point type based on context it is used
func (*PTXServiceDTORailSpecificationV2PointType) MarshalBinary ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2PointType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2PointType) UnmarshalBinary ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2PointType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRAlertInfo ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRAlertInfo struct { // String // // 事件簡易描述 // Required: true Description *string `json:"Description" xml:"String"` // String // // 運行方向 // Required: true Direction *string `json:"Direction" xml:"String"` // String // // 影響區間 // Required: true EffectedSection *string `json:"EffectedSection" xml:"String"` // String // // 影響狀態 // Required: true Effects *string `json:"Effects" xml:"String"` // 結束時間 // Format: date-time EndTime strfmt.DateTime `json:"EndTime,omitempty"` // Int32 // // 動態事件影響等級(本資料僅作參考,實際資料請參考高鐵http://www.thsrc.com.tw/tw/Operation) : [1:'全線正常運行',2:'有異常狀況'] // Required: true Level *int64 `json:"Level"` // 發生日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time OccuredTime strfmt.DateTime `json:"OccuredTime,omitempty"` // 訊息發布日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time PublishTime strfmt.DateTime `json:"PublishTime,omitempty"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // 開始時間 // Format: date-time StartTime strfmt.DateTime `json:"StartTime,omitempty"` // String // // 營運狀態 = ['空白: 正常' or '▲: 其他的異常狀態' or 'X: 全線停止運行'] // Required: true Status *string `json:"Status" xml:"String"` // String // // 標題 // Required: true Title *string `json:"Title" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2THSRAlertInfo AlertInfo
高鐵即時通阻事件資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.AlertInfo
func (*PTXServiceDTORailSpecificationV2THSRAlertInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRAlertInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t h s r alert info based on context it is used
func (*PTXServiceDTORailSpecificationV2THSRAlertInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRAlertInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRAlertInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRAlertInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRAvailableSeat ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRAvailableSeat struct { // Int32 // // 方向 : [0:'南下',1:'北上'] // Required: true Direction *int64 `json:"Direction"` // String // // 終點車站代碼 // Required: true EndingStationCode *string `json:"EndingStationCode" xml:"String"` // String // // 終點車站簡碼(訂票系統用) // Required: true EndingStationID *string `json:"EndingStationID" xml:"String"` // NameType // // 終點車站名稱 // Required: true EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName" xml:"NameType"` // String // // 起站車站簡碼(訂票系統用) // Required: true StartingStationCode *string `json:"StartingStationCode" xml:"String"` // String // // 起點車站代碼 // Required: true StartingStationID *string `json:"StartingStationID" xml:"String"` // NameType // // 起點車站名稱 // Required: true StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName" xml:"NameType"` // Array // // 車次停靠站點組合 // Required: true StopStations []*PTXServiceDTORailSpecificationV2THSRStopStation "json:\"StopStations\" xml:\"List`1\"" // String // // 車次號碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` }
PTXServiceDTORailSpecificationV2THSRAvailableSeat AvailableSeat
高鐵對號座位狀態資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.AvailableSeat
func (*PTXServiceDTORailSpecificationV2THSRAvailableSeat) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r available seat based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRAvailableSeat) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRAvailableSeat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRAvailableSeat) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRAvailableSeat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRGeneralTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRGeneralTimetable struct { // RailGeneralTrainInfo // // 定期車次資料 // Required: true GeneralTrainInfo struct { PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo } `json:"GeneralTrainInfo" xml:"RailGeneralTrainInfo"` // ServiceDay // // 營運日型態 // Required: true ServiceDay struct { PTXServiceDTORailSpecificationV2THSRServiceDay } `json:"ServiceDay" xml:"ServiceDay"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // Array // // 停靠時間資料 // Required: true StopTimes []*PTXServiceDTORailSpecificationV2THSRRailStopTime "json:\"StopTimes\" xml:\"List`1\"" }
PTXServiceDTORailSpecificationV2THSRGeneralTimetable GeneralTimetable
高鐵定期時刻表資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.GeneralTimetable
func (*PTXServiceDTORailSpecificationV2THSRGeneralTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r general timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRGeneralTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRGeneralTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRGeneralTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRGeneralTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRNews ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRNews struct { // Array // // 消息附件網址連結 // Required: true AttachmentURLList []string "json:\"AttachmentUrlList\" xml:\"List`1\"" // String // // 消息內容描述 // Required: true Description *string `json:"Description" xml:"String"` // 結束時間 // Format: date-time EndTime strfmt.DateTime `json:"EndTime,omitempty"` // String // // 語系 // Required: true Language *string `json:"Language" xml:"String"` // String // // 消息類別 // Required: true NewsCategory *string `json:"NewsCategory" xml:"String"` // Guid // // 消息編號 // Required: true // Format: uuid NewsID *strfmt.UUID `json:"NewsID"` // String // // 消息網址連結 // Required: true NewsURL *string `json:"NewsUrl" xml:"String"` // DateTime // // 消息發布日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time PublishTime *strfmt.DateTime `json:"PublishTime"` // DateTime // // 開始時間 // Required: true // Format: date-time StartTime *strfmt.DateTime `json:"StartTime"` // String // // 消息標題 // Required: true Title *string `json:"Title" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2THSRNews News
高鐵最新消息
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.News
func (*PTXServiceDTORailSpecificationV2THSRNews) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRNews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t h s r news based on context it is used
func (*PTXServiceDTORailSpecificationV2THSRNews) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRNews) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRNews) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRNews) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRODAvailableSeat ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRODAvailableSeat struct { // String // // 商務席剩餘座位狀態 // Required: true BusinessSeatStatus *string `json:"BusinessSeatStatus" xml:"String"` // String // // 迄站車站簡碼(訂票系統用) // Required: true DestinationStationCode *string `json:"DestinationStationCode" xml:"String"` // String // // 迄點車站代碼 // Required: true DestinationStationID *string `json:"DestinationStationID" xml:"String"` // NameType // // 迄點車站名稱 // Required: true DestinationStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"DestinationStationName" xml:"NameType"` // Int32 // // 行駛方向 // Required: true Direction *int32 `json:"Direction"` // String // // 起站車站簡碼(訂票系統用) // Required: true OriginStationCode *string `json:"OriginStationCode" xml:"String"` // String // // 起點車站代碼 // Required: true OriginStationID *string `json:"OriginStationID" xml:"String"` // NameType // // 起點車站名稱 // Required: true OriginStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"OriginStationName" xml:"NameType"` // String // // 標準席剩餘座位狀態 // Required: true StandardSeatStatus *string `json:"StandardSeatStatus" xml:"String"` // String // // 車次號碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` }
PTXServiceDTORailSpecificationV2THSRODAvailableSeat AvailableSeat
高鐵站間對號座位狀態資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.OD.AvailableSeat
func (*PTXServiceDTORailSpecificationV2THSRODAvailableSeat) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRODAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r o d available seat based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRODAvailableSeat) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRODAvailableSeat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRODAvailableSeat) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRODAvailableSeat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRODFare ¶ added in v0.15.0
type PTXServiceDTORailSpecificationV2THSRODFare struct { // Int32 // // 費率等級 : [1:'標準座車廂',2:'商務座車廂',3:'自由座車廂'] // Required: true CabinClass *int32 `json:"CabinClass"` // Int32 // // 費率等級 : [1:'成人',2:'學生',3:'孩童',4:'敬老',5:'愛心',6:'愛心孩童',7:'愛心優待/愛心陪伴',8:'軍警',9:'法優'] // Required: true FareClass *int32 `json:"FareClass"` // Int32 // // 收費價格(新台幣) // Required: true Price *int32 `json:"Price"` // Int32 // // 票種類型 : [1:'一般票(單程票)',2:'來回票',3:'電子票証(悠遊卡/一卡通)',4:'回數票',5:'定期票(30天期)',6:'定期票(60天期)',7:'早鳥票',8:'團體票'] // Required: true TicketType *int32 `json:"TicketType"` }
PTXServiceDTORailSpecificationV2THSRODFare Fare
高鐵票價資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.OD.Fare
func (*PTXServiceDTORailSpecificationV2THSRODFare) ContextValidate ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSRODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t h s r o d fare based on context it is used
func (*PTXServiceDTORailSpecificationV2THSRODFare) MarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSRODFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRODFare) UnmarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSRODFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSROldAvailableSeat ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSROldAvailableSeat struct { // String // // 發車時間(格式: HH:mm) // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // Int32 // // 方向 : [0:'南下',1:'北上'] // Required: true Direction *int64 `json:"Direction"` // String // // 終點車站代碼 // Required: true EndingStationID *string `json:"EndingStationID" xml:"String"` // NameType // // 終點車站名稱 // Required: true EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName" xml:"NameType"` // DateTime // // 來源平台更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 查詢車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 查詢車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // Array // // 車次停靠站點組合 // Required: true StopStations []*PTXServiceDTORailSpecificationV2THSROldStopStation "json:\"StopStations\" xml:\"List`1\"" // String // // 車次號碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` }
PTXServiceDTORailSpecificationV2THSROldAvailableSeat AvailableSeat
高鐵對號座位狀態資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.Old.AvailableSeat
func (*PTXServiceDTORailSpecificationV2THSROldAvailableSeat) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSROldAvailableSeat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r old available seat based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSROldAvailableSeat) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSROldAvailableSeat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSROldAvailableSeat) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSROldAvailableSeat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSROldStopStation ¶ added in v0.15.0
type PTXServiceDTORailSpecificationV2THSROldStopStation struct { // String // // 商務席剩餘座位狀態 = ['O: 尚有座位' or 'L: 座位有限' or 'X: 已無座位'] // Required: true BusinessSeatStatus *string `json:"BusinessSeatStatus" xml:"String"` // String // // 標準席剩餘座位狀態 = ['O: 尚有座位' or 'L: 座位有限' or 'X: 已無座位'] // Required: true StandardSeatStatus *string `json:"StandardSeatStatus" xml:"String"` // String // // 車站簡碼(訂票系統用) // Required: true StationCode *string `json:"StationCode" xml:"String"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // Int32 // // 跑法站序 // Required: true StopSequence *int32 `json:"StopSequence"` }
PTXServiceDTORailSpecificationV2THSROldStopStation StopStation
車次停靠站點組合
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.Old.StopStation
func (*PTXServiceDTORailSpecificationV2THSROldStopStation) ContextValidate ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSROldStopStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r old stop station based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSROldStopStation) MarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSROldStopStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSROldStopStation) UnmarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSROldStopStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailDailyTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailDailyTimetable struct { // RailDailyTrainInfo // // 車次資料 // Required: true DailyTrainInfo struct { PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo } `json:"DailyTrainInfo" xml:"RailDailyTrainInfo"` // Array // // 停靠時間資料 // Required: true StopTimes []*PTXServiceDTORailSpecificationV2THSRRailStopTime "json:\"StopTimes\" xml:\"List`1\"" // String // // 行駛日期(格式: yyyy:MM:dd) // Required: true TrainDate *string `json:"TrainDate" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2THSRRailDailyTimetable RailDailyTimetable
高鐵到離站時刻資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailDailyTimetable
func (*PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail daily timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo struct { // Int32 // // 行駛方向 : [0:'南下',1:'北上'] // Required: true Direction *int64 `json:"Direction"` // String // // 列車終點車站代號 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車終點車站名稱 EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName,omitempty" xml:"NameType,omitempty"` // NameType // // 附註說明 Note struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"Note,omitempty" xml:"NameType,omitempty"` // String // // 列車起點車站代號 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車起點車站名稱 StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName,omitempty" xml:"NameType,omitempty"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo RailDailyTrainInfo
高鐵車次資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailDailyTrainInfo
func (*PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail daily train info based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable struct { // String // // 有效日期(格式: yyyy:MM:dd) // Required: true EffectiveDate *string `json:"EffectiveDate" xml:"String"` // String // // 結束日期(格式: yyyy:MM:dd) // Required: true ExpiringDate *string `json:"ExpiringDate" xml:"String"` // GeneralTimetable // // 定期時刻表資料 // Required: true GeneralTimetable struct { PTXServiceDTORailSpecificationV2THSRGeneralTimetable } `json:"GeneralTimetable" xml:"GeneralTimetable"` // DateTime // // 發布時間(格式: yyyy-MM-dd) // Format: date-time UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable RailGeneralTimetable
高鐵到離站時刻資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailGeneralTimetable
func (*PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail general timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo struct { // Int32 // // 行駛方向 : [0:'南下',1:'北上'] // Required: true Direction *int64 `json:"Direction"` // String // // 列車終點車站代號 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車終點車站名稱 EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName,omitempty" xml:"NameType,omitempty"` // NameType // // 附註說明 Note struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"Note,omitempty" xml:"NameType,omitempty"` // String // // 列車起點車站代號 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車起點車站名稱 StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName,omitempty" xml:"NameType,omitempty"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` }
PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo RailGeneralTrainInfo
高鐵車次定期資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailGeneralTrainInfo
func (*PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail general train info based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailGeneralTrainInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable struct { // RailDailyTrainInfo // // 車次資料 // Required: true DailyTrainInfo struct { PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo } `json:"DailyTrainInfo" xml:"RailDailyTrainInfo"` // RailStopTime // // 迄站停靠時間資料 // Required: true DestinationStopTime struct { PTXServiceDTORailSpecificationV2THSRRailStopTime } `json:"DestinationStopTime" xml:"RailStopTime"` // RailStopTime // // 起站停靠時間資料 // Required: true OriginStopTime struct { PTXServiceDTORailSpecificationV2THSRRailStopTime } `json:"OriginStopTime" xml:"RailStopTime"` // String // // 行駛日期(格式: yyyy:MM:dd) // Required: true TrainDate *string `json:"TrainDate" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable RailODDailyTimetable
高鐵起訖站間到離站時刻資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailODDailyTimetable
func (*PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail o d daily timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailODFare ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailODFare struct { // String // // 迄點車站代碼 // Required: true DestinationStationID *string `json:"DestinationStationID" xml:"String"` // NameType // // 迄點車站名稱 // Required: true DestinationStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"DestinationStationName" xml:"NameType"` // Int32 // // 行駛方向 : [0:'南下',1:'北上'] // Required: true Direction *int64 `json:"Direction"` // Array // // 票價收費資訊(本項僅列標準、商務及自由之基本票價,其他優待票及團體票之折扣計算請參考高鐵網站票價產品一覽表http://www.thsrc.com.tw/tw/Article/ArticleContent/caa6fac8-b875-4ad6-b1e6-96c2902d12a6 說明) // Required: true Fares []*PTXServiceDTORailSpecificationV2THSRODFare "json:\"Fares\" xml:\"List`1\"" // String // // 起點車站代碼 // Required: true OriginStationID *string `json:"OriginStationID" xml:"String"` // NameType // // 起點車站名稱 // Required: true OriginStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"OriginStationName" xml:"NameType"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2THSRRailODFare RailODFare
高鐵起訖站票價資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailODFare
func (*PTXServiceDTORailSpecificationV2THSRRailODFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail o d fare based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailODFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailODFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailODFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailODFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailStation ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailStation struct { // String // // 車站位置所屬縣市 LocationCity string `json:"LocationCity,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬縣市代碼 LocationCityCode string `json:"LocationCityCode,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬鄉鎮 LocationTown string `json:"LocationTown,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬鄉鎮代碼 LocationTownCode string `json:"LocationTownCode,omitempty" xml:"String,omitempty"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 車站地址 // Required: true StationAddress *string `json:"StationAddress" xml:"String"` // String // // 車站簡碼(訂票系統用) // Required: true StationCode *string `json:"StationCode" xml:"String"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // String // // 車站聯絡電話 StationPhone string `json:"StationPhone,omitempty" xml:"String,omitempty"` // PointType // // 車站位置 StationPosition struct { PTXServiceDTORailSpecificationV2PointType } `json:"StationPosition,omitempty" xml:"PointType,omitempty"` // String // // 車站唯一識別代碼 // Required: true StationUID *string `json:"StationUID" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2THSRRailStation RailStation
高鐵車站資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailStation
func (*PTXServiceDTORailSpecificationV2THSRRailStation) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail station based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailStation) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailStation) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailStationTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailStationTimetable struct { // String // // 到站時間(格式: HH:mm:ss) // Required: true ArrivalTime *string `json:"ArrivalTime" xml:"String"` // String // // 離站時間(格式: HH:mm:ss) // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // Int32 // // 順逆行 : [0:'南下',1:'北上'] // Required: true Direction *int64 `json:"Direction"` // String // // 終點車站代號 // Required: true EndingStationID *string `json:"EndingStationID" xml:"String"` // NameType // // 終點車站名稱 // Required: true EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName" xml:"NameType"` // String // // 起點車站代號 // Required: true StartingStationID *string `json:"StartingStationID" xml:"String"` // NameType // // 起點車站名稱 // Required: true StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName" xml:"NameType"` // String // // 車站代號 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // String // // 時刻表日期(格式: yyyy-MM-dd) // Required: true TrainDate *string `json:"TrainDate" xml:"String"` // String // // 車次代號 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2THSRRailStationTimetable RailStationTimetable
高鐵車站站別時刻表資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailStationTimetable
func (*PTXServiceDTORailSpecificationV2THSRRailStationTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStationTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail station timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailStationTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStationTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailStationTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStationTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRRailStopTime ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRRailStopTime struct { // String // // 到站時間(格式: HH:mm:ss) ArrivalTime string `json:"ArrivalTime,omitempty" xml:"String,omitempty"` // String // // 離站時間(格式: HH:mm:ss) // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // Int32 // // 跑法站序(由1開始) // Required: true StopSequence *int32 `json:"StopSequence"` }
PTXServiceDTORailSpecificationV2THSRRailStopTime RailStopTime
高鐵停靠時間資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.RailStopTime
func (*PTXServiceDTORailSpecificationV2THSRRailStopTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r rail stop time based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRRailStopTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStopTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRRailStopTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRRailStopTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRServiceDay ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRServiceDay struct { // Int32 // // 星期五是否營運 : [0:'否',1:'是'] // Required: true Friday *int64 `json:"Friday"` // Int32 // // 星期一是否營運 : [0:'否',1:'是'] // Required: true Monday *int64 `json:"Monday"` // Int32 // // 星期六是否營運 : [0:'否',1:'是'] // Required: true Saturday *int64 `json:"Saturday"` // Int32 // // 星期日是否營運 : [0:'否',1:'是'] // Required: true Sunday *int64 `json:"Sunday"` // Int32 // // 星期四是否營運 : [0:'否',1:'是'] // Required: true Thursday *int64 `json:"Thursday"` // Int32 // // 星期二是否營運 : [0:'否',1:'是'] // Required: true Tuesday *int64 `json:"Tuesday"` // Int32 // // 星期三是否營運 : [0:'否',1:'是'] // Required: true Wednesday *int64 `json:"Wednesday"` }
PTXServiceDTORailSpecificationV2THSRServiceDay ServiceDay
高鐵服務日型態
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.ServiceDay
func (*PTXServiceDTORailSpecificationV2THSRServiceDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t h s r service day based on context it is used
func (*PTXServiceDTORailSpecificationV2THSRServiceDay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRServiceDay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRStationExit ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRStationExit struct { // 是否有電梯 // Required: true Elevator *bool `json:"Elevator"` // 是否有電扶梯 // Required: true Escalator *bool `json:"Escalator"` // String // // 出入口代碼 // Required: true ExitID *string `json:"ExitID" xml:"String"` // NameType // // 出入口名稱 // Required: true ExitName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"ExitName" xml:"NameType"` // PointType // // 出入口座標 // Required: true ExitPosition struct { PTXServiceDTOSharedSpecificationV2BasePointType } `json:"ExitPosition" xml:"PointType"` // String // // 地址描述 // Required: true LocationDescription *string `json:"LocationDescription" xml:"String"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // 是否有樓梯 // Required: true Stair *bool `json:"Stair"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2THSRStationExit StationExit
高鐵車站出入口資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.StationExit
func (*PTXServiceDTORailSpecificationV2THSRStationExit) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRStationExit) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r station exit based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRStationExit) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRStationExit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRStationExit) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRStationExit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRStopStation ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRStopStation struct { // String // // 商務席剩餘座位狀態 = ['O: 尚有座位' or 'L: 座位有限' or 'X: 已無座位'] // Required: true BusinessSeatStatus *string `json:"BusinessSeatStatus" xml:"String"` // String // // 下一停靠站車站簡碼(訂票系統用) // Required: true NextStationCode *string `json:"NextStationCode" xml:"String"` // String // // 下一停靠站車站代碼 // Required: true NextStationID *string `json:"NextStationID" xml:"String"` // NameType // // 下一停靠站車站名稱 // Required: true NextStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"NextStationName" xml:"NameType"` // String // // 標準席剩餘座位狀態 = ['O: 尚有座位' or 'L: 座位有限' or 'X: 已無座位'] // Required: true StandardSeatStatus *string `json:"StandardSeatStatus" xml:"String"` // String // // 車站簡碼(訂票系統用) // Required: true StationCode *string `json:"StationCode" xml:"String"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // Int32 // // 跑法站序 // Required: true StopSequence *int32 `json:"StopSequence"` }
PTXServiceDTORailSpecificationV2THSRStopStation StopStation
車次停靠站點組合
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.StopStation
func (*PTXServiceDTORailSpecificationV2THSRStopStation) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRStopStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r stop station based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRStopStation) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRStopStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRStopStation) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRStopStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRTHSRShape ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRTHSRShape struct { // String // // 路線軌跡編碼(encoded polyline) // Required: true EncodedPolyline *string `json:"EncodedPolyline" xml:"String"` // String // // well-known text,為路線軌跡資料 // Required: true Geometry *string `json:"Geometry" xml:"String"` // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // NameType // // 路線名稱 // Required: true LineName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"LineName" xml:"NameType"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2THSRTHSRShape THSRShape
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.THSRShape
func (*PTXServiceDTORailSpecificationV2THSRTHSRShape) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRTHSRShape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r t h s r shape based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRTHSRShape) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRTHSRShape) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRTHSRShape) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRTHSRShape) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo struct { // Int32 // // 行駛方向 : [0:'南下',1:'北上'] // Required: true Direction *int64 `json:"Direction"` // String // // 列車終點車站代號 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車終點車站名稱 EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName,omitempty" xml:"NameType,omitempty"` // NameType // // 附註說明 Note struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"Note,omitempty" xml:"NameType,omitempty"` // String // // 列車起點車站代號 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車起點車站名稱 StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName,omitempty" xml:"NameType,omitempty"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` }
PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo RailDailyTrainInfo
高鐵車次資料型別(時刻表用)
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.TimeInfo.RailDailyTrainInfo
func (*PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t h s r time info rail daily train info based on the context it is used
func (*PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2THSRTimeInfoRailDailyTrainInfo) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 t h s r time info rail daily train info
type PTXServiceDTORailSpecificationV2THSRTrainDateList ¶ added in v0.15.0
type PTXServiceDTORailSpecificationV2THSRTrainDateList struct { // String // // 每日時刻表供應最終日期(格式: yyyy-MM-dd) // Required: true EndDate *string `json:"EndDate" xml:"String"` // String // // 每日時刻表供應起始日期(格式: yyyy-MM-dd) // Required: true StartDate *string `json:"StartDate" xml:"String"` // Array // // 每日時刻表供應日期清單資料 // Required: true TrainDates []string "json:\"TrainDates\" xml:\"List`1\"" // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2THSRTrainDateList TrainDateList
高鐵每日時刻表供應日期資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.THSR.TrainDateList
func (*PTXServiceDTORailSpecificationV2THSRTrainDateList) ContextValidate ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSRTrainDateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t h s r train date list based on context it is used
func (*PTXServiceDTORailSpecificationV2THSRTrainDateList) MarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSRTrainDateList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2THSRTrainDateList) UnmarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2THSRTrainDateList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRAGeneralTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRAGeneralTimetable struct { // RailGeneralTrainInfo // // 定期車次資料 // Required: true GeneralTrainInfo struct { PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo } `json:"GeneralTrainInfo" xml:"RailGeneralTrainInfo"` // ServiceDay // // 營運日型態 // Required: true ServiceDay struct { PTXServiceDTORailSpecificationV2TRAServiceDay } `json:"ServiceDay" xml:"ServiceDay"` // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time SrcUpdateTime strfmt.DateTime `json:"SrcUpdateTime,omitempty"` // Array // // 停靠時間資料 // Required: true StopTimes []*PTXServiceDTORailSpecificationV2TRARailStopTime "json:\"StopTimes\" xml:\"List`1\"" }
PTXServiceDTORailSpecificationV2TRAGeneralTimetable GeneralTimetable
台鐵定期時刻表資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.GeneralTimetable
func (*PTXServiceDTORailSpecificationV2TRAGeneralTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRAGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a general timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRAGeneralTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRAGeneralTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRAGeneralTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRAGeneralTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRALine ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRALine struct { // Boolean // // 是否位於支線 // Required: true IsBranch *bool `json:"IsBranch"` // String // // 路線顏色 LineColor string `json:"LineColor,omitempty" xml:"String,omitempty"` // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 路線英文名稱 // Required: true LineNameEn *string `json:"LineNameEn" xml:"String"` // String // // 路線中文名稱 // Required: true LineNameZh *string `json:"LineNameZh" xml:"String"` // String // // 路線編號 // Required: true LineNo *string `json:"LineNo" xml:"String"` // String // // 路線區間英文名稱 // Required: true LineSectionNameEn *string `json:"LineSectionNameEn" xml:"String"` // String // // 路線區間中文名稱 // Required: true LineSectionNameZh *string `json:"LineSectionNameZh" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2TRALine Line
路線基本資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.Line
func (*PTXServiceDTORailSpecificationV2TRALine) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRALine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t r a line based on context it is used
func (*PTXServiceDTORailSpecificationV2TRALine) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRALine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRALine) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRALine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRALineSimple ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRALineSimple struct { // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 路線編號 // Required: true LineNo *string `json:"LineNo" xml:"String"` }
PTXServiceDTORailSpecificationV2TRALineSimple Line_Simple
路線基本資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.Line_Simple
func (*PTXServiceDTORailSpecificationV2TRALineSimple) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRALineSimple) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t r a line simple based on context it is used
func (*PTXServiceDTORailSpecificationV2TRALineSimple) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRALineSimple) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRALineSimple) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRALineSimple) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRALineStation ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRALineStation struct { // Int32 // // 站序 // Required: true Sequence *int32 `json:"Sequence"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // String // // 車站名稱 // Required: true StationName *string `json:"StationName" xml:"String"` // Single // // 已累積之里程距離(公里) // Required: true TraveledDistance *float32 `json:"TraveledDistance"` }
PTXServiceDTORailSpecificationV2TRALineStation LineStation
路線車站資訊
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.LineStation
func (*PTXServiceDTORailSpecificationV2TRALineStation) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRALineStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t r a line station based on context it is used
func (*PTXServiceDTORailSpecificationV2TRALineStation) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRALineStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRALineStation) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRALineStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRANetwork ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRANetwork struct { // Array // // 臺鐵路線資訊 // Required: true Lines []*PTXServiceDTORailSpecificationV2TRALineSimple "json:\"Lines\" xml:\"List`1\"" // String // // 臺鐵路網代碼 // Required: true NetworkID *string `json:"NetworkID" xml:"String"` // String // // 臺鐵路網圖網址URL // Required: true NetworkMapURL *string `json:"NetworkMapUrl" xml:"String"` // String // // 臺鐵路網英文名稱 // Required: true NetworkNameEn *string `json:"NetworkNameEn" xml:"String"` // String // // 臺鐵路網中文名稱 // Required: true NetworkNameZh *string `json:"NetworkNameZh" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 臺鐵路網英文名稱 // Required: true OperatorNameEn *string `json:"OperatorNameEn" xml:"String"` // String // // 臺鐵路網中文名稱 // Required: true OperatorNameZh *string `json:"OperatorNameZh" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2TRANetwork Network
臺鐵路網資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.Network
func (*PTXServiceDTORailSpecificationV2TRANetwork) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRANetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a network based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRANetwork) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRANetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRANetwork) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRANetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailDailyTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailDailyTimetable struct { // RailDailyTrainInfo // // 車次資料 // Required: true DailyTrainInfo struct { PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo } `json:"DailyTrainInfo" xml:"RailDailyTrainInfo"` // Array // // 停靠時間資料 // Required: true StopTimes []*PTXServiceDTORailSpecificationV2TRARailStopTime "json:\"StopTimes\" xml:\"List`1\"" // String // // 行駛日期(格式: yyyy-MM-dd) // Required: true TrainDate *string `json:"TrainDate" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2TRARailDailyTimetable RailDailyTimetable
台鐵到離站時刻資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailDailyTimetable
func (*PTXServiceDTORailSpecificationV2TRARailDailyTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail daily timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailDailyTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailDailyTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailDailyTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailDailyTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo struct { // Int32 // // 是否人車同行班次(置於攜車袋之自行車各級列車均可乘車) : [0:'否',1:'是'] // Required: true BikeFlag *int64 `json:"BikeFlag"` // Int32 // // 是否設有哺(集)乳室車廂 : [0:'否',1:'是'] // Required: true BreastFeedingFlag *int64 `json:"BreastFeedingFlag"` // Int32 // // 是否每日行駛 : [0:'否',1:'是'] // Required: true DailyFlag *int64 `json:"DailyFlag"` // Int32 // // 是否提供訂便當服務 : [0:'否',1:'是'] // Required: true DiningFlag *int64 `json:"DiningFlag"` // Int32 // // 順逆行 : [0:'順行',1:'逆行'] // Required: true Direction *int64 `json:"Direction"` // String // // 列車終點車站代號 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車終點車站名稱 EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName,omitempty" xml:"NameType,omitempty"` // NameType // // 附註說明 Note struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"Note,omitempty" xml:"NameType,omitempty"` // String // // 跨夜車站代碼 OverNightStationID string `json:"OverNightStationID,omitempty" xml:"String,omitempty"` // Int32 // // 是否提供行李服務 : [0:'否',1:'是'] // Required: true PackageServiceFlag *int64 `json:"PackageServiceFlag"` // Int32 // // 是否為加班車 : [0:'否',1:'是'] // Required: true ServiceAddedFlag *int64 `json:"ServiceAddedFlag"` // String // // 列車起點車站代號 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車起點車站名稱 StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName,omitempty" xml:"NameType,omitempty"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // String // // 列車車種簡碼 // Required: true TrainTypeCode *string `json:"TrainTypeCode" xml:"String"` // String // // 列車車種代碼 // Required: true TrainTypeID *string `json:"TrainTypeID" xml:"String"` // NameType // // 列車車種名稱 // Required: true TrainTypeName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"TrainTypeName" xml:"NameType"` // String // // 車次車頭文字描述(通用以"往"+ 迄站中文站名") TripHeadsign string `json:"TripHeadsign,omitempty" xml:"String,omitempty"` // Int32 // // 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線'] TripLine int64 `json:"TripLine,omitempty"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` // Int32 // // 是否設身障旅客專用座位車 : [0:'否',1:'是'] // Required: true WheelchairFlag *int64 `json:"WheelchairFlag"` }
PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo RailDailyTrainInfo
臺鐵車次資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailDailyTrainInfo
func (*PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail daily train info based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailGeneralTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailGeneralTimetable struct { // GeneralTimetable // // 定期時刻表資料 // Required: true GeneralTimetable struct { PTXServiceDTORailSpecificationV2TRAGeneralTimetable } `json:"GeneralTimetable" xml:"GeneralTimetable"` // DateTime // // 資料更新日期(格式: yyyy-MM-dd) // Format: date-time UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2TRARailGeneralTimetable RailGeneralTimetable
台鐵到離站時刻資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailGeneralTimetable
func (*PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail general timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo ¶ added in v0.9.0
type PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo struct { // Int32 // // 是否人車同行班次(置於攜車袋之自行車各級列車均可乘車) : [0:'否',1:'是'] // Required: true BikeFlag *int64 `json:"BikeFlag"` // Int32 // // 是否設有哺(集)乳室車廂 : [0:'否',1:'是'] // Required: true BreastFeedingFlag *int64 `json:"BreastFeedingFlag"` // Int32 // // 是否為每日行駛 : [0:'否',1:'是'] // Required: true DailyFlag *int64 `json:"DailyFlag"` // Int32 // // 是否提供訂便當服務 : [0:'否',1:'是'] // Required: true DiningFlag *int64 `json:"DiningFlag"` // Int32 // // 順逆行 : [0:'順行',1:'逆行'] // Required: true Direction *int64 `json:"Direction"` // String // // 列車終點車站代號 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車終點車站名稱 EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName,omitempty" xml:"NameType,omitempty"` // NameType // // 附註說明 Note struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"Note,omitempty" xml:"NameType,omitempty"` // String // // 跨夜車站代碼 OverNightStationID string `json:"OverNightStationID,omitempty" xml:"String,omitempty"` // Int32 // // 是否提供行李服務 : [0:'否',1:'是'] // Required: true PackageServiceFlag *int64 `json:"PackageServiceFlag"` // String // // 列車起點車站代號 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車起點車站名稱 StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName,omitempty" xml:"NameType,omitempty"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // String // // 列車車種簡碼 TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"` // String // // 列車車種代碼 TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"` // NameType // // 列車車種名稱 TrainTypeName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"` // Int32 // // 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線'] TripLine int64 `json:"TripLine,omitempty"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` // Int32 // // 是否設身障旅客專用座位車 : [0:'否',1:'是'] // Required: true WheelchairFlag *int64 `json:"WheelchairFlag"` }
PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo RailGeneralTrainInfo
臺鐵車次定期資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailGeneralTrainInfo
func (*PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail general train info based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) MarshalBinary ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) UnmarshalBinary ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailLiveBoard ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailLiveBoard struct { // Int32 // // 誤點時間(0:準點;>=1誤點) // Required: true DelayTime *int32 `json:"DelayTime"` // Int32 // // 順逆行 : [0:'順行',1:'逆行'] // Required: true Direction *int64 `json:"Direction"` // String // // 車次終點車站代號 // Required: true EndingStationID *string `json:"EndingStationID" xml:"String"` // NameType // // 車次終點車站名稱 // Required: true EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName" xml:"NameType"` // String // // 表訂到站時間(格式: HH:mm:ss) // Required: true ScheduledArrivalTime *string `json:"ScheduledArrivalTime" xml:"String"` // String // // 表訂離站時間(格式: HH:mm:ss) // Required: true ScheduledDepartureTime *string `json:"ScheduledDepartureTime" xml:"String"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // String // // 列車車種簡碼 TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"` // String // // 列車車種代碼 TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"` // NameType // // 列車車種名稱 TrainTypeName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"` // Int32 // // 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線'] TripLine int64 `json:"TripLine,omitempty"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2TRARailLiveBoard RailLiveBoard
台鐵車次動態車次站別即時電子看板資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailLiveBoard
func (*PTXServiceDTORailSpecificationV2TRARailLiveBoard) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailLiveBoard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail live board based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailLiveBoard) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailLiveBoard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailLiveBoard) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailLiveBoard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay struct { // Int32 // // 誤點時間(0:準點;>=1誤點) // Required: true DelayTime *int32 `json:"DelayTime"` // DateTime // // 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"` // String // // 最近通過車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 最近通過車站名稱[屬離站壓軌觸發] // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay RailLiveTrainDelay
台鐵列車即時準點/延誤時間資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailLiveTrainDelay
func (*PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail live train delay based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailODDailyTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailODDailyTimetable struct { // RailDailyTrainInfo // // 車次資料 // Required: true DailyTrainInfo struct { PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo } `json:"DailyTrainInfo" xml:"RailDailyTrainInfo"` // RailStopTime // // 迄站停靠時間資料 // Required: true DestinationStopTime struct { PTXServiceDTORailSpecificationV2TRARailStopTime } `json:"DestinationStopTime" xml:"RailStopTime"` // RailStopTime // // 起站停靠時間資料 // Required: true OriginStopTime struct { PTXServiceDTORailSpecificationV2TRARailStopTime } `json:"OriginStopTime" xml:"RailStopTime"` // String // // 行駛日期(格式: yyyy:MM:dd) // Required: true TrainDate *string `json:"TrainDate" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2TRARailODDailyTimetable RailODDailyTimetable
台鐵起訖站間到離站時刻資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailODDailyTimetable
func (*PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail o d daily timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailODDailyTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailODFare ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailODFare struct { // String // // 迄點車站代碼 // Required: true DestinationStationID *string `json:"DestinationStationID" xml:"String"` // NameType // // 迄點車站名稱 // Required: true DestinationStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"DestinationStationName" xml:"NameType"` // Int32 // // 順逆行 : [0:'順行',1:'逆行'] // Required: true Direction *int64 `json:"Direction"` // Array // // 票價收費資訊 // Required: true Fares []*PTXServiceDTOSharedSpecificationV2BaseFare "json:\"Fares\" xml:\"List`1\"" // String // // 起點車站代碼 // Required: true OriginStationID *string `json:"OriginStationID" xml:"String"` // NameType // // 起點車站名稱 // Required: true OriginStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"OriginStationName" xml:"NameType"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2TRARailODFare RailODFare
臺鐵起訖站票價資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailODFare
func (*PTXServiceDTORailSpecificationV2TRARailODFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail o d fare based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailODFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailODFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailODFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailODFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailStation ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailStation struct { // String // // 車站位置所屬縣市 LocationCity string `json:"LocationCity,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬縣市代碼 LocationCityCode string `json:"LocationCityCode,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬鄉鎮 LocationTown string `json:"LocationTown,omitempty" xml:"String,omitempty"` // String // // 車站位置所屬鄉鎮代碼 LocationTownCode string `json:"LocationTownCode,omitempty" xml:"String,omitempty"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 票價用站牌代碼 ReservationCode string `json:"ReservationCode,omitempty" xml:"String,omitempty"` // String // // 車站地址 // Required: true StationAddress *string `json:"StationAddress" xml:"String"` // String // // 車站級別 StationClass string `json:"StationClass,omitempty" xml:"String,omitempty"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // String // // 車站聯絡電話 StationPhone string `json:"StationPhone,omitempty" xml:"String,omitempty"` // PointType // // 車站位置 StationPosition struct { PTXServiceDTORailSpecificationV2PointType } `json:"StationPosition,omitempty" xml:"PointType,omitempty"` // String // // 車站唯一識別代碼 // Required: true StationUID *string `json:"StationUID" xml:"String"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2TRARailStation RailStation
台鐵車站資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailStation
func (*PTXServiceDTORailSpecificationV2TRARailStation) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailStation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail station based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailStation) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailStation) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailStationTimetable ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailStationTimetable struct { // String // // 到站時間(格式: HH:mm:ss) // Required: true ArrivalTime *string `json:"ArrivalTime" xml:"String"` // String // // 離站時間(格式: HH:mm:ss) // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // Int32 // // 順逆行 : [0:'順行',1:'逆行'] // Required: true Direction *int64 `json:"Direction"` // String // // 終點車站代號 // Required: true EndingStationID *string `json:"EndingStationID" xml:"String"` // NameType // // 終點車站名稱 // Required: true EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName" xml:"NameType"` // String // // 起點車站代號 // Required: true StartingStationID *string `json:"StartingStationID" xml:"String"` // NameType // // 起點車站名稱 // Required: true StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName" xml:"NameType"` // String // // 車站代號 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // String // // 時刻表日期(格式: yyyy-MM-dd) // Required: true TrainDate *string `json:"TrainDate" xml:"String"` // String // // 車次代號 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // String // // 列車車種簡碼 TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"` // String // // 列車車種代碼 TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"` // NameType // // 列車車種名稱 TrainTypeName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"` // Int32 // // 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線'] TripLine int64 `json:"TripLine,omitempty"` // DateTime // // 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2TRARailStationTimetable RailStationTimetable
台鐵車站站別時刻表資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailStationTimetable
func (*PTXServiceDTORailSpecificationV2TRARailStationTimetable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailStationTimetable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail station timetable based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailStationTimetable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailStationTimetable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailStationTimetable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailStationTimetable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRARailStopTime ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRARailStopTime struct { // String // // 到站時間(格式: HH:mm:ss) // Required: true ArrivalTime *string `json:"ArrivalTime" xml:"String"` // String // // 離站時間(格式: HH:mm:ss) // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // String // // 車站代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 車站名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StationName" xml:"NameType"` // Int32 // // 跑法站序(由1開始) // Required: true StopSequence *int32 `json:"StopSequence"` }
PTXServiceDTORailSpecificationV2TRARailStopTime RailStopTime
台鐵停靠時間資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.RailStopTime
func (*PTXServiceDTORailSpecificationV2TRARailStopTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRARailStopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a rail stop time based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRARailStopTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailStopTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRARailStopTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRARailStopTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRAServiceDay ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRAServiceDay struct { // Int32 // // 星期五是否營運 : [0:'否',1:'是'] // Required: true Friday *int64 `json:"Friday"` // Int32 // // 星期一是否營運 : [0:'否',1:'是'] // Required: true Monday *int64 `json:"Monday"` // Int32 // // 星期六是否營運 : [0:'否',1:'是'] // Required: true Saturday *int64 `json:"Saturday"` // Int32 // // 星期日是否營運 : [0:'否',1:'是'] // Required: true Sunday *int64 `json:"Sunday"` // Int32 // // 星期四是否營運 : [0:'否',1:'是'] // Required: true Thursday *int64 `json:"Thursday"` // Int32 // // 星期二是否營運 : [0:'否',1:'是'] // Required: true Tuesday *int64 `json:"Tuesday"` // Int32 // // 星期三是否營運 : [0:'否',1:'是'] // Required: true Wednesday *int64 `json:"Wednesday"` }
PTXServiceDTORailSpecificationV2TRAServiceDay ServiceDay
台鐵服務日型態
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.ServiceDay
func (*PTXServiceDTORailSpecificationV2TRAServiceDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRAServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t r a service day based on context it is used
func (*PTXServiceDTORailSpecificationV2TRAServiceDay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRAServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRAServiceDay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRAServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRAStationOfLine ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRAStationOfLine struct { // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // String // // 路線編號 // Required: true LineNo *string `json:"LineNo" xml:"String"` // Array // // 路線車站資訊 // Required: true Stations []*PTXServiceDTORailSpecificationV2TRALineStation "json:\"Stations\" xml:\"List`1\"" // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2TRAStationOfLine StationOfLine
路線車站基本資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.StationOfLine
func (*PTXServiceDTORailSpecificationV2TRAStationOfLine) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRAStationOfLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a station of line based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRAStationOfLine) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRAStationOfLine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRAStationOfLine) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRAStationOfLine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRATRAShape ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRATRAShape struct { // String // // 路線軌跡編碼(encoded polyline) // Required: true EncodedPolyline *string `json:"EncodedPolyline" xml:"String"` // String // // well-known text,為路線軌跡資料 // Required: true Geometry *string `json:"Geometry" xml:"String"` // String // // 路線代碼 // Required: true LineID *string `json:"LineID" xml:"String"` // NameType // // 路線名稱 // Required: true LineName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"LineName" xml:"NameType"` // String // // 路線編號 // Required: true LineNo *string `json:"LineNo" xml:"String"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2TRATRAShape TRAShape
臺鐵線型資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.TRAShape
func (*PTXServiceDTORailSpecificationV2TRATRAShape) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRATRAShape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a t r a shape based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRATRAShape) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATRAShape) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRATRAShape) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATRAShape) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo struct { // Int32 // // 是否人車同行班次(置於攜車袋之自行車各級列車均可乘車) : [0:'否',1:'是'] // Required: true BikeFlag *int64 `json:"BikeFlag"` // Int32 // // 是否設有哺(集)乳室車廂 : [0:'否',1:'是'] // Required: true BreastFeedingFlag *int64 `json:"BreastFeedingFlag"` // Int32 // // 是否為每日行駛 : [0:'否',1:'是'] // Required: true DailyFlag *int64 `json:"DailyFlag"` // Int32 // // 是否提供訂便當服務 : [0:'否',1:'是'] // Required: true DiningFlag *int64 `json:"DiningFlag"` // Int32 // // 順逆行 : [0:'順行',1:'逆行'] // Required: true Direction *int64 `json:"Direction"` // String // // 列車終點車站代號 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車終點車站名稱 EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName,omitempty" xml:"NameType,omitempty"` // NameType // // 附註說明 Note struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"Note,omitempty" xml:"NameType,omitempty"` // String // // 跨夜車站代碼 OverNightStationID string `json:"OverNightStationID,omitempty" xml:"String,omitempty"` // Int32 // // 是否提供行李服務 : [0:'否',1:'是'] // Required: true PackageServiceFlag *int64 `json:"PackageServiceFlag"` // Boolean // // 是否為加班車 // Required: true ServiceAddedFlag *bool `json:"ServiceAddedFlag"` // String // // 列車起點車站代號 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車起點車站名稱 StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName,omitempty" xml:"NameType,omitempty"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // String // // 列車車種簡碼 TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"` // String // // 列車車種代碼 TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"` // NameType // // 列車車種名稱 TrainTypeName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"` // String // // 車次車頭文字描述(通用以"往"+ 迄站中文站名") TripHeadsign string `json:"TripHeadsign,omitempty" xml:"String,omitempty"` // Int32 // // 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線'] TripLine int64 `json:"TripLine,omitempty"` // Int32 // // 是否設身障旅客專用座位車 : [0:'否',1:'是'] // Required: true WheelchairFlag *int64 `json:"WheelchairFlag"` }
PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo RailDailyTrainInfo
臺鐵車次資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.TimeInfo.RailDailyTrainInfo
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a time info rail daily train info based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailDailyTrainInfo) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 t r a time info rail daily train info
type PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo struct { // Int32 // // 是否人車同行班次(置於攜車袋之自行車各級列車均可乘車) : [0:'否',1:'是'] // Required: true BikeFlag *int64 `json:"BikeFlag"` // Int32 // // 是否設有哺(集)乳室車廂 : [0:'否',1:'是'] // Required: true BreastFeedingFlag *int64 `json:"BreastFeedingFlag"` // Int32 // // 是否為每日行駛 : [0:'否',1:'是'] // Required: true DailyFlag *int64 `json:"DailyFlag"` // Int32 // // 是否提供訂便當服務 : [0:'否',1:'是'] // Required: true DiningFlag *int64 `json:"DiningFlag"` // Int32 // // 順逆行 : [0:'順行',1:'逆行'] // Required: true Direction *int64 `json:"Direction"` // String // // 列車終點車站代號 EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車終點車站名稱 EndingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"EndingStationName,omitempty" xml:"NameType,omitempty"` // NameType // // 附註說明 Note struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"Note,omitempty" xml:"NameType,omitempty"` // String // // 跨夜車站代碼 OverNightStationID string `json:"OverNightStationID,omitempty" xml:"String,omitempty"` // Int32 // // 是否提供行李服務 : [0:'否',1:'是'] // Required: true PackageServiceFlag *int64 `json:"PackageServiceFlag"` // String // // 列車起點車站代號 StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"` // NameType // // 列車起點車站名稱 StartingStationName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"StartingStationName,omitempty" xml:"NameType,omitempty"` // String // // 車次代碼 // Required: true TrainNo *string `json:"TrainNo" xml:"String"` // String // // 列車車種簡碼 TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"` // String // // 列車車種代碼 TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"` // NameType // // 列車車種名稱 TrainTypeName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"` // Int32 // // 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線'] TripLine int64 `json:"TripLine,omitempty"` // Int32 // // 是否設身障旅客專用座位車 : [0:'否',1:'是'] // Required: true WheelchairFlag *int64 `json:"WheelchairFlag"` }
PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo RailGeneralTrainInfo
臺鐵車次定期資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.TimeInfo.RailGeneralTrainInfo
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a time info rail general train info based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) Validate ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATimeInfoRailGeneralTrainInfo) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o rail specification v2 t r a time info rail general train info
type PTXServiceDTORailSpecificationV2TRATrainDateList ¶ added in v0.15.0
type PTXServiceDTORailSpecificationV2TRATrainDateList struct { // String // // 每日時刻表供應最終日期(格式: yyyy-MM-dd) // Required: true EndDate *string `json:"EndDate" xml:"String"` // String // // 每日時刻表供應起始日期(格式: yyyy-MM-dd) // Required: true StartDate *string `json:"StartDate" xml:"String"` // Array // // 每日時刻表供應日期清單資料 // Required: true TrainDates []string "json:\"TrainDates\" xml:\"List`1\"" // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTORailSpecificationV2TRATrainDateList TrainDateList
臺鐵每日時刻表供應日期資料型別
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.TrainDateList
func (*PTXServiceDTORailSpecificationV2TRATrainDateList) ContextValidate ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2TRATrainDateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o rail specification v2 t r a train date list based on context it is used
func (*PTXServiceDTORailSpecificationV2TRATrainDateList) MarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2TRATrainDateList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRATrainDateList) UnmarshalBinary ¶ added in v0.15.0
func (m *PTXServiceDTORailSpecificationV2TRATrainDateList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTORailSpecificationV2TRATrainType ¶ added in v0.7.0
type PTXServiceDTORailSpecificationV2TRATrainType struct { // String // // 列車車種簡碼 [1:太魯閣;2:普悠瑪;3:自強;4:莒光;5:復興;6:區間;7:普快] // Required: true TrainTypeCode *string `json:"TrainTypeCode" xml:"String"` // String // // 列車車種代碼 // Required: true TrainTypeID *string `json:"TrainTypeID" xml:"String"` // NameType // // 列車車種名稱 // Required: true TrainTypeName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"TrainTypeName" xml:"NameType"` // DateTime // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTORailSpecificationV2TRATrainType TrainType
臺鐵列車車種資料
swagger:model PTX.Service.DTO.Rail.Specification.V2.TRA.TrainType
func (*PTXServiceDTORailSpecificationV2TRATrainType) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTORailSpecificationV2TRATrainType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o rail specification v2 t r a train type based on the context it is used
func (*PTXServiceDTORailSpecificationV2TRATrainType) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATrainType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTORailSpecificationV2TRATrainType) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTORailSpecificationV2TRATrainType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV2BaseFare ¶ added in v0.7.0
type PTXServiceDTOSharedSpecificationV2BaseFare struct { float64 `json:"Price,omitempty"` // // 票種名稱 TicketType string `json:"TicketType,omitempty" xml:"String,omitempty"` }Price
PTXServiceDTOSharedSpecificationV2BaseFare Fare
票價資料型別
swagger:model PTX.Service.DTO.Shared.Specification.V2.Base.Fare
func (*PTXServiceDTOSharedSpecificationV2BaseFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOSharedSpecificationV2BaseFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o shared specification v2 base fare based on context it is used
func (*PTXServiceDTOSharedSpecificationV2BaseFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BaseFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV2BaseFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BaseFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV2BaseNameType ¶ added in v0.7.0
type PTXServiceDTOSharedSpecificationV2BaseNameType struct { // // 英文名稱 En string `json:"En,omitempty" xml:"String,omitempty"` // // 中文繁體名稱 ZhTw string `json:"Zh_tw,omitempty" xml:"String,omitempty"` }
PTXServiceDTOSharedSpecificationV2BaseNameType NameType
名稱資料型別
swagger:model PTX.Service.DTO.Shared.Specification.V2.Base.NameType
func (*PTXServiceDTOSharedSpecificationV2BaseNameType) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOSharedSpecificationV2BaseNameType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o shared specification v2 base name type based on context it is used
func (*PTXServiceDTOSharedSpecificationV2BaseNameType) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BaseNameType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV2BaseNameType) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BaseNameType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV2BaseOperator ¶ added in v0.7.0
type PTXServiceDTOSharedSpecificationV2BaseOperator struct { // // 營運業者業管機關簡碼(對於於公路客運/國道客運而言為THB) // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // // 營運業者電子信箱 OperatorEmail string `json:"OperatorEmail,omitempty" xml:"String,omitempty"` // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // // 營運業者名稱 // Required: true OperatorName struct { PTXServiceDTOSharedSpecificationV2BaseNameType } `json:"OperatorName" xml:"NameType"` // // 營運業者編號[交通部票證資料系統定義] // Required: true OperatorNo *string `json:"OperatorNo" xml:"String"` // // 營運業者連絡電話 OperatorPhone string `json:"OperatorPhone,omitempty" xml:"String,omitempty"` // // 營運業者網址鏈結 OperatorURL string `json:"OperatorUrl,omitempty" xml:"String,omitempty"` // // 資料提供平台代碼 // Required: true ProviderID *string `json:"ProviderID" xml:"String"` // // 訂票連絡電話 ReservationPhone string `json:"ReservationPhone,omitempty" xml:"String,omitempty"` // // 訂票網址鏈結 ReservationURL string `json:"ReservationUrl,omitempty" xml:"String,omitempty"` // // 營運業者所屬業管子機關簡碼(對於公路客運/國道客運路線而言為區監理所如THB-VO10-1..等) SubAuthorityCode string `json:"SubAuthorityCode,omitempty" xml:"String,omitempty"` // // 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOSharedSpecificationV2BaseOperator Operator
營運業者資料型別
swagger:model PTX.Service.DTO.Shared.Specification.V2.Base.Operator
func (*PTXServiceDTOSharedSpecificationV2BaseOperator) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOSharedSpecificationV2BaseOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o shared specification v2 base operator based on the context it is used
func (*PTXServiceDTOSharedSpecificationV2BaseOperator) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BaseOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV2BaseOperator) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BaseOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV2BasePointType ¶ added in v0.7.0
type PTXServiceDTOSharedSpecificationV2BasePointType struct { // // 地理空間編碼 GeoHash string `json:"GeoHash,omitempty" xml:"String,omitempty"` PositionLat float64 `json:"PositionLat,omitempty"` PositionLon float64 `json:"PositionLon,omitempty"` }
PTXServiceDTOSharedSpecificationV2BasePointType PointType
座標資料型別
swagger:model PTX.Service.DTO.Shared.Specification.V2.Base.PointType
func (*PTXServiceDTOSharedSpecificationV2BasePointType) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOSharedSpecificationV2BasePointType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o shared specification v2 base point type based on context it is used
func (*PTXServiceDTOSharedSpecificationV2BasePointType) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BasePointType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV2BasePointType) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV2BasePointType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth ¶ added in v0.12.0
type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth struct { // // 本平台資料來源轉入狀態 Inbound struct { PTXServiceDTOSharedSpecificationV3BaseInbound } `json:"Inbound,omitempty" xml:"Inbound,omitempty"` // // 本平台API狀態 Outbound struct { PTXServiceDTOSharedSpecificationV3BaseOutbound } `json:"Outbound,omitempty" xml:"Outbound,omitempty"` // // API服務代碼 // Required: true ServiceID *string `json:"ServiceID" xml:"String"` // // API服務中文名稱 // Required: true ServiceName *string `json:"ServiceName" xml:"String"` }
PTXServiceDTOSharedSpecificationV3BaseDisplayHealth DisplayHealth
API服務健康狀態 ¶
swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.DisplayHealth
func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) ContextValidate ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o shared specification v3 base display health based on the context it is used
func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) MarshalBinary ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV3BaseInbound ¶ added in v0.12.0
type PTXServiceDTOSharedSpecificationV3BaseInbound struct { // // 檢核時間 // Required: true // Format: date-time CheckTime *strfmt.DateTime `json:"CheckTime"` // // 檢核失敗原因 Reason string `json:"Reason,omitempty" xml:"String,omitempty"` // // 檢核結果狀態 : [0:'失敗',1:'成功'] // Required: true Status *int64 `json:"Status"` }
PTXServiceDTOSharedSpecificationV3BaseInbound Inbound
本平台資料來源轉入狀態
swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.Inbound
func (*PTXServiceDTOSharedSpecificationV3BaseInbound) ContextValidate ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o shared specification v3 base inbound based on context it is used
func (*PTXServiceDTOSharedSpecificationV3BaseInbound) MarshalBinary ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV3BaseOutbound ¶ added in v0.12.0
type PTXServiceDTOSharedSpecificationV3BaseOutbound struct { // // 檢核時間 // Required: true // Format: date-time CheckTime *strfmt.DateTime `json:"CheckTime"` // // 檢核失敗原因 Reason string `json:"Reason,omitempty" xml:"String,omitempty"` // // 檢核結果狀態 : [0:'失敗',1:'成功'] // Required: true Status *int64 `json:"Status"` }
PTXServiceDTOSharedSpecificationV3BaseOutbound Outbound
本平台API狀態
swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.Outbound
func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) ContextValidate ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o shared specification v3 base outbound based on context it is used
func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) MarshalBinary ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary ¶ added in v0.12.0
func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- p_t_x_api_rail_model_m_r_t_real_time_wrapper_p_t_x_service_d_t_o_rail_specification_v2_metro_alert.go
- p_t_x_api_rail_model_m_r_t_real_time_wrapper_p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_news_list_news.go
- p_t_x_api_rail_model_v2_t_h_s_r_available_seat_status_old_wrapper_p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_old_available_seat.go
- p_t_x_api_rail_model_v2_t_h_s_r_available_seat_status_wrapper_p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_available_seat.go
- p_t_x_api_rail_model_v2_t_h_s_r_o_d_available_seat_status_wrapper_p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_o_d_available_seat.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_alert.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_drinking_fountain.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_elevator.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_first_last_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_frequency.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_information_spot.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_line.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_line_transfer.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_live_board.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_alert_list_alert_scope.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_alert_list_alert_scope_line.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_alert_list_alert_scope_line_section.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_alert_list_alert_scope_network.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_alert_list_alert_scope_route.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_alert_list_alert_scope_station.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_alert_list_alert_scope_train.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_m_r_t_news_list_news.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_metro_shape.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_network.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_network_sub_class_line.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_o_d_fare.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_route.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_s2_s_travel_time.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_station.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_station_exit.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_station_facility.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_station_of_line.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_station_of_route.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_station_time_table.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_fare.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_headway.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_operation_time.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_service_day.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_special_day.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_station.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_sub_class_travel_time.go
- p_t_x_service_d_t_o_rail_specification_v2_metro_toilet.go
- p_t_x_service_d_t_o_rail_specification_v2_point_type.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_alert_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_available_seat.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_general_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_news.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_o_d_available_seat.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_o_d_fare.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_old_available_seat.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_old_stop_station.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_daily_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_daily_train_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_general_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_general_train_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_o_d_daily_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_o_d_fare.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_station.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_station_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_rail_stop_time.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_service_day.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_station_exit.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_stop_station.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_t_h_s_r_shape.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_time_info_rail_daily_train_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_h_s_r_train_date_list.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_general_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_line.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_line_simple.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_line_station.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_network.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_daily_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_daily_train_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_general_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_general_train_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_live_board.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_live_train_delay.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_o_d_daily_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_o_d_fare.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_station.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_station_timetable.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_rail_stop_time.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_service_day.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_station_of_line.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_t_r_a_shape.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_time_info_rail_daily_train_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_time_info_rail_general_train_info.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_train_date_list.go
- p_t_x_service_d_t_o_rail_specification_v2_t_r_a_train_type.go
- p_t_x_service_d_t_o_shared_specification_v2_base_fare.go
- p_t_x_service_d_t_o_shared_specification_v2_base_name_type.go
- p_t_x_service_d_t_o_shared_specification_v2_base_operator.go
- p_t_x_service_d_t_o_shared_specification_v2_base_point_type.go
- p_t_x_service_d_t_o_shared_specification_v3_base_display_health.go
- p_t_x_service_d_t_o_shared_specification_v3_base_inbound.go
- p_t_x_service_d_t_o_shared_specification_v3_base_outbound.go